joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421f20
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esi]
mov edx, ecx
xor edx, eax
shr ecx, 8
and edx, 0xff
mov edx, dword [edi + edx*4]
xor edx, ecx
movzx ecx, dl
add ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [esi + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [edi + ecx*4]
mov dword [esi + 8], edx
ret

Function at 0x421f60
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push esi
mov esi, eax
mov dword [edx], 0x12345678
mov dword [edx + 4], 0x23456789
mov dword [edx + 8], 0x34567890
mov cl, byte [esi]
test cl, cl
je 0x421fc4
lea ecx, [ecx]
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
and ecx, 0xff
mov ecx, dword [edi + ecx*4]
shr eax, 8
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [edi + eax*4]
inc esi
mov dword [edx + 8], ecx
mov cl, byte [esi]
test cl, cl
jne 0x421f80
pop esi
ret
Function at 0x4225c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push ebx
push ebp
push esi
xor esi, esi
mov dword [ecx], esi
mov ecx, dword [esp + 0x24]
mov dword [edx], esi
mov edx, dword [eax + 0x78]
mov dword [ecx], esi
mov ecx, dword [eax + 0xc]
add ecx, edx
mov dword [esp + 0x10], edx
mov edx, dword [eax]
mov eax, dword [edx + 4]
movzx ebp, byte [eax + ecx + 1]
movzx ebx, byte [eax + ecx]
push edi
lea edi, [ecx + 1]
shl ebp, 8
add ebx, ebp
movzx ebp, byte [eax + edi + 1]
movzx eax, byte [eax + edi + 2]
inc edi
shl ebp, 0x10
add ebx, ebp
shl eax, 0x18
add eax, ebx
cmp eax, 0x4034b50
je 0x422622
mov esi, 0xffffff99
mov eax, dword [edx + 4]
add ecx, 6
movzx edi, byte [eax + ecx + 1]
movzx ebx, byte [eax + ecx]
add eax, ecx
mov eax, dword [edx + 4]
shl edi, 8
add edi, ebx
add ecx, 2
add eax, ecx
mov dword [esp + 0x10], edi
movzx edi, byte [eax]
movzx eax, byte [eax + 1]
shl eax, 8
add eax, edi
test esi, esi
jne 0x42266d
mov edi, dword [esp + 0x1c]
mov edi, dword [edi + 0x34]
cmp eax, edi
jne 0x422668
test edi, edi
je 0x42266d
cmp edi, 8
je 0x42266d
mov esi, 0xffffff99
mov eax, dword [edx + 4]
movzx ebx, byte [eax + ecx + 6]
add ecx, 6
movzx ebp, byte [eax + ecx + 1]
lea edi, [ecx + 1]
shl ebp, 8
add ebx, ebp
movzx ebp, byte [eax + edi + 1]
movzx eax, byte [eax + edi + 2]
inc edi
shl ebp, 0x10
add ebx, ebp
shl eax, 0x18
add eax, ebx
test esi, esi
jne 0x4226b3
mov edi, dword [esp + 0x1c]
cmp eax, dword [edi + 0x3c]
je 0x4226b3
test byte [esp + 0x10], 8
jne 0x4226b3
mov esi, 0xffffff99
mov eax, dword [edx + 4]
movzx ebx, byte [eax + ecx + 4]
add ecx, 4
movzx ebp, byte [eax + ecx + 1]
lea edi, [ecx + 1]
shl ebp, 8
add ebx, ebp
movzx ebp, byte [eax + edi + 1]
movzx eax, byte [eax + edi + 2]
inc edi
shl ebp, 0x10
add ebx, ebp
shl eax, 0x18
add eax, ebx
test esi, esi
jne 0x4226f9
mov edi, dword [esp + 0x1c]
cmp eax, dword [edi + 0x40]
je 0x4226f9
test byte [esp + 0x10], 8
jne 0x4226f9
mov esi, 0xffffff99
mov eax, dword [edx + 4]
movzx ebx, byte [eax + ecx + 4]
add ecx, 4
movzx ebp, byte [eax + ecx + 1]
lea edi, [ecx + 1]
shl ebp, 8
add ebx, ebp
movzx ebp, byte [eax + edi + 1]
movzx eax, byte [eax + edi + 2]
inc edi
shl ebp, 0x10
add ebx, ebp
shl eax, 0x18
add eax, ebx
test esi, esi
jne 0x42273f
mov edi, dword [esp + 0x1c]
cmp eax, dword [edi + 0x44]
je 0x42273f
test byte [esp + 0x10], 8
jne 0x42273f
mov esi, 0xffffff99
mov eax, dword [edx + 4]
add ecx, 4
movzx edi, byte [eax + ecx]
add eax, ecx
movzx eax, byte [eax + 1]
shl eax, 8
add eax, edi
mov edi, eax
test esi, esi
jne 0x422768
mov eax, dword [esp + 0x1c]
cmp edi, dword [eax + 0x48]
je 0x422768
mov esi, 0xffffff99
mov edx, dword [edx + 4]
lea eax, [edx + ecx + 2]
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
shl eax, 8
add eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [ecx + edi + 0x1e]
mov ecx, dword [esp + 0x24]
mov dword [ecx], edx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov dword [edx], eax
add eax, edi
pop edi
mov dword [ecx], eax
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x424210
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4de6a0
push 0x465c30
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4e5b00]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov esi, edx
test esi, esi
je 0x4242c0
mov eax, 0x4240c0
test eax, eax
je 0x4242c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x40
push edi
push esi
push 0xffffffffffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
call ebx
xor eax, eax
mov dword [ebp - 0x20], eax
cmp eax, edi
jge 0x424284
mov ecx, 0x4240c0
mov dl, byte [eax + ecx]
mov byte [eax + esi], dl
inc eax
jmp 0x42426f
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push edi
push esi
push 0xffffffffffffffff
call ebx
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426310
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4beb7b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4e5b00]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0047d3e5
push 4
mov dword [esp + 0x24], 0
call fcn.004419b4
mov edi, eax
add esp, 4
test edi, edi
je 0x426392
call fcn.0047cf70
mov dword [edi], eax
call fcn.0047cd9e
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0047ccc2
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x426387
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0047ccea
jmp 0x426394
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x427530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bf188
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x4e5b00]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebx, ebx
push 0x400
mov dword [esp + 0xc], vtable.AI::BinaryArchive.0
mov byte [esp + 0x10], bl
mov byte [esp + 0x14], bl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], 0x400
call fcn.0046110e
add esp, 4
push 0x400
push ebx
push eax
mov dword [esp + 0x20], eax
call fcn.00465660
add esp, 0xc
mov dword [esp + 0x18], ebx
lea eax, [esp + 8]
push eax
push 0x51b86c
mov dword [esp + 0x30], ebx
call fcn.00426a40
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x51b868]
push eax
push ecx
push eax
push edx
call fcn.0046087f
add esp, 0x10
mov dword [esp + 8], vtable.AI::BinaryArchive.0
cmp byte [esp + 0x10], bl
jne 0x4275e2
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4275e2
push eax
call fcn.004611d8
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x24
ret

Function at 0x431cc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4de680
push 0x465c30
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4e5b00]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
test eax, eax
mov esi, 0x10000
je 0x431d05
lea esi, [eax + 0x10000]
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea ebx, [eax - 2]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
push 0x1c
lea eax, [ebp - 0x34]
push eax
push esi
call edi
test eax, eax
jbe 0x431d8b
cmp dword [ebp - 0x24], 0x1000
jne 0x431da4
test dword [ebp - 0x20], 0x100
jne 0x431da4
mov dword [ebp - 4], 0
mov ecx, 0x5a4d
cmp word [esi], cx
jne 0x431da1
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x431da1
mov dword [ebp - 4], ebx
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], ebx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
lea esi, [eax + edx]
jmp 0x431d25
Function at 0x431dc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4de660
push 0x465c30
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4e5b00]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp + 8], ecx
xor esi, esi
cmp eax, esi
jne 0x431e0d
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp + 8], eax
mov ecx, eax
mov dword [ebp - 4], esi
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x431e24
push 0xc1
jmp 0x431f01
mov edx, dword [ecx + 0x3c]
add edx, ecx
mov dword [ebp - 0x20], edx
cmp dword [edx], 0x4550
je 0x431e3e
push 0xbf
jmp 0x431f01
movzx ecx, word [edx + 0x14]
cmp cx, si
je 0x431efc
movzx ecx, cx
lea eax, [ecx + edx + 0x18]
mov dword [ebp - 0x1c], esi
movzx edx, word [edx + 6]
cmp esi, edx
jae 0x431efc
lea ecx, [esi + esi*4]
lea edi, [eax + ecx*8]
mov edx, 0x4d1670
mov ecx, edi
mov edi, edi
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x431e90
test bl, bl
je 0x431e8c
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x431e90
add ecx, 2
add edx, 2
test bl, bl
jne 0x431e70
xor ecx, ecx
jmp 0x431e95
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x431eea
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x431efc
cmp dword [edi + 0x10], 0
je 0x431efc
mov edx, dword [ebp + 8]
lea esi, [ecx + edx]
mov eax, dword [esi]
cmp eax, 0x40
jb 0x431efc
cmp dword [esi + 4], 0x727444
jne 0x431efc
cmp dword [esi + 8], 0
jne 0x431ec5
mov dword [esi + 8], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc esi
mov edx, dword [ebp - 0x20]
jmp 0x431e52
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4423bd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4423e1
cmp dword [edi + 0x54], 0
jne 0x4423e1
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0044b361
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0044237e
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x447a31
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x447a78
call fcn.0044b361
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x447a78
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x447a94
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004475ab
mov esi, eax
test edi, edi
je 0x447a92
test ebx, ebx
je 0x447a92
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x448258
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4b984b
call fcn.00465ac0
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x44827d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4482c3
lea ecx, [ebp - 0x10]
call fcn.00402110
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00447a9b
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004020f0
mov eax, esi
call fcn.00465b98
ret 8

