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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x164
mov eax, dword [0x48a348]
xor eax, esp
mov dword [esp + 0x160], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], edx
xor esi, esi
lea edx, [eax + edi]
cmp eax, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], edx
jge 0x423c1b
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
add ebx, edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x38], edi
cmp edx, dword [esp + 0x48]
mov dword [esp + 0x2c], edx
jge 0x423c05
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x24], edi
jmp 0x423a74
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov ebx, 0x10
cmp edi, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
jge 0x423a8d
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x38]
cmp edi, ebx
jge 0x423a9b
mov dword [esp + 0x28], edi
mov ebx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
add eax, ebx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x58]
push eax
add edi, edx
lea eax, [esp + 0x6c]
mov dword [esp + 0x5c], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
push eax
mov eax, dword [esp + 0x48]
push eax
mov dword [esp + 0x6c], edi
call edx
imul ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
lea edi, [eax + esi]
lea ecx, [esp + 0x12]
push ecx
lea edx, [esp + 0x17]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x50]
push ecx
inc esi
mov eax, ebx
lea ecx, [esp + 0x78]
mov byte [edi], 0
mov dword [esp + 0x64], esi
call fcn.0042c480
mov al, byte [esp + 0x23]
add esp, 0x10
cmp dword [esp + 0x34], 0
je 0x423b10
cmp al, byte [esp + 0x3c]
je 0x423b29
or byte [edi], 2
mov edx, dword [esp + 0x1c]
mov byte [edx + esi], al
mov dword [esp + 0x34], 1
mov byte [esp + 0x3c], al
inc esi
jmp 0x423b2d
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x4c], 0
jne 0x423be0
or byte [edi], 8
cmp dword [esp + 0x44], 0
mov al, byte [edi]
je 0x423b6b
cmp dword [esp + 0x18], 0
mov cl, byte [esp + 0x12]
je 0x423b55
cmp cl, byte [esp + 0x11]
je 0x423b77
or al, 4
mov byte [edi], al
mov byte [edx + esi], cl
mov dword [esp + 0x18], 1
mov byte [esp + 0x11], cl
inc esi
jmp 0x423b77
or al, 0x10
mov dword [esp + 0x18], 0
mov byte [edi], al
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
add edx, esi
push edx
lea eax, [esp + 0x7c]
call fcn.00423c40
add esp, 0x14
add esi, eax
test eax, eax
jne 0x423be0
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x48]
mov byte [edi], 1
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
push eax
call edx
mov ecx, dword [esp + 0x1c]
push ebx
lea eax, [esp + 0x6c]
push eax
add ecx, esi
push ecx
call fcn.00463790
add esp, 0xc
add esi, ebx
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x24], 0x10
mov ecx, dword [esp + 0x20]
add eax, 0x10
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
jl 0x423a70
mov edx, dword [ebp + 0x10]
sub dword [esp + 0x38], 0x10
add eax, 0x10
cmp eax, dword [esp + 0x50]
mov dword [esp + 0x30], eax
jl 0x423a52
mov ecx, dword [esp + 0x16c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0045dc1f
mov esp, ebp
pop ebp
ret 0x18