joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a900
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x4b5c98
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
mov eax, dword [0x4e7950]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x20], ebx
cmp esi, ebx
je 0x43aaff
cmp dword [esp + 0x34], ebx
je 0x43aaff
push ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x14]
push eax
push 0x4c2690
push 1
push ebx
push 0x4c26a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x43aac2
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
cmp eax, ebx
jl 0x43aac2
push esi
lea ecx, [esp + 0x14]
call fcn.00401e40
push 0x5c
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebx
call fcn.00402090
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.00402200
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.00401ec0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.00408680
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
lea ecx, [esp + 0x10]
call fcn.004077a0
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esi + 0x24]
push edx
call eax
cmp eax, ebx
jge 0x43a9f3
mov dword [esp + 0x2c], 0xffffffff
jmp 0x43aab9
or ebp, 0xffffffff
cmp edi, ebx
je 0x43aa64
lea ecx, [esp + 0x18]
call fcn.00401e00
push 0x104
push 0x104
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 2
call fcn.00402570
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebp
lea ecx, [esp + 0x1c]
call fcn.00407050
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov esi, dword [ecx]
push edx
lea ecx, [esp + 0x1c]
call fcn.004077a0
mov ecx, dword [esi + 0x44]
push eax
mov eax, dword [esp + 0x1c]
push eax
call ecx
cmp eax, ebx
lea ecx, [esp + 0x18]
jge 0x43aa5b
call fcn.00408680
jmp 0x43aab5
mov byte [esp + 0x2c], bl
call fcn.00408680
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
je 0x43aa7d
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
cmp eax, ebx
jl 0x43aab5
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x4c26e0
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x43aab5
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
cmp eax, ebx
jl 0x43aab5
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], ebp
lea ecx, [esp + 0x10]
call fcn.00408680
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x43aad2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43aae2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x43ab60
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4b4399
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4e7950]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov ecx, esi
mov dword [esp + 0xc], 0
call fcn.00401e00
mov ecx, dword [esp + 0x24]
lea eax, [esp + 8]
push eax
push ecx
mov dword [esp + 0x20], 0
push 0
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x43abf1
push 0x104
mov ecx, esi
call fcn.00402570
mov edx, dword [esp + 8]
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00407050
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4b4358
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4e7950]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0
call fcn.0041d8d0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push 0xffffffffffffffff
mov esi, ecx
lea ecx, [esp + 0x1c]
call fcn.00407050
lea ecx, [esp + 0x18]
call fcn.00408680
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret

Function at 0x43ae20
Capabilities:
Create thread
Resume thread

Disassembly:
push edi
mov edi, eax
mov eax, dword [edi]
test eax, eax
jne 0x43ae2d
xor al, al
pop edi
ret
cmp dword [eax + 4], 0
je 0x43ae29
push esi
lea ecx, [eax + 0xc]
push ecx
push 4
push eax
push 0x43ace0
push 0
push 0
call fcn.0048295f
mov edx, dword [edi]
mov dword [edx + 0x10], eax
mov eax, dword [edi]
add esp, 0x18
cmp dword [eax + 0x10], 0
jne 0x43ae82
or esi, 0xffffffff
mov dword [eax + 0x10], esi
mov edi, dword [edi]
mov eax, dword [edi + 0x10]
cmp eax, esi
je 0x43ae72
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x10], esi
pop esi
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
xor al, al
pop edi
ret
mov byte [eax + 8], 1
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x43aea4
mov esi, dword [edi]
call fcn.0043ad70
mov edx, dword [edi]
mov byte [edx + 8], 0
pop esi
mov al, 1
pop edi
ret
Function at 0x43c000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b6f28
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4e7950]
xor eax, esp
mov dword [esp + 0x58], eax
push esi
push edi
mov eax, dword [0x4e7950]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], esi
call fcn.0042c6f0
lea eax, [edi + 0x58]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], esi
call fcn.0042d800
lea ecx, [esp + 0x48]
mov dword [esp + 0x70], 1
call fcn.0042c6f0
lea ecx, [edi + 4]
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 2
call fcn.0042d800
mov byte [esp + 0x70], 3
cmp dword [esp + 0x40], esi
je 0x43c091
cmp dword [esp + 0x5c], esi
je 0x43c091
push 0x5c
lea esi, [esp + 0x30]
call fcn.0043b560
lea edx, [esp + 0x2c]
lea ecx, [edi + 0x74]
push edx
lea edi, [esp + 0x14]
call fcn.0043b680
lea ecx, [esp + 0x48]
push ecx
mov edi, ebx
mov ecx, eax
mov byte [esp + 0x74], 4
call fcn.0043b680
lea ecx, [esp + 0x10]
call fcn.0042bdc0
lea ecx, [esp + 0x48]
call fcn.0042bdc0
lea ecx, [esp + 0x2c]
call fcn.0042bdc0
mov eax, ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00480723
add esp, 0x68
ret

Function at 0x43c420
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b863c
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4e7950]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea eax, [esi + 8]
push eax
mov dword [esi], vtable.CZipArchive.0
call fcn.0043ea30
lea eax, [esi + 0x30]
xor edi, edi
push eax
mov dword [esp + 0x18], edi
call fcn.0044c170
mov dword [esi + 0xc0], vtable.CZipCentralDir.0
mov dword [esi + 0xe4], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd8], edi
lea ecx, [esi + 0xf4]
call fcn.0042c6f0
lea ecx, [esi + 0x110]
call fcn.0042c6f0
mov eax, vtable.CZipAutoBuffer.0
mov dword [esi + 0x130], eax
mov dword [esi + 0x138], edi
mov dword [esi + 0x134], edi
mov dword [esi + 0x14c], eax
mov dword [esi + 0x154], edi
mov dword [esi + 0x150], edi
lea ecx, [esi + 0x15c]
push ecx
mov byte [esp + 0x18], 6
call fcn.0043ea30
mov eax, esi
call fcn.0043c540
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x43cc90
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b94f9
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
mov eax, dword [0x4e7950]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov esi, dword [eax + 0xc4]
mov ecx, esi
call fcn.0044fcf0
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x70]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x74]
push eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ecx
call fcn.004854f1
add esp, 4
cmp eax, 0xffffffff
jne 0x43cd0d
mov ecx, edi
call fcn.00447360
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.0044ea90
add esp, 8
test al, al
je 0x43cd8d
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call edx
mov dword [esp + 0x70], ebx
mov ecx, eax
mov dword [esp + 0x10], 1
call fcn.00402730
mov ebx, eax
mov eax, esi
call fcn.00450800
push 1
mov ecx, ebx
lea esi, [esp + 0x30]
mov dword [esp + 0x18], eax
call fcn.0044b320
add esp, 4
mov ecx, eax
call fcn.00402730
mov ecx, dword [esp + 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
mov ecx, esi
setne bl
call fcn.0042bdc0
test bl, bl
mov ebx, 1
jne 0x43cd92
mov ebx, 0xfffffffe
mov dword [esp + 0x70], 0xffffffff
test byte [esp + 0x10], 1
je 0x43cdaa
lea ecx, [esp + 0x48]
call fcn.0042bdc0
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov esi, dword [ebp + 8]
push 0
call fcn.0043cde0
cmp eax, 1
jne 0x43cdc4
mov eax, ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x441ab0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x441ab7
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x441b94
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c8718]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x4c8718]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x4c8718]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c8718]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c8718]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c8718]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c8718]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c8718]
inc ecx
sub edx, 8
sub esi, 1
jne 0x441ad0
pop edi
test edx, edx
je 0x441bbb
jmp 0x441ba0
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4c8718]
inc ecx
sub edx, 1
jne 0x441ba0
not eax
pop esi
ret

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

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4c8718]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c8718]
mov dword [edx + 8], ecx
ret

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

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x4c8718]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x4c8718]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret

Function at 0x442370
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ebx
imul esi, dword [esp + 8]
cmp byte [edi], 0
je 0x4423a2
mov ecx, dword [edi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x442398
mov byte [edi + 8], 1
mov eax, dword [esp + 8]
xor edx, edx
div ebx
pop esi
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
push ebp
lea ebp, [ecx + esi]
cmp ebp, eax
pop ebp
jbe 0x4423b5
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
push esi
add eax, ecx
push eax
push edx
call fcn.0048db60
add dword [edi + 0x1c], esi
mov eax, esi
add esp, 0xc
xor edx, edx
div ebx
pop esi
ret
Function at 0x4423d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x442403
mov edx, dword [esi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push edi
lea ecx, [esp + 0x13]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4423fd
mov byte [esi + 8], 1
mov edi, dword [esp + 8]
jmp 0x44242f
mov eax, dword [esi + 0x18]
push ebx
mov ebx, dword [esi + 0x1c]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x442415
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x14]
push edi
add edx, ebx
push edx
lea eax, [esp + 0x13]
push eax
call fcn.0048db60
add esp, 0xc
add ebx, edi
mov dword [esi + 0x1c], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x442446
movzx ecx, byte [esp + 3]
mov edx, dword [esp + 0xc]
mov dword [edx], ecx
xor eax, eax
add esp, 8
ret
cmp byte [esi], 0
je 0x442440
cmp byte [esi + 8], 0
je 0x442440
or eax, 0xffffffff
add esp, 8
ret
Function at 0x442530
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
cmp byte [esi], 0
je 0x442575
cmp byte [esi + 1], 0
je 0x44257d
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebp
je 0x442592
cmp byte [esi + 1], 0
je 0x442584
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, eax
sub ebp, dword [esi + 0xc]
mov dword [esp + 4], ebp
jmp 0x44259b
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
jmp 0x44254e
or eax, 0xffffffff
add esp, 0x18
ret
mov dword [esp + 4], 0
mov ebp, dword [esp + 4]
jmp 0x44259b
mov eax, dword [esi + 0x1c]
mov dword [esp + 4], eax
mov ebp, eax
push edi
mov edi, 0xffff
mov dword [esp + 0xc], edi
cmp ebp, edi
jae 0x4425af
mov dword [esp + 0xc], ebp
mov edi, ebp
push ebx
push 0x404
call fcn.0048133c
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4425cd
pop ebx
pop edi
or eax, 0xffffffff
pop ebp
add esp, 0x18
ret
mov eax, 4
mov dword [esp + 0x18], 0xffffffff
cmp edi, eax
jbe 0x4426e1
jmp 0x4425f0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0xc]
add eax, 0x400
mov dword [esp + 0x14], edi
cmp eax, edi
ja 0x442601
mov dword [esp + 0x14], eax
mov eax, ebp
sub eax, dword [esp + 0x14]
sub ebp, eax
mov dword [esp + 0x20], eax
cmp ebp, 0x404
jbe 0x44261a
mov ebp, 0x404
cmp byte [esi], 0
je 0x44263f
cmp byte [esi + 1], 0
je 0x4426e1
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x442642
mov dword [esi + 0x1c], eax
cmp byte [esi], 0
mov edi, ebp
je 0x44266a
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x20]
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x442664
mov byte [esi + 8], 1
mov eax, dword [esp + 0x1c]
jmp 0x442690
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ebp]
cmp edx, ecx
jbe 0x44267b
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x14]
push edi
add ecx, eax
push ecx
push ebx
call fcn.0048db60
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div ebp
cmp eax, 1
jne 0x4426e1
lea eax, [ebp - 3]
test eax, eax
jl 0x4426cc
dec eax
cmp byte [eax + ebx], 0x50
jne 0x4426bc
cmp byte [eax + ebx + 1], 0x4b
jne 0x4426bc
cmp byte [eax + ebx + 2], 5
jne 0x4426bc
cmp byte [eax + ebx + 3], 6
je 0x4426c2
test eax, eax
jge 0x4426a0
jmp 0x4426cc
mov edx, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
jne 0x4426e1
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jb 0x4425e4
push ebx
call fcn.0048125f
mov eax, dword [esp + 0x1c]
add esp, 4
pop ebx
pop edi
pop ebp
add esp, 0x18
ret
Function at 0x443010
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x443028
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0x44301d
cmp dword [edi + 0x7c], ebx
je 0x443037
call fcn.00443400
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00442d80
add esp, 0xc
test eax, eax
je 0x44305d
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push ebp
push 0x84
call fcn.0048133c
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x44309f
push 0x4000
call fcn.0048133c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [ebp], eax
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x48], edx
mov dword [ebp + 0x4c], ebx
cmp eax, ebx
jne 0x4430ab
push ebp
call fcn.0048125f
add esp, 4
pop ebp
pop edi
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [ebp + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [ebp + 0x54], ecx
mov dword [ebp + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [ebp + 0x64], edx
mov ecx, dword [edi]
mov dword [ebp + 0x60], ecx
mov edx, dword [edi + 0xc]
push esi
mov dword [ebp + 0x68], edx
mov dword [ebp + 0x18], ebx
cmp eax, ebx
jne 0x4430f4
lea esi, [ebp + 4]
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
call fcn.00441e80
test eax, eax
jne 0x4430f4
mov dword [ebp + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [ebp + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [ebp + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [ebp + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x44311e
mov cl, byte [edi + 0x39]
mov byte [ebp + 0x80], cl
jmp 0x443127
mov dl, byte [edi + 0x3f]
mov byte [ebp + 0x80], dl
movzx eax, byte [ebp + 0x6c]
mov esi, dword [esp + 0x20]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [ebp + 0x70]
mov dword [ebp + 0x7c], eax
mov dword [edx], 0x12345678
mov dword [ebp + 0x74], 0x23456789
mov dword [ebp + 0x78], 0x34567890
cmp esi, ebx
je 0x443164
mov cl, byte [esi]
cmp cl, bl
je 0x443164
call fcn.00441bc0
add esi, 1
jne 0x443154
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 8], ebx
pop esi
mov dword [edi + 0x7c], ebp
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x443560
Capabilities:
Get common file path

Disassembly:
cmp dword [esi], 0
jne 0x4435fe
cmp dword [esi + 4], 0xffffffff
jne 0x4435fe
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
jmp 0x443590
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443590
sub eax, edx
sar eax, 1
movzx eax, word [esi + eax*2 + 0x242]
cmp ax, 0x5c
je 0x4435c9
cmp ax, 0x2f
je 0x4435c9
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4435b6
mov eax, dword [0x4d15c8]
mov dword [edi], eax
mov eax, dword [esp + 8]
lea ecx, [esp + 8]
push ecx
call fcn.004422d0
add esp, 4
pop edi
test eax, eax
jne 0x4435e6
mov eax, dword [esp + 4]
ret 4
call fcn.00442700
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
ret 4
mov eax, 0x1000000
ret 4

Function at 0x443c60
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x4e7950]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
mov ebx, dword [esp + 0x420]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
mov esi, dword [esp + 0x424]
test esi, esi
je 0x443ca0
push esi
call ebp
cmp eax, 0xffffffff
jne 0x443ca0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x443d86
mov ecx, ebx
mov edx, ebx
movzx eax, ax
cmp ax, 0x2f
je 0x443cbf
cmp ax, 0x5c
jne 0x443cc1
mov ecx, edx
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x443cb3
push edi
cmp ecx, ebx
je 0x443d04
sub ecx, ebx
sar ecx, 1
add ecx, ecx
mov edi, ecx
push edi
lea eax, [esp + 0x21c]
push ebx
push eax
call fcn.0048db60
lea edx, [esp + 0x224]
push edx
xor ecx, ecx
push esi
mov word [esp + edi + 0x22c], cx
call fcn.00443c60
add esp, 0x14
xor eax, eax
mov word [esp + 0x10], ax
test esi, esi
je 0x443d2f
lea edx, [esp + 0x10]
mov eax, esi
sub edx, esi
jmp 0x443d20
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x443d20
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443d33
lea edi, [esp + 0x10]
sub eax, edx
add edi, 0xfffffffe
jmp 0x443d50
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x443d50
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebp
pop edi
cmp eax, 0xffffffff
jne 0x443d86
push 0
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x41c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00480723
add esp, 0x414
ret