joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e180
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4a00a4]
cmp byte [eax + 0xc], 0
je 0x44e2ed
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e2e6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a1b70], 0
jne 0x44e1d4
push 0x44e2f4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44e2fc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1b70], eax
cmp dword [0x49cd28], 0
jne 0x44e2cf
push 0x44e30c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x49cd28], eax
cmp dword [0x49cd28], 0
je 0x44e2cf
push 0x44e318
mov eax, dword [0x49cd28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1b74], eax
push 0x44e328
mov eax, dword [0x49cd28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1b78], eax
push 0x44e33c
mov eax, dword [0x49cd28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1b7c], eax
push 0x44e354
mov eax, dword [0x49cd28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1b80], eax
push 0x44e36c
mov eax, dword [0x49cd28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1b84], eax
push 0x44e380
mov eax, dword [0x49cd28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1b88], eax
push 0x44e398
mov eax, dword [0x49cd28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1b8c], eax
push 0x44e3b0
mov eax, dword [0x49cd28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1b90], eax
push 0x44e3cc
mov eax, dword [0x49cd28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1b94], eax
push 0x44e3d8
mov eax, dword [0x49cd28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a1b98], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e2ed
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x452684
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040454c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4526d3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004047bc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x459eac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x459efc]
test si, 4
je 0x459ec0
or bl, 1
test si, 8
je 0x459eca
or bl, 4
test si, 1
je 0x459ed4
or bl, 8
test si, 2
je 0x459ede
or bl, 0x10
test si, 0x10
je 0x459ee8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459ef7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x459f00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x459f38]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459f19
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459f28
or bl, 4
test esi, 0x20000000
je 0x459f33
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4605fc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46060e
add esp, 0xfffffff0
call fcn.00403a54
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ac88
mov eax, dword [0x49fcf4]
mov dword [eax + 4], ebx
mov dword [eax], 0x4609a0
mov eax, dword [0x49fd00]
mov dword [eax + 4], ebx
mov dword [eax], 0x4609ac
mov eax, ebx
call fcn.004609b8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412810]
call fcn.004036ec
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412810]
call fcn.004036ec
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412810]
call fcn.004036ec
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412810]
call fcn.004036ec
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412810]
call fcn.004036ec
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, 0x45cdd0
push eax
push 0
push 0
mov eax, dword [0x49fe7c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41c7e4]
call fcn.0041df7c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41c7e4]
call fcn.0041df7c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41c7e4]
call fcn.0041df7c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00460ebc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460d3c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460d3c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460d3c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46074b
call fcn.00403aac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x460b20
Capabilities:
Get keyboard layout

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 0x460ccb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x460cac
mov dl, 1
mov eax, dword [0x412c2c]
call fcn.004036ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040454c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x460c9b
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.0044e4e0
test al, al
je 0x460c8e
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, 0x460cdc
lea eax, [ebp - 0x254]
call fcn.0040967c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x460c8e
xor eax, eax
push ebp
push 0x460c87
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 0x460d14
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x460c70
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047bc
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 0x460c70
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460c8e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x460b91
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416858
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 0x460cd2
lea eax, [ebp - 0x260]
call fcn.0040454c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a1bbc]
cmp byte [eax + 0xa5], 0
jne 0x4616cd
cmp dword [0x4a1bd4], 0
jne 0x46168e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x461618
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a1bd4], eax
cmp dword [0x4a1bd0], 0
jne 0x4616a9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a1bd0], eax
cmp dword [0x4a1bd8], 0
jne 0x4616cd
push esp
push 0
push 0
push 0x4615bc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4a1bd8], eax
pop edx
ret
Function at 0x461da8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a1bbc]
cmp dword [eax + 0x30], 0
je 0x461e52
cmp dword [ebx + 0x94], 0
jne 0x461e4c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x461d38
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461e4c
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 0x461e12
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461e4c
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.00414c3c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x461e21
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4629b0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4629e5
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.0040463c
jmp 0x4629f2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045a0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x463b14
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x463b55
mov eax, esi
call fcn.00449a34
test al, al
je 0x463b55
mov eax, dword [ebx + 0x84]
call fcn.00449730
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x463b55
push 0
mov eax, dword [ebx + 0x84]
call fcn.00449730
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x465090
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x4650ba
cmp dword [ebx + 0x64], 0
jne 0x4650ba
cmp dword [ebx + 0x6c], 0
jne 0x4650ba
mov edi, esi
jmp 0x465141
cmp edi, 0xffffffff
jne 0x4650c2
dec edi
jmp 0x465141
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x465141
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0046448c
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x46510f
mov cx, word [esp]
sub cx, si
jmp 0x465111
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4650f8
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x465137
mov cx, word [esp]
sub cx, si
jmp 0x465139
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x465120
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x46519e
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.00464e2c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x465189
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x46519e
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x46509a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46b3f4
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4a1bec
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x46b416
shr eax, 1
xor eax, 0xedb88320
jmp 0x46b418
shr eax, 1
dec edx
jne 0x46b404
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x46b3fd
mov byte [0x4a1fec], 1
pop esi
pop ebx
ret

