joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402930
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov dword [ebp - 0xc], 0
movzx eax, byte [ebp + 8]
cmp eax, 1
jge 0x40296a
movzx ecx, byte [ebp + 8]
imul ecx, ecx, 0xc
movzx edx, byte [ecx + 0x467640]
and edx, 1
jne 0x40296a
movzx eax, byte [ebp + 8]
imul eax, eax, 0xc
cmp dword [eax + 0x467648], 0
jne 0x402974
mov eax, 3
jmp 0x402a68
mov dword [ebp - 4], 0
movzx ecx, byte [ebp + 8]
imul ecx, ecx, 0xc
movzx edx, byte [ecx + 0x467640]
and edx, 4
je 0x402997
mov dword [ebp - 4], 2
jmp 0x4029bf
movzx eax, byte [ebp + 0x14]
movzx ecx, byte [ebp + 8]
imul ecx, ecx, 0xc
movzx edx, word [ecx + 0x467642]
imul eax, edx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x10000
jbe 0x4029bf
mov dword [ebp - 4], 4
cmp dword [ebp - 4], 0
jne 0x402a65
mov ecx, dword [ebp + 0x10]
xor esi, esi
movzx edx, byte [ebp + 8]
imul edx, edx, 0xc
movzx eax, word [edx + 0x467642]
cdq
push edx
push eax
push esi
push ecx
call fcn.00449210
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
movzx edx, byte [ebp + 8]
imul edx, edx, 0xc
mov eax, dword [edx + 0x467648]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [ebp - 0x18]
je 0x402a18
mov dword [ebp - 4], 1
jmp 0x402a65
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [0x46765c]
push eax
call fcn.00448ea0
add esp, 0xc
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [0x46765c]
push eax
movzx ecx, byte [ebp + 8]
imul ecx, ecx, 0xc
mov edx, dword [ecx + 0x467648]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402a5e
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
je 0x402a65
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402a70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
movzx eax, byte [ebp + 8]
cmp eax, 1
jge 0x402aa3
movzx ecx, byte [ebp + 8]
imul ecx, ecx, 0xc
movzx edx, byte [ecx + 0x467640]
and edx, 1
jne 0x402aa3
movzx eax, byte [ebp + 8]
imul eax, eax, 0xc
cmp dword [eax + 0x467648], 0
jne 0x402aad
mov eax, 3
jmp 0x402b74
mov dword [ebp - 4], 0
movzx ecx, byte [ebp + 8]
imul ecx, ecx, 0xc
movzx edx, byte [ecx + 0x467640]
and edx, 4
je 0x402ace
mov dword [ebp - 4], 2
movzx eax, byte [ebp + 8]
imul eax, eax, 0xc
movzx ecx, word [eax + 0x467642]
imul ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 4], 0
jne 0x402b71
mov ecx, dword [ebp + 0x10]
xor esi, esi
movzx edx, byte [ebp + 8]
imul edx, edx, 0xc
movzx eax, word [edx + 0x467642]
cdq
push edx
push eax
push esi
push ecx
call fcn.00449210
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
movzx edx, byte [ebp + 8]
imul edx, edx, 0xc
mov eax, dword [edx + 0x467648]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [ebp - 0x18]
je 0x402b3c
mov dword [ebp - 4], 1
jmp 0x402b71
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, byte [ebp + 8]
imul ecx, ecx, 0xc
mov edx, dword [ecx + 0x467648]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402b6a
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
je 0x402b71
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x411c50
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x46614c]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x88], 0
push 0x7f
push 0
lea eax, [ebp - 0x87]
push eax
call fcn.00448bd0
add esp, 0xc
movzx ecx, byte [0x467a3b]
test ecx, ecx
jne 0x411c9a
push 0x469760
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x467a3b], 1
push 0x469760
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041c2f0
add esp, 8
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x98], ecx
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041c2f0
add esp, 8
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x90], ecx
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041c2f0
add esp, 8
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 4], ecx
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041c2f0
add esp, 8
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x9c], ecx
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041c2f0
add esp, 8
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x8c], ecx
push 0x80
push 0x462de8
lea edx, [ebp - 0x88]
push edx
call fcn.004227b0
add esp, 0xc
push 0x80
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.00422830
add esp, 0xc
lea edx, [ebp - 0x88]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x94], eax
push 0x2710
mov eax, dword [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x98]
push edx
call fcn.00414b60
add esp, 0x1c
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x469760
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044892a
mov esp, ebp
pop ebp
ret
Function at 0x411e10
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x46614c]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x88], 0
push 0x7f
push 0
lea eax, [ebp - 0x87]
push eax
call fcn.00448bd0
add esp, 0xc
movzx ecx, byte [0x467a3b]
test ecx, ecx
jne 0x411e5a
push 0x469760
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x467a3b], 1
push 0x469760
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041c2f0
add esp, 8
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xa0], ecx
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041c2f0
add esp, 8
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x98], ecx
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041c2f0
add esp, 8
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x94], ecx
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041c2f0
add esp, 8
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x90], ecx
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041c2f0
add esp, 8
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 4], ecx
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041c2f0
add esp, 8
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x8c], ecx
push 0x80
push 0x462dec
lea edx, [ebp - 0x88]
push edx
call fcn.004227b0
add esp, 0xc
push 0x80
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.00422830
add esp, 0xc
lea edx, [ebp - 0x88]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x9c], eax
push 0x2710
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
push 0
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x98]
push edx
mov eax, dword [ebp - 0xa0]
push eax
call fcn.00414b60
add esp, 0x1c
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x469760
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044892a
mov esp, ebp
pop ebp
ret
Function at 0x4142c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x467a3c], 0
je 0x414362
mov eax, dword [0x467a3c]
cmp dword [eax + 0xc], 1
jne 0x414362
cmp dword [0x467a40], 0
je 0x4142f5
mov ecx, dword [0x467a40]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [0x467a44], 0
je 0x414322
push 0x3e8
mov edx, dword [0x467a44]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x414322
push 0
mov eax, dword [0x467a44]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp dword [0x467a40], 0
je 0x414342
mov ecx, dword [0x467a40]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x467a40], 0
cmp dword [0x467a44], 0
je 0x414362
mov edx, dword [0x467a44]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x467a44], 0
xor eax, eax
pop ebp
ret

