joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426480
Capabilities:
Print debug messages

Disassembly:
jmp 0x426480
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd230
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1468
call fcn.0047d3e0
mov eax, dword [0x4fb00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x1478], ecx
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x1474], eax
mov edx, dword [ebx + 0x18]
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x1418], ax
mov byte [ebp - 0x418], al
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1468], ecx
mov dword [ebp - 0x1464], eax
call fcn.00420ee0
xor ecx, ecx
mov dword [ebp - 0x1470], 1
cmp byte [edx + 8], cl
mov esi, eax
mov eax, 8
cmovne ecx, eax
mov dword [ebp - 0x146c], ecx
mov ecx, 1
lock xadd dword [0x509658], ecx
inc ecx
mov dword [ebp - 0x1460], ecx
mov dword [ebp - 0x145c], 0
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov dword [ebp - 0x1458], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1474]
mov dword [ebp - 0x1420], eax
mov eax, dword [ebp - 0x1478]
mov dword [ebp - 0x141c], eax
mov eax, dword [0x509600]
mov dword [ebp - 0x144c], 0x4e48ac
mov dword [ebp - 0x1448], edi
mov dword [ebp - 0x1444], esi
mov dword [ebp - 0x1454], 0
mov dword [ebp - 0x1450], 0
movq qword [ebp - 0x1430], xmm0
mov dword [ebp - 0x1428], 0
movups xmmword [ebp - 0x1440], xmm0
test eax, eax
je 0x4265bf
call eax
mov dword [ebp - 0x1424], eax
jmp 0x4265c9
mov dword [ebp - 0x1424], 0
mov eax, dword [0x5095dc]
test eax, eax
je 0x4265e7
push 0x400
lea ecx, [ebp - 0x418]
push ecx
lea ecx, [ebp - 0x1470]
push ecx
call eax
mov eax, dword [0x5095d4]
test eax, eax
je 0x4265f9
lea ecx, [ebp - 0x1470]
push ecx
call eax
mov eax, dword [0x5095ec]
test eax, eax
je 0x42660b
lea ecx, [ebp - 0x1470]
push ecx
call eax
cmp dword [ebp - 0x1468], 0
jge 0x4266ec
cmp byte [0x5095b8], 0
jne 0x426662
mov eax, dword [0x5095b0]
test eax, eax
je 0x426631
call eax
movzx eax, al
jmp 0x42663d
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
jne 0x426662
mov eax, dword [0x5095bc]
test eax, eax
je 0x4266ba
cmp byte [0x5095c8], 0
jne 0x4266ba
push 0
push 0
lea ecx, [ebp - 0x1470]
push ecx
call eax
jmp 0x4266ba
mov eax, dword [0x5095bc]
test eax, eax
je 0x426689
cmp byte [0x5095c8], 0
jne 0x426689
push 0x800
lea ecx, [ebp - 0x1418]
push ecx
lea ecx, [ebp - 0x1470]
push ecx
call eax
cmp word [ebp - 0x1418], 0
jne 0x4266ad
lea eax, [ebp - 0x1470]
mov edx, 0x800
push eax
lea ecx, [ebp - 0x1418]
call fcn.00420b60
add esp, 4
lea eax, [ebp - 0x1418]
push eax
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
cmp byte [0x5095c0], 0
je 0x4266ce
mov eax, dword [0x5095e4]
test eax, eax
je 0x4266ce
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00437174
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00421f40
int3
Function at 0x439aa0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
mov edx, ebx
push ebp
push esi
mov ebp, ecx
cmp dword [ebx + 0x14], 8
push edi
mov edi, dword [ebx + 0x10]
mov dword [esp + 0x10], ebp
jb 0x439abc
mov edx, dword [ebx]
add edi, edi
xor esi, esi
mov eax, 0x811c9dc5
lea ecx, [edi + edx]
cmp edx, ecx
cmova edi, esi
test edi, edi
je 0x439ae4
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
inc esi
imul eax, ecx, 0x1000193
cmp esi, edi
jne 0x439ad1
mov ecx, dword [ebp + 0x18]
mov edi, dword [esp + 0x10]
and ecx, eax
mov eax, dword [ebp + 0xc]
mov edi, dword [edi + 4]
mov esi, dword [eax + ecx*8]
add ecx, ecx
mov ebp, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
add eax, 4
mov dword [esp + 0x1c], eax
cmp ebp, edi
jne 0x439b0d
mov eax, edi
jmp 0x439b11
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x439b40
lea eax, [esi + 8]
push ebx
push eax
call fcn.0042a8d0
add esp, 8
test al, al
jne 0x439b2e
mov esi, dword [esi]
mov eax, dword [esp + 0x1c]
jmp 0x439b05
lea eax, [esi + 8]
push eax
push ebx
call fcn.0042a8d0
add esp, 8
test al, al
cmovne edi, esi
mov eax, dword [esp + 0x18]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x43a420
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be5ae
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4fb00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
mov dword [edi], 0x4c536c
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004135b0
mov dword [esi], eax
push edi
push str.j_a
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00440bd0
push dword [ebp + 0xc]
mov dword [edi], 0x4c6854
lea ebx, [edi + 0x10]
mov dword [edi + 0xc], 0x4c68a4
lea esi, [edi + 0x18]
mov dword [edi + 0x14], 0
mov ecx, esi
mov edi, dword [ebp + 8]
push edi
push dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov dword [ebx], 0x4c68c4
call fcn.00484e60
mov dword [esi], 0x4c6820
xor eax, eax
mov dword [esi + 0x18], 0x4c6824
xorps xmm0, xmm0
mov dword [esi + 0x4c], 5
mov dword [esi + 0x44], 0x4c6810
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], eax
movq qword [esi + 0x58], xmm0
mov byte [esi + 0x60], al
mov eax, dword [ebp - 0x10]
mov ecx, eax
push eax
push 0x4c7c6c
mov byte [ebp - 4], 2
call fcn.00440bd0
mov eax, dword [ebp - 0x10]
mov ecx, eax
lea esi, [eax + 0xc]
push esi
push 0x4c7c7c
call fcn.00440bd0
mov ecx, dword [ebp - 0x10]
push ebx
push 0x4c7c8c
call fcn.00440bd0
mov eax, dword [ebp - 0x10]
mov ecx, eax
push eax
push 0x4c7c5c
mov dword [ebp - 4], 3
mov dword [eax], 0x4c68d0
mov dword [esi], 0x4c6920
mov dword [ebx], 0x4c6940
call fcn.00440bd0
mov eax, dword [ebp - 0x10]
mov dword [esi], 0x4c699c
lea esi, [eax + 0x7c]
mov dword [ebp - 4], 4
mov dword [ebx], 0x4c69bc
mov dword [eax + 0x80], edi
mov edi, eax
push edi
push 0x4c7290
mov ecx, edi
mov dword [eax], 0x4c694c
mov dword [esi], 0x4c69c8
call fcn.00440bd0
push esi
push 0x4c533c
mov ecx, edi
call fcn.00440bd0
push esi
push 0x4c6f74
mov ecx, edi
call fcn.00440bd0
mov eax, dword [edi + 0x30]
lea ecx, [edi + 0x30]
call dword [eax + 0x20]
mov dword [edi], 0x4c69e4
mov eax, edi
mov dword [edi + 0xc], 0x4c699c
mov dword [ebx], 0x4c69bc
mov dword [esi], 0x4c6a34
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43a5e0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be5fe
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4fb00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
mov dword [edi], 0x4c5968
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004135b0
mov dword [esi], eax
push edi
push str.j_a
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00440a90
push dword [ebp + 0xc]
mov dword [edi], 0x4c5a04
lea ebx, [edi + 0x10]
mov dword [edi + 0xc], 0x4c5a5c
lea esi, [edi + 0x18]
mov dword [edi + 0x14], 0
mov ecx, esi
mov edi, dword [ebp + 8]
push edi
push dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov dword [ebx], 0x4c5a7c
call fcn.00484e60
mov dword [esi], 0x4c59d0
mov dword [esi + 0x18], 0x4c59d4
mov dword [esi + 0x4c], 5
mov dword [esi + 0x44], 0x4c59c0
mov dword [esi + 0x50], 0
mov byte [esi + 0x54], 0
mov eax, dword [ebp - 0x10]
mov ecx, eax
push eax
push 0x4c7c6c
mov byte [ebp - 4], 2
call fcn.00440a90
mov eax, dword [ebp - 0x10]
mov ecx, eax
lea esi, [eax + 0xc]
push esi
push 0x4c7c7c
call fcn.00440a90
mov ecx, dword [ebp - 0x10]
push ebx
push 0x4c7c8c
call fcn.00440a90
mov eax, dword [ebp - 0x10]
mov ecx, eax
push eax
push 0x4c7c5c
mov dword [ebp - 4], 3
mov dword [eax], 0x4c5a88
mov dword [esi], 0x4c5ae0
mov dword [ebx], 0x4c5b00
call fcn.00440a90
mov eax, dword [ebp - 0x10]
mov dword [esi], 0x4c5b64
lea esi, [eax + 0x70]
mov dword [ebp - 4], 4
mov dword [ebx], 0x4c5b84
mov dword [eax + 0x74], edi
mov edi, eax
push edi
push 0x4c6558
mov ecx, edi
mov dword [eax], 0x4c5b0c
mov dword [esi], 0x4c5b90
call fcn.00440a90
push esi
push 0x4c533c
mov ecx, edi
call fcn.00440a90
push esi
push 0x4c6f74
mov ecx, edi
call fcn.00440a90
mov eax, dword [edi + 0x30]
lea ecx, [edi + 0x30]
call dword [eax + 0x20]
mov dword [edi], 0x4c5bac
mov eax, edi
mov dword [edi + 0xc], 0x4c5b64
mov dword [ebx], 0x4c5b84
mov dword [esi], 0x4c5c04
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43c150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc2a0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4fb00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x30]
lea ecx, [esi + 0x30]
mov dword [esi], 0x4c5234
mov dword [esi + 0xc], 0x4c52bc
mov dword [esi + 0x10], 0x4c52dc
mov dword [esi + 0xcc], 0x4c52e8
mov dword [esi + 0xd0], 0x4c5310
mov dword [esi + 0xd4], 0x4c532c
call dword [eax + 0x24]
lea ecx, [esi + 0x18]
mov dword [esi + 0xcc], 0x4c520c
mov dword [esi], 0x4c50a4
mov dword [esi + 0xc], 0x4c512c
mov dword [esi + 0x10], 0x4c514c
call fcn.0043c200
lea ecx, [esi + 4]
mov dword [esi], 0x4c501c
call fcn.00410840
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43f880
Capabilities:
Contain obfuscated stackstrings

