joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452660
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x452686
mov eax, esp
push eax
push 0x452628
call sub.user32.dll_EnumWindows
jmp 0x452699
mov eax, esp
push eax
push 0x452608
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x452724
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x452778]
test si, 4
je 0x452739
or bl, 1
test si, 8
je 0x452743
or bl, 4
test si, 1
je 0x45274d
or bl, 8
test si, 2
je 0x452757
or bl, 0x10
test si, 0x10
je 0x452761
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452770
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45277c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4527b8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452796
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4527a5
or bl, 4
test esi, 0x20000000
je 0x4527b0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45a824
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45a836
add esp, 0xfffffff0
call fcn.00403edc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041bffc
mov eax, dword [0x47eb14]
mov dword [eax + 4], ebx
mov dword [eax], 0x45abc8
mov eax, dword [0x47eb24]
mov dword [eax + 4], ebx
mov dword [eax], 0x45abd4
mov eax, ebx
call fcn.0045abe0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4131b0]
call fcn.00403b88
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4131b0]
call fcn.00403b88
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4131b0]
call fcn.00403b88
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4131b0]
call fcn.00403b88
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4131b0]
call fcn.00403b88
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x456088
push eax
push 0
push 0
mov eax, dword [0x47ed50]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420e48]
call fcn.0042269c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420e48]
call fcn.0042269c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420e48]
call fcn.0042269c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045b058
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45af28
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45af28
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45af28
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a973
call fcn.00403f34
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45ad0c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45aeb7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45ae98
mov dl, 1
mov eax, dword [0x41368c]
call fcn.00403b88
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404ab8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45ae87
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044bed0
test al, al
je 0x45ae7a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45aec8
lea eax, [ebp - 0x254]
call fcn.00409f48
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45ae7a
xor eax, eax
push ebp
push 0x45ae73
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45af00
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45ae5c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d28
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45ae5c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ae7a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45ad7d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004177e4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45aebe
lea eax, [ebp - 0x260]
call fcn.00404ab8
ret

Function at 0x45b830
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x484cd0]
cmp byte [eax + 0xad], 0
jne 0x45b8a1
cmp dword [0x484cec], 0
jne 0x45b862
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45b7ec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x484cec], eax
cmp dword [0x484ce8], 0
jne 0x45b87d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x484ce8], eax
cmp dword [0x484cf0], 0
jne 0x45b8a1
push esp
push 0
push 0
push 0x45b790
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x484cf0], eax
pop edx
ret
Function at 0x45baa4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45babb
add esp, 0xfffffff0
call fcn.00403edc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041bffc
mov eax, dword [0x47ed30]
cmp word [eax + 2], 0
jne 0x45bae3
mov eax, dword [0x47ed30]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d794
mov eax, dword [0x47ee50]
cmp word [eax + 2], 0
jne 0x45bafd
mov eax, dword [0x47ee50]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d9a0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4131b0]
call fcn.00403b88
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4131b0]
call fcn.00403b88
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4131b0]
call fcn.00403b88
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x421958]
call fcn.004290c0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45bcb4
mov eax, dword [0x47ebc0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429494
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45e074
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47ebc0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040dc04
test eax, eax
je 0x45bc04
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409564
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dc38
test eax, eax
je 0x45bc18
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404d28
mov byte [ebx + 0xd4], 0
push ebx
push 0x45d220
call fcn.0041d178
mov dword [ebx + 0xc8], eax
mov eax, dword [0x47e9cc]
cmp byte [eax], 0
jne 0x45bc69
mov eax, ebx
call fcn.0045bdf8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045e288
mov eax, ebx
call fcn.0045edec
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45bca9
call fcn.00403f34
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c078
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45c117
cmp dword [ebx + 0x94], 0
jne 0x45c111
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45c000
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45c111
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45c0d7
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45c111
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00415668
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45c0e6
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45c330
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x484cd0]
cmp dword [eax + 0x30], 0
je 0x45c48d
test bl, bl
jne 0x45c3de
cmp dword [esi + 0x9c], 0
jne 0x45c3d3
mov eax, esi
call fcn.0045ec68
push eax
push 0x45c25c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45c3a4
mov eax, dword [0x484cd0]
call fcn.0045f348
test al, al
je 0x45c3a4
mov eax, dword [0x484cf4]
call fcn.00405bfc
mov edi, eax
cmp edi, 0
jl 0x45c3a4
push 0
mov eax, dword [0x484cf4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45c38e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45c3d3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00415668
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45c3b3
inc dword [esi + 0x9c]
jmp 0x45c48d
cmp dword [esi + 0x9c], 0
jle 0x45c48d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45c48d
cmp dword [esi + 0x44], 0
je 0x45c439
mov eax, dword [0x484cd0]
call fcn.0045f348
test al, al
je 0x45c439
mov eax, dword [0x484cf4]
call fcn.00405bfc
mov edi, eax
cmp edi, 0
jl 0x45c439
push 5
mov eax, dword [0x484cf4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45c423
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45c468
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00415668
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45c448
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x484cf4
mov ecx, 1
mov edx, dword [0x45c23c]
call fcn.00405db0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45cf74
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45cfde
mov eax, ebx
call fcn.0045f348
test al, al
jne 0x45cfde
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404ba8
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45cfcb
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45cfeb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b0c
jmp 0x45cfeb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b0c
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45e46c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45e4da
mov eax, esi
call fcn.00446b70
test al, al
je 0x45e4da
mov eax, dword [ebx + 0x84]
call fcn.004467fc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45e4da
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45e4ce
push 0
mov eax, dword [ebx + 0x84]
call fcn.004467fc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043e66c
jmp 0x45e4da
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045e2a8
pop esi
pop ebx
ret
Function at 0x479af8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x479ceb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x479cd2
mov eax, dword [edi + 0x30]
test eax, eax
je 0x479b36
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x479b56
mov eax, dword [edi + 0x34]
test eax, eax
je 0x479b46
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x479b56
mov eax, edi
call fcn.00479d8c
jmp 0x479cd2
cmp dword [edi + 0xa0], 0
jne 0x479b8d
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.004095d0
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x484f20]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x479bc4
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.004095d0
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x484f20]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00479dcc
mov ebx, eax
test bl, bl
jne 0x479c87
mov eax, dword [edi + 0x30]
test eax, eax
je 0x479bed
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x479c07
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x479c00
sub eax, 4
mov eax, dword [eax]
test eax, eax
sete al
jmp 0x479c09
xor eax, eax
test al, al
jne 0x479c87
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x479c1c
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x479c33
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.004095d0
jmp 0x479c5f
push dword [edi + 0x30]
push 0x479d08
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00404e4c
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.004095d0
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x479c87
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00479dcc
mov ebx, eax
test bl, bl
jne 0x479c94
mov eax, edi
call fcn.00479d8c
jmp 0x479cd2
mov eax, dword [edi + 0x58]
test eax, eax
je 0x479ca3
mov dword [edi + 0xa8], eax
jmp 0x479cad
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.00479e44
test al, al
je 0x479cd2
mov eax, edi
mov si, 0xffee
call fcn.00403db4
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.00479ef4
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479cf2
lea eax, [ebp - 0x108]
call fcn.00404ab8
ret
Function at 0x47b244
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47b39c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
lea edx, [ebp - 0x1c]
mov eax, dword [0x47ee14]
mov eax, dword [eax]
call fcn.0045cf74
mov eax, dword [ebp - 0x1c]
call fcn.00404f48
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x47b296
call fcn.0040e408
xor edx, edx
push ebp
push 0x47b377
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x200
push 0
push 0
mov eax, ebx
call fcn.00404f48
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x47b2ce
call fcn.0040e408
xor edx, edx
push ebp
push 0x47b359
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
mov edx, 0x64
call fcn.004051d8
mov eax, dword [ebp - 4]
test eax, eax
je 0x47b2f5
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
push 0x13
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpQueryInfoA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x47b342
mov edx, dword [ebp - 0x14]
shr edx, 0
lea eax, [ebp - 4]
call fcn.004051d8
mov eax, dword [ebp - 4]
mov edx, 0x47b3b4
call fcn.00404ee0
setne byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b360
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
Function at 0x406aea
Capabilities:
Hash data with crc32

Disassembly:
add byte [eax], al
cmp al, 0x10
inc eax
add byte [eax - 0x7fffbfd7], bl
sub byte [eax], al
test al, 0x28
inc eax
add ah, ch
sub byte [eax], al
cwde
js 0x406b43
add byte [eax], ah
ja 0x406b47
add byte [eax], ch
ja 0x406b4b
inc eax
add byte [ebx], dl
push esp
inc ebx
jne 0x406b84
adc edx, dword [ebx + eax*2 + 0x75]
jae 0x406b86
je 0x406b82
outsd dx, dword [esi]
insd dword es:[edi], dx
inc esp
arpl word gs:[edi + 0x6d], bp
jo 0x406b8d
jae 0x406b91
outsd dx, dword [esi]
jb 0x406b0a
scasd eax, dword es:[edi]
scasd eax, dword es:[edi]
invalid
add byte [eax], al
add byte [eax], al
add byte [edi + esi*2 + 0x40], ah
add byte [eax + edx], bl
add byte [eax], al
cmp al, 0x10
inc eax
add byte [eax - 0x7fffbfd7], bl
sub byte [eax], al
test al, 0x28
inc eax
add byte [edx + edi*2], cl
inc eax
add byte [esi], dl
push esp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x406bdd
jae 0x406be1
inc edx
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [ebx + 0x52], bp
popal
jb 0x406b0c
inc eax
add byte [ebx + 0x8bac6], cl
add byte [eax], al
mov edx, ebx
and dx, 0xff
loop 0x406bde
inc dword [eax]
add byte [ebx], dh
xor ecx, ecx
leave
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x406bd9
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x406b7c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c55c
mov eax, esi
mov edx, 8
test al, 1
je 0x406b98
shr eax, 1
xor eax, 0xedb88320
jmp 0x406b9a
shr eax, 1
dec edx
jne 0x406b8b
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x406b84
pop esi
ret

Function at 0x406bb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c558], 0
jne 0x406bd3
call fcn.00406b7c
push 1
push 0x40c558
call fcn.004037d0
mov eax, edi
test esi, esi
je 0x406bfe
Function at 0x40618e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4061b2
xor eax, eax
test eax, eax
je 0x4061c4
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4061c4
xor ecx, ecx
jmp 0x4061c7
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x406271
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4222c4], 0
push esi
jne 0x4062a8
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406282
mov dword [ecx*4 + 0x4222c0], eax
inc ecx
cmp ecx, 0x100
jl 0x40627d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4062d9
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4222c0]
xor eax, esi
inc ecx
dec edx
jne 0x4062bb
pop edi
not eax
pop esi
ret 0xc

Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x345556d9
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x33f515d3
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x47e692
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47e6c0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47e6de
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047e5f8
jmp 0x47e6de
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47e6de
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047e5f8
test edi, edi
mov eax, edi
jne 0x47e6c8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..data
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x142e71a9
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
mov eax, section..text
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x4cb1786f
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219