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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
lea edx, [esp + 0x68]
mov dword [esp + 0x68], 0
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x58], eax
mov eax, dword [0xd44044]
mov dword [esp + 0x6c], eax
xor eax, eax
mov eax, ebx
call fcn.00592280
test eax, eax
jne 0x5979a0
test esi, esi
je 0x597991
mov dword [esi + 0x1c], 0x17
xor esi, esi
jmp 0x597a82
mov dword [esp], ebx
mov dword [esp + 4], 0xd3b6f6
call fcn.0040f8c0
mov ebx, eax
test eax, eax
je 0x597aa0
mov ecx, dword [0x6c57ac]
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov dword [esp + 0x5c], ecx
mov dword [esp + 8], 0
mov dword [esp], eax
call ecx
mov dword [esp], ebx
call dword [0x6c57a8]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call ecx
movzx eax, word [esp + 0x58]
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x68]
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov dword [esp], esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
call fcn.00597870
mov dword [esp], ebx
mov esi, eax
call fcn.0040f8a8
mov eax, dword [esp + 0x6c]
sub eax, dword [0xd44044]
jne 0x597ab3
add esp, 0x7c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
test esi, esi
je 0x597991
mov dword [esi + 0x1c], 0x11
xor esi, esi
jmp 0x597a82
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x560
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, eax
mov dword [esp + 0x7c], eax
mov eax, dword [0xd44044]
mov dword [esp + 0x55c], eax
xor eax, eax
test ebx, ebx
je 0x597b48
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x78], eax
test eax, eax
je 0x597b68
cmp dword [ebx + 0x14], 2
jne 0x597b68
mov eax, dword [esi + 0x38]
test eax, eax
je 0x597b68
mov eax, dword [esi + 0x48]
mov ebx, dword [eax + 0x34]
test ebx, ebx
je 0x597b1d
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0x34]
test ecx, ecx
je 0x597b68
cmp edi, dword [esi + 0x10]
jae 0x597b68
mov edx, dword [eax + 0x10]
mov edx, dword [edx + edi*4]
add edx, dword [eax]
mov dword [esp + 0x74], edx
je 0x597b68
cmp dword [edx], 0x2014b50
je 0x597b78
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 9
lea esi, [esi]
nop
xor eax, eax
mov edx, dword [esp + 0x55c]
sub edx, dword [0xd44044]
jne 0x5981e9
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 0x18
jmp 0x597b48
movzx ecx, word [edx + 0x1c]
movzx eax, word [edx + 0x1e]
movzx ebx, word [edx + 0x20]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x58], eax
add eax, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x5c], eax
add eax, ebx
mov dword [esp + 0x70], eax
add eax, dword [ecx + 4]
mov dword [esp + 0x60], ebx
cmp eax, 0xffffffb1
je 0x597ca0
mov ebx, dword [esp + 0x7c]
mov eax, ebx
call fcn.0059b740
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x10]
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x597c68
cmp eax, 0xffffffff
je 0x597c73
lea eax, [esp + 0xd0]
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x74]
mov edx, edi
mov dword [esp], eax
mov eax, esi
call fcn.00591c40
test eax, eax
je 0x597b48
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x10c]
lea edi, [esp + 0xb0]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 0x10], 0x1e
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esi + 0x44]
mov dword [esp], eax
call dword [esi + 0x38]
cmp eax, 0x1e
je 0x597cb0
mov dword [ebx + 0x1c], 0x14
jmp 0x597b48
cmp eax, 0xffff
jne 0x597bd6
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 2
jmp 0x597b48
mov ecx, dword [esp + 0x68]
cmp dword [eax + 8], ecx
jb 0x598618
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x68]
mov dword [eax + 4], edi
lea esi, [esi]
nop
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 0xf
jmp 0x597b48
cmp dword [esp + 0xb0], 0x4034b50
jne 0x597b38
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0xc6]
mov ebx, dword [esp + 0xc2]
add edx, 0x1e
adc ecx, 0
mov dword [esp + 0x38], eax
movzx eax, word [esp + 0xca]
mov dword [esp + 0x44], ecx
movzx ecx, word [esp + 0xcc]
mov dword [esp + 0x40], edx
xor edx, edx
mov dword [esp + 0x28], eax
add eax, ecx
add eax, dword [esp + 0xf0]
adc edx, dword [esp + 0xf4]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
test ecx, ecx
je 0x597fa7
cmp ebx, 0xffffffff
je 0x597fb4
cmp dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x34], 0
je 0x597fb4
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x597d98
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov ecx, dword [ecx + 4]
add eax, 0xb2
adc edx, 0
add eax, dword [esp + 0x48]
adc edx, dword [esp + 0x4c]
xor ebx, ebx
add eax, ecx
mov ecx, dword [esp + 0x70]
adc edx, ebx
xor ebx, ebx
add eax, ecx
mov ecx, dword [esp + 0x50]
adc edx, ebx
xor ebx, ebx
add eax, ecx
mov ecx, 0xfffffffe
adc edx, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov edx, eax
xor eax, eax
cmp ecx, edx
sbb eax, dword [esp + 0x3c]
jb 0x598161
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x7c]
mov dword [esp], ebx
call fcn.0059d040
test eax, eax
je 0x597b48
mov eax, dword [esp + 0x7c]
xor edx, edx
mov ecx, ebx
add ecx, dword [esp + 0x48]
mov ebx, edx
mov dword [esp + 0x28], ecx
adc ebx, dword [esp + 0x4c]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x2c], ebx
mov ecx, edx
mov dword [esp + 0x8c], ebx
or ecx, eax
je 0x597e18
add eax, 0xffffffff
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
adc edx, 0xffffffff
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x50]
mov eax, ecx
and eax, edx
mov edx, dword [esp + 0x54]
and edx, ebx
or edx, eax
jne 0x5981c7
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x10], 0x1e
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [edi + 0x44]
mov dword [esp], eax
call dword [edi + 0x3c]
cmp eax, 0x1e
jne 0x598155
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], 1
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
add eax, 0x1e
adc edx, 0
mov dword [esp + 0x50], eax
mov eax, 0x10000
mov dword [esp + 0x54], edx
xor edx, edx
cmp eax, ecx
mov edi, edx
sbb edi, ebx
cmovae edx, dword [esp + 0x6c]
cmovae eax, ecx
mov ecx, 0x20
xor edi, edi
cmp eax, ecx
sbb edx, edi
mov edi, dword [esp + 0x7c]
cmovb eax, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x28]
mov edx, eax
test eax, eax
je 0x5981ae
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
or eax, ecx
je 0x5980a4
mov dword [esp + 0x48], edx
mov dword [esp + 0x38], esi
jmp 0x597f29
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x7c]
add dword [esp + 0x40], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x44]
adc dword [esp + 0x44], edi
mov dword [esp], eax
call dword [ecx + 0x3c]
cmp ebx, eax
jne 0x5981ee
add dword [esp + 0x50], ebx
adc dword [esp + 0x54], edi
sub dword [esp + 0x68], ebx
mov eax, dword [esp + 0x68]
sbb dword [esp + 0x6c], edi
mov ecx, dword [esp + 0x6c]
or ecx, eax
je 0x59809c
mov ecx, dword [esp + 0x68]
mov edx, 0x10000
xor eax, eax
mov ebx, edx
cmp edx, ecx
mov ecx, eax
sbb ecx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
cmovae eax, ecx
mov ecx, dword [esp + 0x38]
cmovae ebx, edx
mov edx, dword [esp + 0x44]
mov edi, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x44]
mov dword [esp + 0x84], ebx
mov dword [esp], eax
call dword [ecx + 0x38]
cmp ebx, eax
je 0x597ed0
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov edi, dword [esp + 0x7c]
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
mov dword [edi + 0x1c], 0x14
jmp 0x597b48
mov dword [esp + 0x34], 0
jmp 0x597d3b
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x38], ecx
lea edx, [esp + 0x90]
mov dword [esp], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 1
call fcn.00591700
test eax, eax
je 0x5981ae
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x90]
xor edx, edx
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x40]
adc edx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esi + 0x44]
mov dword [esp + 0x94], ecx
mov dword [esp], eax
call dword [esi + 0x38]
mov ecx, dword [esp + 0x38]
cmp ecx, eax
jne 0x5981be
mov dword [esp + 0x38], ebx
mov edx, ebx
mov dword [esp + 0x34], esi
jmp 0x598076
movzx ebx, word [edx + 2]
movzx esi, word [edx]
lea eax, [ebx + 4]
cmp ecx, eax
jb 0x59807b
cmp si, 1
je 0x598387
add edx, eax
sub ecx, eax
je 0x598356
cmp ecx, 3
ja 0x598054
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
mov dword [edi + 0x1c], 9
jmp 0x597b48
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x38]
test byte [esp + 0xb6], 8
je 0x598219
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x38]
mov ecx, dword [esi + 0x44]
mov esi, dword [esp + 0x34]
or esi, dword [eax + 0x34]
je 0x5983a3
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], 0x18
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call edi
mov edx, dword [esp + 0x68]
cmp eax, 0x18
jne 0x597f8a
xor eax, eax
cmp dword [edx], 0x8074b50
sete al
lea esi, [eax*4 + 0x14]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x84], esi
mov dword [esp], eax
call dword [edi + 0x3c]
mov edx, dword [esp + 0x68]
cmp eax, esi
je 0x59820f
mov dword [esp + 4], edx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
mov dword [edi + 0x1c], 0x13
jmp 0x597b48
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 0x1d
jmp 0x597b48
mov eax, dword [esp + 0x78]
mov dword [esp], 1
mov ecx, edi
lea edx, [eax + 0x10]
mov eax, dword [esp + 0x7c]
call fcn.00591700
test eax, eax
jne 0x59830e
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
cmp dword [eax + 8], ecx
jb 0x5985f5
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x68]
mov dword [eax + 4], edi
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 0x10
jmp 0x597b48
mov dword [esp + 4], ebx
jmp 0x597f8e
mov dword [esp + 8], 0x2529
mov dword [esp + 4], 0xd38718
mov dword [esp], 0xd3ac78
call dword [0x6c579c]
jmp 0x597e18
call fcn.00401690
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
mov dword [edi + 0x1c], 0x13
jmp 0x597b48
xor edi, edi
add dword [esp + 0x50], esi
adc dword [esp + 0x54], edi
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], edx
lea edi, [esp + 0x528]
mov eax, dword [ecx + 0x34]
mov dword [esp], eax
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov ecx, dword [eax + 4]
cmp dword [eax + 0x34], 0
mov dword [esp + 0x68], ecx
mov ecx, 0x2e
rep movsb byte es:[edi], byte [esi]
jne 0x598427
cmp dword [esp + 0x54], 0
ja 0x598161
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov eax, 0xfffffffe
cmp eax, ebx
sbb ecx, esi
jb 0x598161
mov eax, dword [esp + 0x68]
mov dword [esp + 0x552], ebx
lea esi, [eax + 0x2e]
mov eax, dword [esp + 0x78]
cmp dword [eax + 8], esi
jb 0x59885a
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x68]
mov eax, dword [edi + 0xc]
mov dword [edi + 4], esi
imul edx, eax
add edx, dword [edi]
imul eax, eax, 0x2e
mov dword [esp], edx
mov dword [esp + 8], eax
lea eax, [esp + 0x528]
mov dword [esp + 4], eax
call fcn.0040f938
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x70]
mov eax, edi
lea edi, [ecx + esi]
cmp dword [eax + 8], edi
jb 0x598837
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x70], 0
mov dword [eax + 4], edi
jne 0x598806
mov eax, dword [esp + 0x78]
cmp dword [eax + 4], 0xffffffff
je 0x597c83
mov eax, dword [esp + 0x68]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x14]
lea edi, [esi + 1]
cmp dword [eax + 0x18], edi
jb 0x598171
mov ecx, dword [esp + 0x78]
mov eax, esi
mov edx, dword [ecx + 0x1c]
mov dword [ecx + 0x14], edi
imul eax, edx
add eax, dword [ecx + 0x10]
lea ecx, [esp + 0x84]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0040f938
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [ecx], eax
mov eax, 1
add dword [ecx + 0x10], 1
mov dword [ecx + 4], edx
jmp 0x597b4a
xor eax, eax
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov eax, dword [ecx + 0x34]
mov dword [esp], eax
call dword [ecx + 0x2c]
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [esp + 0x90], xmm0
jmp 0x597d3b
mov eax, ebx
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x34], 1
cmp eax, 0xf
ja 0x598364
jmp 0x59807f
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], 0x10
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call edi
mov edx, dword [esp + 0x68]
cmp eax, 0x10
jne 0x597f8a
mov edi, dword [esp + 0x7c]
mov eax, dword [edx]
mov ecx, dword [edi + 0x48]
cmp eax, 0x8074b50
sete al
cmp dword [ecx + 0x34], 0
movzx eax, al
je 0x59887d
lea eax, [edx + eax*4]
mov ecx, dword [0xd3f470]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx], ecx
mov dword [edx + 4], esi
mov esi, 0x18
mov dword [edx + 8], edi
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], 0
jmp 0x59810c
or eax, 0xffffffff
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x7c]
xor ebx, ebx
mov dword [esp + 0x53c], eax
mov dword [esp + 0x540], eax
mov eax, dword [0xd3f474]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x552], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xa4], ebx
lea ecx, [eax + edi + 0x2e]
lea eax, [esp + 0x88]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xc], eax
lea eax, [esp + 0xf8]
mov dword [esp + 8], eax
lea eax, [esp + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xac], 1
mov dword [esp], eax
lea eax, [esp + 0xa0]
call fcn.0059cd30
test eax, eax
je 0x5987c6
movzx eax, word [esp + 0xa4]
mov edi, dword [esp + 0xa4]
mov esi, dword [esp + 0xa0]
mov word [esp + 0x546], ax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
mov dword [esp + 0x70], ecx
add ecx, 0x2e
cmp dword [eax + 8], ecx
jb 0x598785
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov eax, dword [ebx + 0xc]
mov dword [ebx + 4], ecx
imul edx, eax
add edx, dword [ebx]
imul eax, eax, 0x2e
mov dword [esp], edx
mov dword [esp + 8], eax
lea eax, [esp + 0x528]
mov dword [esp + 4], eax
call fcn.0040f938
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x70], ecx
add ecx, edx
cmp dword [ebx + 8], ecx
jb 0x598726
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x64], 0
mov dword [eax + 4], ecx
jne 0x5986f1
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
mov ebx, ecx
add ecx, edi
cmp dword [eax + 8], ecx
jb 0x5985a6
mov eax, dword [esp + 0x78]
mov dword [eax + 4], ecx
test edi, edi
jne 0x5986cb
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
mov edi, dword [eax + 4]
add ecx, edi
cmp dword [eax + 8], ecx
jb 0x598673
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x60], 0
mov dword [eax + 4], ecx
jne 0x59863b
mov edi, dword [esp + 0x7c]
mov dword [esp + 4], esi
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [esp + 0xa0], xmm0
jmp 0x5982e2
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x70], ecx
call fcn.00591700
mov ecx, dword [esp + 0x70]
test eax, eax
jne 0x59854c
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], esi
mov eax, dword [ecx + 0x34]
mov dword [esp], eax
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x78]
vpxor xmm0, xmm0, xmm0
mov edi, dword [esp + 0x68]
vmovdqu xmmword [esp + 0xa0], xmm0
cmp dword [eax + 8], edi
jae 0x5981a3
xor eax, eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
call fcn.00591700
test eax, eax
jne 0x5981a3
jmp 0x5981ae
xor edx, edx
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x7c]
mov dword [esp], edx
mov edx, dword [esp + 0x78]
call fcn.00591700
test eax, eax
jne 0x597c90
jmp 0x597ca0
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x60]
imul edi, eax
imul ecx, eax
add edx, edi
mov edi, dword [esp + 0x5c]
mov eax, ecx
mov ecx, dword [esp + 0x74]
mov dword [esp], edx
mov dword [esp + 8], eax
lea ecx, [ecx + edi + 0x2e]
mov dword [esp + 4], ecx
call fcn.0040f938
jmp 0x598583
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x70], ecx
call fcn.00591700
mov ecx, dword [esp + 0x70]
test eax, eax
jne 0x598571
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], esi
mov eax, dword [ecx + 0x34]
mov dword [esp], eax
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x78]
vpxor xmm0, xmm0, xmm0
mov ecx, dword [esp + 0x68]
vmovdqu xmmword [esp + 0xa0], xmm0
cmp dword [eax + 8], ecx
jae 0x5981a3
jmp 0x5985f5
mov ecx, dword [esp + 0x78]
mov eax, ebx
mov edx, dword [ecx + 0xc]
imul edi, edx
imul eax, edx
add eax, dword [ecx]
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [esp + 8], edi
call fcn.0040f938
jmp 0x59855b
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov eax, dword [ecx + 0xc]
imul edx, eax
add edx, dword [ecx]
mov ecx, dword [esp + 0x64]
mov dword [esp], edx
imul ecx, eax
mov eax, ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], eax
add ecx, 0x2e
mov dword [esp + 4], ecx
call fcn.0040f938
jmp 0x59853c
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x58], ecx
call fcn.00591700
mov ecx, dword [esp + 0x58]
test eax, eax
jne 0x59852a
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], esi
mov eax, dword [ecx + 0x34]
mov dword [esp], eax
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x78]
vpxor xmm0, xmm0, xmm0
mov edi, dword [esp + 0x68]
vmovdqu xmmword [esp + 0xa0], xmm0
cmp dword [eax + 8], edi
jb 0x5987e3
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
jmp 0x5981ae
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x58], ecx
call fcn.00591700
mov ecx, dword [esp + 0x58]
test eax, eax
jne 0x5984e7
mov edi, dword [esp + 0x7c]
mov dword [esp + 4], esi
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
mov dword [edi + 0x1c], 0x10
jmp 0x597b48
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x34]
mov dword [esp], eax
call dword [ecx + 0x2c]
jmp 0x597b48
xor ecx, ecx
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x68]
call fcn.00591700
test eax, eax
jne 0x598775
jmp 0x5981ae
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov ecx, esi
mov eax, dword [edi + 0xc]
imul ecx, eax
add ecx, dword [edi]
imul edx, eax
mov eax, dword [esp + 0x74]
mov dword [esp], ecx
add eax, 0x2e
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.0040f938
jmp 0x5982e2
mov dword [esp], 1
mov edx, dword [esp + 0x78]
mov ecx, edi
mov eax, dword [esp + 0x7c]
call fcn.00591700
test eax, eax
jne 0x5982d0
jmp 0x598192
mov dword [esp], 1
mov edx, dword [esp + 0x78]
mov ecx, esi
mov eax, dword [esp + 0x7c]
call fcn.00591700
test eax, eax
jne 0x59828e
jmp 0x5981ae
lea esi, [eax*4 + 0xc]
jmp 0x59810c