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

Disassembly:
sub esp, 0xd0
mov eax, dword [0x698b9c]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push ebp
push esi
push edi
mov ebx, dword [esp + 0xe4]
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x620]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
lea eax, [ebx - 1]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x40], eax
cmp eax, 3
ja 0x4242c9
push 0x50
push ecx
call fcn.0042f120
mov dword [esp + 0x28], eax
cmp eax, edi
je 0x4242c9
mov ecx, dword [esi]
mov esi, dword [esp + 0x14]
xor edx, edx
mov dword [ecx + 0x38], eax
cmp dword [esi + 0x18], 1
setg dl
inc edx
cmp ebx, edi
mov dword [esp + 0x20], edx
jle 0x423e54
lea edx, [esp + 0x48]
add esi, 0x24
mov dword [esp + 0x10], ebx
nop
mov ecx, dword [esi - 4]
mov eax, dword [esi]
add eax, 0xf
add ecx, 0xf
sar ecx, 4
sar eax, 4
imul eax, ecx
mov dword [edx], eax
add eax, eax
mov dword [edx - 4], ecx
mov dword [edx + 4], eax
add ebp, eax
add esi, 0xc8
add edx, 0xc
sub dword [esp + 0x10], 1
jne 0x423e20
mov dword [esp + 0x10], ebp
xor ecx, ecx
cmp dword [esp + 0x20], edi
mov dword [esp + 0x24], ecx
jle 0x423efd
cmp ecx, edi
sete al
xor edx, edx
cmp ebx, edi
jle 0x423eee
mov edi, dword [esp + 0x14]
movzx eax, al
lea ecx, [eax*4]
mov ebp, dword [esp + ecx + 0x34]
lea esi, [esp + ecx + 0x34]
mov dword [esp + 0x2c], esi
lea esi, [eax + ebp*2]
add edi, 0x20
add ebp, ebx
lea esi, [esp + esi*4 + 0x74]
mov dword [esp + 0x18], ebp
lea esp, [esp]
mov eax, dword [edi]
add eax, 0xf
and eax, 0xfffffff0
add eax, 0x40
lea ebp, [eax + 0x1f]
sar eax, 1
add eax, 0xf
and ebp, 0xffffffe0
and eax, 0xfffffff0
mov dword [esi], edx
mov dword [esp + ecx + 0xb4], ebp
mov dword [esp + ecx + 0x94], eax
inc edx
add esi, 8
add edi, 0xc8
add ecx, 8
cmp edx, ebx
jl 0x423ea0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov dword [ecx], eax
mov ecx, dword [esp + 0x24]
xor edi, edi
inc ecx
cmp ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
jl 0x423e64
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea esi, [edx + eax]
mov edx, dword [esp + 0x3c]
lea edi, [ebx + ebx*2]
lea esi, [esi + esi*2]
shl edi, 5
shl esi, 5
lea ecx, [edi + ebp*2]
add ecx, esi
push ecx
push edx
call fcn.0042f120
test eax, eax
je 0x4242c9
add esi, eax
add edi, esi
mov dword [esp + 0x2c], esi
xor esi, esi
add ebp, edi
cmp dword [esp + 0x20], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], esi
jle 0x423fb0
lea ebx, [ebx]
test esi, esi
sete cl
movzx ebp, cl
cmp dword [esp + ebp*4 + 0x34], 0
jle 0x423fa5
mov ebx, dword [esp + ebp*4 + 0x34]
lea edi, [esp + ebp*4 + 0x74]
mov ecx, dword [edi]
lea esi, [ebp + ecx*2]
add esi, esi
add esi, esi
mov ecx, dword [esp + esi + 0x94]
push ecx
mov ecx, dword [esp + esi + 0xb8]
call fcn.00442ad0
mov edx, dword [esp + 0x2c]
mov dword [esi + edx], eax
add esp, 4
add eax, 0x60
add edi, 8
sub ebx, 1
jne 0x423f67
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0xe4]
inc esi
cmp esi, dword [esp + 0x20]
mov dword [esp + 0x24], esi
jl 0x423f50
xor ecx, ecx
cmp dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
jle 0x42404f
test ecx, ecx
sete al
mov dword [esp + 0x1c], 0
test ebx, ebx
jle 0x424040
mov edx, dword [esp + 0x28]
movzx eax, al
mov ecx, dword [esp + eax*4 + 0x34]
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ecx
lea ebp, [edx + eax*4]
xor ecx, ecx
xor edi, edi
xor dl, dl
cmp dword [esp + 0x30], ecx
jle 0x424022
lea esi, [esp + eax*4 + 0x74]
jmp 0x424000
mov eax, dword [esi]
cmp eax, dword [esp + 0x1c]
je 0x4240ca
test dl, dl
jne 0x424014
mov edi, eax
mov dl, 1
mov eax, dword [esp + 0x14]
inc ecx
add esi, 8
cmp ecx, dword [esp + eax*4 + 0x34]
jl 0x424000
mov edx, dword [esp + 0x28]
lea ecx, [eax + edi*2]
mov ecx, dword [edx + ecx*4]
mov dword [ebp], ecx
inc dword [esp + 0x1c]
add ebp, 8
cmp dword [esp + 0x1c], ebx
jl 0x423fe7
mov ecx, dword [esp + 0x24]
inc ecx
cmp ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
jl 0x423fc0
xor esi, esi
test ebx, ebx
jle 0x42409f
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x4c]
add eax, 0x30
mov dword [esp + 0x14], ebx
mov esi, ebx
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x2c]
mov ecx, dword [edx]
add dword [esp + 0x10], ecx
mov dword [eax], ebp
mov ebp, dword [esp + 0x18]
mov dword [eax - 0x10], edi
mov dword [eax + 0x10], ebp
add edi, 0x60
add ebp, ecx
add eax, 4
add edx, 0xc
sub dword [esp + 0x14], 1
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], ebp
jne 0x424066
cmp ebx, 4
jge 0x4240d3
mov edi, dword [esp + 0x28]
lea eax, [edi + esi*4 + 0x30]
xor ecx, ecx
lea esp, [esp]
mov dword [edi + esi*8], ecx
mov dword [edi + esi*8 + 4], ecx
mov dword [eax - 0x10], ecx
mov dword [eax], ecx
mov dword [eax + 0x10], ecx
inc esi
add eax, 4
cmp esi, 4
jl 0x4240b0
jmp 0x4240d7
mov eax, dword [esp + 0x14]
jmp 0x42402f
mov edi, dword [esp + 0x28]
lea esi, [ebx + ebx*2]
add esi, esi
add esi, esi
mov dx, word [esp + esi + 0x38]
lea eax, [esp + esi + 0x38]
add dx, 3
mov dword [esp + 0x20], eax
and dx, 0xfffc
movzx eax, dx
movsx ebp, ax
mov dword [esp + 0x2c], eax
lea eax, [ebp + ebp]
push eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
push eax
mov dword [esp + 0x38], esi
call fcn.0042f120
mov ebx, eax
test ebx, ebx
je 0x4242c9
xor edx, edx
test ebp, ebp
jle 0x424159
lea eax, [ebx + 4]
jmp 0x424130
movzx ecx, dx
lea edi, [ecx + 1]
mov word [eax - 2], di
mov word [eax - 4], cx
lea edi, [ecx + 2]
add ecx, 3
mov word [eax], di
mov word [eax + 2], cx
add edx, 4
add eax, 8
cmp edx, ebp
jl 0x424130
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
test eax, eax
jl 0x4241bd
lea ebp, [eax + eax*2]
lea ecx, [edi + eax*4 + 0x30]
lea ebp, [esp + ebp*4 + 0x48]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
mov esi, dword [edx]
mov eax, dword [ebp]
mov ecx, dword [ebp - 4]
cdq
idiv ecx
lea edi, [ecx + ecx]
test eax, eax
jle 0x4241a4
mov dword [esp + 0x18], eax
mov edi, edi
push edi
push ebx
push esi
call fcn.005bfdd0
add esp, 0xc
add esi, edi
sub dword [esp + 0x18], 1
jne 0x424190
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x10], 4
dec eax
sub ebp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
jge 0x424174
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
push eax
push 0
push ebx
call fcn.005bfd50
mov eax, dword [esp + esi + 0x48]
mov ecx, dword [esp + 0x2c]
cdq
idiv dword [ecx]
lea edx, [esp + 0xde]
shr edx, 1
and edx, 7
add edx, edx
mov ecx, edx
xor ebp, ebp
lea edx, [esp + 0xde]
add esp, 0xc
sub edx, ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x30], edx
movzx eax, ax
cwde
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x40]
test esi, esi
jl 0x42425a
mov ecx, dword [esp + 0x28]
lea edi, [esi + esi*2]
lea edi, [esp + edi*4 + 0x48]
lea ebp, [ecx + esi*4 + 0x40]
lea ebx, [ebx]
mov eax, dword [edi]
mov ecx, dword [edi - 4]
cdq
idiv ecx
mov edx, dword [esp + 0x10]
cmp edx, eax
jge 0x424247
lea eax, [ecx + ecx]
imul ecx, edx
mov edx, dword [ebp]
push eax
lea eax, [edx + ecx*2]
push ebx
push eax
call fcn.005bfdd0
add esp, 0xc
dec esi
sub ebp, 4
sub edi, 0xc
test esi, esi
jge 0x424220
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
inc ebp
cmp ebp, dword [esp + 0x18]
mov dword [esp + 0x10], ebp
jge 0x4242a7
mov eax, ebp
shl eax, 0x10
or eax, ebp
xor ecx, ecx
cmp cx, word [esp + 0x2c]
mov dword [edx], eax
mov dword [edx + 4], eax
jge 0x424203
mov ecx, eax
mov dword [ebx], eax
mov ax, word [esp + 0x2c]
dec ax
shr ax, 2
mov dword [ebx + 4], ecx
inc ax
movzx ecx, ax
lea ecx, [ecx*8 - 5]
shr ecx, 2
mov esi, ebx
lea edi, [ebx + 8]
rep movsd dword es:[edi], dword [esi]
jmp 0x424203
mov eax, dword [esp + 0x3c]
mov ecx, 0xfffffff9
sub ecx, dword [ebx - 8]
sub ecx, dword [eax + 4]
add dword [eax + 8], ecx
mov edx, dword [ebx - 4]
push edx
call fcn.005c05f8
add esp, 4
xor eax, eax
jmp 0x4242ce
mov eax, 1
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005bfcb8
add esp, 0xd0
ret