joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433470
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5cdde4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ebx
imul esi, dword [ebp + 0x10]
mov dword [ebp - 8], eax
cmp byte [edi], 0
je 0x4334b8
push 0
lea ecx, [ebp - 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4334b3
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x4334e0
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x4334c9
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp - 8]
call fcn.0053c460
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
mov ecx, dword [ebp - 4]
xor edx, edx
pop edi
div ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00523ae4
mov esp, ebp
pop ebp
ret

Function at 0x433500
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x43350e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x4335cd
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56e950]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56e950]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56e950]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56e950]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56e950]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56e950]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56e950]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56e950]
sub edi, 1
jne 0x433526
pop edi
test esi, esi
je 0x4335eb
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56e950]
sub esi, 1
jne 0x4335d1
not eax
pop esi
pop ebp
ret
Function at 0x434510
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5cdde4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
mov edi, dword [ebp + 8]
cmp byte [edi], 0
je 0x43455a
cmp byte [edi + 1], 0
je 0x434548
push 2
push 0
push 0
push dword [edi + 4]
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x434560
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523ae4
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], eax
cmp byte [edi], 0
push ebx
je 0x434583
cmp byte [edi + 1], 0
je 0x43457c
push 1
push 0
push 0
push dword [edi + 4]
call ecx
sub eax, dword [edi + 0xc]
jmp 0x434586
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x434595
mov eax, dword [edi + 0x1c]
mov ebx, 0xffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
cmp eax, ebx
jae 0x43459a
mov ebx, eax
mov dword [ebp - 0x18], eax
push esi
push 0x404
call fcn.00548246
mov esi, eax
add esp, 4
test esi, esi
jne 0x4345c2
pop esi
pop ebx
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523ae4
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0xc], 0xffffffff
cmp ebx, eax
jbe 0x4346ba
mov edx, dword [ebp - 0x10]
add eax, 0x400
cmp eax, ebx
mov ecx, eax
mov eax, 0x404
cmova ecx, ebx
sub edx, ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 0x404
mov dword [ebp - 0x1c], edx
mov ebx, ecx
cmova ebx, eax
cmp byte [edi], 0
je 0x434621
cmp byte [edi + 1], 0
je 0x4346ba
mov eax, dword [edi + 0xc]
push 0
push 0
add eax, edx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x434624
mov dword [edi + 0x1c], edx
cmp byte [edi], 0
mov ecx, ebx
mov dword [ebp - 0x14], ebx
je 0x43464c
push 0
lea eax, [ebp - 8]
push eax
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x434647
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x434675
mov edx, dword [edi + 0x1c]
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x18]
jbe 0x43465f
mov ecx, dword [edi + 0x18]
sub ecx, edx
mov dword [ebp - 0x14], ecx
push ecx
mov ecx, dword [edi + 0x14]
add ecx, edx
push ecx
push esi
call fcn.0053c460
mov eax, dword [ebp - 0x14]
add esp, 0xc
add dword [edi + 0x1c], eax
xor edx, edx
div ebx
cmp eax, 1
jne 0x4346ba
lea eax, [ebx - 3]
test eax, eax
js 0x4346a5
dec eax
cmp byte [eax + esi], 0x50
jne 0x4346a1
cmp byte [eax + esi + 1], 0x4b
jne 0x4346a1
cmp byte [eax + esi + 2], 5
jne 0x4346a1
cmp byte [eax + esi + 3], 6
je 0x4346d7
test eax, eax
jns 0x434685
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4346ba
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x18]
cmp eax, ebx
jb 0x4345d6
push esi
call fcn.00548241
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0xc]
xor ecx, ebp
pop esi
pop ebx
pop edi
call fcn.00523ae4
mov esp, ebp
pop ebp
ret
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
jmp 0x4346a8
Function at 0x4346e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5cdde4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0xc], ebx
mov edi, 1
cmp byte [esi], 0
je 0x434727
push 0
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 5]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x434722
mov byte [esi + 8], 1
mov edi, dword [ebp - 0xc]
jmp 0x434754
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x434738
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp - 5]
push eax
call fcn.0053c460
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 0xc]
mov dword [esi + 0x1c], eax
cmp edi, 1
jne 0x434772
movzx eax, byte [ebp - 5]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523ae4
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x43475f
cmp byte [esi + 8], 0
je 0x43475f
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00523ae4
mov esp, ebp
pop ebp
ret

Function at 0x4348d0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov dl, byte [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 8]
mov ecx, esi
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
mov ecx, dword [edi]
shr eax, 8
xor dl, al
movsx eax, dl
xor eax, ecx
shr ecx, 8
movzx eax, al
mov eax, dword [eax*4 + 0x56e950]
xor eax, ecx
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, esi
shr esi, 8
movzx ecx, al
mov al, dl
xor esi, dword [ecx*4 + 0x56e950]
mov dword [edi + 8], esi
pop edi
pop esi
pop ebp
ret

Function at 0x434bd0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x434be1
mov eax, dword [esi]
jmp 0x434be3
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x434bf4
xor al, al
pop esi
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x434bfe
mov eax, dword [esi]
jmp 0x434c00
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x434c61
cmp byte [ebp + 0xc], al
je 0x434c61
cmp dword [esi + 0x14], 8
jb 0x434c1a
mov eax, dword [esi]
jmp 0x434c1c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x434c3e
and eax, 0xfffffffe
cmp dword [esi + 0x14], 8
jb 0x434c34
mov ecx, dword [esi]
jmp 0x434c36
mov ecx, esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x14], 8
jb 0x434c48
mov eax, dword [esi]
jmp 0x434c4a
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x434c61
push esi
call fcn.00435a10
add esp, 4
pop esi
pop ebp
ret
mov al, 1
pop esi
pop ebp
ret
Function at 0x434c70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x434c93
cmp byte [ebp + 0xc], 0
je 0x434c8f
shr eax, 4
and eax, 1
pop ebp
ret
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x434d80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x5cdde4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], esi
cmp dword [eax + 0x10], esi
je 0x434de8
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x43c], eax
cmp eax, 0xffffffff
je 0x434de8
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x438], 0x22c
push ecx
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x434dfa
push dword [ebp - 0x43c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523ae4
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x43c]
call sub.KERNEL32.dll_Process32NextW
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x434f1c
nop dword [eax + eax]
mov ecx, dword [ebp - 0x444]
lea eax, [ebp - 0x414]
push eax
call fcn.00436390
push eax
call fcn.00549567
add esp, 8
test eax, eax
jne 0x434efa
cmp dword [ebx + 0x10], eax
je 0x434f16
push dword [ebp - 0x430]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x434ef4
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0053c9e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x434ef4
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x45c]
call fcn.00421e50
cmp dword [ebx + 0x14], 8
mov ecx, eax
jb 0x434eb3
mov eax, dword [ebx]
jmp 0x434eb5
mov eax, ebx
push dword [ebx + 0x10]
push 0
push eax
call fcn.00426560
lea ecx, [ebp - 0x45c]
mov esi, eax
call fcn.004226e0
cmp esi, 0xffffffff
je 0x434eee
mov esi, dword [ebp - 0x430]
mov dword [ebp - 0x440], esi
cmp edi, 0xffffffff
je 0x434ef4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x434efa
mov esi, dword [ebp - 0x440]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x43c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x434e20
jmp 0x434f1c
mov esi, dword [ebp - 0x430]
push dword [ebp - 0x43c]
call edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00523ae4
mov esp, ebp
pop ebp
ret
Function at 0x4351a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4351ae
xor al, al
pop ebp
ret
push esi
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4351cd
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4351d2
xor al, al
pop esi
pop ebp
ret
cmp esi, 0xffffffff
je 0x4351de
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ebp
ret

Function at 0x4351f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568328
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5cdde4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp dword [esi + 0x10], 0
jne 0x43522e
xor al, al
jmp 0x4352ea
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push ebx
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.00434f40
mov edi, dword [ebp - 0x1c]
add esp, 0xc
test al, al
je 0x4352b5
mov ebx, dword [ebp - 0x18]
mov esi, edi
cmp edi, ebx
je 0x4352b1
mov eax, dword [esi]
test eax, eax
je 0x4352a7
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4352a7
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4352a7
cmp edi, 0xffffffff
je 0x4352a7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, ebx
jne 0x435277
mov edi, dword [ebp - 0x1c]
mov bl, 1
jmp 0x4352d2
push ebx
push esi
call fcn.00434d80
add esp, 8
test eax, eax
jne 0x4352c7
xor bl, bl
jmp 0x4352d2
push eax
call fcn.004351a0
add esp, 4
mov bl, al
test edi, edi
je 0x4352e8
mov ecx, dword [ebp - 0x14]
sub ecx, edi
sar ecx, 2
push ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.004365b0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523ae4
mov esp, ebp
pop ebp
ret
Function at 0x435960
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x14], 0x10
jb 0x435972
mov eax, dword [esi]
jmp 0x435974
mov eax, esi
push 0x56f76c
push eax
call fcn.00548541
mov edi, eax
add esp, 8
test edi, edi
jne 0x43598e
pop edi
xor al, al
pop esi
pop ebp
ret
push esi
call fcn.00434ca0
add esp, 4
test edx, edx
jl 0x4359a2
jg 0x435988
cmp eax, 0xffffffff
ja 0x435988
mov esi, dword [ebp + 0xc]
mov byte [ebp + 0xb], 1
mov ecx, dword [esi + 0x10]
cmp eax, ecx
ja 0x4359c9
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 0x10
jb 0x4359c1
mov ecx, dword [esi]
mov byte [ecx + eax], 0
jmp 0x4359d5
mov ecx, esi
mov byte [ecx + eax], 0
jmp 0x4359d5
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.0042efb0
push ebx
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x4359f8
cmp dword [esi + 0x14], 0x10
jb 0x4359e5
mov esi, dword [esi]
push edi
push ebx
push 1
push esi
call fcn.0054a15a
add esp, 0x10
cmp eax, ebx
sete byte [ebp + 0xb]
push edi
call fcn.005485ce
mov al, byte [ebp + 0xb]
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x435a10
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568411
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x5cdde4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.0053c9e0
xor eax, eax
mov dword [ebp - 0x234], 7
add esp, 0xc
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], eax
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x248]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x435abd
mov eax, dword [ecx]
jmp 0x435abf
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push edi
mov word [eax], dx
call fcn.00425260
call fcn.00435d00
add esp, 0x20
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
lea esi, [ebp - 0x248]
cmovae eax, dword [ebp - 0x230]
cmp dword [ebp - 0x234], 8
push eax
cmovae esi, dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
push 0x56f754
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00436bb0
xor eax, eax
mov dword [ebp - 0x24c], 7
add esp, 0x18
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
cmp word [ebp - 0x218], ax
jne 0x435b49
xor ecx, ecx
jmp 0x435b61
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435b52
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
call fcn.00425380
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 2
push eax
push edi
call fcn.00435c40
mov eax, dword [ebp - 0x24c]
add esp, 8
cmp eax, 8
jb 0x435ba6
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.004256a0
push 4
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
mov eax, dword [ebp - 0x21c]
setne bl
cmp eax, 8
jb 0x435bda
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004256a0
mov ecx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp ecx, 8
jb 0x435c15
inc ecx
push ecx
push dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call fcn.004256a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523ae4
mov esp, ebp
pop ebp
ret
Function at 0x435c40
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568448
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
mov eax, dword [0x5cdde4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
push eax
call fcn.00436220
mov esi, eax
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
call fcn.00436220
add esp, 0x10
cmp dword [esi + 0x14], 0x10
jb 0x435c93
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x435c9b
mov eax, dword [eax]
push esi
push eax
call fcn.0054a20a
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x10]
sete bl
cmp eax, 0x10
jb 0x435cbf
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.00425650
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
cmp ecx, 0x10
jb 0x435ce6
inc ecx
push ecx
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
call fcn.00425650
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43a840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5cdde4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x5ca089], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
je 0x43a91e
cmp byte [0x5dcaa7], 0
je 0x43a91e
push dword [ebp + 8]
call fcn.0043d0e0
mov esi, eax
add esp, 4
test esi, esi
je 0x43a91e
push ebx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx eax, word [ebp - 0x14]
push 2
mov dword [ebp - 0x20], eax
call fcn.00548324
push eax
call fcn.0054d9de
add esp, 8
sub esi, 1
je 0x43a8d2
sub esi, 1
je 0x43a8cb
sub esi, 1
je 0x43a8c4
xor eax, eax
jmp 0x43a8d7
mov eax, 6
jmp 0x43a8d7
mov eax, 2
jmp 0x43a8d7
mov eax, 4
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
or eax, 8
push eax
push ebx
call esi
push 2
call fcn.00548324
push eax
push 1
push dword [ebp + 0x10]
push edi
call fcn.005490bd
push 2
call fcn.00548324
push eax
call fcn.0054d9de
add esp, 0x1c
push dword [ebp - 0x20]
push ebx
call esi
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523ae4
mov esp, ebp
pop ebp
ret
push 2
call fcn.00548324
push eax
push 1
push dword [ebp + 0x10]
push edi
call fcn.005490bd
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop edi
pop esi
call fcn.00523ae4
mov esp, ebp
pop ebp
ret
Function at 0x43ae90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5688f1
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x5cdde4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5e4124]
test eax, eax
jne 0x43aff6
push 0xc
call fcn.00523613
add esp, 4
test eax, eax
je 0x43aeec
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x43aeee
xor eax, eax
mov ecx, dword [0x5ca06c]
mov dword [0x5e4124], eax
cmp dword [ecx + 0x10], 0
je 0x43af4e
cmp dword [ecx + 0x14], 0x10
jb 0x43af07
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.00421dc0
mov ecx, dword [0x5e4124]
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 4], 0
call fcn.0043eb80
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x43aff1
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
jmp 0x43afec
push eax
call fcn.0043b280
add esp, 4
lea eax, [ebp - 0x114]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x43afaa
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00421dc0
mov ecx, dword [0x5e4124]
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 4], 1
call fcn.0043eb80
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0xffffffff
call fcn.00429290
push 0x571f28
lea ecx, [ebp - 0x144]
call fcn.00421dc0
mov ecx, dword [0x5e4124]
lea eax, [ebp - 0x144]
push eax
mov dword [ebp - 4], 2
call fcn.0043eb80
mov eax, dword [ebp - 0x130]
cmp eax, 0x10
jb 0x43aff1
inc eax
lea ecx, [ebp - 0x144]
push eax
push dword [ebp - 0x144]
call fcn.00425650
mov eax, dword [0x5e4124]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523ae4
mov esp, ebp
pop ebp
ret