joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b63e
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x45fb98
call fcn.0042c2e0
sub esp, 0x34
push ebx
mov dword [ebp - 0x14], ecx
push esi
push edi
lea ecx, [ebp - 0x1c]
call fcn.0043c566
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0041fe9a
mov ebx, dword [ebp + 0x14]
mov byte [ebp - 4], 1
test ebx, ebx
mov dword [ebp - 0x18], 1
jne 0x41b682
and dword [ebp - 0x18], ebx
lea eax, [ebp - 0x40]
mov dword [ebp + 0x14], eax
mov ebx, eax
lea ecx, [ebp - 0x10]
call fcn.0043c566
push dword [ebp - 0x18]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
push dword [ebp + 0x10]
push ebx
push edi
call fcn.0041b7a3
mov esi, eax
test esi, esi
jne 0x41b74d
cmp dword [ebx + 0x20], eax
jne 0x41b742
cmp dword [ebx + 0x1c], eax
jne 0x41b742
push 0x25
mov ecx, edi
call fcn.0043cb38
cmp eax, 0xffffffff
je 0x41b71a
push esi
push esi
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
call esi
mov ebx, eax
lea ecx, [ebp - 0x10]
lea eax, [ebx + 1]
push eax
call fcn.0043caa1
push ebx
push eax
push dword [edi]
call esi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0043caf0
push dword [ebp - 0x18]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push dword [ebp + 0x10]
push ebx
push eax
call fcn.0041b7a3
mov esi, eax
test esi, esi
jne 0x41b74d
cmp dword [ebx + 0x20], eax
jne 0x41b742
cmp dword [ebx + 0x1c], eax
jne 0x41b742
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0043c6b1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004130cb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0043c6b1
xor eax, eax
jmp 0x41b792
mov ecx, dword [ebp - 0x14]
push edi
call fcn.0041d0e3
mov esi, eax
mov eax, dword [ebp - 0x14]
push esi
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, eax
mov ecx, edi
call fcn.0041e947
push dword [ebp + 8]
mov ecx, edi
call fcn.0041fc3f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0043c6b1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004130cb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0043c6b1
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x423493
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi + 4]
cmp eax, 0x100
je 0x4234b1
cmp eax, 0x104
jne 0x4234c6
cmp dword [edi + 8], 0x79
jne 0x4234c6
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
and al, 0xfe
test ax, ax
jne 0x4234d6
cmp dword [edi + 4], 0x7b
je 0x4234d6
push edi
mov ecx, esi
call fcn.0043eba4
jmp 0x423518
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x1c]
call edi
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x1c]
call edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 8], eax
add ecx, 5
add eax, 5
push ecx
push eax
push 0
mov ecx, esi
call fcn.004291ef
push 1
pop eax
pop edi
pop esi
leave
ret 4

Function at 0x42461d
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
cmp dword [esi + 0xe8], ebx
lea edi, [esi + 0xe8]
jne 0x42464e
push 2
push str.Start_Mode
push str.Settings
call fcn.00456c9f
mov dword [edi], eax
lea eax, [ebp - 0x214]
push 0x104
push eax
push dword [esi + 0x68]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x214]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x424720
push eax
push 2
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
lea eax, [ebp - 0x214]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 4]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x110]
push 0x47a760
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 8]
push edi
mov ecx, dword [eax + 8]
shr ecx, 0x10
mov word [esi + 0x190], cx
mov cx, word [eax + 8]
mov word [esi + 0x192], cx
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
mov word [esi + 0x194], cx
mov ax, word [eax + 0xc]
mov word [esi + 0x196], ax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424bae
Capabilities:
Set current directory

Disassembly:
mov eax, 0x46098a
call fcn.0042c2e0
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x18c], ebx
jne 0x424be3
push 0x20
call fcn.0043c519
pop ecx
mov ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x424bd7
call fcn.0041ef97
jmp 0x424bd9
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x18c], eax
lea ecx, [ebp - 0x14]
call fcn.0043c566
cmp dword [esi + 0xf4], ebx
mov dword [ebp - 4], 1
je 0x424c09
lea eax, [esi + 0xf8]
lea ecx, [ebp - 0x14]
push eax
call fcn.0043c7aa
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], ebx
jne 0x424cbf
lea ecx, [ebp - 0x10]
call fcn.0043c566
push ebx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x105
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0043caa1
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0043caf0
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0043a983
inc eax
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0043a8b8
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0043c7aa
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0043c6b1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x10]
push str.RegClean.LOG
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0043c906
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0043c7aa
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0043c6b1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0043c6b1
cmp dword [esi + 0xf4], ebx
je 0x424ce1
mov ecx, dword [esi + 0x18c]
lea eax, [ebp - 0x14]
push eax
call fcn.0041f0a6
mov ecx, dword [esi + 0x18c]
call fcn.0041efe1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043c6b1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4269ef
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x460d48
call fcn.0042c2e0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0043c566
xor ebx, ebx
lea ecx, [esi + 4]
mov dword [ebp - 4], ebx
call fcn.0043c566
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
call fcn.0043c566
lea edi, [esi + 0x10]
mov dword [edi], method.CObject.virtual_0
mov dword [edi + 4], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
push 1
push 0xa
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 3
call fcn.0043a71f
push 1
push 0x5b
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 4
call fcn.0043a71f
push 1
push 0x5d
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 5
call fcn.0043a71f
push 1
push 0x40
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 6
call fcn.0043a71f
push 0x47ad88
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 7
call fcn.0043c71f
push 0x10
push 0x10
mov ecx, edi
mov byte [ebp - 4], 8
mov dword [esi + 0x24], ebx
mov dword [esi + 0xc], 0x2001f
call fcn.00428005
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
add ecx, eax
call fcn.0042692a
push 0x2020
lea ecx, [esi + 8]
call fcn.0043cc5a
push 0x2021
lea ecx, [esi + 4]
call fcn.0043cc5a
push 0x7013
mov ecx, esi
call fcn.0043cc5a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x426bc5
Capabilities:
Delete registry key

Disassembly:
mov eax, 0x460df0
call fcn.0042c2e0
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
push dword [ebp + 8]
lea ecx, [ebp + 8]
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x24], eax
call fcn.0043c576
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.0043c566
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0043c566
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0043c566
mov byte [ebp - 4], 3
push 0x5c
lea ecx, [ebp + 8]
call fcn.0043cb38
mov edi, eax
cmp edi, ebx
jl 0x426c83
lea eax, [ebp - 0x1c]
push edi
push eax
lea ecx, [ebp + 8]
call fcn.0043a8b8
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0043c7aa
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0043c6b1
inc edi
lea eax, [ebp - 0x20]
push edi
push eax
lea ecx, [ebp + 8]
call fcn.0043a78d
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.0043c7aa
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0043c6b1
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00426e2c
cmp eax, ebx
jne 0x426d75
jmp 0x426c11
lea eax, [ebp + 8]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043c7aa
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00426e2c
cmp eax, ebx
jne 0x426d75
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
mov eax, dword [eax + ecx + 0x50]
shl eax, 0x1f
sar eax, 0x1f
test al, al
je 0x426cc0
mov ecx, esi
call fcn.00427557
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
cmp dword [eax + ecx + 4], ebx
mov ecx, esi
jbe 0x426d21
call fcn.00426eaa
mov ecx, esi
call fcn.00426efa
cmp eax, ebx
mov eax, dword [esi + 0x24]
jne 0x426d15
imul eax, eax, 0x5c
mov ecx, dword [esi + 0x14]
lea eax, [eax + ecx + 0x3c]
lea ecx, [ebp - 0x14]
push eax
call fcn.0043c7aa
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00426bc5
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
dec dword [eax + ecx + 4]
lea eax, [eax + ecx + 4]
jmp 0x426cc0
imul eax, eax, 0x5c
mov ecx, dword [esi + 0x14]
mov dword [eax + ecx + 4], ebx
jmp 0x426cc0
call fcn.00426e85
mov eax, dword [esi + 0x24]
push dword [ebp - 0x10]
imul eax, eax, 0x5c
mov ecx, dword [esi + 0x14]
push dword [eax + ecx + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, eax
cmp edi, ebx
je 0x426d75
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0043c6b1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0043c6b1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0043c6b1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043c6b1
mov eax, edi
jmp 0x426db7
mov edi, dword [ebp - 0x24]
cmp dword [esi + 0x24], edi
jbe 0x426d86
mov ecx, esi
call fcn.00426e85
jmp 0x426d78
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0043c6b1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0043c6b1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0043c6b1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043c6b1
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x426dc8
Capabilities:
Delete registry value

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
push dword [eax + ecx + 0x40]
push dword [edi]
call fcn.0042c400
pop ecx
test eax, eax
pop ecx
jne 0x426dfc
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
or dword [eax + ecx + 0x50], 2
lea eax, [eax + ecx + 0x50]
mov eax, dword [esi + 0x24]
push dword [edi]
imul eax, eax, 0x5c
mov ecx, dword [esi + 0x14]
push dword [eax + ecx + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x426e27
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x14]
imul ecx, ecx, 0x5c
or dword [ecx + edx + 0x50], 1
lea ecx, [ecx + edx + 0x50]
pop edi
pop esi
ret 4

Function at 0x426efa
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
add ecx, eax
mov eax, dword [ecx + 8]
add ecx, 0x3c
inc eax
push eax
mov dword [ebp - 4], eax
call fcn.0043caa1
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x14]
imul ecx, ecx, 0x5c
add ecx, edx
lea edx, [ecx + 0x20]
push edx
push 0
push 0
lea edx, [ebp - 4]
push 0
push edx
push eax
push dword [ecx + 0x28]
push dword [ecx + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, eax
mov eax, dword [esi + 0x24]
imul eax, eax, 0x5c
mov ecx, dword [esi + 0x14]
push 0xffffffffffffffff
lea ecx, [eax + ecx + 0x3c]
call fcn.0043caf0
test ebx, ebx
je 0x426f61
mov eax, ebx
jmp 0x426f74
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
inc dword [eax + ecx + 0x28]
lea eax, [eax + ecx + 0x28]
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x426fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
add ecx, eax
mov eax, dword [ecx + 0x14]
add ecx, 0x40
inc eax
push eax
mov dword [ebp - 4], eax
call fcn.0043caa1
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x14]
imul ecx, ecx, 0x5c
push 0
add ecx, edx
push 0
push 0
lea edx, [ebp - 4]
push 0
push edx
push eax
push dword [ecx + 0x2c]
push dword [ecx + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x427054
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
push dword [ebp - 4]
lea ecx, [eax + ecx + 0x40]
call fcn.0043caf0
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
or dword [eax + ecx + 0x50], 2
lea eax, [eax + ecx + 0x50]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x24]
imul eax, eax, 0x5c
inc dword [eax + ecx + 0x2c]
lea eax, [eax + ecx + 0x2c]
xor eax, eax
pop esi
leave
ret
Function at 0x42745d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x10]
push 0
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
push 0
push 0
push 0
push dword [edi]
push dword [eax + ecx + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test ebx, ebx
jne 0x4274ae
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
push edi
lea ecx, [eax + ecx + 0x40]
call fcn.0043c7aa
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
or dword [eax + ecx + 0x50], 2
lea eax, [eax + ecx + 0x50]
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4

Function at 0x427557
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [ecx + 0x24]
push edi
imul esi, esi, 0x5c
add esi, dword [ecx + 0x14]
mov eax, dword [esi]
lea ebx, [esi + 0x34]
push eax
mov ecx, ebx
mov dword [ebp - 4], eax
call fcn.0043caa1
lea ecx, [ebp - 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 4]
push 0
push ecx
push eax
mov dword [ebp - 0x28], eax
push dword [esi + 0x30]
call edi
push 0xffffffffffffffff
mov ecx, ebx
mov dword [ebp - 8], eax
call fcn.0043caf0
inc dword [ebp - 4]
cmp dword [ebp - 8], 0xea
jne 0x427616
lea eax, [ebp - 0x30]
add dword [ebp - 4], 0x100
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp - 0x28]
push dword [esi + 0x30]
call edi
push dword [ebp - 4]
mov ecx, ebx
mov dword [ebp - 8], eax
call fcn.0043caf0
cmp dword [ebp - 8], 0
je 0x427613
mov eax, dword [ebp - 8]
jmp 0x427660
inc dword [ebp - 4]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x427660
mov ecx, dword [ebp - 4]
cmp ecx, dword [esi]
jbe 0x427626
mov dword [esi], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 0x30]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 0x2c]
and dword [esi + 0x50], 0xfffffffe
mov dword [esi + 0x24], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42d510
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dbe0
push 0x432898
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x481570], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x48156c], ecx
shl ecx, 8
add ecx, edx
mov dword [0x481568], ecx
shr eax, 0x10
mov dword [0x481564], eax
call fcn.00433360
test eax, eax
jne 0x42d57a
push 0x1c
call fcn.0042d6f0
add esp, 4
call fcn.00431940
test eax, eax
jne 0x42d58d
push 0x10
call fcn.0042d6f0
add esp, 4
mov dword [ebp - 4], 0
call fcn.00433150
call fcn.00430020
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x482c8c], eax
call fcn.00432ff0
mov dword [0x481554], eax
test eax, eax
je 0x42d5c0
mov eax, dword [0x482c8c]
test eax, eax
jne 0x42d5ca
push 0xffffffffffffffff
call fcn.0042dfb0
add esp, 4
call fcn.00432d40
call fcn.00432c50
call fcn.0042df80
mov esi, dword [0x482c8c]
mov dword [ebp - 0x64], esi
cmp byte [esi], 0x22
jne 0x42d6a9
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
cmp al, 0x22
je 0x42d611
test al, al
je 0x42d611
and eax, 0xff
push eax
call fcn.0042c970
add esp, 4
test eax, eax
je 0x42d5eb
inc esi
mov dword [ebp - 0x64], esi
jmp 0x42d5eb
cmp byte [esi], 0x22
jne 0x42d61a
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
test al, al
je 0x42d62a
cmp al, 0x20
ja 0x42d62a
inc esi
mov dword [ebp - 0x64], esi
jmp 0x42d61a
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x42d64b
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x42d650
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x60], eax
push eax
call fcn.0042dfb0
jmp 0x42d68e
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x42d61a
inc esi
mov dword [ebp - 0x64], esi
jmp 0x42d6a9

Function at 0x42d6f0
Capabilities:
Terminate process

Disassembly:
cmp dword [0x48155c], 1
jne 0x42d6fe
call fcn.004333a0
mov eax, dword [esp + 4]
push eax
call fcn.004333e0
add esp, 4
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x42dff0
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
call fcn.0042e0b0
mov eax, dword [0x4815a0]
mov ebp, dword [esp + 0x10]
cmp eax, 1
jne 0x42e014
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x48159c], 1
mov byte [0x481598], bl
jne 0x42e06e
mov ecx, dword [0x482c88]
test ecx, ecx
je 0x42e05c
mov esi, dword [0x482c84]
sub esi, 4
cmp esi, ecx
jb 0x42e05c
mov eax, dword [esi]
test eax, eax
je 0x42e055
call eax
mov ecx, dword [0x482c88]
sub esi, 4
cmp esi, ecx
jae 0x42e047
push 0x47a0ac
push 0x47a0a4
call fcn.0042e0d0
add esp, 8
push 0x47a0b8
push 0x47a0b0
call fcn.0042e0d0
add esp, 8
test ebx, ebx
je 0x42e08d
call fcn.0042e0c0
pop esi
pop ebp
pop ebx
ret
push ebp
mov dword [0x4815a0], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x42f2f0
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 0x74
push 1
xor edi, edi
call fcn.0042f230
mov esi, eax
add esp, 8
test esi, esi
je 0x42f350
push esi
call fcn.004319a0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x10]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x14]
push eax
push esi
push 0x42f370
push ecx
push edx
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x42f368
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call fcn.0042d7f0
add esp, 4
test edi, edi
je 0x42f366
push edi
call fcn.0042e550
add esp, 4
xor eax, eax
pop edi
pop esi
ret

Function at 0x431940
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.00431c10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x47bf70], eax
je 0x431998
push 0x74
push 1
call fcn.0042f230
mov esi, eax
add esp, 8
test esi, esi
je 0x431998
mov eax, dword [0x47bf70]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x431998
push esi
call fcn.004319a0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x4319c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x47bf70]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x431a2e
push 0x74
push 1
call fcn.0042f230
mov esi, eax
add esp, 8
test esi, esi
je 0x431a24
mov ecx, dword [0x47bf70]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x431a24
push esi
call fcn.004319a0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret
push 0x10
call fcn.0042d6c0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret

Function at 0x431a40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x47bf70]
cmp eax, 0xffffffff
je 0x431aef
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x431a64
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x431ae0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x431a74
push eax
call fcn.0042d7f0
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x431a84
push eax
call fcn.0042d7f0
add esp, 4
mov eax, dword [esi + 0x30]
test eax, eax
je 0x431a94
push eax
call fcn.0042d7f0
add esp, 4
mov eax, dword [esi + 0x38]
test eax, eax
je 0x431aa4
push eax
call fcn.0042d7f0
add esp, 4
mov eax, dword [esi + 0x40]
test eax, eax
je 0x431ab4
push eax
call fcn.0042d7f0
add esp, 4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x431ac4
push eax
call fcn.0042d7f0
add esp, 4
mov eax, dword [esi + 0x50]
cmp eax, 0x47c260
je 0x431ad7
push eax
call fcn.0042d7f0
add esp, 4
push esi
call fcn.0042d7f0
add esp, 4
mov eax, dword [0x47bf70]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
ret