joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b408
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
call fcn.0042a1df
add esp, 8
push 0x3ff00000
push 0
call fcn.0042a26f
add esp, 8
call fcn.0041bc94
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41b43d
mov eax, dword [ebp - 4]
jmp 0x41b59f
push 0
push 0x1b8
push 0x64
push str.iplLocalInputQueue
call fcn.004b5569
add esp, 0x10
mov dword [0x4ecb58], eax
cmp dword [0x4ecb58], 0
jne 0x41b47d
push 0x41d
push 0x19a
call fcn.004a3cd4
add esp, 8
mov eax, 0x19a
jmp 0x41b59f
push 0
push 0x1b8
push 0x64
push str.iplExternalInputQueue
call fcn.004b5569
add esp, 0x10
mov dword [0x4ecb5c], eax
cmp dword [0x4ecb5c], 0
jne 0x41b4bd
push 0x426
push 0x19a
call fcn.004a3cd4
add esp, 8
mov eax, 0x19a
jmp 0x41b59f
push 0
push 0x1b8
push 2
push str.spifOutputQueue
call fcn.004b5569
add esp, 0x10
mov dword [0x4ecb60], eax
cmp dword [0x4ecb60], 0
jne 0x41b4fd
push 0x41d
push 0x19a
call fcn.004a3cd4
add esp, 8
mov eax, 0x19a
jmp 0x41b59f
push 0
push 0x18
push 0x64
push str.iplIdCallbackQueue
call fcn.004b5569
add esp, 0x10
mov dword [0x4ecb64], eax
cmp dword [0x4ecb64], 0
jne 0x41b537
push 0x428
push 0x19a
call fcn.004a3cd4
add esp, 8
mov eax, 0x19a
jmp 0x41b59f
push 0
push 0x4000
push 0x41b5a3
call fcn.00490624
add esp, 0xc
mov dword [0x4ecb68], eax
cmp dword [0x4ecb68], 0xffffffff
jne 0x41b572
push 0x41b
push 0x19a
call fcn.004a3cd4
add esp, 8
mov eax, 0x19a
jmp 0x41b59f
push 0x50
mov eax, dword [0x4ecb68]
push eax
call dword [sym.imp.RTX_RTSS.SYS_RtSetThreadPriority]
test eax, eax
jne 0x41b59d
push 0x429
push 0x19a
call fcn.004a3cd4
add esp, 8
mov eax, 0x19a
jmp 0x41b59f
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x42b28a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x50ace0]
mov dword [eax + 0x2ab4], 0
mov ecx, dword [0x50ace0]
mov dword [ecx + 0x2ab8], 0
call fcn.0042c42b
mov edx, dword [0x50ace0]
mov eax, dword [edx + 0x10c]
mov dword [ebp - 0xc], eax
call fcn.004a5e00
mov dword [0x4ecba8], eax
mov dword [ebp - 8], 0
add byte [eax], al
add byte [eax], al
jmp 0x42b2df
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
invalid
invalid
invalid

Function at 0x42eea5
Capabilities:
Create thread

Disassembly:
les eax, [ebx + esi]
ror byte [ebx + 0x4c25de5], 0
mov ch, 0xeb
inc edx
add byte [ecx - 0x14], ch
inc edx
add byte [edx], dh
in eax, dx
inc edx
add ch, dh
in al, dx
inc edx
add byte [eax - 0x13], dh
inc edx
add byte [ecx + 0x550042ed], bl
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 1
mov eax, dword [ebp + 8]
imul eax, eax, 0x230
add eax, 0x4f61f0
mov dword [ebp - 4], eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x42eb83
push 0x4000
push 0
call fcn.00491cdb
add esp, 0x18
mov edx, dword [ebp - 4]
mov dword [edx + 0x120], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x120], 0
jne 0x42eefd
mov dword [ebp - 8], 0
jmp 0x42ef1a
push 0x1e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x120]
push edx
call dword [sym.imp.RTX_RTSS.SYS_RtSetThreadPriority]
test eax, eax
jne 0x42ef1a
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4318d7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
cmp dword [0x4f6ec0], 0
je 0x431901
mov eax, dword [0x4f6ec0]
push eax
call fcn.00490ba0
add esp, 4
mov dword [0x4f6ec0], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00490970
add esp, 4
add eax, 1
push eax
call fcn.00490598
add esp, 4
mov dword [0x4f6ec0], eax
cmp dword [0x4f6ec0], 0
jne 0x43193a
push 0
push 0x43
call fcn.004a3cd4
add esp, 8
xor eax, eax
jmp 0x431a7c
mov edx, dword [ebp + 8]
push edx
mov eax, dword [0x4f6ec0]
push eax
call fcn.00490770
add esp, 8
cmp dword [0x4f6ee8], 0
je 0x43196c
push str.isaSpawnPLC____KERNEL_ALREADY_RUNNING__NOT_SPAWNING_n
invalid

