joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54e5fe
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcc
je 0x54e634
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x180]
call dword [eax]
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0xcc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x180]
xor edx, edx
mov dl, byte [ecx + 8]
test edx, edx
je 0x54e6fa
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x78]
cmp edx, dword [ecx + 0x60]
jae 0x54e6c6
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x54e68e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [edx + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
call dword [edx]
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 4], ecx
push 0
mov edx, dword [ebp + 8]
add edx, 0x78
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x184]
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
cmp ecx, dword [ebp - 4]
jne 0x54e6c4
xor al, al
jmp 0x54e716
jmp 0x54e64a
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x180]
call dword [ecx + 4]
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x180]
call dword [ecx]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x78], 0
jmp 0x54e634
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 0x41]
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 0xcd
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], ecx
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x581100
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x63e018
cmp edx, dword [eax]
je 0x581122
add eax, 8
inc ecx
cmp eax, 0x63e0a8
jl 0x581113
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x63e018]
jne 0x581250
mov eax, dword [0x71b640]
cmp eax, 1
je 0x58122a
test eax, eax
jne 0x581153
cmp dword [0x63af6c], 1
je 0x58122a
cmp edx, 0xfc
je 0x581250
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x58118a
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0057bbb0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00577530
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x5811cd
lea eax, [ebp - 0x1a4]
push eax
call fcn.00577530
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x637554
push edi
call fcn.00573cb0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0057bbb0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0057bbc0
lea eax, [ebp - 0xa0]
push 0x5f77a0
push eax
call fcn.0057bbc0
push dword [esi + 0x63e01c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0057bbc0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0058427d
add esp, 0x2c
pop edi
jmp 0x581250
lea eax, [ebp + 8]
lea esi, [esi + 0x63e01c]
push 0
push eax
push dword [esi]
call fcn.00577530
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x589e30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00573c80
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x589efb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x589efb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x589eae
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x589eb9
or bh, 8
and edi, 0x8000000
je 0x589ed4
mov eax, dword [0x71cddc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x589efb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x58a2d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x58a2fb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x58a31f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x58a33a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x58ef06
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x58ef28
cmp dword [edi + 0x3c], 0
jne 0x58ef28
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.005aa82c
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0058ef55
pop edi
pop esi
pop ebx
ret 8

Function at 0x58efa3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.005aa82c
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x58efd4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0058efe7
pop edi
pop esi
pop ebx
ret 8

Function at 0x590598
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5905d0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00593b82
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00593b5a
jmp 0x5905dc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x59228d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5922cf
call fcn.005aa82c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5922cf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5922c6
xor eax, eax
jmp 0x5922d7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005922dd
pop edi
pop esi
pop ebx
ret 4
Function at 0x5ab33d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.005aa82c
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x5ab37a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5ab37a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x5ab37e
xor eax, eax
jmp 0x5ab3fc
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.0058ecf8
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x5ab3b6
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x5ab3a0
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.005ab4ed
push ebx
mov edi, eax
call fcn.0058ed21
test edi, edi
pop ecx
je 0x5ab3f8
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.005ab2b6
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.005ab401
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x4039b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x422044]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 0x118
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0040f6e0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x403a89
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x403a55
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x403a2e
cmp word [esp + 0x118], 4
jb 0x403a89
mov esi, 1
mov eax, esi
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0040adf2
add esp, 0x120
ret
cmp eax, 2
jae 0x403a38
cmp eax, 1
jne 0x403a89
mov esi, 3
mov eax, esi
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0040adf2
add esp, 0x120
ret
cmp eax, 6
jne 0x403a89
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x403a7f
mov esi, 4
mov eax, esi
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0040adf2
add esp, 0x120
ret
cmp eax, 1
jne 0x403a89
mov esi, 5
mov ecx, dword [esp + 0x120]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040adf2
add esp, 0x120
ret

Function at 0x403ab0
Capabilities:
Get file size

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push eax
or edi, 0xffffffff
or ebx, 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x403ae4
or eax, eax
or edx, esi
pop edi
pop esi
pop ebx
add esp, 0x10
ret
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
jne 0x403afd
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov edx, ebx
pop ebx
add esp, 0x10
ret

Function at 0x403c40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x422044]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x206
lea eax, [esp + 6]
push 0
push eax
mov word [esp + 0xc], 0
call fcn.0040f6e0
add esp, 0xc
cmp dword [0x4230b0], 3
jne 0x403ca1
push 0x104
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x41dc40
lea edx, [esp + 4]
push 0x104
push edx
call fcn.0040ae31
add esp, 0xc
jmp 0x403cb0
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
lea ecx, [esp + 4]
push ecx
push 0x41dc60
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esp + 0x218]
add esp, 0x10
xor ecx, esp
call fcn.0040adf2
add esp, 0x20c
ret
Function at 0x4024a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
xor ecx, ecx
test esi, esi
jbe 0x4024d5
push ebx
push edi
mov edi, dword [esp + 0x10]
xor edx, edx
mov ebx, eax
mov dl, byte [ecx + edi]
and ebx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x43c438]
xor eax, edx
inc ecx
cmp ecx, esi
jb 0x4024b3
pop edi
pop ebx
pop esi
ret

Function at 0x4024e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor esi, esi
test ebp, ebp
je 0x402558
push ebx
mov ebx, dword [esp + 0x10]
push edi
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.00402560
mov edi, eax
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, ebp
jbe 0x40250e
mov dword [esp + 0x18], ebp
push ebx
call fcn.00402610
mov ecx, dword [esp + 0x1c]
add esp, 4
xor eax, eax
test ecx, ecx
jbe 0x402545
xor edx, edx
mov ebx, esi
mov dl, byte [eax + edi]
and ebx, 0xff
xor edx, ebx
shr esi, 8
mov edx, dword [edx*4 + 0x43c438]
xor esi, edx
inc eax
cmp eax, ecx
jb 0x402521
mov ebx, dword [esp + 0x14]
sub ebp, ecx
add ebx, ecx
test ebp, ebp
mov dword [esp + 0x14], ebx
jne 0x4024f2
pop edi
mov eax, esi
pop ebx
pop esi
pop ebp
ret
mov eax, esi
pop esi
pop ebp
ret

Function at 0x402bb0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov eax, dword [ebx]
cmp eax, 1
je 0x402bd2
cmp eax, 3
je 0x402bd2
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
xor esi, esi
lea eax, [ebx + 0x44]
push esi
push 0x80
push 3
push esi
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x402c01
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0xc
ret
mov eax, dword [ebx]
mov dword [ebx + 0x14], esi
cmp eax, 1
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x18], esi
jne 0x402cd7
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [ebx + 0xc]
mov esi, eax
or edi, 0xa0000000
mov dword [esp + 0x10], eax
test esi, esi
lea ecx, [edi + esi]
mov dword [esp + 0x14], edi
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], esi
je 0x402c89
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [esp + 0x20]
push edx
push edi
call fcn.00402560
mov ecx, dword [esp + 0x28]
add esp, 8
cmp ecx, esi
jbe 0x402c60
mov ecx, esi
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x18]
push 0
push edx
push ecx
push eax
push ebp
call ebx
push edi
call fcn.00402610
mov eax, dword [esp + 0x24]
add esp, 4
sub esi, eax
add edi, eax
test esi, esi
jne 0x402c44
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, dword [0x444648]
mov edx, dword [0x444644]
push eax
push edi
lea ecx, [ecx + ecx*2]
mov dword [edx + ecx*4], edi
mov ecx, dword [0x444648]
mov edx, dword [0x444644]
lea ecx, [ecx + ecx*2]
mov dword [edx + ecx*4 + 4], eax
call fcn.004024e0
mov ecx, dword [0x444648]
mov edx, dword [0x444644]
add esp, 8
lea ecx, [ecx + ecx*2]
pop edi
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [0x444648]
inc eax
mov dword [0x444648], eax
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x402cf0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x42b250
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4386a8]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], eax
mov eax, dword [0x442638]
push 0
push 0x30
mov dword [esp + 0x28], 0
mov edx, dword [eax + 0x368]
lea ecx, [eax + 0x338]
push edx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [0x442638]
add ecx, 0x338
mov edx, dword [ecx]
call dword [edx + 0x30]
mov eax, dword [0x442638]
mov edx, dword [eax + 0x338]
lea ecx, [eax + 0x338]
call dword [edx + 0x4c]
mov eax, dword [0x442638]
push 0x3fa
lea ecx, [eax + 0x41c]
call fcn.00421f2d
mov ecx, dword [0x442638]
push 0x3fb
add ecx, 0x41c
mov edi, eax
call fcn.00421f2d
mov ebp, eax
push 0x4372a4
mov ecx, ebp
call fcn.0042201d
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
je 0x402dcc
mov edx, dword [edi + 0x1c]
push 0x640000
push 0
push 0x401
push edx
call ebx
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0x402
push eax
call ebx
push 5
mov ecx, edi
call fcn.0042211e
push 0
push 0x62
call fcn.00402fb0
add esp, 8
test eax, eax
jne 0x402e02
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.004229e8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call esi
mov ecx, dword [0x43cd28]
push ecx
call fcn.00402f70
add esp, 4
test eax, eax
jne 0x402e45
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.004229e8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push 0x12c
call esi
mov edx, dword [0x4386a8]
mov dword [esp + 0x10], edx
mov byte [esp + 0x20], 1
mov esi, 1
mov eax, dword [edi + 0x1c]
push 0
push esi
push 0x402
push eax
call ebx
push esi
lea ecx, [esp + 0x14]
push 0x437200
push ecx
call fcn.0041db68
add esp, 0xc
lea ecx, [esp + 0x10]
push 0x4372a0
call fcn.00422cea
mov edx, dword [esp + 0x10]
mov ecx, ebp
push edx
call fcn.0042201d
push 0x91
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x64
jle 0x402e60
mov eax, dword [0x442638]
push 0x3fc
lea ecx, [eax + 0x41c]
call fcn.00421f2d
push 5
mov ecx, eax
call fcn.0042211e
mov ecx, dword [0x442638]
push 0x3027
push 0
push 0x470
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [0x442638]
push 0x3024
call fcn.00421f2d
push 1
mov ecx, eax
call fcn.00422160
mov ecx, dword [0x442638]
push 0x3025
call fcn.00421f2d
push 1
mov ecx, eax
call fcn.00422160
mov ecx, dword [0x442638]
push 0x3023
call fcn.00421f2d
push 0
mov ecx, eax
call fcn.00422160
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.004229e8
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.004229e8
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x404150
Capabilities:
Hash data using crc32b

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
je 0x404190
mov ecx, dword [esp + 8]
push esi
lea esi, [eax + 1]
mov eax, dword [esp + 8]
xor edx, edx
mov dl, byte [ecx]
shl edx, 0x18
xor eax, edx
inc ecx
mov edx, 8
test eax, 0x80000000
je 0x404186
add eax, eax
xor eax, 0x4c11db7
jmp 0x404188
shl eax, 1
dec edx
jne 0x404176
dec esi
jne 0x404167
pop esi
ret
mov eax, dword [esp + 4]
ret

