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

Disassembly:
sub esp, 0x30
push ebx
push esi
mov esi, dword [esp + 0x3c]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x42a4f1
mov edi, dword [esp + 0x44]
cmp edi, ebx
je 0x42a4f1
push ebp
push 0x4000
lea eax, [esi + 0x147ff0]
push eax
lea ecx, [edi + 0x2874]
push ecx
call fcn.004704a0
add esp, 0xc
cmp dword [esi + 0x34], ebx
mov dword [esp + 0x28], ebx
jle 0x42a279
lea ebx, [edi + 0xff4]
add edi, 0xfe0
lea ebp, [esi + 0x42bc]
mov dword [esp + 0x24], edi
nop
mov eax, dword [ebp - 4]
mov dword [edi], eax
sub eax, 0
je 0x42a241
sub eax, 1
je 0x42a221
sub eax, 1
mov eax, 1
je 0x42a243
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x30
ret
mov ecx, ebx
mov eax, ebp
mov edx, 0x78
lea ebx, [ebx]
mov edi, dword [eax]
mov dword [ecx], edi
add eax, 4
add ecx, 4
sub edx, 1
jne 0x42a230
jmp 0x42a24c
xor eax, eax
mov ecx, 0x78
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
add eax, 1
add edi, 4
add ebp, 0x1e8
add ebx, 0x1e0
cmp eax, dword [esi + 0x34]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
jl 0x42a200
mov edi, dword [esp + 0x48]
xor ebx, ebx
cmp dword [esi + 0x38], ebx
mov dword [esp + 0x34], ebx
jle 0x42a4e7
lea edx, [edi + 0x1af4]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], edx
lea eax, [edi + 0x1bf4]
lea ecx, [edi + 0x19b4]
lea edx, [edi + 0xf40]
lea ebx, [esi + 0x458]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
lea ebp, [esi + 0x4c50]
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ebx
jmp 0x42a2c8
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx - 0x14]
add eax, 0x68
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov dword [edx + 0x60], eax
mov eax, dword [ebp + 4]
mov dword [edx], eax
mov eax, dword [ebx - 8]
mov dword [edx + 0x20], eax
mov eax, dword [ebx + 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp]
mov dword [edx - 0x40], eax
mov eax, dword [ebp - 4]
mov dword [edx - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x80], eax
mov eax, dword [edx - 0x20]
sub eax, 2
neg eax
sbb eax, eax
and eax, 0xfffffff9
xor esi, esi
add eax, 8
cmp eax, esi
mov dword [edx + 0xa14], esi
jle 0x42a33b
lea esp, [esp]
cmp byte [esi + ebp + 0xf28], 1
jne 0x42a334
mov dword [edx + 0xa14], 1
add esi, 1
cmp esi, eax
jl 0x42a320
mov eax, dword [ebp + 0xf28]
mov edi, dword [esp + 0x24]
mov dword [ecx - 0x40], eax
mov eax, dword [ebp + 0xf2c]
mov dword [ecx - 0x3c], eax
mov eax, dword [ebp + 0xf30]
mov dword [ecx], eax
mov eax, dword [ebp + 0xf34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
lea esi, [ebp + 0xf78]
mov ecx, 0x28
rep movsd dword es:[edi], dword [esi]
lea edi, [eax - 0x100]
lea esi, [ebp + 0xf38]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edi, eax
mov eax, dword [esp + 0x44]
lea esi, [ebp + 0xf58]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x798]
add ecx, dword [esp + 0x10]
mov dword [esp + 0x30], 0
movsx eax, word [eax + ecx*2 + 0x1547f0]
sub dword [esp + 0x14], eax
cmp dword [ebx + 8], 0
mov dword [esp + 0x2c], eax
jle 0x42a4a1
lea edi, [ebx + 0x10]
mov dword [esp + 0x1c], edi
lea esp, [esp]
mov edx, dword [edi]
mov ebx, dword [edi + 4]
mov eax, dword [edi - 4]
add ebx, edx
cmp edx, ebx
mov dword [esp + 0x3c], eax
mov esi, edx
jge 0x42a3ff
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x48]
add ecx, edx
lea edi, [esi + ecx*4]
mov esi, ebx
sub esi, edx
mov ecx, esi
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
add esi, edx
test eax, eax
je 0x42a468
cmp edx, ebx
mov ecx, edx
jge 0x42a47c
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
add edx, edi
lea esi, [eax + edx*2 + 0x20f4]
lea ebx, [ebx]
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 0x1c]
cmp word [eax + ecx*2], 0
jne 0x42a432
xor eax, eax
jmp 0x42a44b
mov eax, dword [esp + 0x44]
lea edx, [edi + ecx]
movsx edx, word [eax + edx*2 + 0x1547f0]
mov eax, dword [esp + 0x2c]
sub eax, edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x14]
add edx, eax
mov word [esi], dx
add ecx, 1
add esi, 2
cmp ecx, ebx
mov dword [esp + 0x14], edx
jl 0x42a420
mov edi, dword [esp + 0x1c]
jmp 0x42a47c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
add ecx, esi
mov word [edx + ecx*2 + 0x20f4], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
add eax, 1
add edi, 0x10
cmp eax, dword [ecx + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], edi
jl 0x42a3d0
mov edx, dword [esp + 0x38]
mov ebx, ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
add dword [esp + 0x20], 8
add dword [esp + 0x24], 0xa0
add dword [esp + 0x28], 0x20
add dword [esp + 0x10], 0x78
add eax, 1
add edx, 4
add ebx, 0x7c0
add ebp, 0x1028
cmp eax, dword [ecx + 0x38]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ebx
jl 0x42a2c4
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x30
ret