Function at 0x414370
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
cmp dword [0x467a40], 0
jne 0x414397
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x467a40], eax
cmp dword [0x467a44], 0
jne 0x4143bc
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4141c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x467a44], eax
cmp dword [0x467a40], 0
je 0x4143ce
cmp dword [0x467a44], 0
jne 0x4143d5
mov eax, 0x113
jmp 0x4143d7
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4145f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
cmp dword [0x467a48], 0
jne 0x414617
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x467a48], eax
cmp dword [0x467a4c], 0
jne 0x41463c
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4144f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x467a4c], eax
cmp dword [0x467a4c], 0
je 0x41464e
cmp dword [0x467a48], 0
jne 0x414655
mov eax, 0x106
jmp 0x414657
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x414660
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x467a3c], 0
je 0x4146e8
mov eax, dword [0x467a3c]
cmp dword [eax + 0xc], 1
jne 0x4146e8
cmp dword [0x467a4c], 0
je 0x4146e8
cmp dword [0x467a48], 0
je 0x4146e8
mov ecx, dword [0x467a48]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x3e8
mov edx, dword [0x467a4c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4146ba
push 0
mov eax, dword [0x467a4c]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [0x467a4c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x467a48]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x467a4c], 0
mov dword [0x467a48], 0
xor eax, eax
pop ebp
ret
Function at 0x417a90
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x46614c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov byte [ebp - 0x44], 0
push 0x35
push 0
lea eax, [ebp - 0x43]
push eax
call fcn.00448bd0
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xbc], 0
jne 0x417b03
push 0x36
mov edx, dword [ebp + 8]
add edx, 0x18
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.004227b0
add esp, 0xc
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, dword [ebp + 8]
mov dword [edx + 0xbc], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0xbc], 0
je 0x417b03
xor eax, eax
jmp 0x417b3b
cmp dword [ebp - 8], 4
jae 0x417b39
push 0x1388
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xbc]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x417b2e
mov eax, 1
jmp 0x417b3b
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x417b03
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0044892a
mov esp, ebp
pop ebp
ret
Function at 0x422040
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x46614c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 1
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x4220b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
jmp 0x4221a1
push 0x20
push 0
lea edx, [ebp - 0x48]
push edx
call fcn.00448bd0
add esp, 0xc
mov dword [ebp - 0x48], 0x1f01ff
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 5
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x14]
push ecx
push 0
lea edx, [ebp - 0x48]
push edx
push 1
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x422118
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
jmp 0x4221a1
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x422136
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
jmp 0x4221a1
push 1
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x422151
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
jmp 0x4221a1
push 0
mov ecx, dword [ebp - 0x14]
push ecx
push 1
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x422172
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
jmp 0x4221a1
mov dword [ebp - 0x28], 0xc
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4221a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
je 0x4221b1
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x14], 0
je 0x4221c1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x4c], 0
je 0x4221d1
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
cmp dword [ebp - 0x18], 0
sete al
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044892a
mov esp, ebp
pop ebp
ret
Function at 0x422930
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0xc3d2e1f0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
push 0x40
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
call fcn.00448bd0
add esp, 0xc
pop ebp
ret 4

Function at 0x42ebc0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x46614c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x16164], 1
cmp dword [0x468744], 0
je 0x42ebef
xor eax, eax
jmp 0x42ec15
lea ecx, [ebp - 0x198]
push ecx
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x42ec09
or eax, 0xffffffff
jmp 0x42ec15
mov dword [0x468744], 1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044892a
mov esp, ebp
pop ebp
ret
Function at 0x4403e0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x440411
mov eax, dword [ebp + 0x14]
add eax, 2
cdq
mov ecx, 3
idiv ecx
lea edx, [eax*4 + 1]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00430d50
add esp, 8
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0
jne 0x44041e
xor eax, eax
jmp 0x440595
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x10]
mov byte [edx], 0
cmp dword [ebp + 0xc], 0
jne 0x440438
mov eax, dword [ebp - 4]
jmp 0x440595
jmp 0x44044c
mov eax, dword [ebp + 0x14]
sub eax, 3
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0xc]
add ecx, 3
mov dword [ebp + 0xc], ecx
cmp dword [ebp + 0x14], 2
jle 0x4404c4
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
shl ecx, 8
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 1]
or ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
shl ecx, 8
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 2]
or ecx, eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 4
jmp 0x440491
mov ecx, dword [ebp - 0xc]
shr ecx, 6
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 8], 0
jle 0x4404b6
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
and eax, 0x3f
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 8]
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x440488
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [ebp + 0x10], eax
jmp 0x44043a
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 0
cmp dword [ebp + 0x14], 0
jle 0x440592
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x4404ed
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x14]
jge 0x440511
mov ecx, dword [ebp - 0xc]
shl ecx, 8
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
or ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
jmp 0x4404e4
jmp 0x44051c
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 3
jge 0x44052d
mov eax, dword [ebp - 0xc]
shl eax, 8
mov dword [ebp - 0xc], eax
jmp 0x440513
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x440541
mov edx, dword [ebp - 0xc]
shr edx, 6
mov dword [ebp - 0xc], edx
cmp dword [ebp - 8], 0
jle 0x440566
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0x3f
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 8]
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
jmp 0x440538
mov dword [ebp - 8], 3
jmp 0x440578
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x14]
jle 0x44058b
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 8]
mov byte [eax], 0x3d
jmp 0x44056f
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4468e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x46614c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov byte [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
cmp dword [0x468c8c], 0
jbe 0x44692c
call fcn.00401ff0
test eax, eax
jne 0x44692c
mov eax, 0x114
jmp 0x446a74
push 0x10
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [0x468c8c]
push edx
call fcn.0041f180
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00401500
add esp, 8
push 0x466104
push 0x468750
call fcn.00446630
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x446979
mov eax, 0x114
jmp 0x446a74
push 2
push 0
mov edx, dword [ebp - 0xc]
push edx
call fcn.0044f3e6
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
call fcn.0044f2ee
add esp, 4
mov dword [ebp - 0xf4], eax
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0044f3e6
add esp, 0xc
mov eax, dword [ebp - 0xf4]
xor edx, edx
mov ecx, 0x1f
div ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
test edx, edx
je 0x446a63
mov ecx, dword [ebp - 0xc]
push ecx
push 1
push 0x1f
lea edx, [ebp - 0xf0]
push edx
call fcn.0044f134
add esp, 0x10
cmp eax, 1
je 0x4469ef
jmp 0x446a63
push 0x1f
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00421ee0
add esp, 0xc
mov edx, dword [ebp - 0xf0]
cmp edx, dword [ebp + 8]
jne 0x446a5e
mov eax, dword [ebp - 0xec]
cmp eax, dword [ebp + 0xc]
jne 0x446a5e
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jne 0x446a55
push 0x10
lea edx, [ebp - 0xe8]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.00448ea0
add esp, 0xc
mov ecx, dword [ebp + 0x18]
mov dl, byte [ebp - 0xd8]
mov byte [ecx], dl
mov eax, dword [ebp - 0xc]
push eax
call fcn.0044ab6c
add esp, 4
xor eax, eax
jmp 0x446a74
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x4469bd
mov edx, dword [ebp - 0xc]
push edx
call fcn.0044ab6c
add esp, 4
mov eax, 0x114
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044892a
mov esp, ebp
pop ebp
ret 0x14
Function at 0x446a90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x46614c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov word [ebp - 0xf], ax
mov byte [ebp - 0xd], al
push 0x10
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [0x468c8c]
push edx
call fcn.0041f180
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00401500
add esp, 8
push 0x466108
push 0x468750
call fcn.00446630
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x446b06
mov eax, 0x114
jmp 0x446be5
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0044f3e6
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.0044f2ee
add esp, 4
mov dword [ebp - 0xf4], eax
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.0044f3e6
add esp, 0xc
mov eax, dword [ebp - 0xf4]
xor edx, edx
mov ecx, 0x1f
div ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
test edx, edx
je 0x446bd4
mov ecx, dword [ebp - 8]
push ecx
push 1
push 0x1f
lea edx, [ebp - 0xf0]
push edx
call fcn.0044f134
add esp, 0x10
cmp eax, 1
je 0x446b78
jmp 0x446bd4
push 0x1f
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00421ee0
add esp, 0xc
push 0x10
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xe8]
push eax
call fcn.004492d8
add esp, 0xc
test eax, eax
jne 0x446bcf
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xf0]
mov dword [ecx], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xec]
mov dword [eax], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0044ab6c
add esp, 4
xor eax, eax
jmp 0x446be5
jmp 0x446b4a
mov eax, dword [ebp - 8]
push eax
call fcn.0044ab6c
add esp, 4
mov eax, 0x706
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0044892a
mov esp, ebp
pop ebp
ret 0xc

Function at 0x44892a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46614c]
jne 0x448934
repz ret
jmp fcn.0044f46b