Function at 0x4325b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4841e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x24], ebp
call fcn.004440b8
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4325f6
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x30]
push 0x76
push ebp
mov byte [esp + 0x2c], 1
push ecx
mov dword [esp + 0x24], ebp
call fcn.00464a00
mov edx, dword [esp + 0x38]
mov eax, dword [edx - 0xc]
add esp, 0xc
cmp eax, ebp
jne 0x4326b7
lea esi, [esp + 0x14]
call fcn.00431990
mov byte [esp + 0x24], 2
mov ecx, dword [eax]
mov esi, dword [esp + 0x2c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x432692
cmp dword [esi + 0xc], ebp
lea edi, [esi + 0xc]
jl 0x432684
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x432684
push eax
call fcn.00401fe0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x43267b
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x2c], ebp
jmp 0x432692
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00401da0
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4326b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
cmp dword [eax - 4], 1
jle 0x4326ce
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x30]
call fcn.00401c30
mov edx, dword [esp + 0x2c]
push 0
push 0
push 3
push 0
push 3
push SysReAllocStringLen
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
setne al
mov edi, eax
test edi, edi
jne 0x4326ff
push 0x493698
jmp 0x432735
push 2
push 0
push 0xffffffffffffff8a
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x432715
xor edi, edi
jmp 0x432742
mov eax, dword [esp + 0x30]
push 0
lea edx, [esp + 0x1c]
push edx
push 0x76
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
test edi, edi
jne 0x432742
push 0x4936c0
lea ecx, [esp + 0x14]
push ecx
call fcn.00403800
add esp, 8
test esi, esi
je 0x432752
cmp esi, 0xffffffff
je 0x432752
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x432769
mov edx, dword [esp + 0x10]
push 0x30
push 0x48e338
push edx
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43278e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4327b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 8