joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c7a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x42c7bf
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c7cf
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42c8f1
test ebx, ebx
jl 0x42c8f1
test esi, esi
jle 0x42c8f1
mov eax, dword [ebp - 8]
call fcn.0040b278
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040b278
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x42c88e
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42c8f1
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42c873
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42c842
inc dword [ebp - 0x14]
jmp 0x42c852
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42c852
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42c85d
or eax, 0xffffffff
jmp 0x42c873
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42c870
inc eax
jmp 0x42c873
or eax, 0xffffffff
test eax, eax
jl 0x42c87b
cmp esi, eax
jg 0x42c830
cmp esi, eax
jg 0x42c886
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42c8f4
inc edx
dec dword [ebp - 0x1c]
jne 0x42c82c
jmp 0x42c8f1
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42c8f1
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42c8d8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42c8b7
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42c8c2
or eax, 0xffffffff
jmp 0x42c8d8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42c8d5
inc eax
jmp 0x42c8d8
or eax, 0xffffffff
test eax, eax
jl 0x42c8e0
cmp esi, eax
jg 0x42c8a0
cmp esi, eax
jg 0x42c8eb
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42c8f4
inc edx
dec dword [ebp - 0x1c]
jne 0x42c89c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x475c34
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x475c82
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00475574
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475c9b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x475ca4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00475574
dec esi
jne 0x475cc6
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x478474
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6d6ff8
cmp dword [edi], 0
jne 0x4784f0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x6d6ff4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x6c9a94
mov ecx, 2
call fcn.0040714c
mov edx, 0x47844c
lea eax, [esi + 5]
call fcn.0047846c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0047846c
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 0x4784c5
mov dword [0x6d6ff4], 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 0x492be8
Capabilities:
Encode data using xor
Encrypt data using hc-128

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffec8
mov dword [esp], eax
mov ebx, dword [esp]
mov ebx, dword [ebx + 0x90]
mov eax, dword [esp]
mov eax, dword [eax + 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x98]
mov dword [esp + 0x10], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x9c]
mov dword [esp + 0x14], eax
mov esi, dword [esp]
mov esi, dword [esi + 0xa0]
mov eax, dword [esp]
mov eax, dword [eax + 0xa4]
mov dword [esp + 0x18], eax
mov eax, dword [esp]
mov eax, dword [eax + 0xa8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp]
mov eax, dword [eax + 0xac]
mov dword [esp + 0x20], eax
lea edx, [esp + 0x38]
mov eax, dword [esp]
mov ecx, 0x40
call fcn.0040714c
mov edx, 0x10
lea eax, [esp + 0x38]
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x18
mov ebp, ecx
shl ebp, 0x18
or edi, ebp
mov ebp, ecx
shr ebp, 8
and ebp, 0xff00
or edi, ebp
shl ecx, 8
and ecx, 0xff0000
or edi, ecx
mov dword [eax], edi
add eax, 4
dec edx
jne 0x492c6f
mov edx, 0x30
lea eax, [esp + 0x3c]
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
shl ecx, 0x19
mov edi, dword [esp + 0x24]
shr edi, 7
or ecx, edi
mov edi, dword [esp + 0x28]
shl edi, 0xe
mov ebp, dword [esp + 0x28]
shr ebp, 0x12
or edi, ebp
xor ecx, edi
mov edi, dword [eax]
shr edi, 3
xor ecx, edi
mov dword [esp + 4], ecx
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
shl ecx, 0xf
mov edi, dword [esp + 0x2c]
shr edi, 0x11
or ecx, edi
mov edi, dword [esp + 0x30]
shl edi, 0xd
mov ebp, dword [esp + 0x30]
shr ebp, 0x13
or edi, ebp
xor ecx, edi
mov edi, dword [eax + 0x34]
shr edi, 0xa
xor ecx, edi
mov edi, dword [eax - 4]
add edi, dword [esp + 4]
add edi, dword [eax + 0x20]
add ecx, edi
mov dword [eax + 0x3c], ecx
add eax, 4
dec edx
jne 0x492ca6
mov edx, 0x40
mov eax, 0x6c9ae0
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], ecx
Function at 0x4c6490
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x4c6498
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4e62c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040b278
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004e5d9c
test al, al
jne 0x4e6329
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6d024c]
mov dl, 1
mov eax, dword [0x4e4ad0]
call fcn.00429118
call fcn.004098c4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004e5d04
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4ed6e4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4ed6ea
ret
Function at 0x501d98
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x6cc35c
test edx, edx
jne 0x501db7
xor eax, eax
jmp 0x501ed5
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x501dd4
push esi
push edx
push eax
call fcn.00501ef8
add esp, 0xc
jmp 0x501ed5
push esi
push edx
push eax
call fcn.005021b8
add esp, 0xc
jmp 0x501ed5
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x50f70c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x6d7678], 0
je 0x50f84d
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x6cff3c]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x50f84d
mov eax, dword [0x6d767c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x6d7678]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x50f81c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x6d7678]
call fcn.00464ce8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x50f814
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x215], 0
je 0x50f814
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
je 0x50f814
mov eax, dword [ebp - 0x14]
call fcn.0051b42c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x50f814
push ebp
call fcn.0050f6c8
pop ecx
test al, al
jne 0x50f814
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb8
call fcn.00408760
test al, al
je 0x50f814
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.00408760
cmp byte [ebp - 1], 0
je 0x50f814
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00412648
test al, al
je 0x50f814
mov edx, dword [ebp - 0x14]
mov eax, dword [0x6d767c]
call fcn.0050ee38
inc edi
dec ebx
jne 0x50f771
mov eax, dword [0x6d767c]
cmp dword [eax + 8], 0
jle 0x50f834
mov eax, dword [0x6d767c]
call fcn.0050eeec
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x50f84d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0050f530
pop ecx
test al, al
jne 0x50f84d
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x517de4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0041282c
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00511d70
test ebx, ebx
jne 0x517e37
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00517c5c
mov ebx, eax
test ebx, ebx
je 0x517f2d
cmp esi, ebx
je 0x517e60
mov eax, dword [esp]
sub eax, dword [ebx + 0x50]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x54]
mov dword [esp + 0x118], eax
jmp 0x517e75
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x517ead
add eax, 0xffffff5f
sub eax, 2
jb 0x517ec5
dec eax
sub eax, 2
jb 0x517ed9
dec eax
sub eax, 2
jb 0x517ecf
jmp 0x517ee3
add eax, 0xfffffdff
sub eax, 2
jb 0x517ec5
dec eax
sub eax, 2
jb 0x517ed9
dec eax
sub eax, 2
jb 0x517ecf
jmp 0x517ee3
mov byte [esp + 0x120], 0
jmp 0x517eeb
mov byte [esp + 0x120], 2
jmp 0x517eeb
mov byte [esp + 0x120], 1
jmp 0x517eeb
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.005abf04
mov esi, eax
call fcn.0050e4b4
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00513788
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x517f2f
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x578e38
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.00578f00
test eax, eax
je 0x578e8a
mov edi, dword [ebx + 8]
test edi, edi
je 0x578e66
test edi, edi
je 0x578e66
mov edx, esi
mov eax, edi
call fcn.005123e0
jmp 0x578e98
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.00578f00
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a350
jmp 0x578e98
mov ecx, esi
mov edx, 0x578eb8
mov eax, ebx
call fcn.00578dc0
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.0040a5a8
add esp, 0x200
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.0040a1c8
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x59afc2
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x59afbb
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.0040b318
jmp 0x59afc2
mov eax, esi
call fcn.0040a1c8
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5a0850
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5a09af
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x6ceb88], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4e4cf4]
call fcn.004e5d2c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x5a0985
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004e5dd8
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.0040b318
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x5a09c8
call fcn.0040b4c8
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004e5e3c
test al, al
je 0x5a096f
lea ecx, [ebp - 4]
mov edx, 0x5a0a3c
mov eax, dword [ebp - 0xc]
call fcn.004e624c
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0042b860
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5a096f
xor edx, edx
push ebp
push 0x5a0968
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x5a0a54
mov eax, dword [ebp - 8]
push eax
call fcn.00414030
test eax, eax
je 0x5a0951
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x5a0951
call fcn.005a07dc
test eax, eax
je 0x5a0941
mov eax, dword [ebx + 0x50]
jmp 0x5a0944
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x6ceb88]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a096f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a098c
mov eax, dword [ebp - 0xc]
call fcn.00408444
ret
Function at 0x5a0ab8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x5a0aff
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a0ae2
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a0af3
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x5a0aff
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x5aad02
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop eax
cmp dword [ebp - 0xc2c], 0
jne 0x5aad1e
mov dword [ebp - 0x6ec], 0
jmp 0x5aaf7e
mov ecx, dword [ebp - 0xc2c]
mov dword [ebp - 0x4d8], ecx
Function at 0x5ab9c0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [ebp - 0x184]
add ecx, 1
mov dword [ebp - 0x184], ecx
push esi
push edx
add esp, 4
and esi, 0x1835b
pop esi
mov eax, dword [ebp - 0x708]
add eax, dword [ebp - 0x184]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x184]
movsx eax, byte [ebp + edx - 0x804]
cmp ecx, eax
je 0x5aba11
mov ecx, dword [ebp - 0x708]
add ecx, dword [ebp - 0x184]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x184]
movsx ecx, byte [ebp + eax - 0x804]
cmp edx, ecx
jne 0x5aba18
jmp 0x5ab95e
jmp 0x5aba1f

Function at 0x5aba94
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x704]
add edx, 1
mov dword [ebp - 0x704], edx
mov eax, dword [ebp - 0x700]
mov ecx, dword [ebp - 0x704]
cmp ecx, dword [eax + 0x18]
jae 0x5abb09
mov edx, dword [ebp - 0x704]
mov eax, dword [ebp - 0x18c0]
mov ecx, dword [ebp - 0x2fc]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x708], ecx
mov edx, dword [ebp - 0x704]
mov eax, dword [ebp - 0x18c4]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x18c8]
mov eax, dword [ebp - 0x2fc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x18cc], eax
mov dword [ebp - 0x184], 0
jmp 0x5ab96d
mov edx, dword [ebp - 0x708]
add edx, dword [ebp - 0x184]
movsx eax, byte [edx]
test eax, eax
je 0x5aba1f
mov ecx, dword [ebp - 0x184]
movsx edx, byte [ebp + ecx - 0x804]
test edx, edx
je 0x5aba1f
push ecx
push esi
add esp, 4
sub ecx, 0xb23d
jmp 0x5ab9aa
pop ecx
push edi
and edi, 0x340b
jmp 0x5ab9b9
sub edi, 0x1745f
pop edi
push edi
push ebx
add esp, 4
sub edi, 0xb7c9
pop edi
push esi
push edi
add esp, 4
or esi, 0x1565a
add esi, 0xc46
jmp 0x5aba41
pop esi
push esi
push edi
add esp, 4
jmp 0x5aba50
pop esi
mov edx, dword [ebp - 0x708]
add edx, dword [ebp - 0x184]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x184]
movsx edx, byte [ebp + ecx - 0x804]
cmp eax, edx
jne 0x5aba7e
mov dword [ebp - 0xc40], 0
jmp 0x5abaed
push ecx
sub ecx, 0xd5f4
call 0x5aba94
add byte [ecx], bh
cmp cl, byte [ebp + 0x34]
cmp al, 0x33
xor al, 0x45
inc ebx
add esp, 4
xor ecx, 0x8e21
pop ecx
push ecx
push ecx
add esp, 4
and ecx, 0x1384a
or ecx, 0x1348a
pop ecx
mov eax, dword [ebp - 0x708]
add eax, dword [ebp - 0x184]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x184]
movsx eax, byte [ebp + edx - 0x804]
or eax, 0x20
cmp ecx, eax
jge 0x5abae3
invalid
Function at 0x5abef7
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
add esp, 4
and edi, 0x156a2
and edi, 0x519e
sub edi, 0x180c
pop edi
push edi
sub edi, 0x15270
jo fcn.005abec4
add dword [eax], eax
xor edi, 0x45a8
sub edi, 0xfa50
sub edi, 0x10ca9
pop edi
mov ecx, dword [ebp - 0xc44]
mov dx, word [ecx]
mov word [ebp - 0xf8a], dx
mov eax, dword [ebp - 0xc44]
add eax, 2
mov dword [ebp - 0xc44], eax
mov cx, word [ebp - 0xf8a]
mov word [ebp - 0x204], cx
mov edx, dword [ebp - 0xc48]
mov ax, word [edx]
mov word [ebp - 0xf8c], ax
mov ecx, dword [ebp - 0xc48]
add ecx, 2
mov dword [ebp - 0xc48], ecx
mov dx, word [ebp - 0xf8c]
mov word [ebp - 0x38], dx
push edi
push esi
add esp, 4
xor edi, 0x605c
pop edi
push edx
call 0x5abef7
add byte [ebx + 0x4f], cl
dec esp
inc edi
aas
cmp al, 0x83
les eax, [ebx + ebp*8]
add eax, 0x43425048
inc ebp
jmp 0x5abf09
sub edx, 0x13a93
pop edx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x5abf2d
movzx ecx, word [ebp - 0x204]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x1514], ecx
jmp 0x5abf87
movzx eax, word [ebp - 0x204]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x5abe55
movzx edx, word [ebp - 0x204]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
invalid
test bh, bh
invalid

Function at 0x5abf04
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
dec esi
push eax
cmp dword ds:[ecx + eax*4], edi
ljmp 0xf5a

Function at 0x5abfbe
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop eax
mov ecx, dword [ebp - 0x4e4]
mov dword [ebp - 0x2a8], ecx
jmp 0x5ac038

Function at 0x5abffe
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop edx
mov edx, dword [ebp - 0x4e4]
mov edx, dword [ebp - 0x4e4]
cmp dword [edx + 0x30], 0
jne 0x5abdf9
mov dword [ebp - 0x2a8], 0

Function at 0x5ac008
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [edx]
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp - 0x4e4]
invalid
invalid

Function at 0x5c6010
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.00424328
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5c6820
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x5c6866
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.005c5694
mov eax, dword [ebp - 4]
call fcn.0040b278
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c686d
lea eax, [ebp - 4]
call fcn.0040a1c8
ret
Function at 0x5c6874
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040b278
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x5c688d
test al, 0x10
je 0x5c6891
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040b278
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x5c68da
test al, 0x10
je 0x5c68da
test ah, 4
je 0x5c68de
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x5c68e4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040a2ac
xor eax, eax
push ebp
push 0x5c69dd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.0040a784
mov ebx, pe_nt_image_headers32
mov eax, edi
mov ecx, ebx
xor edx, edx
call fcn.0040a350
cmp dword [ebp + 0xc], 0
je 0x5c6963
mov eax, dword [ebp + 0xc]
call fcn.0040b278
push eax
push ebx
mov eax, edi
call fcn.0040a774
push eax
mov eax, dword [ebp - 4]
call fcn.0040b278
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040b278
push eax
mov eax, dword [ebp - 8]
call fcn.0040b278
push eax
call sub.kernel32.dll_GetPrivateProfileStringW
mov esi, eax
jmp 0x5c698e
push ebx
mov eax, edi
call fcn.0040a774
push eax
mov eax, dword [ebp - 4]
call fcn.0040b278
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040b278
push eax
mov eax, dword [ebp - 8]
call fcn.0040b278
push eax
call sub.kernel32.dll_GetProfileStringW
mov esi, eax
test esi, esi
je 0x5c69a4
mov eax, dword [edi]
call fcn.0040b278
call fcn.0040a6d8
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x10]
mov eax, ebx
sub eax, 8
cmp esi, eax
jl 0x5c69b5
cmp ebx, 0x10000
jl 0x5c69c0
mov eax, edi
mov edx, esi
call fcn.0040b3f0
jmp 0x5c69c7
add ebx, ebx
jmp 0x5c691c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c69e4
lea eax, [ebp - 4]
call fcn.0040a1c8
ret

Function at 0x5c6ab0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
mov word [ebp - 0x10], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x5c6afa
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0040b278
push eax
push 8
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.0040b278
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.0040b278
push eax
call sub.kernel32.dll_GetPrivateProfileStringW
jmp 0x5c6b1e
push 8
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.0040b278
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.0040b278
push eax
call sub.kernel32.dll_GetProfileStringW
push ebx
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_lstrcmpW
test eax, eax
sete al
pop ebx
mov esp, ebp
pop ebp
ret