joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438090
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x50b407
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x268]
mov esi, ecx
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x4380e1
mov eax, dword [esi + 8]
push 2
add eax, 4
push 0x5213c4
push eax
call fcn.004cde12
add esp, 0xc
test eax, eax
je 0x4382e4
mov ecx, esi
call fcn.00437700
test al, al
je 0x43818f
cmp byte [esp + 0x26c], 0
je 0x4382e4
cmp byte [esi + 0x11c], 0
je 0x438127
add esi, 0xc
jmp 0x43812a
mov esi, dword [esi + 8]
lea ecx, [esp + 0xc]
call fcn.0043a090
lea eax, [esi + 4]
lea edx, [esp + 0xc]
call fcn.0043a2e0
push 0x5290d0
mov ecx, ebx
mov dword [esp + 0x264], 1
call fcn.00439450
mov esi, eax
lea eax, [esp + 0x10]
call fcn.00439e70
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x438188
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x438188
push eax
call fcn.004ccef0
add esp, 4
xor al, al
jmp 0x4382e6
lea ecx, [esp + 0x130]
call fcn.00436e90
lea edx, [esp + 0x130]
push edx
mov ecx, esi
mov dword [esp + 0x264], 2
call fcn.00438b30
test al, al
je 0x4381ef
lea eax, [esp + 0x130]
call fcn.00437480
test al, al
jne 0x4381ef
push 0
push ebx
lea ecx, [esp + 0x138]
call fcn.00438090
test al, al
jne 0x4381ef
lea ecx, [esp + 0x130]
call fcn.0043a230
xor al, al
jmp 0x4382e6
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x4381fe
mov eax, dword [esi + 8]
push 0
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4382a6
cmp byte [esi + 0x11c], al
je 0x43821f
add esi, 0xc
jmp 0x438222
mov esi, dword [esi + 8]
lea ecx, [esp + 0xc]
call fcn.0043a090
lea eax, [esi + 4]
lea edx, [esp + 0xc]
call fcn.0043a2e0
push 0x5236a0
mov byte [esp + 0x264], 4
call fcn.00439c70
mov esi, eax
lea eax, [esp + 0x10]
call fcn.00439e70
cmp byte [esp + 0x128], 0
mov esi, vtable.t_str.0
mov dword [esp + 0xc], esi
jne 0x43827c
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x43827c
push eax
call fcn.004ccef0
add esp, 4
cmp byte [esp + 0x24c], 0
mov dword [esp + 0x130], esi
jne 0x438188
mov eax, dword [esp + 0x138]
lea edx, [esp + 0x13c]
cmp eax, edx
jmp 0x43817d
mov eax, esi
call fcn.00438dd0
mov eax, esi
call fcn.00438c60
cmp byte [esp + 0x24c], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x4382e4
mov eax, dword [esp + 0x138]
lea ecx, [esp + 0x13c]
cmp eax, ecx
je 0x4382e4
push eax
call fcn.004ccef0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004ccee1
add esp, 0x258
ret 8
Function at 0x439230
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x50f7ec
mov eax, dword fs:[0]
push eax
sub esp, 0x248
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x26c]
call fcn.00437b70
cmp byte [ebx + 0x11c], 0
lea ecx, [ebx + 0xc]
jne 0x43927a
mov ecx, dword [ebx + 8]
cmp byte [ebp + 0x11c], 0
lea eax, [ebp + 0xc]
jne 0x439289
mov eax, dword [ebp + 8]
push 2
add ecx, 4
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4393c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x270]
mov edi, eax
call fcn.00439450
mov esi, eax
call fcn.00439ca0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esp + 0x270]
mov ecx, edi
call fcn.00439450
push str.MoveFileEx
push 0x52139c
mov edx, eax
call fcn.0043a8a0
add esp, 8
cmp byte [ebx + 0x11c], 0
je 0x4392f4
add ebx, 0xc
jmp 0x4392f7
mov ebx, dword [ebx + 8]
lea ecx, [esp + 0x138]
call fcn.0043a090
lea eax, [ebx + 4]
lea edx, [esp + 0x138]
call fcn.0043a2e0
mov dword [esp + 0x264], 5
cmp byte [ebp + 0x11c], 0
lea esi, [ebp + 0xc]
jne 0x43932c
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x14]
call fcn.0043a090
lea eax, [esi + 4]
lea edx, [esp + 0x14]
call fcn.0043a2e0
lea eax, [esp + 0x14]
push eax
push str._rY6R
mov ecx, edi
mov byte [esp + 0x26c], 7
call fcn.00439450
mov esi, eax
lea eax, [esp + 0x140]
call fcn.00439f30
cmp byte [esp + 0x130], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x14], esi
jne 0x439390
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x439390
push eax
call fcn.004ccef0
add esp, 4
cmp byte [esp + 0x254], 0
mov dword [esp + 0x138], esi
jne 0x4393bc
mov eax, dword [esp + 0x140]
lea edx, [esp + 0x144]
cmp eax, edx
je 0x4393bc
push eax
call fcn.004ccef0
add esp, 4
xor al, al
jmp 0x4393c2
mov al, 1
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret 8
Function at 0x43aea0
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
sub esp, 0x804
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
mov esi, dword [esp + 0x80c]
push 0x54b7d8
push esi
call fcn.004cd198
add esp, 8
test eax, eax
je 0x43aee6
xor eax, eax
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004ccee1
add esp, 0x804
ret
mov eax, 0x4000
test word [0x54b7de], ax
je 0x43b006
push edi
push esi
push str._s.
lea edx, [esp + 0x10]
call fcn.004023a0
add esp, 8
push 0x54b588
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x43b005
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [ecx]
mov ecx, 0x521374
mov eax, 0x54b5b4
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43af66
test dx, dx
je 0x43af62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43af66
add eax, 4
add ecx, 4
test dx, dx
jne 0x43af40
xor eax, eax
jmp 0x43af6b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43afed
mov ecx, 0x521378
mov eax, 0x54b5b4
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43afa6
test dx, dx
je 0x43afa2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43afa6
add eax, 4
add ecx, 4
test dx, dx
jne 0x43af80
xor eax, eax
jmp 0x43afab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43afed
push 0x54b5b4
push esi
push 0x5213b4
lea edx, [esp + 0x18]
call fcn.004023a0
add esp, 0xc
test byte [0x54b588], 0x10
je 0x43afde
lea edx, [esp + 0xc]
push edx
call fcn.0043aea0
add esp, 4
jmp 0x43afed
push 4
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0x54b588
push edi
call ebp
test eax, eax
jne 0x43af30
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop edi
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esp + 0x804]
pop esi
xor ecx, esp
call fcn.004ccee1
add esp, 0x804
ret
Function at 0x43b040
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x804
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x800], eax
push ebp
push esi
mov esi, dword [esp + 0x810]
push 0x54b558
push esi
xor ebp, ebp
call fcn.004cd198
add esp, 8
test eax, eax
je 0x43b08a
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004ccee1
add esp, 0x804
ret
mov eax, 0x4000
test word [0x54b55e], ax
je 0x43b19e
push edi
push esi
push str._s.
lea edx, [esp + 0x14]
call fcn.004023a0
add esp, 8
push 0x54b308
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x43b18a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, 0x521374
mov eax, 0x54b334
jmp 0x43b0e0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43b106
test dx, dx
je 0x43b102
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43b106
add eax, 4
add ecx, 4
test dx, dx
jne 0x43b0e0
xor eax, eax
jmp 0x43b10b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43b172
mov ecx, 0x521378
mov eax, 0x54b334
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43b146
test dx, dx
je 0x43b142
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43b146
add eax, 4
add ecx, 4
test dx, dx
jne 0x43b120
xor eax, eax
jmp 0x43b14b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43b172
push 0x54b334
push esi
push 0x5213b4
lea edx, [esp + 0x1c]
call fcn.004023a0
lea edx, [esp + 0x1c]
push 1
push edx
call fcn.0043b040
add esp, 0x14
push 0x54b308
push edi
call ebx
test eax, eax
jne 0x43b0d1
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
cmp byte [esp + 0x818], 0
pop edi
je 0x43b1a7
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x43b1a5
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, eax
mov ecx, dword [esp + 0x808]
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.004ccee1
add esp, 0x804
ret
Function at 0x43b5e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50b397
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x3a0], eax
push ebx
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0x3b0]
mov dword fs:[0], eax
push 0x208
xor ebx, ebx
push ebx
push esi
call fcn.004d3fc0
add esp, 0xc
lea ecx, [esp + 0x280]
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
call fcn.0043a090
mov eax, str.HKEY_LOCAL_MACHINE
lea edx, [esp + 0x280]
mov dword [esp + 0x278], ebx
mov dword [esp + 0x27c], reloc.WS2_32.dll_bind
call fcn.0043a2e0
mov dword [esp + 0x3b8], ebx
lea ecx, [esp + 0x150]
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
call fcn.0043a090
mov eax, str.HKEY_CURRENT_USER
lea edx, [esp + 0x150]
mov dword [esp + 0x148], ebx
mov dword [esp + 0x14c], reloc.WS2_32.dll_accept
call fcn.0043a2e0
mov byte [esp + 0x10], bl
mov dword [esp + 0xc], ebx
push str.SoftwareSogouExplorer
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x27c]
mov byte [esp + 0x3c0], 2
call fcn.00445420
test al, al
jne 0x43b6fb
push str.SoftwareSogouExplorer
lea ecx, [esp + 0x10]
push ecx
lea eax, [esp + 0x14c]
call fcn.00445420
test al, al
je 0x43b798
lea ecx, [esp + 0x144]
jmp 0x43b702
lea ecx, [esp + 0x274]
push 1
lea edx, [esp + 0x1c]
push edx
push esi
lea eax, [esp + 0x18]
push eax
xor eax, eax
mov dword [esp + 0x28], 0x208
call fcn.00445570
test al, al
je 0x43b798
push str.SogouExplorer.exe
push 0x104
push esi
call fcn.004cd573
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.0043a090
mov eax, esi
lea edx, [esp + 0x1c]
call fcn.0043a2e0
lea eax, [esp + 0x28]
cmp byte [esp + 0x138], bl
jne 0x43b75a
mov eax, dword [esp + 0x24]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43b772
shr eax, 4
not al
and al, 1
jne 0x43b7c5
mov dword [esp + 0x1c], vtable.t_str.0
cmp byte [esp + 0x138], bl
jne 0x43b798
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x43b798
push eax
call fcn.004ccef0
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x3b8], 1
call fcn.004393f0
lea ecx, [esp + 0x144]
call fcn.004453d0
lea ecx, [esp + 0x274]
call fcn.004453d0
xor eax, eax
jmp 0x43b819
mov dword [esp + 0x1c], vtable.t_str.0
cmp byte [esp + 0x138], bl
jne 0x43b7eb
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
cmp eax, edx
je 0x43b7eb
push eax
call fcn.004ccef0
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x3b8], 1
call fcn.004393f0
lea ecx, [esp + 0x144]
call fcn.004453d0
lea ecx, [esp + 0x274]
call fcn.004453d0
mov eax, 1
mov ecx, dword [esp + 0x3b0]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x3a0]
xor ecx, esp
call fcn.004ccee1
mov esp, ebp
pop ebp
ret
Function at 0x43bc70
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push ebp
mov byte [esp + 0x13], bl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x43bca6
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
push esi
push eax
call fcn.004ccfcd
mov ecx, dword [esp + 0x14]
add esp, 4
mov esi, eax
push esi
push ecx
push ebx
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43bd04
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0x5212f4
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43bd04
mov eax, dword [esp + 0x14]
movzx ecx, word [eax + 0xa]
mov word [edi], cx
movzx edx, word [eax + 8]
mov word [edi + 2], dx
movzx ecx, word [eax + 0xe]
mov word [edi + 4], cx
movzx edx, word [eax + 0xc]
mov word [edi + 6], dx
mov byte [esp + 0xf], 1
cmp esi, ebx
je 0x43bd11
push esi
call fcn.004ccef0
add esp, 4
mov al, byte [esp + 0xf]
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x43bd20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x210], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004d3fc0
add esp, 0xc
push 0x104
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x43bd79
xor al, al
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004ccee1
add esp, 0x214
ret
push edi
push 0x5212f8
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.004cd573
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0x14]
call fcn.0043bc70
add esp, 0x10
pop edi
test al, al
je 0x43bd62
movzx ecx, word [esp + 4]
movzx edx, word [esp]
movzx eax, word [esp + 2]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x210]
mov dword [esi + 4], edx
xor edx, edx
mov dword [esi + 8], eax
xor ecx, esp
mov dword [esi], 0x114
mov dword [esi + 0x10], 2
mov word [esi + 0x14], dx
mov al, 1
call fcn.004ccee1
add esp, 0x214
ret
Function at 0x43d720
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x50b2d3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
fld dword [0x52f284]
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], 0x11
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0xa
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
fstp dword [esi + 0xc]
fld dword [0x52f288]
mov ecx, esi
fstp dword [esi + 0x10]
fld dword [0x52f28c]
fstp dword [esi + 0x14]
call fcn.00407c10
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x43e370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50e520
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push edi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
mov byte [esp + 0x10], bl
mov dword [esp + 0xc], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], fcn.004ccfcd
mov dword [esp + 0x28], fcn.004cf168
mov dword [esp + 0x2c], fcn.004ccef0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x1fff8
mov dword [esp + 0x20], vtable.t_heap.0
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edi, [esp + 0x1c]
mov byte [esp + 0x48], 1
call fcn.00443a40
test al, al
jne 0x43e450
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43e418
push eax
call fcn.004ccef0
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.allocator_unsigned_char__class_TAllocDefault_.0
call fcn.00403630
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.004393f0
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x38
ret 8
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0043e8e0
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43e480
push eax
call fcn.004ccef0
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.allocator_unsigned_char__class_TAllocDefault_.0
call fcn.00403630
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.004393f0
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x38
ret 8
Function at 0x43efb0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50d35b
mov eax, dword fs:[0]
push eax
sub esp, 0x370
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x368], eax
push ebx
push esi
push edi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0x380]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea esi, [esp + 0x1c]
mov dword [esp + 0x18], ecx
call fcn.0043fc80
xor esi, esi
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [esp + 0x36c], esi
mov dword [esp + 0x370], esi
push esi
push ebx
lea eax, [esp + 0x24]
push eax
mov eax, edi
mov dword [esp + 0x394], esi
call fcn.0043fdc0
test al, al
je 0x43f096
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43f066
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x43f066
xor edi, edi
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x374], edi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43f0dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x43f0dc
xor eax, eax
jmp 0x43f0de
mov ecx, ebx
call fcn.00439450
push 0x52904c
push 0x52139c
mov edx, eax
call fcn.0043a8a0
mov dword [esp + 0x390], 0xffffffff
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.0043fcf0
xor al, al
jmp 0x43f130
mov eax, edi
mov esi, dword [esp + 0x18]
push eax
mov dword [esi + 8], eax
call fcn.004ccfcd
mov edx, dword [esi + 8]
add esp, 4
push edx
push eax
push ebx
lea ecx, [esp + 0x374]
mov dword [esi + 4], eax
call fcn.00447bd0
test al, al
je 0x43f096
mov dword [esp + 0x388], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.0043fcf0
mov al, 1
mov ecx, dword [esp + 0x380]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x368]
xor ecx, esp
call fcn.004ccee1
mov esp, ebp
pop ebp
ret 8
Function at 0x43fdc0
Capabilities:
Set file attributes

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov esi, eax
mov eax, dword [ebp + 0x130]
mov edx, dword [eax + 0x18]
lea edi, [ebp + 0x130]
push esi
push ebx
mov ecx, edi
call edx
test al, al
jne 0x43fe11
mov ecx, ebx
call fcn.00439450
push 0x52904c
push 0x52139c
mov edx, eax
call fcn.0043a8a0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
push ebx
call fcn.00440620
test al, al
je 0x43fdea
mov ebx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
mov dword [ebp + 0x348], edi
mov edi, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push edx
mov eax, edi
mov dword [ebp + 8], ebx
call fcn.0043fbd0
add esp, 0xc
test al, al
jne 0x43fea0
cmp byte [esi + 0x11c], al
je 0x43fe64
add esi, 0xc
jmp 0x43fe67
mov esi, dword [esi + 8]
mov ecx, edi
call fcn.00439450
mov edi, eax
push 0x5299c4
push 0x52139c
mov edx, edi
call fcn.0043a8a0
add esi, 4
push esi
push 0x52139c
mov edx, edi
call fcn.0043a8a0
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0
push 0x80
push edi
push 0
push eax
push ecx
mov ecx, esi
call fcn.00437460
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 4], eax
mov ebx, 1
cmp eax, 0xffffffff
jne 0x43ff41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x24], eax
cmp eax, 0x20
jne 0x43fef5
cmp ebx, 3
jge 0x43ff8f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43ff16
cmp eax, 5
jne 0x43ff56
cmp ebx, 3
jge 0x43ff8f
push 0x80
mov ecx, esi
call fcn.00437460
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push 0
push 0x80
push edi
push 0
push edx
push eax
mov ecx, esi
call fcn.00437460
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
inc ebx
mov dword [ebp + 4], eax
cmp eax, 0xffffffff
je 0x43fed3
push esi
lea ecx, [ebp + 0xc]
call fcn.00437540
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
test eax, eax
jne 0x43ff8f
cmp byte [esi + 0x11c], al
je 0x43ff67
add esi, 0xc
jmp 0x43ff6a
mov esi, dword [esi + 8]
mov ecx, dword [esp + 0x20]
add esi, 4
push esi
push 0x5299d4
call fcn.00402960
mov ecx, eax
call fcn.00439dd0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp byte [esi + 0x11c], 0
lea ebx, [esi + 0xc]
jne 0x43ff9e
mov ebx, dword [esi + 8]
mov ecx, dword [esp + 0x20]
call fcn.00439450
mov edi, dword [esp + 0x24]
mov esi, eax
call fcn.00439ca0
mov ecx, dword [esp + 0x20]
call fcn.00439450
add ebx, 4
push ebx
push 0x5299c4
mov ecx, eax
call fcn.00439dd0
mov ecx, eax
call fcn.00439dd0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 0xc