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

Disassembly:
sub esp, 0xc8
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xcc]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], eax
push 0x20
lea eax, [esp + 0x20]
mov esi, ecx
mov cx, word [0x10163160]
mov ebx, edx
mov dl, byte [0x10163162]
push eax
push esi
mov dword [esp + 0x20], ebx
xor edi, edi
mov word [esp + 0x28], cx
mov byte [esp + 0x2a], dl
call fcn.10129766
mov ebp, eax
add esp, 0xc
cmp ebp, edi
jne 0x1004215e
push ebx
mov ebx, str.qpEncode:_Cant_open_input_file___s__
call fcn.10042440
add esp, 4
xor eax, eax
jmp 0x1004228f
push 0x400
call fcn.1006a7b0
add esp, 4
push 0x400
mov ebx, eax
call fcn.1006a7b0
add esp, 4
push ebp
mov esi, eax
mov eax, 1
push 0x400
push eax
push ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x50], 0x4c
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], str.UUUUUUUUUSLUULUUUUUUUUUUUUUUUUUUSSSSSSSSSSSSSSSSSSSSSSSSSSSSSUSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
call fcn.1012a83e
add esp, 0x10
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], 0x400
mov dword [esp + 0x3c], esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x34], edi
cmp dword [esp + 0x5c], 1
jne 0x100421ff
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x2c]
jge 0x1004221b
lea eax, [esp + 0x28]
call fcn.1008ad10
cmp dword [esp + 0x5c], 2
jne 0x100421e5
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x34], edx
jge 0x1004221b
lea esi, [esp + 0x28]
call fcn.1008af50
jmp 0x100421e5
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x28], eax
jne 0x10042242
push ebp
push 0x400
push 1
push ebx
call fcn.1012a83e
add esp, 0x10
cmp eax, edi
je 0x100422a8
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x34], eax
jne 0x100421e5
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push edi
push eax
push ecx
push edx
call fcn.10042b00
add esp, 0x10
test eax, eax
jne 0x100421e1
mov esi, edi
push ebx
call fcn.10128243
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
call fcn.10128243
add esp, 4
push ebp
call fcn.10129ad3
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10127db1
add esp, 0xc8
ret
lea eax, [esp + 0x28]
call fcn.1008afd0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp ecx, eax
jne 0x100422f5
lea ecx, [ecx]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push edi
push eax
mov eax, dword [esp + 0x44]
push eax
push ecx
call fcn.10042b00
add esp, 0x10
test eax, eax
je 0x1004226c
lea eax, [esp + 0x28]
mov dword [esp + 0x34], edi
call fcn.1008afd0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp ecx, eax
je 0x100422c0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push edi
push ecx
push edx
push eax
call fcn.10042b00
add esp, 0x10
mov esi, 1
jmp 0x1004226e