Function at 0x425050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a51ab
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x616780]
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, ecx
mov eax, dword [edi + 0x2f4]
add eax, 0x118
push eax
lea eax, [ebp - 0x114]
push str._s.hdt
push eax
call fcn.00414680
add esp, 0xc
call fcn.00432dfe
mov ecx, eax
test ecx, ecx
je 0x4252fb
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x11c], esi
lea ecx, [ebp - 0x144]
mov dword [ebp - 4], 0
call fcn.0044dcbd
push 0
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x144]
call fcn.0044de3a
test eax, eax
setne cl
or ebx, 0xffffffff
test eax, eax
jne 0x425105
lea ecx, [ebp - 0x144]
call fcn.0044dde0
mov bl, 1
jmp 0x4252b3
xor eax, eax
mov dword [edi + 0x398], 0
mov dword [ebp - 0x120], eax
test cl, cl
je 0x425296
nop
lea ecx, [ebp - 0x144]
call fcn.0044dff3
test eax, eax
lea ecx, [ebp - 0x144]
setne byte [ebp - 0x115]
call fcn.0044e3a0
test eax, eax
jne 0x425283
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x144]
call fcn.0044e0ee
imul edx, dword [edi + 0x398], 0x104
mov ecx, dword [eax]
add edx, 0x39c
add edx, edi
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x425170
mov edx, dword [ebp - 0x124]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42519b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
imul eax, dword [edi + 0x398], 0x104
lea ecx, [ebp - 0x128]
push 0
push ecx
push 0
push 0x40
add eax, 0x39c
add eax, edi
push 0x8002
push eax
call fcn.0058cc0c
mov ecx, dword [ebp - 0x128]
test eax, eax
push 0x94
lea eax, [edi + 0x2fc]
cmovne ecx, ebx
push eax
push ecx
mov dword [edi + 0x394], ecx
call fcn.0058b51e
add esp, 0x24
cmp eax, 0x94
jne 0x425275
lea esi, [edi + 0x320]
push esi
lea eax, [edi + 0x300]
push eax
lea eax, [ebp - 0x11c]
push str._s__s_n:__s_
push eax
call fcn.004037d0
mov eax, dword [edi + 0x2f0]
add esp, 0x10
add eax, 0x6c
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x425240
test cl, cl
je 0x42523c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x425240
add eax, 2
add esi, 2
test cl, cl
jne 0x425220
xor eax, eax
jmp 0x425245
sbb eax, eax
or eax, 1
test eax, eax
jne 0x425255
mov eax, dword [edi + 0x398]
mov dword [ebp - 0x120], eax
mov esi, dword [ebp - 0x11c]
push esi
push 0
push 0x143
push dword [edi + 0x290]
call dword [sym.imp.USER32.dll_SendMessageA]
inc dword [edi + 0x398]
push dword [edi + 0x394]
call fcn.0058a8f0
add esp, 4
cmp byte [ebp - 0x115], 0
jne 0x425120
mov eax, dword [ebp - 0x120]
push 0
push eax
push 0x14e
push dword [edi + 0x290]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, edi
call fcn.00424dc0
xor bl, bl
lea ecx, [ebp - 0x144]
call fcn.0044dd62
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4252dd
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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.0057837f
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401ec0
int3