Disassembly:
faddp st(6)
inc ebp
rol esi, cl
inc ebp
stc
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0043f501
push eax
push esi
push dword [ebp + 8]
call fcn.0043f4b6
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0043f501
push eax
push esi
push dword [ebp + 8]
call fcn.0043f4b6
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0043f501
push eax
push esi
push dword [ebp + 8]
call fcn.0043f4b6
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0043f4f1
cwde
adc ebx, dword [edi]
inc ebx
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0043f4f1
sbb al, 0x2e
cwde
fisttp dword [ebp - 0x837b]
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x441f90
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
mov eax, dword [0x4fb00c]
xor eax, esp
mov dword [esp + 8], eax
push ebx
mov ebx, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
test ebx, ebx
jne 0x441fcd
push ebx
push 0xb
push str.Daemon::FileHelper::GetFileVersion
call fcn.0046aee0
add esp, 0xc
pop edi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00437174
add esp, 0xc
ret
push ebp
push esi
xor esi, esi
cmp dword [edi + 0x14], 8
jb 0x441fd9
mov edi, dword [edi]
push 0
push edi
call sub.api_ms_win_core_version_l1_1_1.dll_GetFileVersionInfoSizeW
mov dword [esp + 0x10], eax
test eax, eax
je 0x442104
push eax
call fcn.0047cdda
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4420f4
push ebp
push dword [esp + 0x14]
push 0
push edi
call sub.api_ms_win_core_version_l1_1_1.dll_GetFileVersionInfoW
test eax, eax
je 0x4420bc
lea eax, [esp + 0x14]
mov dword [esp + 0x10], esi
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], esi
push eax
push 0x4e987c
push ebp
call sub.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW
test eax, eax
je 0x4420b5
mov eax, dword [esp + 0x14]
cmp eax, 0x34
jne 0x442080
mov ecx, dword [esp + 0x10]
push ebp
movzx eax, word [ecx + 0xa]
mov word [ebx], ax
movzx eax, word [ecx + 8]
mov word [ebx + 2], ax
movzx eax, word [ecx + 0xe]
mov word [ebx + 4], ax
movzx eax, word [ecx + 0xc]
mov word [ebx + 6], ax
call fcn.0047cdd5
add esp, 4
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00437174
add esp, 0xc
ret
push eax
push str.Data_size___u__is_too_small_to_be_a_valid_version
push 0xc
push str.Daemon::FileHelper::GetFileVersion
call fcn.0046aee0
add esp, 0x10
mov esi, eax
push ebp
call fcn.0047cdd5
add esp, 4
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00437174
add esp, 0xc
ret
push 0x4c81cc
jmp 0x4420c1
push 0x4c81dc
call sub.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError
push eax
push str.Daemon::FileHelper::GetFileVersion
call fcn.0046ae30
add esp, 0xc
mov esi, eax
push ebp
call fcn.0047cdd5
add esp, 4
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00437174
add esp, 0xc
ret
push 0
push 1
push str.Daemon::FileHelper::GetFileVersion
call fcn.0046aee0
jmp 0x442119
push 0x4c81f0
call sub.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError
push eax
push str.Daemon::FileHelper::GetFileVersion
call fcn.0046ae30
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov esi, eax
pop esi
pop ebp
pop edi
pop ebx
xor ecx, esp
call fcn.00437174
add esp, 0xc
ret
Function at 0x442750
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x260
mov eax, dword [0x4fb00c]
xor eax, esp
mov dword [esp + 0x25c], eax
mov eax, dword [esp + 0x264]
lea edx, [esp + 0x54]
push esi
mov esi, dword [esp + 0x26c]
sub edx, eax
nop dword [eax]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x442780
lea eax, [esp + 4]
mov dword [esp + 0x14], 0x44
push eax
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
push esi
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x78]
movlpd qword [esp + 0x38], xmm0
push eax
push 0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
movups xmmword [esp + 0x2c], xmm0
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
test eax, eax
je 0x442820
push dword [esp + 4]
mov esi, dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
call esi
push dword [esp + 8]
call esi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.00437174
add esp, 0x260
ret
push 0
push 2
push str.DaemonControl::CreateAsyncProcess
call fcn.0046aee0
mov ecx, dword [esp + 0x26c]
add esp, 0xc
pop esi
xor ecx, esp
call fcn.00437174
add esp, 0x260
ret

Function at 0x4518f9
Capabilities:
Set environment variable

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

Function at 0x451904
Capabilities:
Set environment variable

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

Function at 0x4572da
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00457157
Function at 0x4673b0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4fb00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 8], 0
je 0x467440
push edi
push 1
push 0
push dword [esi + 4]
call fcn.00491602
push dword [esi + 4]
call fcn.00456e91
mov edi, dword [esi]
lea eax, [ebp - 0x34]
push eax
push dword [edi]
call fcn.00491f91
add esp, 0x18
test eax, eax
jne 0x467409
mov eax, dword [ebp - 0x2e]
and eax, 0xf000
cmp eax, 0x4000
jne 0x467409
mov ecx, 1
jmp 0x46740b
xor ecx, ecx
mov eax, dword [edi]
pop edi
push eax
test ecx, ecx
jne 0x467436
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
test eax, eax
jne 0x46743c
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov byte [esi + 8], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00437174
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [esi + 8], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00437174
mov esp, ebp
pop ebp
ret

Function at 0x467580
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov esi, dword [esi]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x467590
sub esi, ecx
sar esi, 1
lea esi, [esi*2 + 2]
push esi
call fcn.00463d90
mov edi, eax
mov eax, dword [ebp + 8]
push esi
push dword [eax]
push edi
call fcn.00443ae0
movzx ecx, word [edi]
add esp, 0x10
mov edx, dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
mov esi, edi
test cx, cx
je 0x46761d
nop dword [eax]
cmp cx, 0x5c
je 0x4675dc
cmp cx, 0x2f
jne 0x46760f
cmp esi, edi
je 0x46760f
cmp word [esi - 2], 0x3a
je 0x46760f
xor eax, eax
push eax
push edi
mov word [esi], ax
call edx
test eax, eax
jne 0x467601
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
jne 0x467649
mov edx, dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
mov eax, 0x5c
mov word [esi], ax
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x4675d0
push 0
push edi
call edx
test eax, eax
jne 0x467639
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
mov ecx, 1
cmovne ebx, ecx
push edi
call fcn.00463d80
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
push edi
mov ebx, 1
call fcn.00463d80
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x467ad0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4fb00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x4d11e8
push dword [esi]
mov dword [ebp - 0x3c], edi
call fcn.00489019
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x467bb2
lea eax, [ebp - 0x34]
push eax
push dword [esi]
call fcn.00491f91
add esp, 8
test eax, eax
jne 0x467bc5
mov eax, dword [ebp - 0x2e]
and eax, 0xf000
cmp eax, 0x8000
jne 0x467bc5
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x467bc5
cmp esi, 0x8000000
ja 0x467ba9
lea eax, [esi + 1]
push eax
call fcn.00463d90
add esp, 4
mov dword [ebp - 0x38], eax
test eax, eax
je 0x467ba9
xor edi, edi
test esi, esi
je 0x467b7f
nop word [eax + eax]
push ebx
push esi
add eax, edi
push 1
push eax
call fcn.004496a9
add esp, 0x10
test eax, eax
je 0x467b7c
add edi, eax
sub esi, eax
mov eax, dword [ebp - 0x38]
jne 0x467b60
mov eax, dword [ebp - 0x38]
push ebx
mov byte [edi + eax], 0
call fcn.00448b88
mov eax, dword [ebp - 0x3c]
add esp, 4
test eax, eax
je 0x467b95
mov dword [eax], edi
mov eax, dword [ebp - 0x38]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00437174
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00448b88
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00437174
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00448b88
push 1
call fcn.00463d90
add esp, 8
mov byte [eax], 0
test edi, edi
je 0x467be2
mov dword [edi], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00437174
mov esp, ebp
pop ebp
ret

Function at 0x467c00
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4fb00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
push dword [esi]
call fcn.00491f91
add esp, 8
test eax, eax
jne 0x467c3c
mov eax, dword [ebp - 0x2e]
and eax, 0xf000
cmp eax, 0x4000
jne 0x467c3c
mov eax, 1
jmp 0x467c3e
xor eax, eax
mov ecx, dword [esi]
pop esi
push ecx
test eax, eax
jne 0x467c6e
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
test eax, eax
jne 0x467c78
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
setne cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00437174
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x467c88
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00437174
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00437174
mov esp, ebp
pop ebp
ret