joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408920
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x24], 0
je 0x408a00
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x64
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x408996
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x24]
call edx
push 0x1f4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x408994
push str.CTISMServer___has_been_exited_normally_n
call fcn.00405640
add esp, 4
mov dword [ebp - 4], 1
jmp 0x4089aa
push str.CTISMServer___has_been_exited_gracefully_n
call fcn.00405640
add esp, 4
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x4089df
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x4089d2
push str.CTISMServer___has_been_terminated_n
call fcn.00405640
add esp, 4
jmp 0x4089df
push 0x4ecc38
call fcn.00405640
add esp, 4
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x28], 0
mov esp, ebp
pop ebp
ret
Function at 0x40ac70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
jne 0x40aca2
xor eax, eax
jmp 0x40ad4f
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 1
jne 0x40acbf
push str.CTISMSIPCClient___Windows_9X_ONLY_can_be_a_SMSIPCSVRTYPE_ACCESS_INBOUND_type__n
call fcn.00405640
add esp, 4
xor eax, eax
jmp 0x40ad4f
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x40acff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CTISMSIPCClient___CreateFile_failed_with__d._n
call fcn.00405640
add esp, 8
xor eax, eax
jmp 0x40ad4f
push 0
lea eax, [ebp - 0x10]
push eax
push 0x8c1c
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40ad34
push str.CTISMSIPCClient___WriteFile_failed_n
call fcn.00405640
add esp, 4
xor eax, eax
jmp 0x40ad4f
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x40bc00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x41c], ecx
mov eax, dword [ebp + 0x14]
cmp dword [eax], 1
jne 0x40bc2e
cmp dword [ebp + 0x10], 0
jne 0x40bc2e
xor eax, eax
jmp 0x40bd22
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x41c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x41c]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x40bccf
push 0xea60
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x41c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x41c]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40bccd
mov word [ebp - 0x210], 0
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004ad2c0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 8]
push edx
push 0x4ee9a4
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.00405d60
add esp, 0x14
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x40bd1f
mov word [ebp - 0x418], 0
push 0x206
push 0
lea edx, [ebp - 0x416]
push edx
call fcn.004ad2c0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 8]
push eax
push str.Pipe_Initialize_Fail_:__s__d
push 0x104
lea ecx, [ebp - 0x418]
push ecx
call fcn.00405d60
add esp, 0x14
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40c550
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
jne 0x40c582
xor eax, eax
jmp 0x40c62f
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 1
jne 0x40c59f
push str.CTISMSIPCClient___Windows_9X_ONLY_can_be_a_SMSIPCSVRTYPE_ACCESS_INBOUND_type__n
call fcn.00405640
add esp, 4
xor eax, eax
jmp 0x40c62f
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x40c5df
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CTISMSIPCClient___CreateFile_failed_with__d._n
call fcn.00405640
add esp, 8
xor eax, eax
jmp 0x40c62f
push 0
lea eax, [ebp - 0x10]
push eax
push 0x344
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40c614
push str.CTISMSIPCClient___WriteFile_failed_n
call fcn.00405640
add esp, 4
xor eax, eax
jmp 0x40c62f
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x413660
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x14], 0x40
mov byte [ebp - 0x13], 0x4e
mov byte [ebp - 0x12], 0x50
mov byte [ebp - 0x11], 0x52
mov byte [ebp - 0x10], 0x4f
mov byte [ebp - 0xf], 0x54
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0xd], 0x43
mov byte [ebp - 0xc], 0x54
mov byte [ebp - 0xb], 0x41
mov byte [ebp - 0xa], 0x52
mov byte [ebp - 9], 0x49
mov byte [ebp - 8], 0x41
mov byte [ebp - 7], 0x41
mov byte [ebp - 6], 0x54
mov byte [ebp - 5], 0x26
mov byte [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov word [ebp - 0x23], ax
mov byte [ebp - 0x21], al
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x4eeda8
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b1845
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x413706
xor eax, eax
jmp 0x41379a
push 2
push 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.004b16fa
add esp, 0xc
mov eax, dword [ebp - 0x20]
push eax
call fcn.004b1605
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x38
push 1
mov ecx, dword [ebp - 0x18]
neg ecx
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.004b16fa
add esp, 0xc
mov eax, dword [ebp - 0x20]
push eax
push 0x10
push 1
lea ecx, [ebp - 0x30]
push ecx
call fcn.004b1452
add esp, 0x10
push 0x10
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.004afb1b
add esp, 0xc
test eax, eax
je 0x413777
mov dword [ebp - 0x34], 0
jmp 0x41377e
mov dword [ebp - 0x34], 1
cmp dword [ebp - 0x20], 0
je 0x413797
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004ae52d
add esp, 4
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret 4
Function at 0x4137b0
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0x14], 0x40
mov byte [ebp - 0x13], 0x4e
mov byte [ebp - 0x12], 0x50
mov byte [ebp - 0x11], 0x52
mov byte [ebp - 0x10], 0x4f
mov byte [ebp - 0xf], 0x54
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0xd], 0x43
mov byte [ebp - 0xc], 0x54
mov byte [ebp - 0xb], 0x41
mov byte [ebp - 0xa], 0x52
mov byte [ebp - 9], 0x49
mov byte [ebp - 8], 0x41
mov byte [ebp - 7], 0x41
mov byte [ebp - 6], 0x54
mov byte [ebp - 5], 0x26
mov byte [ebp - 0xd4], 0
xor eax, eax
mov dword [ebp - 0xd3], eax
mov dword [ebp - 0xcf], eax
mov dword [ebp - 0xcb], eax
mov word [ebp - 0xc7], ax
mov byte [ebp - 0xc5], al
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
push 0x4eedb0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b1845
add esp, 8
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jne 0x413880
xor eax, eax
jmp 0x413993
push 2
push 0
mov edx, dword [ebp - 0xc4]
push edx
call fcn.004b16fa
add esp, 0xc
mov eax, dword [ebp - 0xc4]
push eax
call fcn.004b1605
add esp, 4
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], 0x38
push 1
mov ecx, dword [ebp - 0xbc]
neg ecx
push ecx
mov edx, dword [ebp - 0xc4]
push edx
call fcn.004b16fa
add esp, 0xc
mov eax, dword [ebp - 0xc4]
push eax
push 0x10
push 1
lea ecx, [ebp - 0xd4]
push ecx
call fcn.004b1452
add esp, 0x10
push 0x10
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.004afb1b
add esp, 0xc
test eax, eax
je 0x41390f
mov dword [ebp - 0xd8], 0
jmp 0x41396b
mov dword [ebp - 0xd8], 1
mov byte [ebp - 0xb8], 0
push 0x9f
push 0
lea ecx, [ebp - 0xb7]
push ecx
call fcn.004ad2c0
add esp, 0xc
mov edx, dword [ebp - 0xc4]
push edx
push 0x28
push 0x28
lea eax, [ebp - 0xb8]
push eax
call fcn.004b1452
add esp, 0x10
push 0xa0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xb8]
push edx
mov ecx, dword [ebp - 0xdc]
call fcn.00414f80
cmp dword [ebp - 0xc4], 0
je 0x41398d
mov eax, dword [ebp - 0xc4]
push eax
call fcn.004ae52d
add esp, 4
mov dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4139b0
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd4], 1
mov byte [ebp - 0x14], 0x40
mov byte [ebp - 0x13], 0x4e
mov byte [ebp - 0x12], 0x50
mov byte [ebp - 0x11], 0x52
mov byte [ebp - 0x10], 0x4f
mov byte [ebp - 0xf], 0x54
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0xd], 0x43
mov byte [ebp - 0xc], 0x54
mov byte [ebp - 0xb], 0x41
mov byte [ebp - 0xa], 0x52
mov byte [ebp - 9], 0x49
mov byte [ebp - 8], 0x41
mov byte [ebp - 7], 0x41
mov byte [ebp - 6], 0x54
mov byte [ebp - 5], 0x26
mov byte [ebp - 0xd0], 0
xor eax, eax
mov dword [ebp - 0xcf], eax
mov dword [ebp - 0xcb], eax
mov dword [ebp - 0xc7], eax
mov word [ebp - 0xc3], ax
mov byte [ebp - 0xc1], al
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x4eedb8
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b1845
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x413a71
xor eax, eax
jmp 0x413b02
push 2
push 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.004b16fa
add esp, 0xc
mov eax, dword [ebp - 0x20]
push eax
push 0x10
push 1
lea ecx, [ebp - 0x14]
push ecx
call fcn.004b1a07
add esp, 0x10
mov byte [ebp - 0xc0], 0
push 0x9f
push 0
lea edx, [ebp - 0xbf]
push edx
call fcn.004ad2c0
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xc0]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xd8]
call fcn.00414fb0
mov eax, dword [ebp - 0x20]
push eax
push 0x28
push 1
lea ecx, [ebp - 0xc0]
push ecx
call fcn.004b1a07
add esp, 0x10
cmp dword [ebp - 0x20], 0
je 0x413afc
mov edx, dword [ebp - 0x20]
push edx
call fcn.004ae52d
add esp, 4
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413b20
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x258], 0
push 0x206
push 0
lea eax, [ebp - 0x256]
push eax
call fcn.004ad2c0
add esp, 0xc
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
push 0x4eedc0
push 0x104
lea ecx, [ebp - 0x258]
push ecx
call fcn.00413ca0
add esp, 0x14
movzx edx, word [ebp - 0x16]
push edx
movzx eax, word [ebp - 0x1a]
push eax
movzx ecx, word [ebp - 0x1c]
push ecx
movzx edx, word [ebp - 0x1e]
push edx
movzx eax, word [ebp - 0x22]
push eax
movzx ecx, word [ebp - 0x24]
push ecx
lea edx, [ebp - 0x258]
push edx
push str._s_d_d_d_d_d_d
push 0x104
lea eax, [ebp - 0x258]
push eax
call fcn.00413ca0
add esp, 0x28
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x258]
push eax
push str._s_d_d
push 0x104
lea ecx, [ebp - 0x258]
push ecx
call fcn.00413ca0
add esp, 0x18
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x258]
push eax
push 0x4eee08
push 0x104
lea ecx, [ebp - 0x258]
push ecx
call fcn.00413ca0
add esp, 0x14
movzx edx, word [ebp - 0x26]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0x258]
push edx
push str._s_d_d_d
push 0x104
lea eax, [ebp - 0x258]
push eax
call fcn.00413ca0
add esp, 0x1c
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x258]
push eax
call fcn.00434f80
add esp, 0xc
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0x4c]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret 8
Function at 0x417a40
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov byte [ebp - 1], 0
push 0x24
call fcn.0048c4fd
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
push 0x24
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.004ad2c0
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
movzx ecx, word [eax]
cmp ecx, 9
jne 0x417af6
mov dword [ebp - 0x10], 0
push 0x4ef080
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x417af4
push 0x4ef09c
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x417adf
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x14]
test eax, eax
je 0x417ad9
cmp dword [ebp - 0x10], 0
je 0x417ad3
mov byte [ebp - 1], 1
jmp 0x417ad7
mov byte [ebp - 1], 0
jmp 0x417add
mov byte [ebp - 1], 0
jmp 0x417ae3
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0xc], 0
jmp 0x417afa
mov byte [ebp - 1], 0
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0048c528
add esp, 4
mov dword [ebp - 8], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x417fa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x18]
jle 0x417fb3
jmp 0x4180e4
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
mov byte [ebp - 3], 0
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x100]
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x101]
mov byte [ebp - 1], cl
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x18]
push eax
push 0
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.004ad2c0
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.004ae050
add esp, 0xc
mov dword [ebp - 0xc], 0
jmp 0x41801c
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jge 0x4180cc
movzx ecx, byte [ebp - 2]
add ecx, 1
and ecx, 0x800000ff
jns 0x41803f
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 2], cl
movzx edx, byte [ebp - 2]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
movzx edx, byte [ebp - 1]
add ecx, edx
and ecx, 0x800000ff
jns 0x418063
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 1], cl
movzx eax, byte [ebp - 1]
add eax, dword [ebp - 8]
push eax
movzx ecx, byte [ebp - 2]
add ecx, dword [ebp - 8]
push ecx
call fcn.004180f0
add esp, 8
movzx edx, byte [ebp - 2]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
movzx edx, byte [ebp - 1]
mov eax, dword [ebp - 8]
movzx edx, byte [eax + edx]
add ecx, edx
and ecx, 0x800000ff
jns 0x4180a6
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 3], cl
movzx eax, byte [ebp - 3]
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax]
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp + 0x14]
add edx, dword [ebp - 0xc]
mov byte [edx], cl
jmp 0x418013
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 2]
mov byte [eax + 0x100], cl
mov edx, dword [ebp + 8]
mov al, byte [ebp - 1]
mov byte [edx + 0x101], al
mov esp, ebp
pop ebp
ret
Function at 0x418120
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x418132
cmp dword [ebp + 0x10], 0
jne 0x418139
xor eax, eax
jmp 0x4181e3
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004185f0
add esp, 0xc
test eax, eax
je 0x4181cd
mov dword [ebp - 0x10], 0
push 0x4ef0e8
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.004b1d73
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4181cd
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.004b16fa
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004ae430
add esp, 4
push eax
push 1
mov edx, dword [ebp - 8]
push edx
call fcn.004b1a07
add esp, 0x10
mov eax, dword [ebp - 0x10]
push eax
call fcn.004ae52d
add esp, 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 8]
push ecx
call fcn.00418d80
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x418330
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 8], 0
je 0x418348
cmp dword [ebp + 0xc], 0
je 0x418348
cmp dword [ebp + 0x10], 0
jne 0x41834f
xor eax, eax
jmp 0x418483
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x4ef0ec
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.004b1d73
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x418480
push 2
push 0
mov edx, dword [ebp - 0xc]
push edx
call fcn.004b16fa
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
call fcn.004b1605
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 1
mov edx, dword [ebp - 0x14]
push edx
call fcn.004b1452
add esp, 0x10
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004189b0
add esp, 0x10
test eax, eax
je 0x418441
mov dword [ebp - 0x20], 0
push 0x4ef0f0
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.004b1d73
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x418441
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 1
mov edx, dword [ebp - 0x18]
push edx
call fcn.004b1a07
add esp, 0x10
mov eax, dword [ebp - 0x20]
push eax
call fcn.004ae52d
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0048c532
add esp, 4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.00418d80
add esp, 4
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004ae52d
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4185f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [ebp + 0xc], 0
jne 0x418603
xor eax, eax
jmp 0x4186ee
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x4ef0f4
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.004b1d73
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4186eb
mov dword [ebp - 0x1c], 0
push 2
push 0
mov edx, dword [ebp - 0xc]
push edx
call fcn.004b16fa
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004b1605
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004b16fa
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004b1452
add esp, 0x10
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00418ba0
add esp, 0x10
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0048c532
add esp, 4
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0xc]
push edx
call fcn.004ae52d
add esp, 4
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4187f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x418802
cmp dword [ebp + 0x14], 0
jne 0x418809
xor eax, eax
jmp 0x4188b1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push 0x4ef0f8
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.004b1d73
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4188ae
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004189b0
add esp, 0x10
test eax, eax
je 0x41889b
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov edx, dword [ebp - 0x10]
push edx
call fcn.004b1a07
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.004ae52d
add esp, 4
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00418d80
add esp, 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 1
mov edx, dword [ebp - 0x10]
push edx
call fcn.00418d80
add esp, 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret