Function at 0x424100
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3eab
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x615780]
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.004147b0
add esp, 0xc
call fcn.00431eae
mov ecx, eax
test ecx, ecx
je 0x4243ab
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.0044cd6e
push 0
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x144]
call fcn.0044ceeb
test eax, eax
setne cl
or ebx, 0xffffffff
test eax, eax
jne 0x4241b5
lea ecx, [ebp - 0x144]
call fcn.0044ce91
mov bl, 1
jmp 0x424363
xor eax, eax
mov dword [edi + 0x398], 0
mov dword [ebp - 0x120], eax
test cl, cl
je 0x424346
nop
lea ecx, [ebp - 0x144]
call fcn.0044d0a4
test eax, eax
lea ecx, [ebp - 0x144]
setne byte [ebp - 0x115]
call fcn.0044d451
test eax, eax
jne 0x424333
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x144]
call fcn.0044d19f
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 0x424220
mov edx, dword [ebp - 0x124]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42424b
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.0058bafc
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.0058a40e
add esp, 0x24
cmp eax, 0x94
jne 0x424325
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.004038f0
mov eax, dword [edi + 0x2f0]
add esp, 0x10
add eax, 0x6c
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4242f0
test cl, cl
je 0x4242ec
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4242f0
add eax, 2
add esi, 2
test cl, cl
jne 0x4242d0
xor eax, eax
jmp 0x4242f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x424305
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.005897e0
add esp, 4
cmp byte [ebp - 0x115], 0
jne 0x4241d0
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.00423e70
xor bl, bl
lea ecx, [ebp - 0x144]
call fcn.0044ce13
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42438d
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.0057742f
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401ec0
int3