Function at 0x46b434
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4a1fec], 0
jne 0x46b44b
call fcn.0046b3f4
mov eax, edi
dec eax
test eax, eax
jl 0x46b474
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4a1bec]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x46b455
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x46da48
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x46da79
dec al
je 0x46dab5
dec al
je 0x46daf9
dec al
je 0x46db64
jmp 0x46dbee
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x46dbee
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x46da89
jmp 0x46dbee
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46dbee
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x46dac5
jmp 0x46dbee
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46dbee
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x46db27
xor ebp, ebp
jmp 0x46db38
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x46db41
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x46db09
jmp 0x46dbee
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46dbee
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x46dbbc
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0046b47c
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x46db78
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x473ca8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x473cd6
mov eax, ebx
call fcn.0047475c
cmp dword [ebx + 0x40], 0
je 0x473ccf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x473d47
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x473d39
cmp dword [ebx + 8], 0
je 0x473cf8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x473d0a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x473d39
cmp dword [ebx + 8], 0
je 0x473ceb
cmp eax, 3
je 0x473d1d
dec eax
jne 0x473ceb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x473ceb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x473ceb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x473d65
cmp dword [ebx + 0x14], 0xcc
je 0x473d65
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00473d70
pop ebx
ret

Function at 0x485914
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x485965
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x48594c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x48593c
jmp 0x485965
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x48594d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x489b41
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 0x489b6f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x489b8d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00489aab
jmp 0x489b8d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x489b8d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00489aab
test edi, edi
mov eax, edi
jne 0x489b77
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4e7e8c]
test ecx, ecx
je 0x489c40
jmp 0x489b40
ret 8

Function at 0x48bfcf
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x48fe41
call fcn.0046e7ac
sub esp, 0x198
mov eax, dword [0x4b0f98]
push ebx
push esi
push edi
push 0x489518
mov ecx, 0x4e7e20
mov dword [ebp - 0x10], eax
call fcn.00489809
mov edi, eax
xor ebx, ebx
cmp dword [edi + 0xc], ebx
jne 0x48c031
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x48c00f
lea esi, [ebp - 0x1a0]
push esi
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, ebx
jne 0x48c063
cmp byte [esi], 1
jne 0x48c05d
cmp byte [esi + 1], 1
jne 0x48c05d
mov dword [edi + 0xc], 0x48bf9c
call fcn.00488821
mov esi, eax
cmp dword [esi + 0x30], ebx
jne 0x48c070
push 0x1c
call fcn.0048196e
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x48c067
push 0xa
call fcn.0047c9fb
jmp 0x48c069
call dword [sym.imp.WSOCK32.dll_WSACleanup]
xor eax, eax
jmp 0x48c0d3
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x30], eax
cmp dword [esi + 0x34], ebx
jne 0x48c0a2
push 0x1c
call fcn.0048196e
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], 1
je 0x48c099
push 0xa
call fcn.0047c9fb
jmp 0x48c09b
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x34], eax
cmp dword [esi + 0x38], ebx
jne 0x48c0d0
push 0x1c
call fcn.0048196e
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], 2
je 0x48c0cb
push 0xa
call fcn.0047c450
jmp 0x48c0cd
xor eax, eax
mov dword [esi + 0x38], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0046e79c
leave
ret 4

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

Disassembly:
pushal
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10067f78
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
test ebx, ebx
je 0x10067fd3
mov edi, dword [ebp + 0xc]
test edi, 0xffff0000
jne 0x10067f9d
sub edi, dword [ebx + esi + 0x10]
jmp 0x10067fee
mov ecx, dword [ebx + esi + 0x20]
xor eax, eax
add ecx, esi
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
cmp dword [ebx + esi + 0x18], eax
jbe 0x10067fd3
mov eax, dword [ecx + eax*4]
add eax, esi
push edi
push eax
call fcn.1005d594
pop ecx
pop ecx
test eax, eax
je 0x10067fdc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [ebx + esi + 0x18]
jb 0x10067fb1
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 8]
test ecx, ecx
js 0x10067fd3
mov eax, dword [ebx + esi + 0x24]
lea eax, [eax + ecx*2]
movzx edi, word [eax + esi]
cmp edi, 0xffffffff
je 0x10067fd3
cmp edi, dword [ebx + esi + 0x14]
jae 0x10067fd3
mov eax, dword [ebx + esi + 0x1c]
lea eax, [eax + edi*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x10067fd5

Function at 0x1006a468
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
push edi
mov ebx, 0x1008f104
mov eax, dword [eax + 0xc]
push ebx
mov edi, dword [eax + 0x18]
push dword [edi + 0x28]
call fcn.100553d4
pop ecx
pop ecx
test eax, eax
jne 0x1006a48f
mov eax, dword [edi + 0x10]
jmp 0x1006a4ae
push esi
mov esi, dword [edi + 4]
jmp 0x1006a4a7
push ebx
push dword [esi + 0x28]
call fcn.100553d4
pop ecx
pop ecx
test eax, eax
je 0x1006a4b1
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x1006a495
xor eax, eax
pop esi
pop edi
pop ebx
ret
mov eax, dword [esi + 0x10]
jmp 0x1006a4ad

Function at 0x10094790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, dword [edx]
mov eax, dword [edx + 4]
test esi, esi
jle 0x100947f3
mov ecx, dword [ebp + 0x10]
sub dword [ebp + 0xc], ecx
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
push edi
inc bl
movzx ebx, bl
mov cl, byte [edx + ebx + 8]
add al, cl
movzx eax, al
mov dword [ebp + 8], eax
mov edi, dword [ebp + 8]
mov al, byte [edx + eax + 8]
mov byte [edx + ebx + 8], al
add al, cl
movzx eax, al
mov byte [edx + edi + 8], cl
mov cl, byte [eax + edx + 8]
mov eax, dword [ebp + 0x10]
xor cl, byte [esi + eax]
mov byte [eax], cl
inc eax
sub dword [ebp - 4], 1
mov dword [ebp + 0x10], eax
mov eax, edi
jne 0x100947b2
mov esi, dword [ebp + 0x14]
pop edi
mov dword [edx + 4], eax
mov eax, esi
pop esi
mov dword [edx], ebx
pop ebx
leave
ret