joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4327b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x468928
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4327e9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4328fc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4327fd
mov eax, 0xffffffc7
jmp 0x4328fe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43280e
cmp dword [esi + 8], eax
jne 0x4327fd
cmp dword [esi + 8], eax
jne 0x432827
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x432827
mov eax, 0xffffffc7
jmp 0x4328fe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43283b
push eax
mov ecx, ebx
call fcn.00431fe0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004034d0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43286c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004034f0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00431750
test eax, eax
mov dword [esp + 0x38], eax
je 0x43289f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46bf78
call fcn.004036d0
mov eax, dword [esp + 0x38]
jmp 0x4328fe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00432610
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4328e3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00432630
mov esi, eax
test esi, esi
jne 0x432913
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00432610
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4328b5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46bf78
call fcn.004036d0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46bf78
call fcn.004036d0
mov eax, esi
jmp 0x4328fe

Function at 0x435a40
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x435aa0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x435aa0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x435aa0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x435aa0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x435ae0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43b9f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468f58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00461e11
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043b390
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00461d3f
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045e603
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045e603
push 1
push 0
push 0
mov ecx, esi
call fcn.0045e5ab
push 1
push 0
push 1
mov ecx, esi
call fcn.0045e5ab
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00461e83
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43bb70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00461e11
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043b390
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00461d3f
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43bc34
cmp dword [esp + 0x40], 1
jne 0x43bc32
cmp ecx, eax
jge 0x43bc34
mov eax, ecx
cmp eax, 0xc8
jge 0x43bc40
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043b9f0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00461e83
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43c3c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468fe3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045ca23
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004620b9
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004635d5
test eax, eax
je 0x43c4dc
mov ecx, dword [esp + 0x3c]
call fcn.004620e6
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43c4a0
push edi
mov ecx, esi
call fcn.0045f74a
mov ecx, esi
call fcn.0043c640
cmp dword [esp + 0x38], 1
jne 0x43c4d5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045f885
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43eef0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43ef23
push esi
call fcn.00441fe0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43ef1c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43efa9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43ef92
mov eax, dword [esi + 8]
test eax, eax
je 0x43ef47
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43ef8e
cmp eax, 2
je 0x43ef92
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43ef3a
cmp eax, 3
je 0x43ef6d
cmp eax, 1
jne 0x43ef3a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43ef3a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43ef3a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043efd0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43efb8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043efd0
add esp, 4
pop esi
ret

Function at 0x45d819
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45d851
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.0045b8cd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045b8a5
jmp 0x45d85d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45ef07
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 0x45ef49
call fcn.004649c0
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45ef49
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45ef40
xor eax, eax
jmp 0x45ef51
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045ef57
pop edi
pop esi
pop ebx
ret 4

Function at 0x464ef0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x464f1e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x464f3c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00464e56
jmp 0x464f3c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x464f3c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00464e56
test edi, edi
mov eax, edi
jne 0x464f26
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x9a12b8
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
mov edi, 0x9a50a0
push edi
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
dec dword [esi + 0xc]
lea eax, [ebp - 4]
push eax
push dword [esi]
call fcn.009a11ad
test eax, eax
jne 0x9a1323
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x9a1340
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegQueryValueExW]
test eax, eax
jne 0x9a1323
cmp dword [ebp - 0x10], 4
jne 0x9a1323
cmp dword [ebp - 8], 1
jne 0x9a1323
cmp dword [esi + 0xc], ebx
je 0x9a136e
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 4], ebx
pop edi
pop esi
pop ebx
je 0x9a133b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegCloseKey]
leave
ret 4
lea eax, [ebp + 8]
push eax
mov eax, dword [esi + 4]
mov dword [ebp + 8], ebx
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
je 0x9a1323
mov eax, dword [esi + 4]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 4]
mov dword [eax + 8], ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
jmp 0x9a1323
Function at 0x9a25d1
Capabilities:
Access pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
xor ebx, ebx
push edi
xor edi, edi
inc ebx
cmp eax, edi
jne 0x9a2d32
mov eax, dword [esi + 0x30]
cmp eax, edi
jne 0x9a303e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 8]
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
cmp eax, edi
je 0x9a2616
push dword [eax + 0x64]
call dword [sym.imp.RPCRT4.dll_RpcMgmtSetServerStackSize]
cmp dword [esi + 0x34], edi
jne 0x9a32d7
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 4
test byte [esi + 0x38], bl
jne 0x9a32c4
push ebx
lea ecx, [esi + 0x20]
push ecx
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [esi + 0x14]
push eax
call fcn.009a2d61
test eax, eax
jne 0x9a25ec
jmp 0x9a32bd
shl eax, 0xa
push eax
jmp 0x9a2610
xor eax, eax
jmp 0x9a262b
push 4
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x9a25ec
jmp 0x9a32bd
push ebx
push edi
push ebx
call dword [sym.imp.ntdll.dll_RtlSetProcessIsCritical]
add esp, 0xc
jmp 0x9a261f
Function at 0x1002f08
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
lea esi, [ecx + 0x248]
mov eax, dword [esi]
or eax, 0x20
push eax
add ecx, 0x274
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1002f32
or dword [esi], 0x20
mov al, 1
jmp 0x1002f43
mov esi, dword [ebp + 8]
test esi, esi
je 0x1002f41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor al, al
pop esi
pop ebp
ret 4

Function at 0x1002f4d
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
lea esi, [ecx + 0x248]
mov eax, dword [esi]
and eax, 0xffffffdf
push eax
add ecx, 0x274
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1002f77
and dword [esi], 0xffffffdf
mov al, 1
jmp 0x1002f88
mov esi, dword [ebp + 8]
test esi, esi
je 0x1002f86
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor al, al
pop esi
pop ebp
ret 4

Function at 0x1002f92
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
lea esi, [ecx + 0x248]
mov eax, dword [esi]
and eax, 0xfffffffe
push eax
add ecx, 0x274
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1002fbc
and dword [esi], 0xfffffffe
mov al, 1
jmp 0x1002fcd
mov esi, dword [ebp + 8]
test esi, esi
je 0x1002fcb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor al, al
pop esi
pop ebp
ret 4

Function at 0x1002fd7
Capabilities:
Terminate process

Disassembly:
call dword [sym.imp.ulib.dll_public:_static_unsigned_char___stdcall_KEYBOARD::GotABreak_void_]
test al, al
je 0x1002fe9
push 2
call dword [sym.imp.msvcrt.dll_exit]
ret
Function at 0x1004028
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x5638
mov esi, ecx
call fcn.01002e59
push 0x5639
mov ecx, esi
mov edi, eax
call fcn.01002e59
mov dword [ebp - 8], eax
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
mov eax, dword [esi]
je 0x1004072
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x10013d0
push ebx
push 0x5645
push esi
call dword [eax + 8]
add esp, 0x18
jmp 0x1004087
push dword [ebp + 8]
push 0x10013c0
push ebx
push 0x562e
push esi
call dword [eax + 8]
add esp, 0x14
mov ecx, esi
call fcn.01002fd7
mov ecx, dword [esi + 0xb4]
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_KEYBOARD::DisableLineMode_void_]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
test al, al
jne 0x1004175
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov edx, dword [eax]
push ebx
lea ecx, [ebp - 4]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov ecx, dword [esi + 0xb4]
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_KEYBOARD::EnableLineMode_void_]
cmp word [ebp - 4], 3
je 0x1004191
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
push dword [ebp - 4]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x28]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov edx, dword [eax]
push 0xd
mov ecx, eax
call dword [edx + 0x28]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov edx, dword [eax]
push 0xa
mov ecx, eax
call dword [edx + 0x28]
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll_towupper]
pop ecx
mov dword [ebp - 4], eax
cmp dword [edi + 0xc], ebx
jbe 0x1004125
mov eax, dword [edi + 8]
mov ax, word [eax]
jmp 0x100412a
mov eax, 0xffff
cmp ax, word [ebp - 4]
je 0x1004199
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], ebx
jbe 0x1004140
mov eax, dword [eax + 8]
mov ax, word [eax]
jmp 0x1004145
mov eax, 0xffff
cmp ax, word [ebp - 4]
jne 0x1004051
mov byte [ebp + 0xf], bl
cmp edi, ebx
je 0x100415e
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov ecx, dword [ebp - 8]
pop edi
pop esi
cmp ecx, ebx
pop ebx
je 0x100416e
mov eax, dword [ecx]
push 1
call dword [eax]
mov al, byte [ebp + 0xf]
leave
ret 8
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], ebx
jbe 0x1004188
mov eax, dword [eax + 8]
movzx eax, word [eax]
mov dword [ebp - 4], eax
jmp 0x1004152
mov dword [ebp - 4], 0xffff
jmp 0x1004152
push 2
call dword [sym.imp.msvcrt.dll_exit]
mov byte [ebp + 0xf], 1
jmp 0x1004152
Function at 0x10041a4
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x5638
mov esi, ecx
call fcn.01002e59
push 0x5639
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.01002e59
push 0x563c
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.01002e59
mov ecx, dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
add eax, 0x210
push eax
push 0x10013c0
push 0
mov ebx, 0x563d
push ebx
push esi
mov dword [ebp + 8], eax
call dword [ecx + 8]
add esp, 0x14
mov ecx, esi
call fcn.01002fd7
mov edi, dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_KEYBOARD::DisableLineMode_void_]
jmp 0x10042e9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov edx, dword [eax]
push 0
lea ecx, [ebp - 4]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov ecx, dword [esi + 0xb4]
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_KEYBOARD::EnableLineMode_void_]
cmp word [ebp - 4], 3
je 0x1004307
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
push dword [ebp - 4]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x28]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov edx, dword [eax]
push 0xd
mov ecx, eax
call dword [edx + 0x28]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov edx, dword [eax]
push 0xa
mov ecx, eax
call dword [edx + 0x28]
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll_towupper]
pop ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], eax
cmp dword [ecx + 0xc], 0
jbe 0x100428a
mov edx, dword [ecx + 8]
mov dx, word [edx]
jmp 0x100428f
mov edx, 0xffff
cmp dx, ax
je 0x100431a
mov edx, dword [ebp - 8]
cmp dword [edx + 0xc], 0
jbe 0x10042a9
mov edx, dword [edx + 8]
mov dx, word [edx]
jmp 0x10042ae
mov edx, 0xffff
cmp dx, ax
je 0x100430f
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0xc], 0
jbe 0x10042c4
mov edx, dword [edx + 8]
mov dx, word [edx]
jmp 0x10042c9
mov edx, 0xffff
cmp dx, ax
je 0x1004313
push dword [ebp + 8]
mov eax, dword [esi]
push 0x10013c0
push 0
push ebx
push esi
call dword [eax + 8]
add esp, 0x14
mov ecx, esi
call fcn.01002fd7
mov ecx, dword [esi + 0xb4]
call edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
test al, al
je 0x1004210
push 2
call dword [sym.imp.msvcrt.dll_exit]
xor bl, bl
jmp 0x100431c
mov byte [esi + 0x9b], 1
mov bl, 1
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x100432f
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100433c
mov eax, dword [ecx]
push 1
call dword [eax]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4
Function at 0x10061ef
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x10014d8
call fcn.01006370
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x100622a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100622a
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1006242
cmp eax, 0x20b
je 0x100622f
mov dword [ebp - 0x1c], edi
jmp 0x1006256
cmp dword [ecx + 0x84], 0xe
jbe 0x100622a
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1006250
cmp dword [ecx + 0x74], 0xe
jbe 0x100622a
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x10080c0], 0xffffffff
or dword [0x10080c4], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x10080bc]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x10080b8]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x10080c8], eax
call fcn.010063fc
cmp dword [0x100801c], edi
jne 0x10062b1
push fcn.010063fc
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010063e5
push 0x1008010
push 0x100800c
call sub.msvcrt.dll__initterm
mov eax, dword [0x10080b4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x10080b0]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x1008008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01005f8f
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1006328
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x100635d
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010063ab
ret