Function at 0x43b520
Capabilities:
Delete file
Get common file path
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d2a36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x274
push ebx
mov ebx, ecx
push ebp
push esi
mov ebp, dword [ebx]
push edi
add ebp, 0x45c
mov dword [esp + 0x18], ebx
push ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x78], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, 0x15
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x28c], 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x294]
mov dword [esp + 0x40], 0xffffffff
test eax, eax
je 0x43b598
push eax
call fcn.00470f80
mov ecx, eax
add esp, 4
mov dword [esp + 0x50], ecx
jmp 0x43b59c
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 1
lea eax, [esp + 0x20]
mov byte [esp + 0x28c], 1
test eax, eax
je 0x43b60f
mov ecx, dword [ebx + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.004396f0
mov edx, dword [ebx + 0xc]
mov esi, dword [edx + eax*4]
test esi, esi
je 0x43b60b
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x43b5e7
test ecx, ecx
sete al
jmp 0x43b5f8
test ecx, ecx
je 0x43b5fc
push ecx
push eax
call edi
mov ecx, dword [esp + 0x50]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x43b605
mov esi, dword [esi + 0x50]
test esi, esi
jne 0x43b5d9
jmp 0x43b60f
test esi, esi
jne 0x43b659
jmp 0x43b60f
mov ecx, dword [esp + 0x50]
push ecx
mov byte [esp + 0x290], 0
call fcn.004bd4c4
mov eax, dword [esp + 0x58]
push eax
call fcn.004bd4c4
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004bd4c4
mov edx, dword [esp + 0x68]
push edx
call fcn.004bd4c4
mov eax, dword [esp + 0x70]
push eax
call fcn.004bd4c4
add esp, 0x14
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80004005
jmp 0x43b8db
mov ebp, dword [esp + 0x298]
test ebp, ebp
je 0x43b86d
mov ecx, dword [0x4f83ec]
mov edx, dword fs:[0x2c]
xor ebx, ebx
mov eax, dword [edx + ecx*4]
movsx edi, byte [eax + 0x4f5]
test edi, edi
jne 0x43b68f
mov dword [esp + 0x10], 0x504d42
jmp 0x43b6fd
cmp edi, 0xffffffff
je 0x43b6d8
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x43b6d8
xor eax, eax
mov ax, word [ecx + 0xe]
cmp eax, 4
jle 0x43b6d8
push 0x14
mov dword [esp + 0x14], 0x47504a
call fcn.004bd49b
add esp, 4
mov dword [eax], 0x14
mov dword [eax + 4], 0
mov dword [eax + 0xc], 2
mov dword [eax + 8], edi
mov dword [eax + 0x10], 1
jmp 0x43b6fb
push 0xc
mov dword [esp + 0x14], 0x474e50
call fcn.004bd49b
add esp, 4
mov dword [eax], 0xc
mov dword [eax + 4], 0
mov byte [eax + 8], 0
mov ebx, eax
lea ecx, [esp + 0x180]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x7c]
lea eax, [esp + 0x180]
push edx
push 0
push 0x4eea8c
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x80]
push 0
push ecx
push ebx
push edx
push ebp
call fcn.004a5f30
mov edi, eax
push ebx
mov dword [esp + 0x38], edi
call fcn.004bd4c4
add esp, 0x1c
test edi, edi
jne 0x43b817
push edi
push 0x100
push 3
push edi
push edi
lea eax, [esp + 0x90]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43b817
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
je 0x43b79b
mov ecx, dword [esp + 0x18]
push eax
mov ecx, dword [ecx]
add ecx, 0x330
call fcn.0047c5a0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.004bd49b
add esp, 4
lea edx, [esp + 0x78]
mov ebp, eax
push 0
push edx
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x1c]
push eax
push ebp
mov ecx, dword [edi]
add ecx, 0x330
call fcn.0047c4f0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 8]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0xc]
add ecx, eax
mov eax, dword [esi + 4]
add ecx, edx
push ebp
add ecx, eax
mov dword [esi + 0x24], ecx
call fcn.004bd4c4
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [edi + 0x24], 1
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov byte [esp + 0x28c], 0
neg edi
sbb edi, edi
push eax
and edi, 0x80004005
call fcn.004bd4c4
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004bd4c4
mov edx, dword [esp + 0x60]
push edx
call fcn.004bd4c4
mov eax, dword [esp + 0x68]
push eax
call fcn.004bd4c4
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004bd4c4
mov edx, dword [esp + 0x28]
add esp, 0x14
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x43b8db
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
je 0x43b895
mov ecx, dword [ebx]
push eax
add ecx, 0x330
call fcn.0047c5a0
mov dword [esi + 0x20], 0xffffffff
mov ecx, dword [esp + 0x50]
mov dword [ebx + 0x24], 1
push ecx
mov byte [esp + 0x290], 0
call fcn.004bd4c4
mov eax, dword [esp + 0x58]
push eax
call fcn.004bd4c4
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004bd4c4
mov edx, dword [esp + 0x68]
push edx
call fcn.004bd4c4
mov eax, dword [esp + 0x70]
push eax
call fcn.004bd4c4
mov ecx, dword [esp + 0x28]
add esp, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x280
ret 8