joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1cc71a0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov esi, esp
mov dword [esi + 0xa8], ebp
lea ecx, [esi + 0xb0]
mov dword [ecx - 4], esp
xor edi, edi
dec edi
mov dword [ecx + 8], edi
mov dword [ecx + 4], 0x1c3cc00
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor edx, edx
lea eax, [esi + 0x19]
mov dword [eax + 3], edx
mov dword [eax - 1], 0x25
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
push dword [ebx + 4]
push edx
push ecx
push eax
call fcn.01cd1570
add esp, 0x10
mov dword [esi + 8], esp
lea eax, [esi + 0x20]
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [eax], xmm0
mov ebx, eax
sub esp, 0x20
mov edi, esp
lea eax, [edi + 8]
push eax
call fcn.01c6f040
add esp, 4
mov dword [edi], ebx
mov dword [edi + 4], 0x18
lea eax, [esi + 0x18]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x18], eax
call fcn.01c3edd0
add esp, 0x20
mov esp, dword [esi + 8]
lea ebx, [esi + eax]
add ebx, 0x20
push dword [ebp + 0x10]
push ebx
lea eax, [esi + 0x20]
push eax
call fcn.01cc6940
add esp, 0xc
mov dword [esi + 8], eax
lea edi, [esi + 0x40]
pcmpeqd xmm0, xmm0
movdqu xmmword [edi + 0x4a], xmm0
movdqa xmmword [edi + 0x40], xmm0
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ecx, [esi + 0x14]
xor eax, eax
dec eax
mov dword [ecx], eax
lea ecx, [esi + 0x10]
mov dword [ecx], eax
lea eax, [esi + 0xc]
mov ecx, dword [ebp + 0x10]
push eax
call fcn.01c6e920
lea eax, [esi + 0xb0]
xor ecx, ecx
mov dword [eax + 8], ecx
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x14]
push eax
push edi
push ebx
push dword [esi + 8]
lea eax, [esi + 0x20]
push eax
call fcn.01cc7b90
add esp, 0x1c
mov ebx, dword [esi + 0xc]
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
mov edi, dword [ebp + 8]
movzx edx, word [ebp + 0x14]
test eax, eax
jne 0x1cc7302
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0xb8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
movzx edx, word [ebp + 0x14]
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xb8], 0xffffffff
movzx edx, dx
push edx
push dword [ebp + 0x10]
push eax
push ecx
lea eax, [esi + 0x40]
push eax
push dword [ebp + 0xc]
push edi
call fcn.01cc7a10
add esp, 0x1c
mov eax, dword [esi + 0xb0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
Function at 0x1cd4ac0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x1d12014]
xor eax, ebp
mov dword [esp + 0x38], eax
mov ebx, 0x57
test ecx, ecx
je 0x1cd4b4d
mov edi, edx
test edx, edx
je 0x1cd4b4d
mov esi, ecx
xorps xmm0, xmm0
lea eax, [esp + 0x10]
movups xmmword [eax + 0xc], xmm0
movaps xmmword [eax], xmm0
push 0x1c
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1cd4b45
test byte [esp + 0x24], 0xf0
lea ebx, [esp + 0xc]
mov dword [ebx], 0
mov eax, 4
mov ecx, 0x40
cmove ecx, eax
push ebx
push ecx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1cd4b45
mov eax, dword [edi]
mov dword [esi], eax
push ebx
push dword [esp + 0x10]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ebx, ebx
jmp 0x1cd4b4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.01c92fe3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1cdd4e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x1d12014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x2c]
movups xmm0, xmmword [edx]
movups xmmword [ebp - 0x20], xmm0
cmp esi, ebx
je 0x1cdd532
mov dword [ebp - 0x24], ecx
lea edi, [ebp - 0x20]
mov ecx, esi
push edi
call fcn.01cdce30
test al, al
jne 0x1cdd51f
add esi, 0x58
cmp esi, ebx
jne 0x1cdd50a
mov esi, ebx
mov eax, dword [ebp - 0x24]
cmp esi, dword [eax + 0x2c]
je 0x1cdd532
cmp byte [esi + 0x1b], 0
jns 0x1cdd549
mov eax, dword [esi + 0x10]
jmp 0x1cdd54c
xor edi, edi
inc edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92fe3
mov eax, edi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
xor edi, edi
inc edi
cmp eax, 0xffffffff
cmovne edi, ecx
test edi, edi
jne 0x1cdd535
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor edi, edi
jmp 0x1cdd535
Function at 0x1cdd6a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x1d12014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x2c]
movups xmm0, xmmword [edx]
movups xmmword [ebp - 0x20], xmm0
cmp edi, ebx
je 0x1cdd6fd
mov dword [ebp - 0x24], ecx
lea esi, [ebp - 0x20]
mov ecx, edi
push esi
call fcn.01cdce30
test al, al
jne 0x1cdd6df
add edi, 0x58
cmp edi, ebx
jne 0x1cdd6ca
mov edi, ebx
xor ebx, ebx
inc ebx
mov esi, dword [ebp - 0x24]
cmp edi, dword [esi + 0x2c]
je 0x1cdd700
mov eax, dword [edi + 0x50]
cmp eax, dword [ebp + 8]
jne 0x1cdd714
cmp byte [edi + 0x1b], 0
jns 0x1cdd722
mov eax, dword [edi + 0x10]
jmp 0x1cdd725
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92fe3
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
xor ecx, ecx
cmp eax, 1
sete cl
lea ebx, [ecx + ecx*2]
inc ebx
jmp 0x1cdd700
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1cdd700
shr eax, 3
and eax, 2
mov ebx, eax
jne 0x1cdd700
mov byte [esi + 0x24], 1
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
xor ebx, ebx
jmp 0x1cdd700
Function at 0x1cde0d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x1d12014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov bl, 1
cmp dword [0x1d33680], 0
je 0x1cde108
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92fe3
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [0x1d3366c]
test esi, esi
je 0x1cde1a2
test byte [0x1d2ce54], 1
je 0x1cde0f1
cmp byte [esi + 0xb], 0
jns 0x1cde127
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x1d074a0]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1d33680], eax
inc eax
cmp eax, 1
ja 0x1cde0f1
lea esi, [ebp - 0x216]
push 0x206
push 0xff
push esi
call fcn.01c95850
add esp, 0xc
mov word [esi - 2], 0
lea edi, [ebp - 0x218]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1cde247
xor ebx, ebx
jmp 0x1cde0f1
push 0xc
call fcn.01c91ff7
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.01c95850
add esp, 0xc
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
push edi
call fcn.01cbdfa0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1cde1f7
mov eax, dword [esi + 4]
mov ecx, dword [esi]
jmp 0x1cde1fc
and eax, 0x7f
mov ecx, esi
test eax, eax
jne 0x1cde219
mov ecx, esi
push 9
push str.debug.log
call fcn.01c3e510
mov dword [0x1d3366c], esi
jmp 0x1cde116
lea edi, [eax + eax]
test edi, edi
je 0x1cde200
lea edx, [edi - 2]
cmp word [ecx + edi - 2], 0x5c
mov edi, edx
jne 0x1cde21c
cmp edx, 0xfffffffe
je 0x1cde200
sar edx, 1
inc edx
cmp eax, edx
jb 0x1cde2e7
mov ecx, esi
push edx
call fcn.01cd4c50
jmp 0x1cde200
mov esi, dword [0x1d3366c]
push edi
call fcn.01cab6f4
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.01c3e210
mov ecx, dword [0x1d3366c]
call fcn.01c3c420
cmp word [eax], 0x5c
je 0x1cde282
mov ecx, dword [0x1d3366c]
push 1
push 0x1d03114
call fcn.01c3e510
mov ecx, dword [0x1d3366c]
push 9
push str.debug.log
call fcn.01c3e510
mov eax, dword [0x1d3366c]
cmp byte [eax + 0xb], 0
jns 0x1cde2a1
mov eax, dword [eax]
sub esp, 0x1c
movaps xmm0, xmmword [0x1d074a0]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1d33680], eax
inc eax
cmp eax, 1
ja 0x1cde0f1
mov dword [0x1d33680], 0
jmp 0x1cde19b
call fcn.01ca5ba0
int3
Function at 0x1ce5780
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov edi, dword [ebp + 8]
mov eax, dword [0x1d12014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x1ce57a3
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1ce57c8
mov ebx, eax
cmp byte [ebp + 0xc], 0
jne 0x1ce57c0
mov eax, ebx
and eax, 0x400
jne 0x1ce57d6
and ebx, 0x10
shr ebx, 4
jmp 0x1ce57d8
push 2
call fcn.01c79010
add esp, 4
test al, al
jne 0x1ce57ef
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92fe3
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.01cde4a0
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x82
push str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
call fcn.01cde5e0
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.01cbe950
add esp, 0xc
mov esi, eax
movzx eax, byte [edi + 0xb]
test al, al
jns 0x1ce5833
mov eax, dword [edi + 4]
mov edi, dword [edi]
jmp 0x1ce5836
and eax, 0x7f
lea ebx, [ebp - 0xc4]
push eax
push edi
push ebx
call fcn.01c70cc0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1ce585d
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
jmp 0x1ce5860
and eax, 0x7f
push eax
push ebx
push esi
call fcn.01cbe950
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x1ce5882
push dword [ebp - 0xc4]
call fcn.01c92027
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.01cde640
jmp 0x1ce57d6

Function at 0x1ce58a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov edi, dword [ebp + 8]
mov eax, dword [0x1d12014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x1ce58c3
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1ce58ee
test eax, 0x410
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92fe3
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.01c79010
add esp, 4
test al, al
jne 0x1ce5900
xor ebx, ebx
jmp 0x1ce58d7
call fcn.01cde4a0
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x75
push str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
call fcn.01cde5e0
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.01cbe950
add esp, 0xc
mov esi, eax
movzx eax, byte [edi + 0xb]
test al, al
jns 0x1ce5941
mov eax, dword [edi + 4]
mov edi, dword [edi]
jmp 0x1ce5944
and eax, 0x7f
lea ebx, [ebp - 0xc4]
push eax
push edi
push ebx
call fcn.01c70cc0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1ce596b
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
jmp 0x1ce596e
and eax, 0x7f
push eax
push ebx
push esi
call fcn.01cbe950
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x1ce5990
push dword [ebp - 0xc4]
call fcn.01c92027
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.01cde640
jmp 0x1ce58fc
Function at 0x1ce59a0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov esi, dword [ebp + 8]
mov eax, dword [0x1d12014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x1ce59c3
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1ce59db
and eax, 0x410
cmp eax, 0x410
je 0x1ce5a1b
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x1ce59e5
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov bl, 1
test eax, eax
je 0x1ce5a09
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92fe3
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.01c79010
add esp, 4
test al, al
jne 0x1ce5a36
xor ebx, ebx
jmp 0x1ce59f2
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92fe3
mov ecx, esi
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.01ce5ae0
call fcn.01cde4a0
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x95
push str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
call fcn.01cde5e0
lea eax, [ebp - 0xb0]
push 0xb
push str.DeleteFile
push eax
call fcn.01cbe950
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1ce5a7a
mov eax, dword [esi + 4]
mov esi, dword [esi]
jmp 0x1ce5a7d
and eax, 0x7f
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.01c70cc0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1ce5aa4
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
jmp 0x1ce5aa7
and eax, 0x7f
push eax
push ebx
push edi
call fcn.01cbe950
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x1ce5ac9
push dword [ebp - 0xc4]
call fcn.01c92027
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.01cde640
jmp 0x1ce5a17
Function at 0x1ce5ae0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov edi, ecx
mov eax, dword [0x1d12014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x1ce5b02
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x1ce5b1d
push 2
call fcn.01c79010
add esp, 4
test al, al
jne 0x1ce5b39
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92fe3
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.01cde4a0
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x30
push str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
call fcn.01cde5e0
lea eax, [ebp - 0xb0]
push 0x10
push str.RemoveDirectory
push eax
call fcn.01cbe950
add esp, 0xc
movzx ecx, byte [edi + 0xb]
test cl, cl
mov dword [ebp - 0xc8], eax
jns 0x1ce5b7e
mov ecx, dword [edi + 4]
mov edi, dword [edi]
jmp 0x1ce5b81
and ecx, 0x7f
lea ebx, [ebp - 0xc4]
push ecx
push edi
push ebx
call fcn.01c70cc0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1ce5ba8
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
jmp 0x1ce5bab
and eax, 0x7f
mov ecx, dword [ebp - 0xc8]
push eax
push ebx
push ecx
call fcn.01cbe950
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x1ce5bd3
push dword [ebp - 0xc4]
call fcn.01c92027
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.01cde640
jmp 0x1ce5b1d
Function at 0x1cef460
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.01ce59a0

Function at 0x1cf3e90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, edx
mov edi, ecx
mov eax, dword [0x1d12014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x18], eax
add esi, edi
cmp edi, esi
jae 0x1cf3eea
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov eax, esi
sub eax, edi
push ebx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
sete dl
mov ecx, dword [ebp - 0x14]
test ecx, ecx
sete al
or al, dl
jne 0x1cf3ee4
mov ebx, ecx
add edi, ebx
cmp al, 1
jne 0x1cf3eb4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92fe3
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401509
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
lea eax, [esp + 4]
push ebx
push esi
push edi
push 0x30
xor esi, esi
push esi
push eax
call fcn.00414050
pop ecx
pop ecx
lea ecx, [esp + 0x14]
call fcn.00408c26
test eax, eax
je 0x40153b
push 0x27
pop eax
jmp 0x4015f3
mov ebx, dword [ebp + 8]
mov edi, esi
jmp 0x4015da
cmp edi, eax
jge 0x401584
cmp dword [esp + 0x14], esi
jne 0x401584
push dword [0x42f420]
mov ecx, dword [0x43053c]
mov edx, ebx
push dword [0x430520]
push edi
call fcn.00408b8f
add esp, 0xc
test eax, eax
jle 0x4015fc
mov ecx, dword [0x430520]
add edi, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [0x430524]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [0x42f424]
mov dword [esp + 0x24], eax
call fcn.00409737
mov dword [esp + 0xc], eax
test eax, eax
je 0x4015ac
cmp eax, 4
jne 0x401603
mov ecx, dword [0x42f424]
sub ecx, dword [esp + 0x24]
je 0x4015d5
push dword [ebp + 0xc]
push 1
push ecx
push dword [0x430524]
call fcn.0040c7c6
add esp, 0x10
cmp eax, 1
jne 0x401607
mov eax, dword [esp + 0xc]
cmp eax, 4
je 0x4015e8
mov eax, dword [ebx + 8]
test eax, eax
jne 0x401545
push 0x28
pop esi
lea ecx, [esp + 0x10]
call fcn.00409886
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 6
jmp 0x401535
push 0x27
jmp 0x4015e7
push 0x46
jmp 0x4015e7

Function at 0x40160b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x42e440]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
push ebx
push 0x20
push 1
push edi
call fcn.0040cede
add esp, 0x10
cmp eax, 0x20
je 0x401639
push 6
jmp 0x4016b3
push dword [edi + 8]
mov esi, dword [0x42f540]
call esi
push dword [edi + 0xc]
mov dword [edi + 8], eax
call esi
push dword [edi + 0x10]
mov dword [edi + 0xc], eax
call esi
push dword [edi + 0x14]
mov dword [edi + 0x10], eax
call esi
push dword [edi + 0x18]
mov dword [edi + 0x14], eax
call esi
push dword [edi + 0x1c]
mov dword [edi + 0x18], eax
call esi
push ebx
mov dword [edi + 0x1c], eax
call fcn.00412b13
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.0040c9a3
add esp, 0xc
test eax, eax
jne 0x401635
cmp dword [edi], 0x4944424d
jne 0x4016b1
cmp dword [edi + 4], 0x30314646
jne 0x4016b1
mov ecx, dword [edi + 0x14]
add ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
add eax, 0x20
add eax, ecx
sub eax, dword [ebp - 0x24]
neg eax
sbb eax, eax
and eax, 0x29
jmp 0x4016b4
push 0x29
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040bd82
mov esp, ebp
pop ebp
ret
Function at 0x4016c5
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x18
push ebx
mov ebx, ecx
mov dword [esp + 0x10], edx
push edi
mov edi, dword [ebx + 0x14]
add edi, dword [ebx + 0x18]
mov ecx, dword [ebx + 8]
add ecx, dword [esp + 0x24]
add edi, dword [ebx + 0x1c]
push edi
mov dword [esp + 0x10], ecx
call fcn.0040be77
mov dword [esp + 0x14], eax
pop ecx
test eax, eax
jne 0x4016fb
push 0xc
pop eax
jmp 0x401839
push ebp
push esi
xor esi, esi
mov ecx, eax
mov dword [esp + 0x10], ecx
test edi, edi
je 0x401742
mov ebp, 0x7fffffff
cmp edi, 0x7fffffff
ja 0x401718
mov ebp, edi
push dword [esp + 0x1c]
push ebp
push 1
push ecx
call fcn.0040cede
add esp, 0x10
cmp eax, ebp
jne 0x401820
mov ecx, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x10], ecx
sub edi, eax
jne 0x401709
mov eax, dword [esp + 0x18]
mov ebp, dword [ebx + 0x14]
mov edi, eax
mov ecx, dword [ebx + 0x1c]
add ebp, eax
mov eax, dword [ebx + 0x18]
mov ebx, dword [esp + 0x2c]
add eax, ebp
add ecx, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
push dword [edi]
call dword [0x42f540]
push dword [edi + 4]
mov dword [edi], eax
call dword [0x42f540]
push dword [edi + 8]
mov dword [edi + 4], eax
call dword [0x42f540]
mov ecx, dword [edi]
mov dword [edi + 8], eax
lea eax, [ecx + ebx]
cmp eax, dword [esp + 0x14]
ja 0x401828
lea eax, [ecx + ebp]
cmp eax, dword [esp + 0x1c]
ja 0x401828
mov edx, esi
test ecx, ecx
je 0x4017ba
mov ecx, ebp
sub ebx, ebp
mov al, byte [ebx + ecx]
add byte [ecx], al
inc edx
inc ecx
cmp edx, dword [edi]
jb 0x4017af
push dword [esp + 0x30]
mov ebx, dword [edi]
push ebx
push 1
push ebp
call fcn.0040c7c6
add esp, 0x10
cmp eax, ebx
jne 0x401824
mov eax, dword [edi + 4]
add ebp, ebx
mov ecx, dword [esp + 0x10]
add eax, ecx
add dword [esp + 0x2c], ebx
cmp eax, dword [esp + 0x20]
ja 0x401828
push dword [esp + 0x30]
mov ebx, dword [edi + 4]
push ebx
push 1
push ecx
call fcn.0040c7c6
add esp, 0x10
cmp eax, ebx
jne 0x401824
add dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x2c]
add ebx, dword [edi + 8]
mov dword [esp + 0x2c], ebx
cmp ebx, dword [esp + 0x14]
ja 0x401828
add edi, 0xc
cmp edi, dword [esp + 0x24]
jb 0x401767
jmp 0x40182b
push 6
jmp 0x40182a
push 0x40
jmp 0x40182a
push 0x29
pop esi
push dword [esp + 0x18]
call fcn.0040be3f
pop ecx
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x18
ret

Function at 0x402038
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
xor ecx, ecx
mov dword [esi + 4], eax
lea eax, [ebp + 8]
push eax
push ecx
push esi
push 0x40206f
push ecx
push ecx
mov dword [esi + 8], ecx
call fcn.0040dfe9
xor ecx, ecx
mov dword [esi], eax
add esp, 0x18
test eax, eax
setne cl
pop esi
lea eax, [ecx - 1]
pop ebp
ret 8
Function at 0x402610
Capabilities:
Create directory

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x2f
pop eax
mov edi, ecx
xor ebp, ebp
push eax
push edi
mov esi, ebp
call fcn.0040d1de
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x402680
xor eax, eax
mov ecx, edi
mov word [ebx], ax
call fcn.00402610
mov esi, eax
test esi, esi
jne 0x40267a
cmp word [edi], bp
je 0x40267a
push edi
call fcn.0040d762
pop ecx
test eax, eax
jns 0x402678
call fcn.0040dd78
cmp dword [eax], 0x11
je 0x402678
call fcn.0040dd78
push dword [eax]
push edi
push 0x4293b4
call fcn.0040200f
push eax
call fcn.00408506
add esp, 0x10
push 7
pop esi
jmp 0x40267a
mov esi, ebp
push 0x2f
pop eax
mov word [ebx], ax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x402687
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x42e440]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
mov esi, edx
mov edi, ecx
mov ecx, esi
call fcn.00402610
test eax, eax
jne 0x402798
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.0040d8ca
pop ecx
pop ecx
test eax, eax
je 0x4026df
call fcn.0040dd78
push dword [eax]
push edi
push 0x429430
call fcn.0040200f
push eax
call fcn.00408506
add esp, 0x10
push 6
pop eax
jmp 0x402798
mov eax, dword [ebp - 0x36]
mov ecx, 0x8000
and eax, 0xf000
cmp ax, cx
je 0x402732
cmp byte [ebp + 8], 0
je 0x402720
mov ecx, 0x4000
cmp ax, cx
je 0x402720
call fcn.0040dd78
push dword [eax]
push edi
push 0x42946c
call fcn.0040200f
push eax
call fcn.00408506
add esp, 0x10
push 0x30
jmp 0x4026d9
push 0x4294a4
call fcn.0040200f
push eax
call fcn.00408506
pop ecx
pop ecx
push 0
push esi
call fcn.0040d284
pop ecx
pop ecx
test eax, eax
jne 0x402766
mov ecx, esi
call fcn.00402368
test eax, eax
je 0x402766
push esi
push 0x4294d8
call fcn.0040200f
push eax
call fcn.00408506
add esp, 0xc
push 0x3e
jmp 0x4026d9
push esi
push edi
call fcn.0040e8cc
pop ecx
pop ecx
test eax, eax
je 0x402796
call fcn.0040dd78
push dword [eax]
push esi
push edi
push 0x42951c
call fcn.0040200f
push eax
call fcn.00408506
add esp, 0x14
push 7
jmp 0x4026d9
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.0040bd82
mov esp, ebp
pop ebp
ret