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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x105c
call fcn.00492490
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
push edi
xor esi, esi
lea edi, [eax + edx]
cmp eax, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], edi
jge 0x42a20c
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
add ebx, edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x30]
cmp edx, ebx
mov dword [esp + 0x18], edx
jge 0x42a1f6
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0x28], ebx
jmp 0x42a034
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
cmp ebx, 0x10
mov dword [esp + 0x10], 0x10
mov dword [esp + 0xc], 0x10
jge 0x42a051
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x2c]
cmp ebx, 0x10
jge 0x42a05e
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0xc]
add ebx, edx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x10]
add edx, eax
mov dword [esp + 0x64], edx
lea edx, [esp + 0x58]
push edx
lea edx, [esp + 0x6c]
mov dword [esp + 0x60], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
push edx
mov edx, dword [ebp + 8]
push edx
mov dword [esp + 0x6c], ebx
call eax
mov ecx, dword [esp + 0x10]
imul ecx, dword [esp + 0xc]
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x58]
push eax
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x5c]
lea ebx, [esi + edi]
push eax
inc esi
lea eax, [esp + 0x78]
mov byte [ebx], 0
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], ecx
call fcn.00432c90
mov eax, dword [esp + 0x64]
add esp, 0x10
cmp dword [esp + 0x20], 0
je 0x42a0d8
cmp eax, dword [esp + 0x34]
je 0x42a104
or byte [ebx], 2
mov byte [esi + edi], al
inc esi
mov ecx, eax
shr ecx, 8
mov byte [esi + edi], cl
mov edx, eax
inc esi
shr edx, 0x10
mov byte [esi + edi], dl
mov dword [esp + 0x34], eax
inc esi
shr eax, 0x18
mov byte [esi + edi], al
mov dword [esp + 0x20], 1
inc esi
cmp dword [esp + 0x40], 0
jne 0x42a1d4
or byte [ebx], 8
mov edx, dword [esp + 0x50]
mov cl, byte [ebx]
test edx, edx
je 0x42a15d
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0x48]
je 0x42a12d
cmp eax, dword [esp + 0x38]
je 0x42a16a
or cl, 4
mov byte [ebx], cl
mov byte [esi + edi], al
inc esi
mov ecx, eax
shr ecx, 8
mov byte [esi + edi], cl
mov ecx, eax
inc esi
shr ecx, 0x10
mov byte [esi + edi], cl
mov dword [esp + 0x38], eax
inc esi
shr eax, 0x18
mov byte [esi + edi], al
mov dword [esp + 0x14], 1
inc esi
jmp 0x42a16a
or cl, 0x10
mov dword [esp + 0x14], 0
mov byte [ebx], cl
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push ecx
lea edx, [esi + edi]
push edx
lea edx, [esp + 0x7c]
call fcn.0042a220
add esp, 0x14
add esi, eax
test eax, eax
jne 0x42a1d4
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
lea edx, [esp + 0x58]
push edx
lea edx, [esp + 0x6c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
push edx
mov edx, dword [ebp + 8]
mov byte [ebx], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
push edx
call eax
mov ebx, dword [esp + 0x44]
add ebx, ebx
add ebx, ebx
push ebx
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esi + edi]
push edx
call fcn.00485490
add esp, 0xc
add esi, ebx
mov eax, dword [esp + 0x18]
sub dword [esp + 0x28], 0x10
mov ecx, dword [esp + 0x1c]
add eax, 0x10
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
jl 0x42a030
sub dword [esp + 0x2c], 0x10
add eax, 0x10
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
jl 0x42a00d
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18