Function at 0x4041e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
test esi, esi
jle 0x404216
mov eax, dword [esp + 8]
push ebx
push edi
mov edi, dword [esp + 0x14]
xor edx, edx
mov ebx, eax
mov dl, byte [ecx + edi]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x444650]
xor eax, edx
inc ecx
cmp ecx, esi
jl 0x4041f5
pop edi
pop ebx
pop esi
ret
mov eax, dword [esp + 8]
pop esi
ret

Function at 0x4060a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42b62c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
mov eax, dword [esp + 0x120]
mov edx, dword [esp + 0x118]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x128]
push edi
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x1c], esi
call fcn.00426d14
mov eax, dword [0x4386a8]
mov dword [esp + 0x120], 0
mov dword [esi + 0x88], eax
push 0x406090
push 0x406080
push 0x10
lea ecx, [esi + 0xac]
push 0x18
push ecx
mov byte [esp + 0x134], 1
call fcn.00412f3d
mov edx, dword [0x4386a8]
lea edi, [esi + 0x23c]
mov dword [edi], edx
lea ecx, [esi + 0x270]
mov byte [esp + 0x120], 3
call fcn.00409fa0
lea ebx, [esi + 0x2a0]
mov byte [esp + 0x120], 4
mov ecx, ebx
call fcn.00404290
lea ebp, [esi + 0x374]
mov byte [esp + 0x120], 5
mov ecx, ebp
call fcn.00404710
lea ecx, [esi + 0x41c]
mov byte [esp + 0x120], 6
call fcn.004047e0
push ebx
mov ecx, esi
mov byte [esp + 0x124], 7
mov dword [esi], 0x42dae8
call fcn.0042718d
push ebp
mov ecx, esi
call fcn.0042718d
lea eax, [esi + 0x41c]
mov ecx, esi
push eax
call fcn.0042718d
mov ebx, dword [esi + 0x40]
lea eax, [esp + 0x14]
or ebx, 0x30
push eax
push 0x104
mov dword [esi + 0x40], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00422b71
xor edx, edx
lea eax, [esi + 0x248]
mov dword [esi + 0x4a8], edx
mov dword [esi + 0x4ac], edx
mov ecx, 3
mov dword [eax - 4], edx
mov dword [eax], edx
mov dword [eax - 8], edx
add eax, 0xc
dec ecx
jne 0x4061e4
mov ecx, dword [esp + 0x118]
mov dword [esi + 0x264], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret 0xc
Function at 0x4060cb
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42b62c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
mov eax, dword [esp + 0x120]
mov edx, dword [esp + 0x118]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x128]
push edi
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x1c], esi
call fcn.00426d14
mov eax, dword [0x4386a8]
mov dword [esp + 0x120], 0
mov dword [esi + 0x88], eax
push 0x406090
push 0x406080
push 0x10
lea ecx, [esi + 0xac]
push 0x18
push ecx
mov byte [esp + 0x134], 1
call fcn.00412f3d
mov edx, dword [0x4386a8]
lea edi, [esi + 0x23c]
mov dword [edi], edx
lea ecx, [esi + 0x270]
mov byte [esp + 0x120], 3
call fcn.00409fa0
lea ebx, [esi + 0x2a0]
mov byte [esp + 0x120], 4
mov ecx, ebx
call fcn.00404290
lea ebp, [esi + 0x374]
mov byte [esp + 0x120], 5
mov ecx, ebp
call fcn.00404710
lea ecx, [esi + 0x41c]
mov byte [esp + 0x120], 6
call fcn.004047e0
push ebx
mov ecx, esi
mov byte [esp + 0x124], 7
mov dword [esi], 0x42dae8
call fcn.0042718d
push ebp
mov ecx, esi
call fcn.0042718d
lea eax, [esi + 0x41c]
mov ecx, esi
push eax
call fcn.0042718d
mov ebx, dword [esi + 0x40]
lea eax, [esp + 0x14]
or ebx, 0x30
push eax
push 0x104
mov dword [esi + 0x40], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00422b71
xor edx, edx
lea eax, [esi + 0x248]
mov dword [esi + 0x4a8], edx
mov dword [esi + 0x4ac], edx
mov ecx, 3
mov dword [eax - 4], edx
mov dword [eax], edx
mov dword [eax - 8], edx
add eax, 0xc
dec ecx
jne 0x4061e4
mov ecx, dword [esp + 0x118]
mov dword [esi + 0x264], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret 0xc