Function at 0x4428d0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4cde49
mov eax, dword fs:[0]
push eax
mov eax, 0x80c0
call fcn.0049fd00
mov eax, dword [0x4f59b8]
xor eax, esp
mov dword [esp + 0x80bc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f59b8]
xor eax, esp
push eax
lea eax, [esp + 0x80d4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x80e4]
mov edi, ecx
push edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x74], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp dword [esi + 0x18], 8
mov dword [esp + 0x80dc], ebx
jb 0x44293b
mov esi, dword [esi + 4]
jmp 0x44293e
add esi, 4
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44296d
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80004005
jmp 0x442f0e
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea eax, [esp + 0x3c]
push eax
push 0x8000
lea ecx, [esp + 0xdc]
push ecx
push esi
mov byte [esp + 0x80f0], 1
call ebp
test eax, eax
je 0x4429f8
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x4429f8
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x2c], edi
jbe 0x4429bc
call fcn.0049f4bd
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x70]
shr eax, 1
push edx
lea eax, [esp + eax*2 + 0xd4]
push eax
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.00441880
push ebx
lea ecx, [esp + 0x3c]
push ecx
push 0x8000
lea edx, [esp + 0xdc]
push edx
push esi
call ebp
test eax, eax
jne 0x4429a1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x6c], esi
jne 0x442ee4
cmp dword [esp + 0x38], ebx
jne 0x442ee4
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebx
call fcn.00442320
lea ecx, [esp + 0x14]
call fcn.0041cd30
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp esi, eax
mov byte [esp + 0x80dc], 2
mov dword [esp + 0x20], eax
jbe 0x442a65
call fcn.0049f4bd
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp esi, eax
lea edi, [esp + 0x28]
jbe 0x442a76
call fcn.0049f4bd
mov eax, dword [esp + 0x30]
cmp esi, eax
lea ebp, [esp + 0x28]
jb 0x442a83
call fcn.0049f4bd
mov ecx, dword [esp + 0x20]
push ecx
push edi
lea eax, [esi + 2]
push eax
push ebp
lea ecx, [esp + 0x8c]
call fcn.00441060
push 0x4d7d04
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x80e8], 3
call fcn.00442490
add esp, 0xc
cmp dword [esp + 0x1c], ebx
je 0x442f38
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
cmp esi, eax
jne 0x442ad5
call fcn.0049f4bd
lea eax, [esi + 8]
push str.PDHOME_TRANSLATION_FILE
push eax
call fcn.00440c70
add esp, 8
test al, al
je 0x442b09
push 0x4d7ca0
lea ecx, [esp + 0x18]
call fcn.0041cd10
push eax
call fcn.00440c70
add esp, 8
test al, al
jne 0x442f38
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x74]
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], eax
call fcn.004403f0
mov esi, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebp
cmp esi, ebx
mov edi, dword [esp + 0x18]
je 0x442b41
lea ecx, [esp + 0x14]
cmp esi, ecx
je 0x442b46
call fcn.0049f4bd
cmp ebp, edi
je 0x442e96
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
cmp esi, ebx
mov byte [esp + 0x80dc], 4
jne 0x442b6b
call fcn.0049f4bd
cmp ebp, dword [esi + 4]
jne 0x442b75
call fcn.0049f4bd
push 0x4d7c9c
lea edx, [esp + 0x44]
push edx
add ebp, 8
push ebp
call fcn.00420a20
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp eax, ebx
je 0x442e24
mov ecx, dword [esp + 0x48]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jne 0x442e24
push ebx
lea ecx, [esp + 0x44]
call fcn.0041c1e0
push 1
lea ecx, [esp + 0x44]
mov esi, eax
call fcn.0041c1e0
push 2
lea ecx, [esp + 0x44]
mov edi, eax
call fcn.0041c1e0
mov ebp, eax
lea eax, [esp + 0x50]
push esi
push eax
call fcn.004410a0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x80e8], 5
call fcn.00402ea0
cmp dword [esp + 0x68], 8
mov byte [esp + 0x80dc], 4
jb 0x442c1c
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0049f16d
add esp, 4
lea edx, [esp + 0x50]
push edi
push edx
call fcn.004410a0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x80e8], 6
call fcn.00402ea0
cmp dword [esp + 0x68], 8
mov byte [esp + 0x80dc], 4
jb 0x442c59
mov eax, dword [esp + 0x54]
push eax
call fcn.0049f16d
add esp, 4
push str.__t_r_n
push esi
call fcn.00440b90
push str.__t_r_n
push edi
call fcn.00440b90
push str.__t_r_n
push ebp
call fcn.00440b90
push str.__t_r_n
push esi
call fcn.00440b30
push str.__t_r_n
push edi
call fcn.00440b30
push str.__t_r_n
push ebp
call fcn.00440b30
mov eax, dword [esi + 0x14]
add esp, 0x30
add eax, 0xfffffffe
push eax
push 1
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.00441540
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x80e8], 7
call fcn.00402ea0
cmp dword [esp + 0x68], 8
mov byte [esp + 0x80dc], 4
jb 0x442ce2
mov edx, dword [esp + 0x54]
push edx
call fcn.0049f16d
add esp, 4
mov eax, dword [edi + 0x14]
add eax, 0xfffffffe
push eax
push 1
lea eax, [esp + 0x58]
push eax
mov ecx, edi
call fcn.00441540
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x80e8], 8
call fcn.00402ea0
cmp dword [esp + 0x68], 8
mov byte [esp + 0x80dc], 4
jb 0x442d26
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0049f16d
add esp, 4
mov eax, dword [ebp + 0x14]
add eax, 0xfffffffe
push eax
push 1
lea edx, [esp + 0x58]
push edx
mov ecx, ebp
call fcn.00441540
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x80e8], 9
call fcn.00402ea0
cmp dword [esp + 0x68], 8
jb 0x442d62
mov eax, dword [esp + 0x54]
push eax
call fcn.0049f16d
add esp, 4
mov eax, 0xf
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
push ebx
lea ecx, [esp + 0x9c]
push ecx
push esi
mov byte [esp + 0x80e8], 0xa
call fcn.00441aa0
add esp, 0xc
test eax, eax
jne 0x442de4
push ebx
lea edx, [esp + 0xb8]
push edx
push ebp
call fcn.00441aa0
add esp, 0xc
test eax, eax
jne 0x442de4
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x98]
push eax
add ecx, 0x18
call fcn.004427d0
push 0xffffffffffffffff
push ebx
push edi
mov ecx, eax
call fcn.00402ea0
lea ecx, [esp + 0x98]
call fcn.00437830
lea ecx, [esp + 0x40]
mov byte [esp + 0x80dc], 3
call fcn.00404cd0
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
cmp esi, dword [ecx + 4]
jne 0x442e13
call fcn.0049f4bd
mov edx, dword [esi]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x24], edx
mov ebp, edx
jmp 0x442b31
lea ecx, [esp + 0x40]
call fcn.00404cd0
cmp dword [esp + 0x94], 8
jb 0x442e47
mov eax, dword [esp + 0x80]
push eax
call fcn.0049f16d
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
call fcn.0041f7c0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0049f16d
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], ebx
call fcn.00440be0
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80004005
jmp 0x442f0e
cmp dword [esp + 0x94], 8
jb 0x442eb0
mov eax, dword [esp + 0x80]
push eax
call fcn.0049f16d
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
call fcn.0041f7c0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0049f16d
mov esi, dword [esp + 0x70]
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x442ef5
push eax
call fcn.0049f16d
add esp, 4
mov ecx, dword [esp + 0x3c]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x80d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80bc]
xor ecx, esp
call fcn.0049fcf1
add esp, 0x80cc
ret 4
lea ecx, [esp + 0x7c]
call fcn.00402940
lea ecx, [esp + 0x14]
call fcn.0041f7c0
mov edx, dword [esp + 0x18]
push edx
call fcn.0049f16d
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], ebx
call fcn.00440be0
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80004005
jmp 0x442f0e