Function at 0x44c5bd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x44c605
call fcn.0044b361
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x44c605
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x44c648
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x44c631
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x44c631
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x44c645
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x44fd89
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x44fdb4
call fcn.0044b361
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x44fdd7
push eax
push dword [esi + 4]
call fcn.0044fd0f
push esi
push eax
mov ecx, 0x50f238
call fcn.0044f9c3
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x4606fe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e5b00]
jne 0x460708
repz ret
jmp fcn.00469423

Function at 0x4784d4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0046b4d1
and dword [ebp - 4], 0
cmp dword [0x51001c], 0
mov ebx, eax
jne 0x478585
push 0x4c85f4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x478636
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c85e8
push edi
call esi
test eax, eax
je 0x478636
push eax
call fcn.0046b45f
mov dword [esp], 0x4c85d8
push edi
mov dword [0x51001c], eax
call esi
push eax
call fcn.0046b45f
mov dword [esp], 0x4c85c4
push edi
mov dword [0x510020], eax
call esi
push eax
call fcn.0046b45f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x510024], eax
call esi
push eax
call fcn.0046b45f
pop ecx
mov dword [0x51002c], eax
test eax, eax
je 0x478585
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0046b45f
pop ecx
mov dword [0x510028], eax
mov eax, dword [0x510028]
cmp eax, ebx
je 0x4785dd
cmp dword [0x51002c], ebx
je 0x4785dd
push eax
call fcn.0046b4da
push dword [0x51002c]
mov esi, eax
call fcn.0046b4da
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4785dd
test edi, edi
je 0x4785dd
call esi
test eax, eax
je 0x4785d4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4785d4
test byte [ebp - 0xc], 1
jne 0x4785dd
or dword [ebp + 0x10], 0x200000
jmp 0x478616
mov eax, dword [0x510020]
cmp eax, ebx
je 0x478616
push eax
call fcn.0046b4da
pop ecx
test eax, eax
je 0x478616
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x478616
mov eax, dword [0x510024]
cmp eax, ebx
je 0x478616
push eax
call fcn.0046b4da
pop ecx
test eax, eax
je 0x478616
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x51001c]
call fcn.0046b4da
pop ecx
test eax, eax
je 0x478636
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x478638
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x47db10
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
jmp 0x47db28
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jge 0x47db89
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [ecx*4 + 0x514d50], edx
jmp 0x47db50
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 8
jge 0x47db87
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x514d50]
shr edx, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x514d50]
and ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0xedb88320
xor edx, ecx
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x514d50], edx
jmp 0x47db47
jmp 0x47db1f
mov esp, ebp
pop ebp
ret
Function at 0x47e420
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4e5b00]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x111], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00465dc0
add esp, 4
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], 0
jmp 0x47e467
mov ecx, dword [ebp - 0x110]
add ecx, 1
mov dword [ebp - 0x110], ecx
cmp dword [ebp - 0x110], 0x100
jge 0x47e4a8
mov eax, dword [ebp - 0x110]
cdq
idiv dword [ebp - 0x118]
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + edx]
mov byte [ebp + eax - 0x108], dl
mov eax, dword [ebp - 0x110]
mov cl, byte [ebp - 0x110]
mov byte [ebp + eax - 0x220], cl
jmp 0x47e458
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x110], 0
jmp 0x47e4cd
mov edx, dword [ebp - 0x110]
add edx, 1
mov dword [ebp - 0x110], edx
cmp dword [ebp - 0x110], 0x100
jge 0x47e558
mov eax, dword [ebp - 0x110]
movzx ecx, byte [ebp + eax - 0x220]
add ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x110]
movzx eax, byte [ebp + edx - 0x108]
add ecx, eax
and ecx, 0x800000ff
jns 0x47e50d
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0x120], ecx
mov ecx, dword [ebp - 0x110]
mov dl, byte [ebp + ecx - 0x220]
mov byte [ebp - 0x111], dl
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x120]
mov dl, byte [ebp + ecx - 0x220]
mov byte [ebp + eax - 0x220], dl
mov eax, dword [ebp - 0x120]
mov cl, byte [ebp - 0x111]
mov byte [ebp + eax - 0x220], cl
jmp 0x47e4be
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x110], 0
jmp 0x47e587
mov edx, dword [ebp - 0x110]
add edx, 1
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x110]
cmp eax, dword [ebp + 0x10]
jge 0x47e679
mov ecx, dword [ebp - 0x10c]
add ecx, 1
and ecx, 0x800000ff
jns 0x47e5af
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0x10c]
movzx eax, byte [ebp + edx - 0x220]
add eax, dword [ebp - 0x120]
and eax, 0x800000ff
jns 0x47e5d7
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x10c]
mov dl, byte [ebp + ecx - 0x220]
mov byte [ebp - 0x111], dl
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x120]
mov dl, byte [ebp + ecx - 0x220]
mov byte [ebp + eax - 0x220], dl
mov eax, dword [ebp - 0x120]
mov cl, byte [ebp - 0x111]
mov byte [ebp + eax - 0x220], cl
mov edx, dword [ebp - 0x10c]
movzx eax, byte [ebp + edx - 0x220]
mov ecx, dword [ebp - 0x120]
movzx edx, byte [ebp + ecx - 0x220]
add eax, edx
and eax, 0x800000ff
jns 0x47e649
dec eax
or eax, 0xffffff00
inc eax
movzx eax, byte [ebp + eax - 0x220]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x110]
movzx edx, byte [ecx]
xor edx, dword [ebp - 0x11c]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x110]
mov byte [eax], dl
jmp 0x47e578
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004606fe
mov esp, ebp
pop ebp
ret
Function at 0x47f0f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bad2e
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4e5b00]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x50], 0x69
mov byte [ebp - 0x4f], 0x6e
mov byte [ebp - 0x4e], 0x64
mov byte [ebp - 0x4d], 0x65
mov byte [ebp - 0x4c], 0x78
mov byte [ebp - 0x4b], 0
mov byte [ebp - 0x4a], 0x69
mov byte [ebp - 0x49], 0x73
mov byte [ebp - 0x48], 0x64
mov byte [ebp - 0x47], 0x65
mov byte [ebp - 0x46], 0x62
mov byte [ebp - 0x45], 0x75
mov byte [ebp - 0x44], 0x67
mov byte [ebp - 0x43], 0x65
mov byte [ebp - 0x42], 0x72
mov byte [ebp - 0x41], 0
mov byte [ebp - 0x40], 0x69
mov byte [ebp - 0x3f], 0x73
mov byte [ebp - 0x3e], 0x72
mov byte [ebp - 0x3d], 0x75
mov byte [ebp - 0x3c], 0x6e
mov byte [ebp - 0x3b], 0
mov byte [ebp - 0x3a], 0x76
mov byte [ebp - 0x39], 0x61
mov byte [ebp - 0x38], 0x6c
mov byte [ebp - 0x37], 0x68
mov byte [ebp - 0x36], 0x6f
mov byte [ebp - 0x35], 0x73
mov byte [ebp - 0x34], 0x74
mov byte [ebp - 0x33], 0
mov byte [ebp - 0x32], 0x63
mov byte [ebp - 0x31], 0x68
mov byte [ebp - 0x30], 0x61
mov byte [ebp - 0x2f], 0x6e
mov byte [ebp - 0x2e], 0x67
mov byte [ebp - 0x2d], 0x65
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x2a], 0x73
mov byte [ebp - 0x29], 0x74
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x69
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x63
mov byte [ebp - 0x22], 0x6f
mov byte [ebp - 0x21], 0x64
mov byte [ebp - 0x20], 0x65
mov byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x70
mov byte [ebp - 0x1d], 0x75
mov byte [ebp - 0x1c], 0x73
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x70], eax
push 0x4c90e2
lea ecx, [ebp - 0x6c]
call fcn.00401710
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004028f0
lea ecx, [ebp - 0x6c]
call fcn.00423b50
mov edx, dword [ebp - 0x14]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0xc]
jne 0x47f252
jmp 0x47f26e
push 0x4c90e3
lea ecx, [ebp - 0x6c]
call fcn.004028f0
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 7
jl 0x47f227
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404680
mov ecx, dword [ebp - 0x74]
or ecx, 1
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00401750
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004606fe
mov esp, ebp
pop ebp
ret