Function at 0x44dc02
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 7
jmp 0x44dc14
mov al, byte [ebp - 4]
sub al, 1
mov byte [ebp - 4], al
mov ecx, dword [ebp - 4]
and ecx, 0xff
test ecx, ecx
jge 0x44dc33
mov dl, byte [ebp - 4]
push edx
mov al, byte [ebp + 8]
push eax
call fcn.0044dc69
add esp, 8
jmp 0x44dc0c
push str.ISaKER:_terminate__n
call dword [sym.imp.RTX_RTSS.SYS_RtPrintf]
add esp, 4
mov ecx, dword [0x5011dc]
mov dword [ecx + 0x438], 0
push 0
call dword [sym.imp.RTX_RTSS.SYS_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x44e76c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
and eax, 0xff
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x44e6c6
push 0x1000
push 0
call fcn.00491cdb
add esp, 0x18
mov dword [0x5011cc], eax
cmp dword [0x5011cc], 0
jne 0x44e7ad
xor eax, eax
jmp 0x44e7c8
push 0x6e
mov eax, dword [0x5011cc]
push eax
call dword [sym.imp.RTX_RTSS.SYS_RtSetThreadPriority]
test eax, eax
jne 0x44e7c3
xor eax, eax
jmp 0x44e7c8
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x45c9b4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
cmp dword [0x502594], 0
jne 0x45c9da
push 0x67
push 0x4c1e40
push 0x4c1e64
call fcn.00490251
add esp, 0xc
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0xb88
mov edx, dword [0x502594]
lea eax, [edx + ecx + 0x238]
cmp byte [edx], al
add byte [eax], al

Function at 0x45cc6b
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [ebp + 8]
imul eax, eax, 0xb88
mov ecx, dword [0x502594]
lea edx, [ecx + eax + 0x238]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
push ecx
push str.SERCPC__d:_Starting_Server_n
call fcn.0048e4ce
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 0xbc], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0xc0], 0
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebx + 0x41c7fc4d], cl
je 0x45ccc2
add byte [eax], al
add byte [ebx + 0x42c7fc55], cl
js 0x45cccd
add byte [eax], al
invalid

Function at 0x4667f4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push 0x1164

Function at 0x469bf8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push 0x1164
call fcn.00490598
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x469c45
push 0
push 0
push 0
push 0x3eb
push 0x1a5
call fcn.004a3f32
add esp, 0x14
push 0
push 0x28
call fcn.004a3cd4
add esp, 8
mov eax, 0x28
jmp 0x46a49a
push 0x1164
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00490540
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword [0x5025cc], ecx
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x104c], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x1050], 0
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x109c], 0
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x107c], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x1080], 0
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x10ac], 0
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10a8], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10b0], 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x78], 0
jmp 0x469d04

Function at 0x46a889
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x1164
call fcn.00490598
add esp, 4
mov dword [ebp - 0x10], eax

Function at 0x46d6d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8e44
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov dword [0], esp
Function at 0x482862
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
push str.dsp31InputQ_1d
lea ecx, [ebp - 0x14]
push ecx
call fcn.004901ff
add esp, 0xc
push 1
push 0x60
push 0x32
lea edx, [ebp - 0x14]
push edx
call fcn.004b5569
add esp, 0x10
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x2c8
mov edx, dword [0x50a940]
mov dword [edx + ecx + 0x25c], eax
mov eax, dword [ebp + 8]
imul eax, eax, 0x2c8
mov ecx, dword [0x50a940]
cmp dword [ecx + eax + 0x25c], 0
jne 0x4828d7
push 0x3ec
push 0x1ae
call fcn.004a3cd4
add esp, 8
mov eax, 0x1ae
jmp 0x48292f
mov edx, dword [ebp + 8]
imul edx, edx, 0x2c8
mov eax, dword [0x50a940]
lea ecx, [eax + edx + 0x240]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push 0x4000
push 0x482933
call fcn.00490624
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x20], 0
jae 0x48292d
push 0x3e9
push 0x1ae
call fcn.004a3cd4
add esp, 8
mov eax, 0x1ae
jmp 0x48292f
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x485377
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
push 0x10000080
add byte [eax], dl

Function at 0x485cbc
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax + 0xa]
test ecx, ecx
je 0x485ce8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.closeChan_0x_x___d___d__n
call fcn.0048e4ce
add esp, 0x10
cmp dword [ebp + 0x10], 1
jne 0x485d0d
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
sub eax, dword [edx + 0x28]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
add eax, ecx
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub edx, dword [ecx + 0x30]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
imul eax, eax, 0x1c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
add edx, eax
mov dword [ebp - 4], edx
Function at 0x486c42
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0xd
ja case.default.0x486c64
mov edx, dword [ebp - 8]
jmp dword [edx*4 + 0x486ddc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.004805f6
add esp, 4
mov dword [ebp - 4], eax
jmp fcn.00486dc2
mov dword [ebp - 4], 0
jmp fcn.00486dc2
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.004806b1
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dx, word [ebp - 4]
mov word [ecx + 8], dx
jmp fcn.00486dc2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call fcn.004807a7
add esp, 0xc
mov dword [ebp - 4], eax
jmp fcn.00486dc2
in eax, dx
add byte [eax], al
invalid
jmp fcn.00486dc2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.RTX_RTSS.SYS_DeleteFileA]
mov dword [ebp - 4], eax
cld
jmp fcn.00486dc2
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.004808e0
add esp, 0xc
mov dword [ebp - 4], eax
jmp fcn.00486dc2
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
jmp fcn.00486dc2
mov dword [ebp - 4], 0
jmp fcn.00486dc2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call fcn.0048095c
add esp, 0xc
mov dword [ebp - 4], eax
jmp fcn.00486dc2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call fcn.00480672
add esp, 0xc
mov dword [ebp - 4], eax
jmp fcn.00486dc2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push str._unknown_PH_cmd__0x_x__n
call fcn.0048e4ce
add esp, 8
mov dword [ebp - 4], 0xffffffff

Function at 0x486e69
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x486eb0
push 0
push 0
call fcn.00491cdb
add esp, 0x18
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], eax
push 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.RTX_RTSS.SYS_RtSetThreadPriority]
pop ebp
ret

Function at 0x486e9c
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.RTX_RTSS.SYS_TerminateThread]
pop ebp
ret
Function at 0x487984
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
cmp dword [0x50ac88], 0
jne 0x4879a1
pop es
xor eax, eax
jmp 0x487b43
mov dword [ebp - 8], 0
jmp 0x4879b3
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x487b40
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x5c50
mov edx, dword [0x50ac88]
lea eax, [edx + ecx + 0x218]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 0
invalid

Function at 0x48a469
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x50accc], 0
jne 0x48a49c
push str.SOFTSERC_:_Unable_to_connect_clock__SoftSERCANS_not_initialised_n
call fcn.0048e4ce
add byte [eax], al
cmp dword [0x50acc8], 0
jne 0x48a4c1
push 0x3fd
push 0x25a
call fcn.004a3cd4
add esp, 8
mov eax, 0x25a
jmp 0x48a59e
mov eax, dword [0x50accc]
push eax
mov ecx, dword [0x50acc8]
add ecx, 0x3fc
push ecx
call dword [0x50acb0]
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x48a4f5
mov edx, dword [0x50acc8]
cmp dword [edx + 0x3fc], 0
jne 0x48a51f
mov eax, dword [ebp - 4]
push eax
push str.softsercConnectClock____serc_Init_Sync___FAILED___08X__n
call fcn.0048e4ce
add esp, 8
push 0x3fe
push 0x25a
call fcn.004a3cd4
add esp, 8
mov eax, 0x25a
jmp 0x48a59e
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x48a5a2
call fcn.00490624
add esp, 0xc
mov ecx, dword [0x50acc8]
mov dword [ecx + 0x400], eax
mov edx, dword [0x50acc8]
cmp dword [edx + 0x400], 0xffffffff
jne 0x48a568
push 0x3ff
push 0x25a
call fcn.004a3cd4
add esp, 8
mov eax, 0x25a
jmp 0x48a59e
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [0x50acc8]
mov edx, dword [ecx + 0x400]
push edx
call dword [sym.imp.RTX_RTSS.SYS_RtSetThreadPriority]
test eax, eax
jne 0x48a59c
push 0x400
push 0x25a
add al, ch
inc edx
xchg edi, eax
add dword [eax], eax
xor eax, eax

Function at 0x48a60d
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x50accc], 0
je 0x48a625
cmp dword [0x50acc8], 0

Function at 0x48abc5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push str.SOFTSERC_:_Loading_library_n
call fcn.0048e4ce
cmp byte [eax], al
add byte [ebx + 0x646804c4], al
mov dword [0x15ff004c], eax
sub byte [edx - 0x2b5cffb5], dl
lodsb al, byte [esi]
push eax
add byte [ebx + 0x50acd43d], al
add byte [eax], al

Function at 0x48d850
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push str.NCRTX_initialising..._n
stosb byte es:[edi], al
dec esp
add bh, bh
adc eax, sym.imp.RTX_RTSS.SYS_RtPrintf
Function at 0x48e60e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0x108
push 0xc8
push 0x4cae98
call fcn.004b5569
add esp, 0x10
mov dword [0x50acf0], eax
cmp dword [0x50acf0], 0
jne 0x48e655
push 0x44c
push 0x193
call fcn.004a3cd4
add esp, 8
mov eax, 0x193
jmp 0x48e6f8
push str.ipcInterp
call fcn.004a6ed0
add esp, 4
mov dword [0x50acf4], eax
cmp dword [0x50acf4], 0
jne 0x48e689
push 0x44e
push 0x193
call fcn.004a3cd4
add esp, 8
mov eax, 0x193
jmp 0x48e6f8
push 0
push 0
push 0x48e7e8
call fcn.00490624
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jae 0x48e6bc
push 0x44d
push 0x193
call fcn.004a3cd4
add esp, 8
mov eax, 0x193
jmp 0x48e6f8
push 0x14
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.RTX_RTSS.SYS_RtSetThreadPriority]
test eax, eax
jne 0x48e6e5
push 0x453
push 0x193
call fcn.004a3cd4
add esp, 8
mov eax, 0x193
jmp 0x48e6f8
push 1
mov ecx, dword [0x50acec]
push ecx
call fcn.004a72e0
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x494545
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cb348
cmp edx, dword [eax]
je 0x494567
add eax, 8
inc ecx
cmp eax, 0x4cb3d8
jl 0x494558
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cb348]
jne 0x494695
mov eax, dword [0x50ad0c]
cmp eax, 1
je 0x49466f
test eax, eax
jne 0x494598
invalid
cmp dword [0x4cafcc], 1
je 0x49466f
cmp edx, 0xfc
je 0x494695
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.RTX_RTSS.SYS_GetModuleFileNameA]
test eax, eax
jne 0x4945cf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00490770
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00490970
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x494612
lea eax, [ebp - 0x1a4]
push eax
call fcn.00490970
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4b9904
push edi
call fcn.004909f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00490770
lea eax, [ebp - 0xa0]
push edi
lea eax, [ebp + 8]
lea esi, [esi + 0x4cb34c]
push 0
push eax
push dword [esi]
call fcn.00490970
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
invalid
invalid
dec eax
xchg ebx, eax
dec ebx
Function at 0x412281
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x412290
pop dword [ebp - 0x4c]
mov eax, 0x412290
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x37cea
push 0
mov eax, 0x8d42e4ed
add eax, 0x72ffab3f
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x7e7a1386
sub ecx, 0x7e79d07b
mov esi, eax
mov edi, 0xb1b292b6
sub edi, 0xb16f24b6
add edi, dword [ebp - 0x4c]
mov ebx, 0x533a8d9e
add dword [ebp - 0x3c], 0xa9aca914
mov edx, dword [edi]
add dword [ebp - 0x14], 0x9dd39ad1
xor edx, ebx
add dword [ebp - 4], edi
mov dword [esi], edx
mov dword [ebp - 0x34], 0xbd329dd6
add esi, 0x7e6ac2c4
add esi, 0x81953d40
add edi, 0xdd7e6d7a
add edi, 0x2281928a
loop 0x4122e4
add eax, 0xfeff
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x46cef29
add ecx, 0xfbd310d7
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x4093d9
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x40c528
call fcn.004099e0
push 1
call fcn.004094c8
pop ecx
test al, al
je 0x4093c3
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00409496
mov byte [ebp - 0x24], al
mov eax, dword [0x40d0d0]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4093c3
test eax, eax
jne 0x4092e1
mov dword [0x40d0d0], ecx
push 0x40101c
push 0x40100c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4092c4
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4093b3
push 0x401008
push section..text
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x40d0d0], 2
jmp 0x4092e6
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040961c
pop ecx
call fcn.004097aa
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x409317
push esi
call fcn.00409588
pop ecx
test al, al
je 0x409317
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x431230]
call esi
call fcn.004097b0
mov esi, eax
cmp dword [esi], edi
je 0x409335
push esi
call fcn.00409588
pop ecx
test al, al
je 0x409335
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_wide_environment
mov edi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
push edi
push esi
push dword [eax]
call main
add esp, 0xc
mov esi, eax
call fcn.004098d6
test al, al
je 0x4093ca
test bl, bl
jne 0x409368
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push 0
push 1
call fcn.00409639
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4093b3
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.004097b6
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.004c5000
jmp 0x409257
Function at 0x401016
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4010a6
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x4010a3
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4010a3
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40107c
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x401075
test ebp, ebp
je 0x401075
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x40107c
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x40109d
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x40109d
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x40102e
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x401bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x401bd7
pop dword [ebp - 0x18]
mov eax, 0xb624062
sub eax, 0xb22248b
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x7b4e2a12
add dword [ebp - 0x28], 0xd3041b39
mov dword [ebp - 0x24], 0x6b4a4014
add dword [ebp - 0x24], 0xc6e90c31
mov dword [ebp - 0x20], 0x35a5b1cd
sub dword [ebp - 0x20], 0xe9596d9f
mov dword [ebp - 0x1c], 0x1a699a0d
sub dword [ebp - 0x1c], 0x1a699a0d
lea eax, [ebp - 0x28]
push eax
mov eax, 0xe6d907cd
add eax, 0x19676893
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xdc24a3c6
add dword [ebp - 0x28], 0x984dc590
mov dword [ebp - 0x24], 0x55d7623e
add dword [ebp - 0x24], 0xeb94ff37
mov dword [ebp - 0x20], 0x346c8844
add dword [ebp - 0x20], 0x2f02e428
mov dword [ebp - 0x1c], 0xf9f55a59
sub dword [ebp - 0x1c], 0xf9f55a59
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xb9c4517a
sub eax, 0xb983e07a
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3975b
push 0
call eax
mov ecx, 0x36569cb3
sub ecx, 0x36564929
xor ebx, ebx
add ebx, eax
mov edx, 0xc2353f40
add edx, 0x3e0bc0c0
add edx, dword [ebp - 0x18]
mov edi, 0x7fcdbe7c
xor dword [ebp - 8], eax
mov esi, dword [edx]
xor dword [ebp - 0x14], ecx
xor esi, edi
xor dword [ebp - 8], 0x470421e6
mov dword [ebx], esi
add ebx, 0x48a6f8a7
add ebx, 0xb759075d
add edx, 4
loop 0x401cf5
add eax, 0x8dc8c6e2
sub eax, 0x8dc785e7
xor ebx, ebx
add ebx, eax
add eax, 0xf00761c5
sub eax, 0xf00761c0
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret