joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c57c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x459820
cmp dword [edi], 0
jne 0x43c5f8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45981c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4558b4
mov ecx, 2
call fcn.0040282c
mov edx, 0x43c554
lea eax, [esi + 5]
call fcn.0043c574
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043c574
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43c5cd
mov dword [0x45981c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43c714
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43c764]
test si, 4
je 0x43c728
or bl, 1
test si, 8
je 0x43c732
or bl, 4
test si, 1
je 0x43c73c
or bl, 8
test si, 2
je 0x43c746
or bl, 0x10
test si, 0x10
je 0x43c750
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43c75f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43c768
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43c7a0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43c781
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43c790
or bl, 4
test esi, 0x20000000
je 0x43c79b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4429d0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4429e2
add esp, 0xfffffff0
call fcn.00403108
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00414844
mov eax, ebx
call fcn.00442d1c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x40ca80]
call fcn.00402d98
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x40ca80]
call fcn.00402d98
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x40ca80]
call fcn.00402d98
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x40ca80]
call fcn.00402d98
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40ca80]
call fcn.00402d98
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x43f4c0
push eax
push 0
push 0
mov eax, dword [0x457e68]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x416b18]
call fcn.00418050
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x416b18]
call fcn.00418050
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x416b18]
call fcn.00418050
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.004430fc
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x443018
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x443018
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x443018
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x442af1
call fcn.00403160
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x442dfc
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 0x442fa7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x442f88
mov dl, 1
mov eax, dword [0x40ce48]
call fcn.00402d98
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403b04
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x442f77
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.00431780
test al, al
je 0x442f6a
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, 0x442fb8
lea eax, [ebp - 0x254]
call fcn.00408c94
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x442f6a
xor eax, eax
push ebp
push 0x442f63
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 0x442ff0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x442f4c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d34
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x442f4c
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442f6a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x442e6d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00410090
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442fae
lea eax, [ebp - 0x260]
call fcn.00403b04
ret

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

Disassembly:
push ecx
mov eax, dword [0x459810]
cmp byte [eax + 0x95], 0
jne 0x443865
cmp dword [0x45982c], 0
jne 0x443826
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4437b0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45982c], eax
cmp dword [0x459828], 0
jne 0x443841
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x459828], eax
cmp dword [0x459830], 0
jne 0x443865
push esp
push 0
push 0
push 0x443754
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x459830], eax
pop edx
ret
Function at 0x44395c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x443973
add esp, 0xfffffff0
call fcn.00403108
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00414844
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40ca80]
call fcn.00402d98
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40ca80]
call fcn.00402d98
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x4174a8]
call fcn.0041e6fc
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x443ae8
mov eax, dword [0x457d98]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041eacc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x445310
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x457d98]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.0040a0c0
test eax, eax
je 0x443a66
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408648
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040a0e8
test eax, eax
je 0x443a7a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403d34
mov eax, dword [0x457cb0]
cmp byte [eax], 0
jne 0x443aab
mov eax, ebx
call fcn.00443bd4
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x443add
call fcn.00403160
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x443e44
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x459810]
cmp dword [eax + 0x24], 0
je 0x443ee7
cmp dword [ebx + 0x84], 0
jne 0x443ee1
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x443dd4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x443ee1
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 0x443eaa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x443ee1
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0040e478
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x443eb9
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x4448f4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x444929
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403bec
jmp 0x444933
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403b58
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x445684
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x4456bc
mov eax, esi
call fcn.0042d4f4
test al, al
je 0x4456bc
mov eax, dword [ebx + 0x74]
call fcn.0042d1f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4456bc
push 0
mov eax, dword [ebx + 0x74]
call fcn.0042d1f8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x446a4c
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 0x446a76
cmp dword [ebx + 0x64], 0
jne 0x446a76
cmp dword [ebx + 0x6c], 0
jne 0x446a76
mov edi, esi
jmp 0x446afd
cmp edi, 0xffffffff
jne 0x446a7e
dec edi
jmp 0x446afd
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x446afd
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00445e48
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 0x446acb
mov cx, word [esp]
sub cx, si
jmp 0x446acd
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x446ab4
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 0x446af3
mov cx, word [esp]
sub cx, si
jmp 0x446af5
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x446adc
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x446b5a
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.004467e8
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x446b45
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 0x446b5a
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x446a56
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x44cdb4
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x459844
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x44cdd6
shr eax, 1
xor eax, 0xedb88320
jmp 0x44cdd8
shr eax, 1
dec edx
jne 0x44cdc4
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x44cdbd
mov byte [0x459c44], 1
pop esi
pop ebx
ret

Function at 0x44cdf4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x459c44], 0
jne 0x44ce0b
call fcn.0044cdb4
mov eax, edi
dec eax
test eax, eax
jl 0x44ce34
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x459844]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x44ce15
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x44f3f0
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 0x44f421
dec al
je 0x44f462
dec al
je 0x44f4a6
dec al
je 0x44f511
jmp 0x44f59b
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x44f59b
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
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x44f431
jmp 0x44f59b
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x44f59b
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 0x44f472
jmp 0x44f59b
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x44f59b
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 0x44f4d4
xor ebp, ebp
jmp 0x44f4e5
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 0x44f4ee
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 0x44f4b6
jmp 0x44f59b
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x44f59b
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 0x44f569
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.0044ce3c
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 0x44f525
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x454aa8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd8
mov esi, eax
lea edi, [esp]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
cmp dword [0x459c90], 0
je 0x454acf
mov ebx, 2
jmp 0x454b7d
push 0x454b88
call sub.kernel32.dll_GlobalFindAtomA
test ax, ax
ja 0x454b7d
mov esi, dword [esp + 0x24]
cmp dword [0x457c90], 0
jge 0x454b26
call sub.kernel32.dll_GetTickCount
mov dword [0x457c94], eax
call fcn.004545e8
mov dword [0x457c88], eax
mov eax, dword [0x457c88]
shr eax, 0x10
add eax, eax
lea eax, [eax + eax*2]
mov dword [0x457c90], eax
movzx esi, word [0x457c88]
mov eax, dword [esp + 0x24]
cmp esi, eax
jle 0x454b26
mov esi, eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [0x457c94]
cmp eax, 0x1388
jbe 0x454b3e
inc dword [0x457c90]
mov eax, dword [0x457c90]
mov ecx, 6
cdq
idiv ecx
shl eax, 0x10
call fcn.004546ac
mov eax, dword [esp + 0x20]
add eax, eax
lea eax, [eax + eax*2]
push eax
mov eax, dword [0x457c90]
pop edx
sub eax, edx
cmp eax, 0xfffffffd
jne 0x454b70
mov ebx, esi
neg ebx
jmp 0x454b7d
test eax, eax
jl 0x454b7d
mov edx, esi
xor eax, eax
call fcn.004547c8
mov eax, ebx
add esp, 0x28
pop edi
pop esi
pop ebx
ret
Function at 0x100021e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov dword [0x100182e8], 0x1fdd
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x10002265
mov eax, dword [0x100182e4]
add eax, 0xffffe6db
mov dword [0x100182e4], eax
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x21], cl
mov al, byte [ebp - 0x21]
test al, 1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], edx
jne 0x10002215
jmp 0x10002265
mov eax, dword [ebp - 0x1c]
mov ecx, 0x1145
xor edx, edx
mov dword [0x100182e4], 0x111f
mov esi, dword [ebp - 0x10]
cmp word [esi + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jne 0x1000238d
mov eax, 0x1145
xor ecx, ecx
mov dword [0x100182e4], 0x15d2
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x28]
cmp word [edx + esi*2 - 0x18], 0x6f
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
jne 0x1000238d
mov eax, 0x1145
xor ecx, ecx
mov dword [0x100182e4], 0x2a11
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x28]
cmp word [edx + esi*2 - 0x16], 0x61
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
jne 0x1000238d
mov eax, 0x1145
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x28]
cmp word [edx + esi*2 - 0x14], 0x64
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
jne 0x1000238d
mov eax, 0x1145
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x28]
cmp word [edx + esi*2 - 0x12], 0x64
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
jne 0x1000238d
mov eax, 0x1145
xor ecx, ecx
mov edx, dword [0x100182e8]
add edx, 0x13b1
mov dword [0x100182e4], edx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x28]
cmp word [edx + esi*2 - 0x10], 0x6c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
jne 0x1000238d
mov eax, 0x1145
xor ecx, ecx
mov dword [0x100182e4], 0xf06
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x28]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
jne 0x1000238d
mov eax, 1
mov ecx, dword [0x100182e8]
add ecx, 0xa8d
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [0x100182e4], ecx
add esp, 0x2c
pop esi
pop ebp
ret
Function at 0x10002480
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [0x100182e4], 0x1c38
lea eax, [fcn.10002480]
mov dword [ebp - 4], eax
jmp 0x1000249b
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
jne 0x100024c6
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
mov ecx, dword [eax + ecx]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp eax, 0x4550
jne 0x100024c6
mov eax, dword [ebp - 8]
add esp, 0xc
pop ebp
ret
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 4], eax
jmp 0x1000249b
Function at 0x10002620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
call fcn.100023a0
xor ecx, ecx
mov edx, dword [0x100182e4]
mov esi, edx
add esi, 0xc73
mov dword [0x100182e8], esi
add edx, 0xfffff63d
mov dword [0x100182e4], edx
mov edx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
lea edx, section..data
imul esi, eax, 0x84
mov edi, edx
add edi, esi
add edi, 0x58
mov esi, dword [edi]
imul edi, eax, 0x84
add edx, edi
add edx, 0x44
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x234
mov ecx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jne 0x10002661
lea eax, [0x100051e7]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x100182e4], 0x30d
mov dword [0x100182e8], 0xdf4
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], ecx
call fcn.10001c80
mov eax, dword [0x100182e8]
add eax, 0x3b41
mov dword [0x100182e4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.10002870
mov ecx, eax
mov dword [0x10018304], eax
mov eax, esp
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov dword [0x100182e4], 0x191d
mov edx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
lea edx, section..data
imul esi, ecx, 0x84
mov edi, edx
add edi, esi
add edi, 0x40
imul esi, ecx, 0x84
mov ebx, edx
add ebx, esi
add ebx, 0x44
imul esi, ecx, 0x84
add edx, esi
add edx, 0x58
add ecx, 1
mov esi, dword [ebp - 0x4c]
add esi, eax
mov edx, dword [edx]
mov edi, dword [edi]
movzx ebx, word [ebx]
xor ebx, edx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], ebx
call fcn.10003040
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x58]
add eax, ecx
mov edx, dword [ebp - 0x5c]
cmp edx, 0x234
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], eax
jne 0x10002740
mov eax, dword [0x100182e4]
add eax, 0xffffdda5
mov dword [0x100182e8], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x40]
mov dword [esp + 8], ecx
call fcn.10002140
xor eax, eax
mov dword [0x100182e4], 0x2d4
mov ecx, dword [ebp - 0x4c]
add ecx, 0xc5928
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [0x100182e8], 0xd59
mov dword [edx + 4], 0x154c00
mov ecx, dword [ebp - 0x4c]
add ecx, 0x3e455
mov dword [edx + 8], ecx
mov ecx, dword [0x100182e4]
add ecx, 0xffffe9bb
mov dword [0x100182e4], ecx
mov dword [edx + 0xc], 0x1f70
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret