joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467610
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f5fc
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x26c], edi
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [ebp - 0x274]
mov dword [ebp - 4], edi
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
push 0x1f3
lea ecx, [ebp - 0x267]
push 0
push ecx
mov byte [ebp - 0x268], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1f3
lea edx, [ebp - 0x268]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x26c]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x268]
push ecx
lea ecx, [ebp - 0x26c]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push eax
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 0x4aed3c
lea edx, [ebp - 0x270]
push edx
lea eax, [ebp - 0x26c]
push eax
call fcn.004019e0
lea ecx, [ebp - 0x274]
push ecx
push eax
push esi
mov byte [ebp - 4], 4
call fcn.004018e0
add esp, 0x18
lea ecx, [ebp - 0x26c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x274]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x270]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret 4

Function at 0x46aa60
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
push esi
push edi
mov edi, ecx
cmp dword [edi + 8], 0
lea esi, [edi + 8]
jne 0x46aa90
push esi
push 0x46a980
mov dword [edi + 0xc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esi]
push eax
call ebx
test eax, eax
je 0x46aab2
add edi, 0xc
cmp dword [edi], 0
jne 0x46aab8
mov ecx, dword [esi]
push edi
push 0x46aa30
push ecx
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov edx, dword [edi]
push edx
call ebx
test eax, eax
jne 0x46aab8
mov dword [edi], eax
pop edi
pop esi
xor al, al
pop ebx
ret
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x46bf80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49feaa
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4e3ec8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov dword [esi], edi
mov eax, dword [0x4e589c]
inc eax
mov dword [0x4e589c], eax
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
push 0x3c
mov byte [ebp - 4], 3
mov byte [esi + 0x3c], bl
call sub.mfc100.dll_Ordinal_1294
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x46c011
push edi
push esi
mov ecx, eax
call fcn.0046a520
jmp 0x46c013
xor eax, eax
push 0x34
mov byte [ebp - 4], 3
mov dword [esi + 0x14], eax
call sub.mfc100.dll_Ordinal_1294
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x46c03d
mov ecx, dword [ebp + 0x10]
push ecx
push esi
mov ecx, eax
call fcn.00410100
jmp 0x46c03f
xor eax, eax
push 0x24
mov byte [ebp - 4], 3
mov dword [esi + 0x20], eax
call sub.mfc100.dll_Ordinal_1294
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x46c06b
mov edx, dword [esi + 0x20]
push edx
mov ecx, eax
call fcn.00433470
mov dword [esi + 0x24], eax
jmp 0x46c06e
mov dword [esi + 0x24], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46dfb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x46dfbe
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x46e09d
mov esi, edx
shr esi, 3
push edi
jmp 0x46dfe0
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c3e50]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c3e50]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c3e50]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c3e50]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c3e50]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c3e50]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c3e50]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c3e50]
add ecx, 8
sub edx, 8
dec esi
jne 0x46dfe0
pop edi
test edx, edx
je 0x46e0ba
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4c3e50]
inc ecx
dec edx
jne 0x46e0a1
not eax
pop esi
pop ebp
ret

Function at 0x46e0c0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsx ecx, byte [ebp + 0xc]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4c3e50]
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
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c3e50]
mov dword [edx + 8], ecx
pop ebp
ret

Function at 0x46e660
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ebx
imul esi, dword [ebp + 0x10]
cmp byte [edi], 0
je 0x46e6a0
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x46e694
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
pop edi
xor edx, edx
pop esi
div ebx
pop ebx
pop ebp
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x46e6b1
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call sub.MSVCR100.dll_memcpy
add dword [edi + 0x1c], esi
add esp, 0xc
pop edi
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
pop ebp
ret
Function at 0x46f730
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x46f764
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x46f764
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [ebx]
test al, al
je 0x46f81e
push esi
mov esi, ebx
mov ecx, ebx
cmp al, 0x2f
je 0x46f77b
cmp al, 0x5c
jne 0x46f77d
mov esi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x46f773
cmp esi, ebx
je 0x46f7b1
sub esi, ebx
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.MSVCR100.dll_memcpy
lea ecx, [ebp - 0x20c]
push ecx
push edi
mov byte [ebp + esi - 0x20c], 0
call fcn.0046f730
add esp, 0x14
mov byte [ebp - 0x108], 0
test edi, edi
je 0x46f7d0
lea edx, [ebp - 0x108]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x46f7c6
mov eax, ebx
mov edx, ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46f7d4
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x46f7e4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ebp - 0x108]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop esi
cmp eax, 0xffffffff
jne 0x46f81e
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0048e770
mov esp, ebp
pop ebp
ret

Function at 0x471290
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
cmp dword [ebx], 0
jne 0x47135b
cmp dword [ebx + 4], 0xffffffff
jne 0x47135b
push edi
lea edi, [ebx + 0x140]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4712c1
sub eax, edx
mov al, byte [eax + ebx + 0x13f]
cmp al, 0x5c
je 0x4712f1
cmp al, 0x2f
je 0x4712f1
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4712e0
mov ax, word [0x4b0cd8]
mov word [edi], ax
mov edi, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
cmp edi, 1
jne 0x47131b
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x47131b
pop esi
pop edi
mov eax, 0x2000000
pop ebx
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
lea ecx, [ebp + 0x10]
push ecx
push edi
push edx
push esi
call fcn.0046e420
add esp, 0x10
test eax, eax
jne 0x47133b
mov eax, dword [ebp + 0x10]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
push eax
call fcn.00470ce0
add esp, 4
mov dword [ebx], eax
neg eax
sbb eax, eax
pop esi
and eax, 0xfffffe00
pop edi
add eax, 0x200
pop ebx
pop ebp
ret 0xc
mov eax, 0x1000000
pop ebx
pop ebp
ret 0xc
Function at 0x473450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4734b3
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x47348f
cmp eax, 2
jne 0x4734a1
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x4734af
test eax, eax
je 0x4734ac
cmp byte [eax + esi - 1], 0
je 0x4734af
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x473a70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffff
pop esi
lea ecx, [ebp + 8]
jne 0x473a9f
call dword [sym.imp.mfc100.dll_Ordinal_901]
xor al, al
pop ebp
ret
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov al, 1
pop ebp
ret
Function at 0x474180
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0765
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ebx
push 0x103
lea ecx, [ebp - 0x113]
push ebx
push ecx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x114], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x248]
push edx
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x21c]
push eax
push ebx
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x114]
push edx
push edi
mov dword [ebp - 0x228], 0x104
mov dword [ebp - 0x21c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x21c]
cmp eax, ebx
je 0x474305
push eax
push str._nNumber_of_subkeys:__d_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
xor esi, esi
cmp dword [ebp - 0x21c], ebx
jbe 0x474305
lea esp, [esp]
lea eax, [ebp - 0x238]
push eax
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x214]
push edx
push esi
push edi
mov dword [ebp - 0x224], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x4742f8
lea eax, [ebp - 0x214]
push eax
lea ecx, [esi + 1]
push ecx
push str.__d___s_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 0xc
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x218]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push ebx
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x218]
call dword [sym.imp.mfc100.dll_Ordinal_4144]
test eax, eax
jg 0x47433f
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
inc esi
cmp esi, dword [ebp - 0x21c]
jb 0x474270
mov esi, dword [ebp - 0x220]
push 0x4ae26b
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_300]
lea ecx, [ebp - 0x218]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x474318
Function at 0x474370
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push 0x38
xor ebx, ebx
lea eax, [ebp - 0x38]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp + 8]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.mfc100.dll_Ordinal_1448]
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp byte [ebp + 0xc], bl
pop ebx
je 0x4743d9
mov edx, dword [ebp - 4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov esp, ebp
pop ebp
ret
Function at 0x4753c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x94
lea eax, [ebp - 0x98]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 6
mov ecx, dword [ebp - 4]
setae al
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret

Function at 0x4754d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 0x3ff
call fcn.00475270
test al, al
je 0x475538
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREWOW6432NodeJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x475571
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push str.EnableJavaUpdate
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 8], 0
setne al
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 4]
push edx
push 1
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x475571
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
push str.EnableJavaUpdate
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 8], 0
setne al
mov esp, ebp
pop ebp
ret

Function at 0x475580
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.SoftwareMicrosoftInternet_ExplorerTypedURLs
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov esi, 1
push esi
lea ecx, [ebp - 0x10]
push str.url_d
push ecx
call edi
mov eax, dword [ebp - 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
push eax
call ebx
test eax, eax
jne 0x475606
inc esi
push esi
lea ecx, [ebp - 0x10]
push str.url_d
push ecx
call edi
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
push eax
call ebx
test eax, eax
je 0x4755e8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048e770
mov esp, ebp
pop ebp
ret
Function at 0x475630
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0a28
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str._userprofile_
lea ecx, [ebp - 0x1a8]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push str.Local_SettingsHistoryHistory.IE5index.dat
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_310]
cmp dword [ebp + 0xc], 0
mov byte [ebp - 4], 1
je 0x4756d1
push 0xc8
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x1a8]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov ecx, dword [ebp - 0x1ac]
push ecx
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0x1a0]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x1a4]
push ecx
push 0x4c9a90
push 3
push 0
push str._J7_
mov dword [ebp - 0x1a4], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x475722
mov eax, dword [ebp - 0x1a4]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x24]
call eax
mov esi, eax
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x1ac]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x1a8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
Function at 0x476310
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov ecx, dword [ebp + 8]
xor eax, eax
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], str.print
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov esp, ebp
pop ebp
ret

Function at 0x476420
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4764d8
push 0xff
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4764d8
push edi
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x4764c3
mov ecx, dword [edi + 0xc]
push esi
xor esi, esi
cmp dword [ecx], esi
je 0x4764ad
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_inet_ntoa]
mov eax, dword [ecx]
mov ecx, dword [eax]
push ecx
call ebx
mov edx, dword [edi + 0xc]
inc esi
cmp dword [edx + esi*4], 0
lea ecx, [edx + esi*4]
jne 0x476488
pop ebx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x298]
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x298]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x298]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
Function at 0x4766d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0bf9
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 4], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x128
mov edi, eax
lea eax, [ebp - 0x138]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x138]
push ecx
push edi
mov dword [ebp - 0x138], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4767ab
mov esi, dword [ebp + 0xc]
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push 0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc100.dll_Ordinal_4144]
test eax, eax
mov eax, dword [ebp - 0x130]
jns 0x47679d
cmp esi, 0xffffffff
je 0x47677e
cmp esi, eax
je 0x47679d
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea eax, [ebp - 0x138]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x476740
jmp 0x4767ab
lea ecx, [ebp - 0x13c]
mov ebx, eax
call dword [sym.imp.mfc100.dll_Ordinal_901]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
test ebx, ebx
je 0x4767c3
mov al, 1
jmp 0x4767c5
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret