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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d5f7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b8
mov eax, dword [0x4c822c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
mov dword [ebp - 0x130], edi
cmp dword [edi + 0x58], 0
jge 0x434b7c
test byte [edi + 4], 2
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1a0], 0xffffffff
lea ecx, [edi + 0x40]
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x1a8], closesocket
push eax
mov dword [ebp - 0x1a4], 0x1b00d9
je 0x434b70
mov dword [ebp - 0x1a4], 0x20002
call fcn.00439b70
mov eax, dword [edi + 0x40]
dec eax
mov dword [edi + 0x58], eax
mov eax, dword [edi + 0x14]
mov dword [edi + 8], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
test eax, eax
je 0x434bbd
push eax
call fcn.00424550
add esp, 4
mov eax, dword [edi + 0x18]
test eax, eax
je 0x434bcd
push eax
call fcn.00424550
add esp, 4
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x164], 0
xor edi, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x150], edi
mov esi, dword [ebp - 0x130]
lea edx, [edi + 8]
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x4c]
mov dword [ebp - 0x148], ecx
test ecx, ecx
jle 0x434c71
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
mov dword [ebp - 0x120], eax
test eax, eax
jle 0x434c71
imul eax, eax, 0xc4
push eax
call fcn.00424520
mov ecx, dword [ebp - 0x120]
lea edx, [edi + 8]
mov dword [ebp - 0x168], ecx
add esp, 4
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x164], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x138], eax
test eax, eax
jle 0x434cb9
cmp eax, 8
mov esi, eax
cmovl esi, edx
test esi, esi
jle 0x434cb9
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.00424520
mov ecx, dword [ebp - 0x148]
mov edi, eax
mov eax, dword [ebp - 0x138]
add esp, 4
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x154], esi
mov esi, dword [ebp - 0x164]
imul ecx, ecx, 0xc4
mov dword [ebp - 0x158], eax
push ecx
push 0
push esi
call fcn.0046e580
mov eax, dword [ebp - 0x138]
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edi
call fcn.0046e580
mov ecx, dword [ebp - 0x130]
add esp, 0x18
mov dword [ebp - 0x124], 0
cmp dword [ecx + 0x4c], 0
jle 0x434e52
xor edx, edx
add esi, 0xa4
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x11c], esi
nop word [eax + eax]
mov eax, dword [ecx + 0x54]
add eax, edx
mov dword [esi - 4], 0xffffffff
xor edx, edx
mov dword [ebp - 0x128], eax
cmp dword [ecx + 0x34], edx
jle 0x434ec3
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x434d75
mov eax, dword [ebp - 0x128]
mov ecx, dword [ecx + 0x3c]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x434d5d
mov dword [esi - 4], edx
mov eax, edx
jmp 0x434d60
mov eax, dword [esi - 4]
mov ecx, dword [ebp - 0x130]
inc edx
cmp edx, dword [ecx + 0x34]
jl 0x434d40
cmp eax, 0xffffffff
je 0x434ec3
mov eax, dword [ebp - 0x128]
push dword [eax + 0xc]
mov esi, dword [eax]
push esi
call fcn.004401c0
mov ecx, dword [ebp - 0x11c]
push eax
add ecx, 0xffffff5c
push esi
push ecx
mov dword [ebp - 0x120], ecx
call fcn.0043aa90
add esp, 0x14
test eax, eax
je 0x434ec3
mov eax, dword [ebp - 0x120]
mov edx, 0x4aafc0
mov esi, dword [ebp - 0x11c]
mov eax, dword [eax + 0xa0]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x134], ecx
mov eax, dword [eax + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x434e03
movzx eax, word [edx + 2]
test ax, ax
je 0x434dfd
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x434de2
mov ecx, dword [ebp - 0x134]
mov edx, dword [ebp - 0x134]
inc dword [edi + ecx*8]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x124]
cmp dword [edi + edx*8 + 4], ecx
cmovge ecx, dword [edi + edx*8 + 4]
inc eax
mov dword [edi + edx*8 + 4], ecx
add esi, 0xc4
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x12c]
add edx, 0x78
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x12c], edx
cmp eax, dword [ecx + 0x4c]
jl 0x434d20
mov eax, dword [ebp - 0x148]
xor esi, esi
mov dword [ebp - 0x128], esi
test eax, eax
jle 0x435314
mov edx, dword [ebp - 0x164]
add edx, 0xb4
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x11c], edx
mov eax, dword [edx - 0x14]
mov ecx, dword [edx - 0x10]
add ecx, 0x20
sar ecx, 5
lea esi, [eax + eax*2]
mov dword [ebp - 0x140], ecx
mov eax, dword [edx - 4]
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x120], eax
cmp ecx, eax
jle 0x434f47
test eax, eax
je 0x434ecf
cdq
sub eax, edx
mov edx, dword [ebp - 0x11c]
sar eax, 1
add eax, dword [ebp - 0x120]
jmp 0x434ed4
mov byte [ebp - 0x139], 0
jmp 0x436150
mov eax, 8
cmp eax, ecx
mov edi, ecx
cmovg edi, eax
mov eax, edi
mov dword [ebp - 0x134], edi
mov edi, dword [ebp - 0x150]
cmp eax, dword [edx - 4]
jle 0x434f47
shl eax, 2
push eax
call fcn.00424520
mov edx, dword [ebp - 0x11c]
add esp, 4
mov dword [ebp - 0x120], eax
cmp dword [edx], 0
je 0x434f36
mov ecx, dword [edx - 8]
shl ecx, 2
push ecx
push dword [edx]
push eax
call fcn.0046ded0
mov eax, dword [ebp - 0x11c]
push dword [eax]
call fcn.00424550
mov edx, dword [ebp - 0x11c]
add esp, 0x10
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x140]
mov dword [edx], eax
mov eax, dword [ebp - 0x134]
mov dword [edx - 4], eax
lea eax, [ecx*4]
mov dword [edx - 8], ecx
push eax
push 0
push dword [edx]
call fcn.0046e580
add esp, 0xc
cmp dword [edi + esi*8 + 0xc], 0
jne 0x435021
mov ecx, dword [edi + esi*8 + 4]
mov eax, dword [edi + esi*8 + 0x10]
add ecx, 0x20
sar ecx, 5
mov dword [ebp - 0x140], ecx
cmp ecx, eax
jle 0x435007
test eax, eax
je 0x434f96
cdq
sub eax, edx
mov edx, dword [edi + esi*8 + 0x10]
sar eax, 1
add eax, edx
jmp 0x434f9f
mov edx, dword [edi + esi*8 + 0x10]
mov eax, 8
cmp eax, ecx
mov edi, ecx
cmovg edi, eax
mov eax, edi
mov dword [ebp - 0x134], edi
mov edi, dword [ebp - 0x150]
cmp eax, edx
jle 0x435007
shl eax, 2
push eax
call fcn.00424520
mov edx, dword [edi + esi*8 + 0x14]
add esp, 4
mov dword [ebp - 0x120], eax
test edx, edx
je 0x434ff3
mov ecx, dword [edi + esi*8 + 0xc]
shl ecx, 2
push ecx
push edx
push eax
call fcn.0046ded0
push dword [edi + esi*8 + 0x14]
call fcn.00424550
mov eax, dword [ebp - 0x120]
add esp, 0x10
mov ecx, dword [ebp - 0x140]
mov dword [edi + esi*8 + 0x14], eax
mov eax, dword [ebp - 0x134]
mov dword [edi + esi*8 + 0x10], eax
lea eax, [ecx*4]
mov dword [edi + esi*8 + 0xc], ecx
push eax
push 0
push dword [edi + esi*8 + 0x14]
call fcn.0046e580
add esp, 0xc
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx - 0x18]
mov dword [ebp - 0x124], eax
movzx ecx, word [eax]
test cx, cx
je 0x43511c
nop dword [eax]
movzx eax, word [eax + 2]
test ax, ax
je 0x435116
movzx edi, cx
cmp edi, eax
ja 0x4350fb
nop dword [eax + eax]
mov eax, dword [ebp - 0x12c]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [ebp - 0x150]
sar esi, 5
mov dword [ebp - 0x120], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x4350e2
mov eax, dword [ebp - 0x11c]
add eax, 0xffffff4c
push edi
push eax
call fcn.0043fea0
mov edx, dword [ebp - 0x11c]
add esp, 8
test eax, eax
je 0x4350e8
inc dword [edx - 0xc]
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x150]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x150]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x12c]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [ebp - 0x128]
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x124]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jbe 0x435060
mov eax, dword [ebp - 0x124]
add eax, 4
mov dword [ebp - 0x124], eax
movzx ecx, word [eax]
test cx, cx
jne 0x435040
mov edi, dword [ebp - 0x150]
add edx, 0xc4
sub dword [ebp - 0x14c], 1
mov dword [ebp - 0x11c], edx
jne 0x434e80
mov esi, dword [ebp - 0x164]
mov eax, dword [ebp - 0x148]
add esi, 0xb8
mov dword [ebp - 0x11c], eax
nop dword [eax]
mov edi, dword [esi - 0x10]
cmp edi, dword [esi + 4]
jle 0x435199
lea eax, [edi*4]
push eax
call fcn.00424520
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 0x120], eax
test edx, edx
je 0x435193
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call fcn.0046ded0
push dword [esi + 8]
call fcn.00424550
mov eax, dword [ebp - 0x120]
add esp, 0x10
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov ecx, dword [esi - 4]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x134], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x170], eax
cmp ecx, eax
jae 0x4352d0
xor edx, edx
mov dword [ebp - 0x12c], edx
nop
mov eax, dword [ecx]
mov dword [ebp - 0x160], eax
test eax, eax
je 0x4352b2
xor ecx, ecx
mov edi, 1
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x124], edi
test edi, eax
je 0x435294
and edx, 0xffffffe0
add edx, ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x140], edx
mov edx, dword [esi]
mov dword [ebp - 0x120], edx
cmp edx, ecx
jne 0x435274
lea edi, [edx + 1]
test ecx, ecx
je 0x43521d
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x120]
sar eax, 1
add eax, ecx
jmp 0x435222
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x43526e
lea eax, [edi*4]
push eax
call fcn.00424520
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 0x120], eax
test edx, edx
je 0x435266
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call fcn.0046ded0
push dword [esi + 8]
call fcn.00424550
mov eax, dword [ebp - 0x120]
add esp, 0x10
mov edx, dword [esi]
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x124]
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x140]
mov dword [eax + edx*4], ecx
inc dword [esi]
mov ecx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x160]
mov edx, dword [ebp - 0x12c]
inc ecx
rol edi, 1
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x124], edi
cmp ecx, 0x20
jl 0x4351e3
mov ecx, dword [ebp - 0x134]
add ecx, 4
add edx, 0x20
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x12c], edx
cmp ecx, dword [ebp - 0x170]
jb 0x4351c0
mov eax, dword [esi - 4]
test eax, eax
je 0x4352f5
push eax
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
call fcn.00424550
add esp, 4
mov dword [esi - 4], 0
add esi, 0xc4
sub dword [ebp - 0x11c], 1
jne 0x435150
mov edi, dword [ebp - 0x150]
mov esi, dword [ebp - 0x128]
cmp dword [ebp - 0x138], 0
jle 0x43535d
lea esi, [edi + 0x14]
mov edi, dword [ebp - 0x138]
mov eax, dword [esi]
test eax, eax
je 0x435349
push eax
mov dword [esi - 4], 0
mov dword [esi - 8], 0
call fcn.00424550
add esp, 4
mov dword [esi], 0
add esi, 0x18
sub edi, 1
jne 0x435326
mov edi, dword [ebp - 0x150]
mov esi, dword [ebp - 0x128]
test edi, edi
je 0x435388
push edi
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x158], 0
call fcn.00424550
add esp, 4
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1bc], 0
push esi
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 7
call fcn.00439da0
test esi, esi
jle 0x43540a
cmp esi, 8
mov edi, esi
mov eax, 8
cmovl edi, eax
test edi, edi
jle 0x43540a
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call fcn.00424520
add esp, 4
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1c0], edi
mov ecx, dword [ebp - 0x18c]
shl ecx, 4
push ecx
push 0
push dword [ebp - 0x184]
mov dword [ebp - 0x1c4], esi
call fcn.0046e580
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
push 0
push dword [ebp - 0x1bc]
call fcn.0046e580
mov edx, dword [ebp - 0x148]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x12c], eax
add esp, 0x18
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x128], ecx
test edx, edx
jle 0x43571e
mov edi, dword [ebp - 0x164]
xor esi, esi
add edi, 0x98
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x120], edx
nop dword [eax + eax]
mov edx, dword [edi + 0x10]
test edx, edx
je 0x4356fc
mov eax, dword [ebp - 0x124]
xorps xmm0, xmm0
add dword [ebp - 0x124], edx
add dword [ebp - 0x128], edx
shl eax, 4
add eax, dword [ebp - 0x184]
mov dword [edi - 4], eax
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp - 0x1bc]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x130]
mov dword [edi], ecx
mov edx, dword [eax + 0x54]
mov eax, dword [edx + esi + 0x10]
add edx, esi
mov dword [edi - 0x1c], eax
mov eax, dword [edi + 0x28]
mov dword [edi - 0x14], eax
mov eax, dword [edi + 0x20]
mov dword [edi - 0x18], 0
mov dword [edi - 0x10], eax
mov dword [edi - 0xc], ecx
mov al, byte [edx + 0x14]
mov byte [edi - 8], al
mov al, byte [edx + 0x18]
mov byte [edi - 7], al
movss xmm1, dword [edx + 0x10]
comiss xmm1, xmm0
mov dword [ebp - 0x14c], edx
jbe 0x43557c
mov eax, dword [edi - 0x94]
mov edi, dword [edi - 0x7c]
movzx edx, byte [eax + edi + 5]
movzx ecx, byte [eax + edi + 4]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
mov ecx, dword [ebp - 0x138]
movsx esi, dx
mov eax, dword [ecx - 0x94]
movzx edx, byte [eax + edi + 7]
movzx ecx, byte [eax + edi + 6]
mov eax, 0x100
mov edi, dword [ebp - 0x138]
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movsx eax, dx
sub esi, eax
movd xmm0, esi
mov esi, dword [ebp - 0x11c]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
jmp 0x4355a9
mov edx, dword [edi - 0x94]
mov eax, dword [edi - 0x84]
movzx ecx, byte [edx + eax + 0x12]
movzx eax, byte [edx + eax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
xorps xmm1, xmmword [0x48f500]
mov eax, dword [ebp - 0x130]
xor ecx, ecx
movss dword [ebp - 0x140], xmm1
mov dword [ebp - 0x138], ecx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x134], eax
cmp dword [edi + 0x20], ecx
jle 0x4356f0
mov dword [ebp - 0x160], ecx
nop word [eax + eax]
mov eax, dword [edi + 0x28]
lea esi, [edi - 0x98]
push dword [eax + ecx*4]
push esi
call fcn.0043fea0
add esp, 8
lea ecx, [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x174]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x170]
push ecx
mov ecx, dword [ebp - 0x14c]
sub esp, 0x10
movd xmm0, dword [ecx + 0x18]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mulss xmm0, xmm1
movss dword [esp + 4], xmm0
movd xmm0, dword [ecx + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp], xmm0
push eax
push esi
call fcn.00440250
mov ecx, dword [ebp - 0x134]
add esp, 0x28
sub ecx, dword [ebp - 0x170]
add ecx, dword [ebp - 0x174]
mov esi, dword [ebp - 0x160]
dec cx
mov edx, dword [ebp - 0x14c]
mov eax, dword [edi - 4]
movss xmm1, dword [ebp - 0x140]
add cx, word [edx + 0x14]
mov word [esi + eax + 4], cx
mov ecx, dword [ebp - 0x134]
sub ecx, dword [ebp - 0x15c]
add ecx, dword [ebp - 0x144]
mov eax, dword [edi - 4]
dec cx
add cx, word [edx + 0x18]
mov word [esi + eax + 6], cx
mov eax, dword [edi - 4]
movzx ecx, word [esi + eax + 6]
movzx eax, word [esi + eax + 4]
add esi, 0x10
imul ecx, eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x160], esi
add eax, ecx
mov ecx, dword [ebp - 0x138]
inc ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x138], ecx
cmp ecx, dword [edi + 0x20]
jl 0x4355e0
mov esi, dword [ebp - 0x11c]
jmp 0x4356f6
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x128]
add edi, 0xc4
add esi, 0x78
sub dword [ebp - 0x120], 1
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x11c], esi
jne 0x435490
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
call fcn.00478ec0
mov esi, dword [ebp - 0x130]
cvtsd2ss xmm0, xmm0
mov edi, dword [esi + 0xc]
mov dword [esi + 0x20], 0
cvttss2si eax, xmm0
inc eax
test edi, edi
jg 0x435785
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x4aaff4]
jb 0x435761
mov edi, 0x1000
jmp 0x435785
comiss xmm0, dword [0x4aaff0]
jb 0x435771
mov edi, 0x800
jmp 0x435785
comiss xmm0, dword [0x4aafec]
mov edi, 0x200
mov eax, 0x400
cmovae edi, eax
push 0x2c
lea eax, [ebp - 0x1b8]
mov dword [esi + 0x1c], edi
push 0
push eax
call fcn.0046e580
mov eax, dword [esi + 0x10]
push 0x30
mov dword [ebp - 0x124], eax
call fcn.00424520
mov dword [ebp - 0x11c], eax
mov eax, edi
sub eax, dword [ebp - 0x124]
mov dword [ebp - 0x144], eax
lea ecx, [eax*8]
push ecx
call fcn.00424520
mov ecx, dword [ebp - 0x11c]
add esp, 0x14
test ecx, ecx
je 0x43583f
test eax, eax
je 0x43583c
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x1a4], edx
mov edx, dword [ebp - 0x144]
push edx
push eax
mov dword [ebp - 0x190], eax
mov eax, 0x8000
sub eax, dword [ebp - 0x124]
push eax
push edx
push ecx
mov dword [ebp - 0x1b0], edi
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x1a8], edi
mov dword [ebp - 0x19c], 1
mov dword [ebp - 0x198], 1
mov dword [ebp - 0x1a0], 0
call fcn.0043fb40
add esp, 0x14
jmp 0x435858
push ecx
jmp 0x435844
test eax, eax
je 0x43584c
push eax
call fcn.00424550
add esp, 4
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x178], 0
push dword [esi + 0x40]
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 8
call fcn.00439da0
mov eax, dword [ebp - 0x180]
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x120], eax
shl eax, 4
push eax
push 0
push edx
call fcn.0046e580
xor edi, edi
add esp, 0xc
cmp dword [esi + 0x40], edi
jle 0x4358e4
mov edx, dword [ebp - 0x178]
xor ecx, ecx
add edx, 6
nop dword [eax + eax]
mov eax, dword [esi + 0x48]
lea ecx, [ecx + 0x1c]
inc edi
lea edx, [edx + 0x10]
movzx eax, word [ecx + eax - 0x18]
mov word [edx - 0x12], ax
mov eax, dword [esi + 0x48]
movzx eax, word [ecx + eax - 0x16]
mov word [edx - 0x10], ax
cmp edi, dword [esi + 0x40]
jl 0x4358c0
push dword [ebp - 0x180]
mov edi, dword [ebp - 0x11c]
push dword [ebp - 0x178]
push edi
call fcn.0043fcc0
mov eax, dword [ebp - 0x180]
add esp, 0xc
test eax, eax
jle 0x435961
mov edx, dword [ebp - 0x178]
xor edi, edi
add edx, 0xa
cmp dword [edx + 2], 0
je 0x43594a
mov ecx, dword [esi + 0x48]
movzx eax, word [edx - 2]
mov word [edi + ecx + 8], ax
mov ecx, dword [esi + 0x48]
movzx eax, word [edx]
mov word [edi + ecx + 0xa], ax
movzx eax, word [edx]
movzx ecx, word [edx - 4]
add ecx, eax
mov eax, dword [ebp - 0x120]
cmp dword [esi + 0x20], ecx
cmovge ecx, dword [esi + 0x20]
mov dword [esi + 0x20], ecx
add edi, 0x1c
add edx, 0x10
sub eax, 1
mov dword [ebp - 0x120], eax
jne 0x435914
mov edi, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x178]
mov byte [ebp - 4], 9
test eax, eax
je 0x435978
push eax
call fcn.00424550
add esp, 4
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 7
test eax, eax
jle 0x435a10
mov esi, dword [ebp - 0x164]
add esi, 0xa8
mov dword [ebp - 0x120], eax
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x4359f5
push eax
push dword [esi - 0x14]
push edi
call fcn.0043fcc0
xor edi, edi
add esp, 0xc
cmp dword [esi], edi
jle 0x4359f5
xor edx, edx
nop dword [eax + eax]
mov eax, dword [esi - 0x14]
cmp dword [eax + edx + 0xc], 0
je 0x4359ed
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 0x20]
cmp eax, ecx
cmovge ecx, eax
mov eax, dword [ebp - 0x130]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x4359c0
mov edi, dword [ebp - 0x11c]
add esi, 0xc4
sub dword [ebp - 0x120], 1
jne 0x4359a0
mov esi, dword [ebp - 0x130]
test byte [esi + 4], 1
je 0x435a1b
mov eax, dword [esi + 0x20]
jmp 0x435a41
mov ecx, dword [esi + 0x20]
dec ecx
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
movss xmm1, dword [0x48f4f4]
lea ecx, [eax + 1]
mov eax, dword [esi + 0x1c]
movaps xmm2, xmm1
mov dword [esi + 0x20], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm1, xmm0
push ecx
movss dword [esi + 0x24], xmm2
movss dword [esi + 0x28], xmm1
call fcn.00424520
mov ecx, dword [esi + 0x20]
imul ecx, dword [esi + 0x1c]
mov dword [esi + 0x14], eax
push ecx
push 0
push eax
call fcn.0046e580
mov eax, dword [esi + 0x14]
add esp, 0x10
mov edi, dword [ebp - 0x148]
mov dword [ebp - 0x194], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x1ac], eax
test edi, edi
jle 0x435ca6
mov ecx, dword [ebp - 0x164]
xor eax, eax
mov dword [ebp - 0x120], eax
mov edx, edi
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x140], edi
mov edi, dword [esi + 0x54]
add edi, eax
cmp dword [ecx + 0xa8], 0
je 0x435c70
push dword [ecx + 0x94]
lea eax, [ecx + 0x7c]
push 1
push eax
push ecx
lea eax, [ebp - 0x1b8]
push eax
call fcn.004406c0
movss xmm1, dword [edi + 0x44]
add esp, 0x14
ucomiss xmm1, dword [0x48f4f4]
movss dword [ebp - 0x144], xmm1
lahf
test ah, 0x44
jnp 0x435c54
xor esi, esi
nop
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x48ed60]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.0048c540
movss xmm1, dword [ebp - 0x144]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x118], dl
inc esi
cmp esi, 0x100
jb 0x435b20
mov ecx, dword [ebp - 0x11c]
xor eax, eax
mov dword [ebp - 0x12c], eax
mov edx, dword [ecx + 0x94]
cmp dword [ecx + 0xa8], eax
jle 0x435e4f
lea ecx, [edx + 6]
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x128], ecx
nop word [eax + eax]
cmp dword [ecx + 6], 0
je 0x435c32
mov eax, dword [ebp - 0x130]
movzx edx, word [ecx + 4]
movzx edi, word [ecx]
movzx esi, word [ecx - 2]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x124], eax
movzx eax, word [ecx + 2]
imul edx, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x130]
add edx, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x128]
add edx, eax
test edi, edi
je 0x435c26
mov eax, dword [ebp - 0x124]
nop word [eax + eax]
xor ecx, ecx
test esi, esi
je 0x435c19
nop word [eax + eax]
movzx eax, byte [ecx + edx]
mov al, byte [ebp + eax - 0x118]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x435c00
mov eax, dword [ebp - 0x124]
dec edi
add edx, eax
test edi, edi
jg 0x435bf0
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x12c]
inc eax
add ecx, 0x10
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], ecx
cmp eax, dword [edx + 0xa8]
jl 0x435ba0
mov esi, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x120]
mov edx, dword [ebp - 0x140]
mov dword [ecx + 0x94], 0
add eax, 0x78
add ecx, 0xc4
sub edx, 1
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x140], edx
jne 0x435ad0
mov eax, dword [ebp - 0x1b4]
mov edi, dword [ebp - 0x148]
mov dword [ebp - 0x11c], eax
push dword [ebp - 0x190]
call fcn.00424550
mov eax, dword [ebp - 0x11c]
push eax
call fcn.00424550
mov eax, dword [ebp - 0x184]
add esp, 8
test eax, eax
je 0x435cef
push eax
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x18c], 0
call fcn.00424550
add esp, 4
xor eax, eax
mov dword [ebp - 0x184], eax
test edi, edi
jle 0x43610c
mov ecx, dword [ebp - 0x164]
xor edx, edx
add ecx, 4
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x12c], ecx
mov eax, edi
mov dword [ebp - 0x134], edi
nop word [eax + eax]
cmp dword [ecx + 0xa4], 0
je 0x436098
mov edi, dword [ecx + 0x18]
xorps xmm4, xmm4
mov eax, dword [esi + 0x54]
mov esi, dword [ecx]
add eax, edx
mov dword [ebp - 0x15c], eax
mov eax, dword [eax + 0x74]
movzx ecx, byte [edi + esi + 6]
movzx edx, byte [edi + esi + 7]
mov dword [ebp - 0x138], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movzx ecx, byte [edi + esi + 4]
movsx eax, dx
movzx edx, byte [edi + esi + 5]
mov dword [ebp - 0x144], eax
mov eax, 0x100
mov edi, dword [ebp - 0x15c]
cwde
movsx ecx, cx
imul ecx, eax
movss xmm3, dword [edi + 0x10]
add dx, cx
movsx ecx, dx
mov edx, dword [ebp - 0x144]
mov eax, ecx
sub eax, edx
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm4
divss xmm3, xmm0
seta al
lea eax, [eax*2 - 1]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm1, edx
cvtdq2ps xmm1, xmm1
movd xmm0, eax
xor eax, eax
comiss xmm1, xmm4
cvtdq2ps xmm0, xmm0
seta al
cmp byte [edi + 0x3c], 0
mulss xmm3, xmm1
lea eax, [eax*2 - 1]
movss dword [ebp - 0x144], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
cvttss2si esi, xmm0
jne 0x435e5a
mov ecx, dword [ebp - 0x138]
call fcn.00434450
mov edx, dword [ebp - 0x138]
mov eax, dword [edi + 0x10]
movss xmm0, dword [ebp - 0x144]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x130]
mov dword [edx + 0x3c], edi
mov dword [edx + 0x38], eax
movss dword [edx + 0x4c], xmm0
movss dword [edx + 0x50], xmm1
jmp 0x435e65
mov esi, dword [ebp - 0x130]
jmp 0x435c5a
mov edx, dword [ebp - 0x138]
movss xmm0, dword [edx + 0x4c]
movss xmm3, dword [0x48fc20]
inc word [edx + 0x40]
addss xmm0, xmm3
mov ecx, dword [ebp - 0x12c]
movss xmm2, dword [edi + 0x28]
mov esi, dword [ebp - 0x130]
movss dword [ebp - 0x174], xmm2
cmp dword [ecx + 0xa4], 0
cvttss2si eax, xmm0
mov dword [ebp - 0x124], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x2c]
movss dword [ebp - 0x144], xmm0
jle 0x43608c
mov dword [ebp - 0x11c], 0
nop word [eax + eax]
mov eax, dword [ecx + 0xbc]
mov edx, dword [ebp - 0x124]
mov ecx, dword [ecx + 0x94]
movss xmm7, dword [edi + 0x34]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x11c]
movss xmm1, dword [ecx + eax + 0x10]
comiss xmm7, xmm1
ja 0x435f0a
movss xmm7, dword [edi + 0x38]
minss xmm7, xmm1
mov edx, dword [ebp - 0x138]
movaps xmm6, xmm2
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jnp 0x435f49
cmp byte [edi + 0x1c], 0
je 0x435f3a
movaps xmm0, xmm7
subss xmm0, xmm1
mulss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
jmp 0x435f45
movaps xmm6, xmm7
subss xmm6, xmm1
mulss xmm6, xmm3
addss xmm6, xmm2
movd xmm0, dword [esi + 0x1c]
sub esp, 0x24
mov eax, dword [ebp - 0x11c]
movss xmm2, dword [0x48f4f4]
cvtdq2ps xmm0, xmm0
movzx eax, word [ecx + eax]
movss xmm3, dword [0x48f4f4]
divss xmm2, xmm0
movd xmm0, dword [esi + 0x20]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
mov eax, dword [ebp - 0x11c]
divss xmm3, xmm0
movzx eax, word [ecx + eax + 2]
movd xmm4, eax
mov eax, dword [ebp - 0x11c]
movss dword [esp + 0x20], xmm7
cvtdq2ps xmm5, xmm5
movzx eax, word [ecx + eax + 4]
cvtdq2ps xmm4, xmm4
movd xmm1, eax
mov eax, dword [ebp - 0x11c]
cvtdq2ps xmm1, xmm1
movzx eax, word [ecx + eax + 6]
mulss xmm5, xmm2
mulss xmm1, xmm2
xorps xmm2, xmm2
movd xmm0, eax
mov eax, dword [ebp - 0x11c]
cvtdq2ps xmm0, xmm0
mulss xmm4, xmm3
mulss xmm0, xmm3
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [ecx + eax + 0x18]
addss xmm0, xmm2
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x14], xmm4
movss dword [esp + 0x10], xmm5
addss xmm0, dword [ebp - 0x144]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx + eax + 0x14]
addss xmm0, xmm2
addss xmm0, xmm6
movss dword [esp + 8], xmm0
movss xmm0, dword [ecx + eax + 0xc]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0x144]
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx + eax + 8]
mov ecx, edx
addss xmm0, xmm2
addss xmm0, xmm6
movss dword [esp], xmm0
push dword [ebp - 0x15c]
call fcn.00432580
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x12c]
inc eax
add dword [ebp - 0x11c], 0x1c
movss xmm2, dword [ebp - 0x174]
movss xmm3, dword [0x48fc20]
mov dword [ebp - 0x124], eax
cmp eax, dword [ecx + 0xa4]
jl 0x435ed0
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 0x128]
add ecx, 0xc4
add edx, 0x78
sub eax, 1
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x134], eax
jne 0x435d20
mov edi, dword [ebp - 0x164]
mov esi, dword [ebp - 0x148]
add edi, 0xb4
nop
mov eax, dword [edi + 0xc]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4360e4
push eax
call fcn.00424550
add esp, 4
mov eax, dword [edi]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4360f7
push eax
call fcn.00424550
add esp, 4
add edi, 0xc4
mov byte [ebp - 4], 7
sub esi, 1
jne 0x4360d0
mov esi, dword [ebp - 0x130]
push esi
call fcn.00434810
add esp, 4
mov byte [ebp - 0x139], 1
mov eax, dword [ebp - 0x1bc]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x436133
push eax
call fcn.00424550
add esp, 4
mov eax, dword [ebp - 0x184]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x43614a
push eax
call fcn.00424550
add esp, 4
mov edi, dword [ebp - 0x150]
mov byte [ebp - 4], 0xe
test edi, edi
je 0x436161
push edi
call fcn.00424550
add esp, 4
mov eax, dword [ebp - 0x164]
mov dword [ebp - 4], 0xf
test eax, eax
je 0x43617b
push eax
call fcn.00424550
add esp, 4
mov al, byte [ebp - 0x139]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041598b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret