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

Disassembly:
push 0xffffffffffffffff
push 0x10112df3
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, dword [esp + 0x7c]
xor ebp, ebp
push ebp
push ebp
mov dword [esp + 0x1c], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push edi
call ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.100c6e20
mov esi, dword [esp + 0x28]
sub esi, dword [esp + 0x24]
mov dword [esp + 0x70], 1
sar esi, 1
je 0x100c6f2e
cmp esi, ebp
ja 0x100c6ef3
call fcn.100d3cdd
mov eax, dword [esp + 0x24]
push esi
push eax
push edi
call ebx
test eax, eax
je 0x100c6f2e
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
sar ecx, 1
jne 0x100c6f11
call fcn.100d3cdd
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x50]
call fcn.1007a760
mov ebx, 1
mov byte [esp + 0x70], 2
lea edi, [ebx + 6]
jmp 0x100c6f53
mov edi, 7
xor eax, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x70], 3
mov ebx, 2
mov esi, dword [esp + 0x78]
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebp
push ebp
mov word [esi + 4], cx
push eax
mov ecx, esi
mov dword [esp + 0x20], ebx
call fcn.1003cc70
or ebx, 4
test bl, 2
je 0x100c6fa0
and ebx, 0xfffffffd
cmp dword [esp + 0x48], 8
jb 0x100c6f91
mov edx, dword [esp + 0x34]
push edx
call fcn.100d41ba
add esp, 4
xor eax, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], ax
test bl, 1
je 0x100c6fc8
cmp dword [esp + 0x64], 8
jb 0x100c6fb9
mov ecx, dword [esp + 0x50]
push ecx
call fcn.100d41ba
add esp, 4
xor edx, edx
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebp
mov word [esp + 0x50], dx
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x100c6fd9
push eax
call fcn.100d41ba
add esp, 4
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.100d41ba
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
Function at 0x100c7910
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10112f58
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0
mov dword [esp + 0x14], 0
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x100c7953
mov esi, 1
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100701be
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
push edi
push esi
mov dword [esp + 0x24], 0
call ebp
test eax, eax
jne 0x100c798c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100c798e
xor eax, eax
mov ecx, dword [esp + 0x28]
push str.boost::filesystem::current_path
push ecx
push eax
call fcn.100c71b0
mov esi, dword [esp + 0x30]
add esp, 0xc
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov eax, edi
mov word [esi + 4], dx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100c79c0
sub eax, edx
sar eax, 1
push eax
push edi
mov ecx, esi
call fcn.10079e20
push edi
call fcn.100d4151
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x100c8930
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x10113130
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, dword [esp + 0x48]
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x100c8967
mov eax, dword [esi]
jmp 0x100c8969
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100c899f
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
push eax
push edi
push esi
call fcn.100c74f0
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret
test ebx, 0x400
je 0x100c8a80
cmp dword [edi + 0x18], 8
jb 0x100c89b3
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x1c]
call fcn.100c22d0
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], 0
jae 0x100c89d4
lea eax, [esp + 0x1c]
push 0
push 0x2000000
push 3
push 0
push 7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x48], esi
cmp dword [esp + 0x30], 8
mov byte [esp + 0x3c], 2
jb 0x100c8a09
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.100d41ba
add esp, 4
xor edx, edx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], dx
cmp esi, 0xffffffff
je 0x100c8977
push edi
call fcn.100c5f60
add esp, 4
test al, al
jne 0x100c8a71
push ebx
push edi
call fcn.100c63c0
mov edi, dword [esp + 0x4c]
add esp, 8
push esi
mov dword [edi], 9
mov dword [edi + 4], eax
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret
push esi
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x100c8a96
mov dword [esi], 0
call fcn.100bfd70
mov dword [esi + 4], eax
push ebx
push edi
mov dword [esp + 0x18], 3
test bl, 0x10
jne 0x100c8aad
mov dword [esp + 0x18], 2
call fcn.100c63c0
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
mov eax, dword [esp + 0x4c]
mov ecx, dword [ecx + 4]
add esp, 8
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x100c8ae0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x18], 8
jb 0x100c8af4
mov eax, dword [esi + 4]
jmp 0x100c8af7
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100c8b20
mov eax, dword [esp + 0x1c]
push eax
push esi
mov esi, dword [esp + 0x1c]
push esi
call fcn.100c74f0
add esp, 0xc
mov eax, esi
pop esi
pop ebx
add esp, 8
ret
push edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x100c8b37
mov dword [edi], 0
call fcn.100bfd70
mov dword [edi + 4], eax
pop edi
test ebx, 0x400
je 0x100c8b61
push esi
call fcn.100c5f60
add esp, 4
push ebx
push esi
mov dword [esp + 0x10], 4
test al, al
jne 0x100c8b78
mov dword [esp + 0x10], 9
jmp 0x100c8b78
push ebx
push esi
mov dword [esp + 0x10], 3
test bl, 0x10
jne 0x100c8b78
mov dword [esp + 0x10], 2
call fcn.100c63c0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
add esp, 8
pop esi
mov dword [eax + 4], ecx
mov dword [eax], edx
pop ebx
add esp, 8
ret
Function at 0x100ca110
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x10113438
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa0]
cmp dword [esi + 0x18], 8
jb 0x100ca14e
mov eax, dword [esi + 4]
jmp 0x100ca151
lea eax, [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x100ca17e
mov esi, dword [esp + 0xa4]
test esi, esi
je 0x100ca177
mov dword [esi], 0
call fcn.100bfd70
mov dword [esi + 4], eax
mov al, 1
jmp 0x100ca211
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.100bfd70
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.100c8930
add esp, 0xc
cmp dword [esp + 0x10], 3
jne 0x100ca1c0
mov esi, dword [esp + 0xa4]
test esi, esi
je 0x100ca20f
mov dword [esi], 0
call fcn.100bfd70
mov dword [esi + 4], eax
jmp 0x100ca20f
mov edi, dword [esp + 0xa4]
test edi, edi
jne 0x100ca205
push str.boost::filesystem::create_directory
lea ecx, [esp + 0x24]
call fcn.10006340
mov dword [esp + 0x98], edi
call fcn.100bfd70
push eax
push ebx
push esi
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x4c]
call fcn.100b0c40
push 0x101433c8
lea eax, [esp + 0x40]
push eax
call fcn.100d65ec
call fcn.100bfd70
mov dword [edi], ebx
mov dword [edi + 4], eax
xor al, al
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x8c
ret

Function at 0x100cbd90
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x100cbdb6
mov eax, dword [esp + 0x14]
mov dword [eax], 0
mov dword [eax + 4], 0
add esp, 0x10
ret
cmp dword [esp + 4], 0
jg 0x100cbdc5
jl 0x100cbda1
cmp dword [esp], 0
jbe 0x100cbda1
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [esp + 0x10]
push ecx
xor esi, esi
call edi
test eax, eax
jne 0x100cbdf1
lea ebx, [ebx]
inc esi
cmp esi, 3
ja 0x100cbe17
lea edx, [esp + 0x10]
push edx
call edi
test eax, eax
je 0x100cbde0
fild qword [esp + 0x10]
fmul qword [0x101279b0]
fild qword [esp + 8]
fdivp st(1)
call fcn.100dc666
mov ecx, dword [esp + 0x1c]
pop edi
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, ecx
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 0x1c]
pop edi
mov dword [eax], 0
mov dword [eax + 4], 0
pop esi
add esp, 0x10
ret
Function at 0x100d0890
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1015782c]
sub esp, 8
push esi
push edi
cmp eax, 0xffffffff
je 0x100d08fe
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100d08fe
lea esi, [eax + 0x14]
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.100d0740
mov edi, dword [esp + 0xc]
mov ebx, dword [esi + 0x18]
mov esi, dword [esi]
test edi, edi
je 0x100d08d0
cmp edi, esi
je 0x100d08d5
call fcn.100d3cdd
mov esi, dword [esp + 0x10]
cmp esi, ebx
pop ebx
je 0x100d08fe
test edi, edi
jne 0x100d08fa
call fcn.100d3cdd
cmp esi, dword [edi + 0x18]
jne 0x100d08f1
call fcn.100d3cdd
pop edi
lea eax, [esi + 0x10]
pop esi
add esp, 8
ret
mov edi, dword [edi]
jmp 0x100d08e7
pop edi
xor eax, eax
pop esi
add esp, 8
ret
Function at 0x100d1170
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10113f98
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x1015782c]
cmp eax, 0xffffffff
jne 0x100d11ab
xor ebx, ebx
jmp 0x100d11b4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], 0
test ebx, ebx
je 0x100d11f5
cmp dword [ebx + 0x30], 0
jne 0x100d123c
cmp dword [ebx + 0xc], 0
jne 0x100d1242
push 0x100cbeb0
push 0x1015cc08
call fcn.100cd710
mov eax, dword [0x1015782c]
add esp, 8
cmp eax, 0xffffffff
je 0x100d11f5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x30], 0xffffffff
test ebx, ebx
je 0x100d1228
lea ecx, [ebx + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x100d1228
mov edx, dword [ebx]
push eax
mov eax, dword [edx]
mov ecx, ebx
call eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0xc], 0
je 0x100d128a
mov edi, dword [ebx + 0xc]
mov eax, dword [edi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x100d1274
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov esi, dword [edi]
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebx + 0xc], 0
jne 0x100d1242
cmp dword [ebx + 0x30], 0
je 0x100d11ca
lea esi, [ebx + 0x14]
mov ecx, dword [esi + 0x18]
mov esi, dword [esi]
mov edi, dword [ecx]
test esi, esi
jne 0x100d1333
call fcn.100d3cdd
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100d12b7
call fcn.100d3cdd
cmp dword [edi + 0x10], 0
je 0x100d1313
test esi, esi
jne 0x100d133a
call fcn.100d3cdd
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100d12d2
call fcn.100d3cdd
cmp dword [edi + 0x18], 0
je 0x100d1313
test esi, esi
jne 0x100d133e
call fcn.100d3cdd
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100d12ed
call fcn.100d3cdd
mov ebp, dword [edi + 0x10]
test esi, esi
jne 0x100d1342
call fcn.100d3cdd
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100d1305
call fcn.100d3cdd
mov edx, dword [ebp]
mov eax, dword [edi + 0x18]
mov edx, dword [edx + 4]
push eax
mov ecx, ebp
call edx
push edi
push esi
lea eax, [esp + 0x24]
lea esi, [ebx + 0x14]
push eax
mov ecx, esi
call fcn.100d0930
cmp dword [ebx + 0x30], 0
jne 0x100d1297
jmp 0x100d11c4
mov eax, dword [esi]
jmp 0x100d12ad
mov eax, dword [esi]
jmp 0x100d12c8
mov eax, dword [esi]
jmp 0x100d12e3
mov eax, dword [esi]
jmp 0x100d12fb
Function at 0x100d2db0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10114230
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.100d2d00
mov esi, eax
push 0x100cbeb0
push 0x1015cc08
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.100cd710
mov eax, dword [0x1015782c]
add esp, 8
cmp eax, 0xffffffff
je 0x100d2e10
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100d2e70
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1015782c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
je 0x100d2e88
push eax
call esi
test eax, eax
jne 0x100d2eb1
call fcn.100d2db0
mov eax, dword [0x1015782c]
cmp eax, 0xffffffff
jne 0x100d2eae
xor eax, eax
lea esi, [eax + 0xc]
lea eax, [esp + 8]
push esi
push eax
call fcn.100d1140
add esp, 8
mov dword [esi], eax
pop esi
ret
push eax
call esi
lea esi, [eax + 0xc]
lea eax, [esp + 8]
push esi
push eax
call fcn.100d1140
add esp, 8
mov dword [esi], eax
pop esi
ret
Function at 0x100d32e1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10157de0]
jne 0x100d32eb
repz ret
jmp fcn.100dc88c

Function at 0x100f171e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100db541
and dword [ebp - 4], 0
cmp dword [0x1015d750], 0
mov ebx, eax
jne 0x100f17cf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100f1880
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100f1880
push eax
call fcn.100db4cf
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1015d750], eax
call esi
push eax
call fcn.100db4cf
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1015d754], eax
call esi
push eax
call fcn.100db4cf
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1015d758], eax
call esi
push eax
call fcn.100db4cf
pop ecx
mov dword [0x1015d760], eax
test eax, eax
je 0x100f17cf
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100db4cf
pop ecx
mov dword [0x1015d75c], eax
mov eax, dword [0x1015d75c]
cmp eax, ebx
je 0x100f1827
cmp dword [0x1015d760], ebx
je 0x100f1827
push eax
call fcn.100db54a
push dword [0x1015d760]
mov esi, eax
call fcn.100db54a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100f1827
test edi, edi
je 0x100f1827
call esi
test eax, eax
je 0x100f181e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100f181e
test byte [ebp - 0xc], 1
jne 0x100f1827
or dword [ebp + 0x10], 0x200000
jmp 0x100f1860
mov eax, dword [0x1015d754]
cmp eax, ebx
je 0x100f1860
push eax
call fcn.100db54a
pop ecx
test eax, eax
je 0x100f1860
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100f1860
mov eax, dword [0x1015d758]
cmp eax, ebx
je 0x100f1860
push eax
call fcn.100db54a
pop ecx
test eax, eax
je 0x100f1860
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1015d750]
call fcn.100db54a
pop ecx
test eax, eax
je 0x100f1880
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100f1882
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4048e9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [esi + 4], 0xffffffff
je 0x404a16
cmp dword [esi], 0xffffffff
je 0x404a16
push 0
push dword [esi + 0xc]
push dword [esi + 8]
push dword [ebp + 8]
call fcn.00414038
add esp, 0x10
test edx, edx
jl 0x404a16
jg 0x40492d
test eax, eax
jb 0x404a16
mov eax, dword [esi + 4]
inc eax
push eax
call fcn.0040ea93
mov edi, eax
pop ecx
test edi, edi
je 0x404a16
mov ebx, dword [esi + 4]
push ebx
push edi
push dword [ebp + 8]
call fcn.00417558
add esp, 0xc
cmp eax, ebx
jne 0x404a0f
cmp dword [esi + 0x10], 0
jne 0x404977
mov ecx, dword [ebp + 0x10]
mov byte [ebx + edi], 0
test ecx, ecx
je 0x404970
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov eax, edi
jmp 0x404a18
cmp dword [esi + 0x10], 8
jne 0x404a0f
xor eax, eax
mov dword [ebp - 0x38], edi
push 0x38
push 0x42621c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
push 0xfffffffffffffff1
push eax
mov dword [ebp - 0x34], ebx
call fcn.00408364
add esp, 0x10
test eax, eax
js 0x404a0f
mov eax, dword [esi]
inc eax
push eax
call fcn.0040ea93
mov ebx, eax
pop ecx
test ebx, ebx
je 0x404a0f
mov ecx, dword [esi]
lea eax, [ebp - 0x38]
push 1
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ecx
call fcn.00406d0c
pop ecx
pop ecx
push edi
test eax, eax
jns 0x4049e3
call fcn.0040ea78
push ebx
call fcn.0040ea78
pop ecx
jmp 0x404a15
mov eax, dword [esi]
mov byte [ebx + eax], 0
call fcn.0040ea78
lea eax, [ebp - 0x38]
push eax
call fcn.00408328
pop ecx
pop ecx
test eax, eax
jns 0x404a00
push ebx
jmp 0x404a10
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x404a0b
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, ebx
jmp 0x404a18
push edi
call fcn.0040ea78
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404c34
Capabilities:
Create thread

Disassembly:
push ecx
push ecx
push ebx
push esi
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push 0x10000
push dword [esp + 0x28]
mov dword [esp + 0x14], ebx
push dword [esp + 0x20]
push dword [esp + 0x28]
push ebx
call fcn.004144e6
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x404c80
lea eax, [esp + 0xc]
push eax
push ebx
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x28]
push ebx
call fcn.004144e6
add esp, 0x18
mov esi, eax
cmp dword [0x431020], ebx
je 0x404d29
push ebp
push edi
push 0x42690c
call fcn.0040e884
mov ebp, str.false
pop ecx
test eax, eax
je 0x404cb5
push ebp
push eax
call fcn.00416377
neg eax
pop ecx
sbb eax, eax
and dword [0x431020], eax
pop ecx
push 0x426914
call fcn.0040e884
mov edi, eax
pop ecx
test edi, edi
je 0x404ce3
push ebp
push edi
call fcn.00416377
pop ecx
pop ecx
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, dword [0x431020]
mov dword [0x431020], ecx
jmp 0x404ce9
mov ecx, dword [0x431020]
test ecx, ecx
jns 0x404d1a
mov dword [0x431020], ebx
test edi, edi
je 0x404d27
push str.true
push edi
call fcn.00416377
xor edx, edx
pop ecx
inc edx
test eax, eax
pop ecx
mov ecx, dword [0x431020]
cmove ecx, edx
mov dword [0x431020], ecx
test ecx, ecx
je 0x404d27
push 0x426924
call fcn.00404ae5
pop ecx
pop edi
pop ebp
test esi, esi
je 0x404d4b
push 0xffffffffffffffff
push esi
call dword [0x42503c]
lea eax, [esp + 8]
push eax
push esi
call dword [0x425044]
push esi
call dword [0x42502c]
jmp 0x404d57
push dword [esp + 0x20]
call dword [esp + 0x18]
mov dword [esp + 8], eax
cmp dword [0x431a10], 0
pop esi
pop ebx
je 0x404d6d
mov eax, dword [0x431a2c]
test eax, eax
je 0x404d6d
call eax
mov eax, dword [esp]
pop ecx
pop ecx
ret
Function at 0x40505d
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
xor eax, eax
push ebp
mov ebp, dword [esp + 0xc]
inc eax
push esi
mov ebx, dword [ebx]
mov esi, eax
push edi
push 0x20
pop edi
cmp dword [ebp], eax
jle 0x4050f5
push 0x42629c
push dword [ebx + esi*4]
call fcn.00413d40
pop ecx
pop ecx
test eax, eax
je 0x4050e3
push 0x4261f8
push dword [ebx + esi*4]
call fcn.00413d40
pop ecx
pop ecx
test eax, eax
je 0x4050e3
push 0x4262a4
push dword [ebx + esi*4]
call fcn.00413d40
pop ecx
pop ecx
test eax, eax
je 0x4050df
push str.Hello_World_
push dword [ebx + esi*4]
call fcn.00413d40
pop ecx
pop ecx
test eax, eax
je 0x4050df
call fcn.00401d51
test al, al
je 0x4050d5
mov eax, dword [ebx + esi*4]
cmp byte [eax], 0x2d
jne 0x4050e6
mov eax, dword [ebx + esi*4]
cmp byte [eax], 0x2d
jne 0x4050ec
jmp 0x4050e6
push 0x20
jmp 0x4050e5
push 0x40
pop edi
inc esi
cmp esi, dword [ebp]
jl 0x405078
cmp edi, 0x20
jne 0x405256
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.004056c3
pop ecx
pop ecx
test al, al
jne 0x40511a
push 0x426310
call fcn.00405aa8
pop ecx
push 2
jmp 0x405265
mov eax, 0x426344
push eax
push 0x426294
push eax
push eax
push dword [esp + 0x2c]
push 0x426348
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.00405c8b
push 0
push dword [esp + 0x50]
call fcn.00402e39
add esp, 0x28
cmp eax, 1
jge 0x40515f
push 0x426360
call fcn.00405aa8
jmp 0x405262
mov ebx, dword [esp + 0x18]
push 0
push ebx
push ebp
call fcn.004017b8
mov esi, eax
push str.ERROR
push esi
call fcn.00413d40
add esp, 0x14
test eax, eax
jne 0x405192
push 0x426398
call fcn.00405aa8
pop ecx
push 4
jmp 0x405265
push dword [esp + 0x28]
mov edi, dword [esp + 0x28]
push edi
push esi
push dword [esp + 0x28]
mov byte [edi], 0
call fcn.004057bf
add esp, 0x10
test al, al
jne 0x4051c0
push edi
push esi
push 0x4263c0
call fcn.00405aa8
add esp, 0xc
jmp 0x40518b
mov edi, dword [ebx]
xor esi, esi
cmp dword [ebp], esi
jle 0x405251
mov ecx, dword [0x431020]
test ecx, ecx
jns 0x4051fc
push dword [edi + esi*4]
push 0x426430
call fcn.00405681
xor ebx, ebx
pop ecx
inc ebx
pop ecx
mov ecx, dword [0x431020]
cmp eax, ebx
cmove ecx, ebx
mov dword [0x431020], ecx
jmp 0x4051ff
xor ebx, ebx
inc ebx
test ecx, ecx
je 0x405242
push dword [edi + esi*4]
push 0x426444
call fcn.00405681
pop ecx
pop ecx
cmp eax, ebx
je 0x40524a
push dword [edi + esi*4]
push 0x42645c
call fcn.00405681
pop ecx
pop ecx
test eax, eax
je 0x40524a
push dword [edi + esi*4]
push 0x426470
call fcn.00405681
pop ecx
pop ecx
cmp eax, ebx
je 0x40524a
mov ecx, dword [0x431020]
inc esi
cmp esi, dword [ebp]
jl 0x4051d3
jmp 0x405251
and dword [0x431020], 0
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push 0x4262b0
call fcn.00405aa8
pop ecx
pop ecx
push 1
call fcn.0040ed64
int3
Function at 0x421244
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004210ba

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219