joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
add eax, edx
mov ecx, dword [eax + 0x1c]
mov esi, dword [eax + 0x24]
add ecx, edx
add esi, edx
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add ecx, edx
test eax, eax
mov dword [ebp - 0xc], esi
jbe 0x4019ba
lea ecx, [ecx + eax*4]
jmp 0x40194c
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [ecx - 4]
dec eax
sub ecx, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp + 8], eax
lea edi, [ebx + edx]
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40199f
mov edi, dword [ebp + 8]
add ebx, esi
xor ecx, ecx
mov cl, byte [ebx + edx]
sub edi, ecx
mov dword [ebp + 8], edi
mov eax, dword [ebp + 8]
ror eax, 7
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
or ecx, 0xffffffff
inc esi
mov ebx, dword [eax]
xor eax, eax
lea edi, [ebx + edx]
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x401970
mov eax, dword [ebp + 8]
test eax, eax
mov eax, dword [ebp - 4]
je 0x4019b6
test eax, eax
ja 0x401946
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
ja 0x4019c3
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xc]
xor ecx, ecx
pop edi
mov cx, word [esi + eax*2]
mov eax, dword [ebp - 0x10]
pop esi
pop ebx
mov eax, dword [eax + ecx*4]
add eax, edx
mov esp, ebp
pop ebp
ret

Function at 0x402000
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push esi
push edi
push 0
push 2
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x402052
mov edi, dword [esp + 0x134]
lea ecx, [esp + 0x2c]
push edi
push ecx
call sub.MSVCRT.dll__strcmpi
add esp, 8
test eax, eax
je 0x402064
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402031
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x128
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x128
ret
Function at 0x402080
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 5
stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebp, dword [sym.imp.USER32.dll_GetWindow]
push eax
call ebp
mov esi, eax
test esi, esi
je 0x402104
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, dword [sym.imp.USER32.dll_FindWindowExA]
lea eax, [esp + 0x10]
push 0x104
push eax
push esi
call ebx
lea ecx, [esp + 0x10]
push 0x401784
push ecx
call sub.MSVCRT.dll__strcmpi
add esp, 8
test eax, eax
jne 0x4020f9
push 0x40177c
push 0x401774
push eax
push esi
call edi
mov esi, eax
test esi, esi
jne 0x402111
push 2
push esi
call ebp
mov esi, eax
test esi, esi
jne 0x4020c2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0
push 0x201
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x12c
call ebx
push 0
push 0
push 0x202
push esi
call edi
push 0
push 0
push 0x201
push esi
call edi
push 0x12c
call ebx
push 0
push 0
push 0x202
push esi
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x104
ret

Function at 0x402170
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 8]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4021ba
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4021ba
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret

Function at 0x4021c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
xor eax, eax
push edi
mov dword [esp + 4], eax
mov ecx, 0x11
mov dword [esp + 8], eax
lea edi, [esp + 0x14]
mov dword [esp + 0xc], eax
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], ecx
mov word [esp + 0x44], cx
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0x44
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push ecx
push eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov word [esp + 0x6e], ax
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], 0x401794
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 4]
pop edi
neg eax
sbb eax, eax
and eax, ecx
add esp, 0x54
ret
Function at 0x4056f0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4160e0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x479010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
push 0x42da17
lea eax, [ebp + 8]
push eax
call fcn.00403380
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40575d
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401880
mov al, byte [ebp - 0x11]
jmp 0x40580e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp + 8]
push edx
call fcn.004038e0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
push str.Name
push 0x42da7a
push str.SELECT__FROM_Win32_Process
push str.ROOTcimv2
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 2
jl 0x4057c9
mov byte [ebp - 0x12], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401880
mov al, byte [ebp - 0x12]
jmp 0x40580e
mov byte [ebp - 0x13], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401880
mov al, byte [ebp - 0x13]
jmp 0x40580e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4067a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4067c4
xor eax, eax
jmp 0x406844
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4067db
xor eax, eax
jmp 0x406844
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x406827
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x406827
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x4067fe
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x406833
xor eax, eax
jmp 0x406844
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x406841
xor eax, eax
jmp 0x406844
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4105c8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x479010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040c155
mov dword [ebp - 0x14], eax
cmp dword [0x47b378], esi
jne 0x4106bb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x410648
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41079b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x41079b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41079b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x47b378], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x47b37c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x47b380], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47b388], eax
test eax, eax
je 0x4106b8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47b384], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4106e0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4106d3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4106f5
push 4
pop eax
jmp 0x41079d
cmp dword [ebp - 0x14], esi
je 0x4106f5
push dword [0x47b378]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4106da
mov eax, dword [0x47b384]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x410753
cmp dword [0x47b388], edi
je 0x410753
push eax
call ebx
push dword [0x47b388]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x410753
test eax, eax
je 0x410753
call ecx
test eax, eax
je 0x410748
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x410748
test byte [ebp - 8], 1
jne 0x410753
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x410783
mov eax, dword [0x47b37c]
cmp eax, edi
je 0x410780
push eax
call ebx
test eax, eax
je 0x410780
call eax
mov esi, eax
test esi, esi
je 0x410780
mov eax, dword [0x47b380]
cmp eax, edi
je 0x410780
push eax
call ebx
test eax, eax
je 0x410780
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x47b378]
call ebx
test eax, eax
je 0x41079b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x41079d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a56e
mov esp, ebp
pop ebp
ret
Function at 0x401230
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3a8
sub eax, 1
push ebx
push edi
jne 0x4012c5
push 0x3a4
push eax
lea ebx, [eax + 1]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x14], 0x3a8
call fcn.004131f0
mov eax, dword [esp + 0x3c0]
add esp, 0xc
call fcn.00401e70
cmp byte [0x497292], 0
je 0x4012ae
cmp byte [0x497294], 0
mov edi, dword [esp + 0x3b4]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 2
jne 0x42aa61
cmp byte [edi + 9], 0
jne 0x42aaac
cmp byte [edi + 0x184], bl
je 0x42aaf8
push ebx
push esi
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x2ee
push ebx
push esi
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop ebx
add esp, 0x3a8
ret 4
or eax, dword [eax]
add byte [eax], al
jb 0x42ab05
add dword [eax], eax
les eax, [ecx + eax*4]
invalid
add byte [esi + 0x52], bl

Function at 0x401440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x214
call fcn.004027d0
test al, al
je 0x42c2c1
call fcn.004014f0
test eax, eax
jne 0x42c2c1
call fcn.0040d5d0
test eax, eax
jne 0x42c2c1
mov edx, dword [esp + 0x218]
lea eax, [esp]
push eax
lea ecx, [esp + 8]
push ecx
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea eax, [esp + 4]
push eax
mov eax, 0x4a7fe8
call fcn.004021e0
mov ecx, dword [esp]
push ecx
mov eax, 0x4a7fd8
call fcn.004021e0
mov eax, dword [esp]
xor edx, edx
mov word [eax - 2], dx
cmp word [esp + 8], dx
je 0x42c2cb
lea edx, [esp + 4]
push edx
mov eax, 0x4a7ff8
call fcn.004021e0
mov eax, dword [esp + 0x21c]
mov dword [0x4a7fd4], eax
xor eax, eax
add esp, 0x214
ret 8
test dword [ebx + edi*8], esp
invalid
invalid
Function at 0x4019e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
test eax, eax
jne 0x401a03
cmp dword [0x4a7cdc], eax
jne 0x42c03e
mov edi, 0x4a7ccc
push ecx
push edx
mov eax, esi
call fcn.00404260
mov al, 1
pop edi
ret
sub eax, 1
jne 0x42c01c
push ecx
push edx
cmp dword [0x4a7cdc], eax
jne 0x42c040
mov edi, 0x4a7ccc
mov eax, esi
call fcn.00404260
mov al, 1
pop edi
ret
dec ebp
cmp dword [eax + edi - 0x7f], eax
sbb eax, 0x5b00014d
add byte [eax], al
add byte [eax], al

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4b8
cmp byte [0x497292], 0
push esi
push edi
je 0x401f6e
mov esi, eax
mov eax, 0x104
lea ecx, [esp + 8]
call fcn.00401400
cmp byte [0x497294], 1
je 0x42a9a0
xor edx, edx
mov word [esp + 0x18], dx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xc]
call fcn.004021e0
cmp byte [0x497291], 0
jne 0x42a9cd
cmp dword [esi + 0x60], 0
jne 0x42a9bb
mov edi, dword [0x4a7cf8]
lea eax, [esp + 8]
call fcn.0040d330
push 0x3a4
lea ecx, [esp + 0x120]
push 0
push ecx
call fcn.004131f0
mov eax, dword [esp + 0x14]
mov edx, dword [0x4972c0]
push 0x7f
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x130], 0x3a8
mov dword [esp + 0x134], edx
mov dword [esp + 0x138], 1
mov dword [esp + 0x13c], 4
call fcn.0041326a
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14c]
xor edx, edx
push ecx
mov word [esp + 0x136], dx
call fcn.00411691
add esp, 0x20
lea edx, [esp + 0x118]
push edx
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
lea ecx, [esp + 8]
call fcn.00402620
pop edi
pop esi
mov esp, ebp
pop ebp
ret
sbb dword [ecx], eax
add bl, ch
add al, 0x43
xor eax, 0x7eb3248
cmp dl, byte [eax + 0x43]
cmp byte [edx + eax*2], bh
xor eax, 0x343e06eb
inc edx
xor eax, 0x525f354d
Function at 0x401f80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
push edi
lea esi, [esp + 0x3c]
call fcn.0040e680
mov eax, dword [esp + 0x64]
xor ebp, ebp
push eax
mov ecx, esi
mov dword [esp + 0x18], ebp
call fcn.00402940
push 0x104
push 0x4a7d14
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, 0x4a7d14
call fcn.0040ff90
lea esi, [esp + 0x40]
lea edi, [esp + 0x28]
mov bl, al
mov dword [0x4a7cf8], 0x4a7d14
call fcn.004107b0
mov edi, str.CMDLINERAW
lea esi, [esp + 0x18]
call fcn.00401b70
xor eax, eax
lea ecx, [ebp + 1]
lea edx, [esp + 0x28]
call fcn.004019e0
mov ecx, esi
call fcn.00402620
lea esi, [esp + 0x28]
call fcn.004092c0
mov edi, str.CMDLINE
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], ebp
call fcn.00401b70
xor eax, eax
mov ecx, 0x100
lea edx, [esp + 0x28]
call fcn.004019e0
mov ecx, esi
call fcn.00402620
lea esi, [esp + 0x18]
call fcn.00401b70
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x68]
push edx
xor ecx, ecx
call fcn.0040c3e0
mov ecx, esi
call fcn.00402620
mov ebp, dword [esp + 0x58]
lea ecx, [esp + 0x18]
call fcn.0040c060
lea ecx, [esp + 0x18]
lea eax, [esp + 0x3c]
call fcn.00401a70
mov esi, dword [esp + 0x18]
push esi
push str._ErrorStdOut
call fcn.004115d0
add esp, 8
test eax, eax
je 0x42c174
push esi
push str._AutoIt3OutputDebug
call fcn.004115d0
add esp, 8
test eax, eax
je 0x42c192
push esi
push str._AutoIt3ExecuteLine
call fcn.004115d0
add esp, 8
test eax, eax
je 0x42c1b0
push esi
push str._AutoIt3ExecuteScript
call fcn.004115d0
add esp, 8
test eax, eax
jne 0x40210b
test bl, bl
jne 0x42c20a
mov dword [0x4a7cfc], 3
lea ecx, [esp + 0x18]
lea eax, [esp + 0x3c]
call fcn.00401a70
mov edx, dword [esp + 0x18]
push edx
push 0x4a7d14
call fcn.00411691
add esp, 8
lea ecx, [esp + 0x18]
lea eax, [esp + 0x3c]
sub ebp, 2
call fcn.00401a70
mov esi, dword [esp + 0x18]
cmp word [0x4a7d14], 0
je 0x42c219
test ebp, ebp
jl 0x42c243
mov edi, dword [esp + 0x64]
lea eax, [ebp + 1]
push eax
push 1
mov eax, edi
call fcn.0040e7e0
push 0
push 1
push 0
push edi
call fcn.0040d030
add esp, 0x18
mov esi, eax
call fcn.004092c0
mov dword [esi + 8], 1
mov dword [esi], ebp
test ebp, ebp
jle 0x402184
xor ebx, ebx
inc ebx
push ebx
push 1
push 0
push edi
call fcn.0040d030
add esp, 0x10
lea edi, [esp + 0x18]
mov esi, eax
call fcn.0040e640
mov ecx, edi
lea eax, [esp + 0x3c]
call fcn.00401a70
cmp ebx, ebp
jl 0x42c23a
lea ecx, [esp + 0x18]
call fcn.00402620
lea esi, [esp + 0x28]
call fcn.004092c0
lea edi, [esp + 0x50]
call fcn.00401a30
mov dword [esp + 0x3c], 0
mov dword [esp + 0x50], 0x4848ec
call fcn.00401a30
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004112ef
add esp, 4
lea ecx, [esp + 0x40]
call fcn.00402620
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 4
mov dword [ebp - 0xf88], eax
push ebp
int3
add byte [ecx + 0x56], bl
invalid
jmp 0x42c23b
invalid
add byte [ebp + 0x40], dh
Function at 0x402b70
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov esi, ebp
mov edi, eax
mov ebx, ecx
call fcn.00403770
mov eax, dword [edi]
movzx esi, word [ebx + eax*2]
cmp si, 0x5a
jbe 0x402ba7
cmp si, 0x61
jb 0x402baf
cmp si, 0x7a
ja 0x402baf
push esi
mov eax, ebp
call fcn.00403470
inc dword [edi]
jmp 0x402b83
cmp si, 0x41
jae 0x402b9b
jmp 0x402b8f
cmp si, 0x30
jae 0x402c54
cmp si, 0x5f
je 0x402b9b
mov eax, ebp
call fcn.00402ae0
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
push ecx
push edx
call dword [sym.imp.USER32.dll_CharUpperBuffW]
xor ebx, ebx
jmp 0x402be0
mov eax, dword [ebp]
push eax
mov eax, dword [ebx*4 + 0x492670]
push eax
call fcn.004133e4
add esp, 8
test eax, eax
je 0x402c36
inc ebx
cmp ebx, 0x2b
jl 0x402be0
cmp si, 0x28
jne 0x42ab1a
mov eax, dword [ebp]
mov ecx, dword [0x4a8e84]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test eax, eax
jl 0x402c63
mov esi, dword [esp + 0x14]
mov edi, 1
mov ebx, eax
call fcn.00402b00
mov dword [esi], ebx
pop edi
pop esi
pop ebp
pop ebx
ret 8
test ebx, ebx
jl 0x402bfe
cmp si, 0x20
jne 0x402c83
mov esi, dword [esp + 0x14]
xor edi, edi
call fcn.00402b00
pop edi
mov dword [esi], ebx
pop esi
pop ebp
pop ebx
ret 8
cmp si, 0x39
jbe 0x402b9b
jmp 0x402bb9
mov ebx, dword [esp + 0x14]
mov edi, 0x34
mov esi, ebx
call fcn.00402b00
mov esi, ebp
mov edi, ebx
call fcn.00402650
pop edi
pop esi
pop ebp
pop ebx
ret 8
cmp si, 9
je 0x402c40
cmp si, 0x2c
je 0x402c40
cmp si, 0x3d
je 0x402c40
cmp si, 0x28
je 0x402c40
cmp si, 0x29
je 0x402c40
cmp si, 0x5d
je 0x402c40
test si, si
je 0x402c40
jmp 0x42ab2e
fimul word [edx + 1]
add byte [edx - 0x17], bl
add al, byte cs:[eax]
add bh, al
test eax, edi
invalid
Function at 0x403530
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebp
push esi
mov esi, eax
call fcn.00403770
mov ecx, dword [edi]
cmp word [ebx + ecx*2 + 2], 0
lea eax, [ecx + 1]
mov dword [edi], eax
je 0x42b3da
movzx edx, word [ebx + ecx*2]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
jmp 0x403564
mov edx, dword [esp + 0xc]
mov eax, dword [edi]
lea ecx, [ebx + eax*2]
movzx eax, word [ecx]
cmp ax, dx
je 0x4035b0
movzx ebp, ax
mov eax, dword [esi + 0xc]
cmp dword [eax], 1
jg 0x42b384
mov eax, dword [esi + 4]
inc eax
call fcn.004034b0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov word [ecx + eax*2], bp
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor ecx, ecx
inc dword [edi]
mov word [edx + eax*2], cx
mov edx, dword [edi]
cmp word [ebx + edx*2], 0
jne 0x403560
jmp 0x42b3d6
cmp word [ecx + 2], dx
je 0x42b374
inc dword [edi]
xor eax, eax
pop esi
pop ebp
add esp, 0x10
ret 4
adc eax, 0xc8810001
cmc
add byte cs:[eax], al
xlatb
dec ebp
add byte [eax], al

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

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, eax
call fcn.00403770
mov eax, dword [edi]
cmp word [ebp + eax*2], 0x30
je 0x4036f0
mov byte [esp + 0x1c], 0
mov esi, eax
mov ebx, 0x17
mov edx, dword [edi]
movzx edx, word [ebp + edx*2]
movzx ecx, dx
mov eax, ecx
cmp eax, 0x2b
jl case.0x403625.44
cmp eax, 0x31
je case.0x403625.48
sub eax, 0x2b
cmp eax, 0x3a
ja case.0x403625.44
movzx eax, byte [eax + 0x403730]
jmp dword [eax*4 + 0x40371c]
and ebx, 0xffffffef
or ebx, 0x20
test bl, 0x20
je 0x403667
mov eax, dword [edi]
movzx ecx, word [ebp + eax*2]
inc eax
mov dword [edi], eax
mov eax, dword [esp + 0x24]
push ecx
call fcn.00403470
and ebx, 0xffffffdf
jmp 0x403600
and ecx, 0xffffffdf
cmp ecx, 0x41
jge 0x4036e2
cmp dx, 0x5f
jne 0x403632
jmp 0x42abf7
test bl, 0x10
jne 0x42abb0
cmp byte [esp + 0x1c], 0
jne 0x42ac0d
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
push eax
call fcn.0041343c
mov ebx, eax
add esp, 4
mov ecx, ebx
add ecx, 0x80000000
mov ebp, edx
adc edx, 0
test edx, edx
ja 0x42ac48
jb 0x4036ac
cmp ecx, 0xffffffff
ja 0x42ac48
mov esi, dword [esp + 0x20]
movzx eax, word [esi + 8]
cmp ax, 0x3f
jle 0x403710
mov eax, 5
mov word [esi + 8], ax
mov dword [esi], 0
mov edi, dword [edi]
push edi
call fcn.00413431
add esp, 4
mov dword [esi], eax
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp ecx, 0x5a
jg 0x40365c
jmp 0x42abf7
movzx ecx, word [ebp + eax*2 + 2]
mov ebx, esi
cmp cx, 0x78
je 0x42ab41
cmp cx, 0x58
jne 0x4035f4
jmp 0x42ab41
cmp ax, 0x30
jl 0x4036ba
jmp 0x42ac31
inc edx
dec edx
dec ebx
add byte [edi + 0x57], bl
add dword [eax], eax
jmp 0x42abcc
invalid
dec edi
add byte [eax], al
les eax, [ecx + eax*4]
enter 0x784a, 1
add byte [ecx + 0xe6eae8], al
add byte [ecx + 0x1577be0], al
add byte [ecx + 0x247cc8], al
add byte [eax - 0x75], bl
xchg ebp, eax
cwde
cmc
invalid
jl 0x42ac33
add byte [eax], al
xor eax, dword [ebp + 0x4b]
dec ebx
dec esi