Function at 0x4237d2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x42cc
call fcn.004c9060
mov eax, dword [0x5503dc]
xor eax, esp
mov dword [esp + 0x42c8], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
mov edi, dword [ebp + 8]
push 0x1f4
push eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x18], eax
call fcn.0041e952
pop ecx
pop ecx
mov ecx, edi
mov ebx, eax
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x423819
sub ecx, edx
mov dword [esp + 0x2c], edi
sar ecx, 1
movzx eax, cx
push 0x53c22c
push esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], fcn.0041e952
mov dword [esp + 0x30], 0x41e96a
mov dword [esp + 0x4c], fcn.0041e952
mov dword [esp + 0x50], 0x41e96a
call fcn.004ece55
mov dword [esp + 0x5c], eax
pop ecx
pop ecx
test eax, eax
jne 0x423879
call fcn.004e13ca
cmp dword [eax], edi
je 0x423879
xor eax, eax
inc eax
jmp 0x423b8f
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 0x41ea2a
mov dword [esp + 0x50], 0x41ea48
mov dword [esp + 0xa8], 0x41eaf8
mov dword [esp + 0xac], 0x41eb4b
mov dword [esp + 0xb0], 0x41eb5b
mov dword [esp + 0xb4], 0x41eba5
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], edi
call fcn.0041f1d1
lea ecx, [esp + 0x58]
call fcn.0041f460
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0xb0]
call fcn.00420c52
pop ecx
pop ecx
test eax, eax
je 0x42390a
lea edx, [esp + 0x24]
lea ecx, [esp + 0x58]
call fcn.0041f48f
jmp 0x423b65
or dword [esp + 0x3c], 0xffffffff
xor ecx, ecx
mov esi, ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0xc], esi
cmp dword [esp + 0x74], ecx
jbe 0x423b59
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x98]
mov esi, dword [ecx + esi*4 + 4]
sub esi, dword [ecx + eax*4]
cmp esi, dword [esp + 0x2c]
jbe 0x42397a
push dword [esp + 0x10]
call fcn.004ec66c
pop ecx
lea eax, [esi + esi]
mov dword [esp + 0x2c], esi
push eax
push 0
call fcn.0041e952
mov dword [esp + 0x18], eax
pop ecx
pop ecx
test eax, eax
je 0x423b59
jmp 0x42397e
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x58]
push eax
mov edx, esi
call fcn.00420571
mov eax, dword [esp + 0x1c]
pop ecx
cmp byte [eax + 0x19], 0
jne 0x4239dc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x54]
push eax
push esi
lea edx, [esp + 0xc8]
lea ecx, [esp + 0x78]
call fcn.00420f20
mov edi, dword [esp + 0x40]
add esp, 0x20
test eax, eax
jne 0x423b59
push 0x1f4
push 0
push ebx
call fcn.004debe0
mov ecx, dword [esp + 0x3c]
mov edx, ebx
add esp, 0xc
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4239f4
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, ecx
cmp word [eax], cx
je 0x423a4a
mov ecx, eax
mov eax, dword [esp + 0x40]
movzx eax, ax
lea eax, [ebx + eax*2]
mov dword [esp + 0xc], eax
cmp word [ecx], 0x2f
jne 0x423a2c
push 0x5c
pop eax
mov word [ecx], ax
mov ax, word [ecx]
inc edx
mov ecx, dword [esp + 0xc]
add dword [esp + 0xc], 2
mov word [ecx], ax
mov eax, dword [esp + 0x10]
lea ecx, [eax + edx*2]
xor eax, eax
cmp word [ecx], ax
jne 0x423a20
mov ecx, dword [esp + 0x30]
mov edx, ebx
call fcn.00423603
test al, al
je 0x423b1d
push ebx
call fcn.0043bc40
mov eax, dword [esp + 0x1c]
pop ecx
cmp byte [eax + 0x19], 0
jne 0x423b21
mov edx, ebx
lea ecx, [esp + 0x14]
call fcn.004235b0
test eax, eax
je 0x423ad0
xor eax, eax
push 0x208
push eax
lea eax, [esp + 0x40d0]
push eax
call fcn.004debe0
lea edx, [esp + 0x40d4]
add esp, 0xc
mov ecx, ebx
sub edx, ebx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x423aa4
lea eax, [esp + 0x40c8]
push eax
call fcn.0043bd90
pop ecx
mov edx, ebx
lea ecx, [esp + 0x14]
call fcn.004235b0
test eax, eax
jne 0x423b3a
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea edx, [edx + edi]
call fcn.0041e9f4
pop ecx
test eax, eax
jne 0x423b48
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0xc], eax
jne 0x423b48
cmp dword [esp + 0x14], 0
je 0x423b17
push dword [esp + 0x14]
call fcn.004ec879
pop ecx
test eax, eax
jne 0x423b41
mov dword [esp + 0x14], eax
jmp 0x423b19
xor eax, eax
test eax, eax
jne 0x423b41
mov eax, dword [esp + 0x18]
inc esi
add eax, 0x20
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], eax
cmp esi, dword [esp + 0x74]
jae 0x423b59
xor ecx, ecx
jmp 0x423931
push str.can_not_open_output_file
jmp 0x423b4d
push str.can_not_close_output_file
jmp 0x423b4d
push str.can_not_write_output_file
push str._nERROR:__s_n
call fcn.0041e710
pop ecx
pop ecx
lea eax, [esp + 0x24]
push edi
push eax
call dword [esp + 0x30]
pop ecx
pop ecx
lea edx, [esp + 0x24]
lea ecx, [esp + 0x58]
call fcn.0041f48f
push dword [esp + 0x10]
call fcn.004ec66c
cmp dword [esp + 0x58], 0
pop ecx
je 0x423b8d
push dword [esp + 0x54]
call fcn.004ec879
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x42d4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c9018
mov esp, ebp
pop ebp
ret