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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb30
mov edx, dword [ebp + 0x14]
mov eax, 0x80000000
mov edi, dword [ebp + 0xc]
xor eax, dword [edx]
cmp eax, 4
setb cl
cmp eax, 1
setne al
test cl, al
jne 0x510ce0
cmp dword [edx + 0xc], 0x80000002
jne 0x510ce0
lea ebx, [edx + 0x10]
jmp 0x510d26
xor eax, eax
mov ebx, edi
lea esi, [esp + 0x2c0]
mov edi, 0x697c16
inc eax
mov ecx, esi
push eax
push edi
push eax
push edi
call fcn.00510c5c
add esp, 0x10
mov dl, byte [esi + 3]
mov al, byte [esi]
movzx ecx, word [esi + 1]
mov byte [esp + 0xda], dl
mov edx, dword [esi + 4]
cmp al, 0x14
mov word [esp + 0xd8], cx
jne 0x510dac
mov edi, ebx
mov ebx, edx
mov esi, dword [edi + 0xbc]
add esi, 8
push 5
pop edx
mov ecx, esi
call fcn.0050e673
mov byte [esp + 0x14], al
movzx eax, word [ebx + 0xc]
cmp ax, 4
jne 0x510d5f
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
call fcn.00504eaf
cmp ax, 0xa
mov word [esp + 8], 4
je 0x510d74
cmp ax, 5
je 0x510de2
movzx edx, ax
mov cl, 9
mov word [esp + 8], ax
cmp edx, 4
jne 0x510df0
push 4
pop edx
mov ecx, esi
call fcn.0050e673
mov cl, 0xb
test al, al
je 0x510df0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
movzx eax, byte [eax + 0xc]
dec eax
cmp eax, 1
ja 0x510e07
mov eax, dword [ecx]
cmp byte [eax + 0xb0], 0
je 0x510e07
mov esi, dword [ebp + 8]
mov word [esi], 0x2208
jmp 0x510e41
movzx ecx, word [esp + 0xd8]
mov esi, dword [ebp + 8]
mov edi, ebx
mov word [esi + 1], cx
mov cl, byte [esp + 0xda]
mov byte [esi + 3], cl
mov byte [esi], al
mov dword [esi + 4], edx
mov edx, dword [esp + 0x2cc]
mov ecx, dword [esp + 0x2c8]
mov dword [esi + 0xc], edx
mov dword [esi + 8], ecx
jmp 0x510e41
cmp byte [esp + 0x14], 0
mov cl, 0xb
mov word [esp + 8], ax
jne 0x510e18
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edx, dword [eax]
movzx eax, cl
mov ecx, esi
push eax
push 0x13
call fcn.0050a5db
jmp 0x510e3f
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
call fcn.00504eaf
cmp ax, 0xa
jne 0x510e2c
cmp byte [ebx + 0x58], 0
je 0x510e64
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, esi
push 0x32
jmp 0x510e38
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, esi
push 0x2f
push 0xd
call fcn.0050a517
pop eax
pop ecx
mov ecx, dword [ebp + 0x14]
call fcn.00509ada
push edi
call fcn.00512852
pop eax
push 8
pop edx
mov ecx, edi
call fcn.004256e0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [esp + 0x6b8]
mov ecx, esi
call fcn.004fe576
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
mov esi, dword [esi + 4]
movsd xmm0, qword [0x69eaa8]
movsd xmm1, qword [0x69eaa0]
lea edi, [esp + 0x2c0]
mov dword [esp + 0x18], ebx
movsd qword [edi + 8], xmm0
movsd qword [edi], xmm1
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], edx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x18], eax
mov esi, dword [ebx + 4]
imul eax, dword [ebx + 8], 0x14
test eax, eax
je 0x510ef9
mov ecx, esi
mov dword [esp + 0xc], eax
call fcn.0050089b
mov ecx, eax
call fcn.00500b2c
mov ebx, eax
lea edi, [esp + 0x2c0]
mov ecx, edi
mov edx, ebx
call fcn.004fea7f
test al, al
jne 0x510f4e
mov ecx, edi
mov edx, ebx
add esi, 0x14
call fcn.00504cd0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
add eax, 0xffffffec
jmp 0x510eb4
mov ecx, dword [esp + 0x2c0]
mov edx, dword [esp + 0x2c4]
call fcn.004fe4e0
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x54]
mov word [eax], 0x23
mov ecx, dword [edi + 0xd8]
mov edx, dword [edi + 0xdc]
push 1
push eax
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.005123af
add esp, 0x10
mov ecx, dword [ebp + 0x10]
test al, al
mov esi, dword [ecx]
je 0x510f7e
mov ecx, dword [ebp + 8]
mov edx, esi
mov esi, ecx
push 0x40
push 0x1a
jmp 0x510e3a
mov ecx, dword [esp + 0x2c0]
mov edx, dword [esp + 0x2c4]
call fcn.004fe4e0
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, esi
push 7
push 0x10
call fcn.0050a517
pop eax
pop ecx
mov edi, dword [ebp + 0xc]
jmp 0x510e41
movzx eax, word [esp + 8]
cmp ax, 5
mov word [esi + 0xa4], ax
je 0x510ff2
mov eax, dword [esp + 0x18]
mov ebx, dword [edi + 0xbc]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
push 0x10
call fcn.005050cd
pop ecx
mov edx, eax
xor eax, eax
test edx, edx
je 0x510fc7
cmp word [edx], 4
jne 0x510fc7
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
call fcn.00504c48
mov dword [esp + 0x20], edx
jmp 0x510fc7
lea edi, [esp + 0x2c0]
mov edx, esi
mov ecx, edi
push dword [esp + 0x20]
push eax
push dword [ebx + 0x30]
push dword [ebx + 0x2c]
call fcn.0051241f
add esp, 0x10
mov al, byte [edi]
cmp al, 0x14
jne 0x511195
mov edi, dword [ebp + 0xc]
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
push 0xb
call fcn.005050cd
pop ecx
test eax, eax
je 0x511012
cmp word [eax], 0
je 0x5111c9
mov eax, dword [edi + 0xbc]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
movzx eax, word [ebx + 0x12]
push eax
push dword [ebx + 0x10]
call fcn.0051224f
pop ecx
pop ecx
cmp eax, 2
jne 0x51106a
mov edx, esi
lea esi, [esp + 0x2c0]
mov ecx, esi
mov dword [esp + 0xc], edx
push 0x31
push 6
call fcn.0050a517
pop eax
pop ecx
mov al, byte [esi]
cmp al, 0x14
jne 0x5111ea
mov ebx, dword [esp + 0x2c4]
mov edx, dword [esp + 0x2c8]
mov esi, dword [esp + 0xc]
jmp 0x51106c
mov ebx, eax
cmp ebx, 1
mov ax, 5
sbb ax, 0
cmp word [esp + 8], ax
jne 0x5111bb
mov eax, dword [edi]
cmp eax, 2
jne 0x51122a
mov dword [edi], ebx
mov dword [edi + 4], edx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], edx
lea eax, [esp + 0x2c0]
lea ecx, [esp + 0x9a0]
movsd xmm0, qword [edi + 0xe8]
movsd xmm1, qword [edi + 0xf0]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov eax, edx
lea edx, [esp + 0x2c0]
mov dword [esp + 8], eax
push dword [eax + 0xc]
call fcn.0051228f
pop eax
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x9a0]
call fcn.005124da
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x2c0]
movsd xmm5, qword [edi + 0x10]
movsd xmm4, qword [edi + 8]
movsd xmm6, qword [edi + 0x18]
test ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], esi
movsd xmm0, qword [eax + 0x2c]
movsd qword [ecx + 0x18], xmm0
movsd xmm1, qword [eax + 0x24]
movsd qword [ecx + 0x10], xmm1
movsd xmm2, qword [eax + 0x14]
movsd xmm3, qword [eax + 0x1c]
movsd qword [esp + 0x60], xmm5
movsd xmm5, qword [edi + 0x20]
movsd qword [esp + 0x58], xmm4
movsd qword [esp + 0x68], xmm6
movsd qword [esp + 0x70], xmm5
movsd qword [ecx + 8], xmm3
movsd qword [ecx], xmm2
movsd qword [esp + 0x78], xmm2
movsd qword [esp + 0x80], xmm3
movsd qword [esp + 0x88], xmm1
movsd qword [esp + 0x90], xmm0
je 0x511289
mov edx, dword [edi + 0x90]
cmp edx, 0x3b9aca00
jne 0x51132c
mov dword [esp + 0xa0], 0x80000000
jmp 0x511381
mov esi, dword [ebp + 8]
movsd xmm1, qword [esp + 0x2c8]
movsd xmm0, qword [esp + 0x2c1]
movsd qword [esi + 8], xmm1
movsd qword [esi + 1], xmm0
mov byte [esi], al
jmp 0x510f76
mov ecx, dword [ebp + 8]
mov edx, esi
mov esi, ecx
push 0x35
jmp 0x510e38
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
add eax, eax
test eax, eax
je 0x511279
cmp byte [ecx], 0
je 0x511012
add ecx, 2
add eax, 0xfffffffe
jmp 0x5111d1
mov cl, byte [esp + 0x2c3]
mov ebx, dword [ebp + 8]
mov edx, dword [esp + 0x2c8]
mov esi, dword [esp + 0x2cc]
mov byte [ebx + 3], cl
movzx ecx, word [esp + 0x2c1]
mov word [ebx + 1], cx
mov ecx, dword [esp + 0x2c4]
mov byte [ebx], al
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], esi
mov esi, ebx
jmp 0x510e41
cmp eax, ebx
jne 0x51126b
mov eax, dword [edi + 4]
mov dword [esp + 8], edx
movzx edx, word [eax + 2]
mov ecx, dword [eax]
mov eax, dword [esp + 8]
movzx eax, word [eax]
mov dword [esp + 0x10], eax
mov eax, esi
mov esi, dword [esp + 8]
movzx esi, word [esi + 2]
push esi
mov esi, eax
push dword [esp + 0x14]
call fcn.004fbc15
mov edx, dword [esp + 0x10]
add esp, 8
test al, al
jne 0x51108d
mov ecx, dword [ebp + 8]
mov edx, esi
mov esi, ecx
push 0x2d
jmp 0x510e38
mov ecx, dword [ebp + 8]
mov edx, esi
mov esi, ecx
push 0x36
push 6
jmp 0x510e3a
add eax, 0x14
mov ecx, dword [edi + 0x2c]
mov ebx, 0x80000000
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x90]
cmp eax, 0x3b9aca00
je 0x5115fd
mov edx, dword [edi + 0x94]
mov dword [esp + 0x1c], ecx
mov ebx, dword [edi + 0x30]
lea esi, [edi + 0x34]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x2cc]
mov dword [edx - 8], ecx
mov ecx, dword [esp + 0x10]
mov dword [edx - 0xc], ecx
mov ecx, dword [edi + 0x88]
mov dword [edx - 4], ebx
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x8c]
mov dword [esp + 0x30], ecx
push 0x15
pop ecx
mov dword [esp + 0x38], esi
mov edi, edx
cmp ebx, 0x80000000
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
mov dword [edx + 0x58], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 0x54], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx + 0x5c], eax
mov dword [edx + 0x60], ecx
jne 0x5115e6
lea ecx, [esp + 0x2c0]
call fcn.0050e649
jmp 0x5115f6
mov ebx, dword [edi + 0x94]
lea esi, [edi + 0x28]
push 0x1a
pop ecx
lea eax, [esp + 0x2c0]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], ebx
cmp dword [eax + 8], 0x80000000
jne 0x511367
lea esi, [esp + 0x2d0]
push 0x10
pop ecx
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
jmp 0x51137e
lea ecx, [esp + 0x2c0]
mov dword [esp + 0xa0], 0x80000000
call fcn.0050e649
mov edi, dword [ebp + 0xc]
mov ebx, dword [edi + 0xbc]
mov eax, dword [edi + 0xd0]
movsd xmm0, qword [edi + 0xc0]
movsd xmm1, qword [edi + 0xc8]
mov dword [esp + 0x50], eax
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm0
lea eax, [esp + 0x7b8]
push 0xe8
lea ecx, [esp + 0x9a4]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [edi + 0xf8]
lea ecx, [esp + 0xa88]
push 0xa0
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 0x198]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x19c]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xd4]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xd8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xdc]
mov dword [esp + 0x34], eax
lea eax, [edi + 0x1a0]
push 0xa8
push eax
lea esi, [esp + 0x2c8]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0x8a4]
mov edx, esi
push 0x6992f4
call fcn.00512226
pop eax
mov al, byte [edi + 0xe1]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x2f], al
mov edi, dword [ecx + 8]
mov esi, dword [ecx + 4]
imul ebx, edi, 0x14
mov dword [esp + 0x24], esi
test ebx, ebx
je 0x511492
mov ecx, esi
call fcn.0050089b
mov ecx, eax
push 3
push 0x6994cc
call fcn.004fd784
pop ecx
pop edx
test al, al
je 0x511498
add esi, 0x14
add ebx, 0xffffffec
jmp 0x51146b
mov ecx, dword [esp + 0x24]
jmp 0x5114c4
mov edx, dword [esp + 0xc]
lea esi, [esp + 0x2c0]
mov ecx, esi
push 0x3c
push 0x1a
call fcn.0050a517
pop eax
pop ecx
mov al, byte [esi]
cmp al, 0x14
jne 0x511dc6
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov edi, dword [eax + 8]
mov edx, edi
push 0x1f
call fcn.005050cd
pop ecx
mov ebx, dword [esp + 0x20]
test eax, eax
je 0x5114e4
cmp word [eax], 5
jne 0x5114e4
mov edi, dword [ebp + 0xc]
add eax, 4
jmp 0x511510
mov edx, dword [esp + 0xc]
lea esi, [esp + 0x2c0]
mov ecx, esi
push 0x1e
push 0x19
call fcn.0050a517
pop eax
pop ecx
mov al, byte [esi]
mov edi, dword [ebp + 0xc]
cmp al, 0x14
jne 0x5115a0
mov eax, dword [esp + 0x2c4]
mov edx, dword [esp + 0x8a4]
mov esi, dword [esp + 0xc]
movzx ecx, word [edx]
cmp cx, word [eax + 0xc]
jne 0x511589
cmp cx, 0xa
jne 0x511534
movzx ecx, word [edx + 2]
cmp cx, word [eax + 0xe]
jne 0x511589
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push 0x15
call fcn.005050cd
pop ecx
test eax, eax
je 0x51198e
cmp word [eax], 6
jne 0x51198e
cmp dword [esp + 0x1c], 0
je 0x51198e
cmp dword [esp + 0xa0], 0x80000000
jne 0x511e71
mov esi, dword [ebp + 8]
mov word [esi], 0x3408
jmp 0x511df4
mov ecx, dword [ebp + 8]
mov edx, esi
mov esi, ecx
push 0x41
push 0xd
call fcn.0050a517
pop eax
pop ecx
jmp 0x511df8
mov cl, byte [esp + 0x2c3]
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x2c4]
mov byte [esi + 3], cl
movzx ecx, word [esp + 0x2c1]
mov word [esi + 1], cx
mov ecx, dword [esp + 0x2cc]
mov byte [esi], al
mov dword [esi + 4], edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x2c8]
mov eax, dword [esp + 0xc]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
jmp 0x511df8
push 0x15
pop ecx
mov esi, dword [esp + 0x38]
lea edi, [esp + 0x94c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0xbc]
movsd xmm0, qword [edi + 0xc8]
mov dword [esp + 0x28], ebx
lea ebx, [esp + 0x260]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0xd0]
movsd qword [ebx + 8], xmm0
movsd xmm0, qword [edi + 0xc0]
mov dword [ebx + 0x10], eax
mov al, byte [edi + 0xe0]
movsd qword [ebx], xmm0
lea edi, [esp + 0x138]
mov byte [esp + 0x1c], al
push 0xe8
lea eax, [esp + 0x9a4]
push eax
push edi
mov esi, ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [edi - 0x5c], esi
mov dword [edi - 0x60], eax
mov eax, dword [esp + 0x28]
mov dword [edi - 0x58], eax
lea edi, [esp + 0xe4]
push 0x15
pop ecx
lea esi, [esp + 0x94c]
lea eax, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x220]
push 0x40
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov al, byte [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov byte [esi + 0x58], al
lea esi, [esp + 0x2c0]
and dword [esi], 0
mov dword [esi + 4], 1
and dword [esi + 8], 0
mov edx, esi
call fcn.00500edc
mov edi, dword [esi]
mov ebx, dword [esi + 4]
push 0x20
pop edx
lea ecx, [esp + 0x240]
push 0x697e08
push dword [esi + 8]
push ebx
call fcn.0043613b
add esp, 0xc
mov ecx, edi
mov edx, ebx
call fcn.00563c9c
mov eax, 0x1445247
lea edx, [esp + 0x240]
mov ecx, 0x4e574f44
xor eax, dword [edx + 0x1c]
xor ecx, dword [edx + 0x18]
or ecx, eax
sete al
test byte [esp + 0x14], al
je 0x511766
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0xc]
push 0
push 0xd
call fcn.0050a517
pop eax
pop ecx
mov edi, dword [ebp + 0xc]
lea esi, [esp + 0x274]
mov ecx, esi
call fcn.0050e819
lea ecx, [esp + 0xd8]
call fcn.004fe562
lea ecx, [esp + 0x260]
call fcn.004fc0cf
mov ecx, dword [esi - 0x64]
mov edx, dword [esi - 0x60]
call fcn.004767d9
mov ecx, dword [ebp + 0x14]
mov ebx, dword [esp + 0x20]
mov esi, dword [ebp + 8]
jmp 0x511e39
mov ebx, dword [esp + 0x18]
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov ecx, edi
mov edx, esi
push 0x13
call fcn.005050cd
pop ecx
test eax, eax
mov dword [esp + 0x1c], eax
mov ecx, edi
mov edx, esi
setne byte [esp + 0x10]
setne byte [esp + 0x278]
push 0x14
call fcn.005050cd
pop ecx
mov dword [esp + 0x14], eax
mov ecx, edi
mov edx, esi
push 5
call fcn.005050cd
pop ecx
mov dword [esp + 0x24], eax
mov ecx, edi
mov edx, esi
push 0x11
call fcn.005050cd
pop ecx
test eax, eax
je 0x5117e9
cmp word [eax], 9
jne 0x5117e9
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov ecx, esi
mov edx, edi
call fcn.00512528
test al, al
je 0x511e5c
mov ebx, dword [ebp + 8]
mov word [ebx], 0x1908
jmp 0x511723
mov dword [esp + 0x6c8], 0x80000000
cmp dword [esp + 0xe0], 0x80000000
je 0x511876
lea esi, [ebx + 0x34]
lea ecx, [esp + 0x10c]
mov edx, esi
call fcn.00504a8e
test al, al
je 0x511876
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 8]
movzx edx, word [eax + 2]
mov ecx, dword [eax]
movzx eax, word [esi + 2]
push eax
push dword [esi]
call fcn.004fbc15
pop ecx
pop edx
mov cl, 0x2a
test al, al
je 0x51185c
cmp dword [esp + 0x1c], 0
setne al
cmp byte [esp + 0x130], 0
setne cl
xor cl, al
mov cl, 0x2b
je 0x511ee4
mov ebx, dword [ebp + 8]
mov byte [ebx], 8
mov byte [ebx + 1], cl
lea ecx, [esp + 0x6c8]
call fcn.005126e6
jmp 0x511723
lea esi, [esp + 0xd8]
mov eax, dword [esi + 0x19c]
mov dword [esp + 0xc], eax
push 0x18
pop ecx
lea edi, [esp + 0x2c0]
add ebx, 0x34
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x260]
lea edi, [esp + 0x408]
mov eax, dword [ecx + 0x10]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov dword [edi + 0x5c], eax
movsd qword [edi + 0x54], xmm1
movsd qword [edi + 0x4c], xmm0
push 0x10
pop ecx
lea esi, [esp + 0x220]
lea eax, [esp + 0x320]
rep movsd dword es:[edi], dword [esi]
push 0xe8
lea ecx, [esp + 0x13c]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
movsd xmm0, qword [esp + 0x6c8]
mov eax, dword [esp + 0x6d0]
lea ecx, [esp + 0x408]
movsd qword [ecx + 0x40], xmm0
mov dword [ecx + 0x48], eax
push 8
pop edx
mov ecx, 0x1d8
call fcn.0048b62b
mov esi, eax
push 0x1a8
lea eax, [esp + 0x2c4]
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x24], 0
mov edx, esi
lea edi, [esi + 0x1b0]
mov dword [esi + 0x1a8], eax
mov eax, dword [esp + 8]
mov dword [esi + 0x1ac], eax
push 9
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
setne byte [edx + 0x1d5]
mov esi, dword [ebp + 8]
mov al, byte [esp + 0x10]
cmp dword [esp + 0x14], 0
mov byte [edx + 0x1d4], al
setne byte [edx + 0x1d6]
mov dword [esi + 4], edx
mov dword [esi + 8], 0x6993c0
mov byte [esi], 0x14
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [esp + 0x20]
jmp 0x511e39
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov byte [eax + 0xc], 4
mov dword [esp + 0x18], eax
mov byte [esi + 0xb0], 0
push 0x10
pop ecx
lea ebx, [esp + 0x2c0]
lea eax, [esp + 0x98]
mov edi, ebx
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov dword [eax + 8], 0x80000000
call fcn.0050cf80
mov edi, dword [esp + 8]
xorps xmm0, xmm0
lea ecx, [esp + 0x2c0]
movaps xmmword [ebx + 0x30], xmm0
movaps xmmword [ebx + 0x20], xmm0
movaps xmmword [ebx + 0x10], xmm0
movaps xmmword [ebx], xmm0
mov eax, dword [edi + 0xc]
mov edx, dword [eax + 0x48]
push 0x698ca4
call fcn.004fd437
pop ecx
mov esi, edx
lea ecx, [esp + 0x6c8]
mov edx, edi
push esi
push eax
call fcn.005102e4
pop eax
pop ecx
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x8dc]
mov eax, dword [eax + 4]
mov ecx, dword [esi]
mov eax, dword [eax]
mov al, byte [eax + 0x14]
cmp al, byte [ecx + 0x14]
jne 0x511de9
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x610]
mov dword [esp + 0x1c], eax
movaps xmmword [ecx + 0x20], xmm0
movaps xmmword [ecx + 0x10], xmm0
movaps xmmword [ecx], xmm0
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
call fcn.004fd2ce
mov edi, eax
mov ebx, edx
push dword [esp + 0x1c]
push dword [esp + 0x28]
lea eax, [esp + 0x8b0]
push eax
push edx
push edi
call dword [esi + 4]
add esp, 0x14
test al, al
jne 0x511de9
lea eax, [esp + 0x6c8]
push 0xa8
push eax
lea esi, [esp + 0x2c8]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, esi
mov edx, edi
push ebx
call fcn.004fd2e7
pop eax
lea esi, [esp + 0x2c2]
mov al, byte [esi - 2]
mov byte [esp + 0x24], al
mov al, byte [esi - 1]
mov byte [esp + 0x1c], al
lea eax, [esp + 0xd8]
push 0x9e
push esi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, dword [esi + 0x9e]
test esi, esi
je 0x511de9
lea eax, [esp + 0x2c0]
lea ebx, [esp + 0x612]
mov edi, dword [eax + 0xa4]
push 0x9e
lea eax, [esp + 0xdc]
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov al, byte [esp + 0x24]
mov byte [ebx - 2], al
mov al, byte [esp + 0x1c]
mov byte [ebx - 1], al
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x9e], esi
mov dword [ebx + 0xa2], edi
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x38]
call fcn.0050e639
mov edi, dword [esp + 0x38]
lea esi, [esp + 0x40]
movzx ecx, word [edi + 0xe]
push ecx
push dword [edi + 0xc]
push esi
push eax
call dword [edx + 0xc]
add esp, 0x10
mov edx, dword [esp + 0xc]
lea esi, [esp + 0x2c0]
mov ecx, esi
call fcn.00512209
mov al, byte [esi]
cmp al, 0x14
jne 0x511dc6
lea ecx, [esp + 0x774]
lea edx, [esp + 0x7b8]
call fcn.005126f9
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 0xc]
dec eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x50]
mov edx, dword [eax + 0x54]
call fcn.0050e639
mov edi, eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x778]
mov esi, edx
mov dword [esp + 0x24], edx
mov ebx, dword [ecx - 4]
mov dword [esp + 0x6b0], eax
mov eax, 0x697a3c
mov edx, dword [ebx + 0x48]
push eax
call fcn.004fd437
pop ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x30], edx
lea ecx, [esp + 0x2c0]
lea edx, [esp + 0x610]
push eax
push esi
push edi
mov esi, edi
push dword [esp + 0x3c]
push dword [esp + 0x2c]
push 2
call fcn.00515aef
add esp, 0x18
mov edx, dword [ebx + 0x48]
mov eax, 0x697a3c
lea ecx, [esp + 0x778]
push eax
call fcn.004fd437
pop ecx
mov edi, edx
lea ebx, [esp + 0x58]
lea ecx, [esp + 0x220]
lea edx, [esp + 0x610]
push ebx
push dword [esp + 0x28]
push esi
push edi
push eax
push 3
call fcn.00515aef
add esp, 0x18
mov edi, 0xa8
push edi
lea eax, [esp + 0x614]
push eax
lea esi, [esp + 0xe0]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
add edi, esi
mov eax, 0xa0
push eax
lea eax, [esp + 0x2c4]
push eax
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea edx, [esp + 0x220]
mov esi, dword [edx - 0xa8]
mov ecx, esi
push dword [esp + 0xc]
call fcn.0051277b
pop eax
cmp dword [esp + 0x18], 2
jb 0x511c92
mov ecx, esi
mov edx, edi
push dword [esp + 0xc]
call fcn.005127e8
pop eax
lea eax, [esp + 0x340]
push 0x1e8
lea ecx, [esp + 0xdc]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x2f]
call fcn.00510358
lea edi, [esp + 0x300]
push 0x10
pop ecx
lea esi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x50]
movsd xmm0, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
mov dword [esp + 0xe8], eax
movsd qword [esp + 0xe0], xmm1
movsd qword [esp + 0xd8], xmm0
lea eax, [esp + 0x528]
push 0xe8
lea ecx, [esp + 0x7bc]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 0x40
lea eax, [esp + 0x5c]
push eax
lea edi, [esp + 0x2c8]
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 8
pop edx
mov ecx, 0x378
call fcn.0048b62b
mov esi, eax
push 0x350
push edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x350], eax
mov eax, dword [esp + 8]
mov dword [esi + 0x354], eax
movsd xmm0, qword [esp + 0xd8]
movsd xmm1, qword [esp + 0xe0]
movsd qword [esi + 0x358], xmm0
movsd qword [esi + 0x360], xmm1
mov eax, dword [esp + 0xe8]
mov dword [esi + 0x368], eax
mov dword [esi + 0x36c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x370], edx
mov dword [esi + 0x374], ecx
mov dword [ebx + 4], esi
mov dword [ebx + 8], 0x699550
mov esi, ebx
mov byte [ebx], 0x14
mov ebx, dword [esp + 0x20]
jmp 0x511e36
mov esi, dword [ebp + 8]
movsd xmm1, qword [esp + 0x2c8]
movsd xmm0, qword [esp + 0x2c1]
movsd qword [esi + 8], xmm1
movsd qword [esi + 1], xmm0
mov byte [esi], al
jmp 0x511df1
mov esi, dword [ebp + 8]
mov word [esi], 0x1808
mov edi, dword [ebp + 0xc]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
call fcn.004fc288
mov ecx, dword [esp + 0x890]
mov edx, dword [esp + 0x894]
call fcn.004767d9
lea ecx, [esp + 0x40]
call fcn.004fc0cf
lea ecx, [esp + 0x98]
call fcn.0050cf80
lea ecx, [esp + 0x3c]
call fcn.0050e819
mov ecx, dword [ebp + 0x14]
call fcn.00509ada
test ebx, ebx
jne 0x510e50
mov ecx, dword [edi + 0xd4]
mov edx, dword [edi + 0xd8]
call fcn.004fc288
jmp 0x510e50
lea ecx, [esp + 0x6c8]
mov edx, esi
push edi
call fcn.004fe03c
pop eax
jmp 0x5117f4
mov edx, dword [esp + 0xc8]
mov esi, dword [esp + 8]
mov ecx, dword [edx + 0xc]
mov esi, dword [esi + 0xc]
mov bl, byte [ecx + 0x58]
xor ecx, ecx
cmp bl, byte [esi + 0x58]
cmove ecx, edx
jne 0x5120ca
movzx esi, word [eax + 2]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
movzx eax, byte [eax + 0xc]
dec eax
cmp eax, 1
ja 0x511ecb
mov edi, dword [esp + 8]
movzx edx, word [ecx + 2]
mov ecx, dword [ecx]
movzx eax, word [edi + 2]
push eax
push dword [edi]
call fcn.004fbc15
pop ecx
pop edx
test al, al
je 0x5121f0
test si, si
je 0x5121ba
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0xc]
mov ecx, esi
push 0x2e
jmp 0x5121fb
lea edi, [esp + 0x2c4]
push 0x10
pop ecx
lea esi, [esp + 0x220]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x304]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xf0]
mov esi, dword [esp + 0xf4]
and dword [ecx + 4], 0
and dword [ecx], 0
and dword [ecx + 0xc], 0
and dword [ecx + 8], 0
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
and dword [ecx + 0x1c], 0
and dword [ecx + 0x18], 0
and dword [ecx + 0x24], 0
and dword [ecx + 0x20], 0
and dword [ecx + 0x2c], 0
and dword [ecx + 0x28], 0
mov dword [ecx - 0x44], edx
push 0x30
pop edx
push 0x698a3c
push esi
push eax
call fcn.0043613b
add esp, 0xc
push 0x1d
pop ecx
lea ebx, [esp + 0x610]
lea esi, [esp + 0x2c0]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x274]
mov ecx, dword [eax + 0x50]
mov edx, dword [eax + 0x54]
mov dword [esp + 8], eax
call fcn.0050e639
lea ecx, [esp + 0x614]
lea esi, [esp + 0x654]
push 0x30
push esi
push 0x20
push ecx
push 0xd
push 0x699382
push eax
call dword [edx + 0xc]
add esp, 0x1c
mov esi, dword [esp + 0xc]
mov edx, ebx
mov ecx, esi
call fcn.0051254a
mov edx, dword [esp + 0xfc]
lea edi, [esp + 0x2c0]
mov ecx, edi
push dword [esp + 0x100]
call fcn.004fd1f9
pop eax
lea ecx, [esi + 0x8c]
call fcn.0050329b
mov eax, dword [edi + 8]
cmp dword [esp + 0x14], 0
mov dword [esi + 0x94], eax
movsd xmm0, qword [edi]
movsd qword [esi + 0x8c], xmm0
je 0x5120e3
mov eax, edi
push 0x1d
pop ecx
lea edi, [esp + 0x7b8]
lea esi, [esp + 0x610]
rep movsd dword es:[edi], dword [esi]
push 0x18
pop ecx
lea esi, [esp + 0xd8]
mov edi, eax
lea edx, [esp + 0x260]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x320]
mov eax, dword [edx + 0x10]
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
mov dword [ecx + 0xf8], eax
movsd qword [ecx + 0xf0], xmm1
movsd qword [ecx + 0xe8], xmm0
push 0xe8
lea eax, [esp + 0x13c]
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 8
pop edx
mov ecx, 0x200
call fcn.0048b62b
mov ebx, eax
push 0x15c
lea eax, [esp + 0x2c4]
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 8]
lea edi, [ebx + 0x160]
mov dword [ebx + 0x15c], eax
push 0x1d
pop ecx
lea esi, [esp + 0x7b8]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x1d4]
push 9
pop ecx
mov esi, dword [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x10]
mov byte [ebx + 0x1f8], al
mov eax, 0x6993a8
mov byte [ebx + 0x1f9], 1
jmp 0x51219d
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0xc]
mov ecx, esi
push 0x2c
push 0xd
call fcn.0050a517
pop eax
pop ecx
jmp 0x511df4
push 0x1d
pop ecx
lea edi, [esp + 0x2c0]
lea esi, [esp + 0x610]
rep movsd dword es:[edi], dword [esi]
push 8
pop edx
mov ecx, 0x210
call fcn.0048b62b
mov ebx, eax
mov dword [eax], 0x80000000
lea edi, [eax + 0x10]
push 0x18
pop ecx
lea esi, [esp + 0xd8]
add eax, 0x70
rep movsd dword es:[edi], dword [esi]
push 0xe8
lea ecx, [esp + 0x13c]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [esp + 0x260]
lea edi, [ebx + 0x170]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [ebx + 0x158], xmm0
movsd qword [ebx + 0x160], xmm1
mov eax, dword [eax + 0x10]
mov dword [ebx + 0x168], eax
mov eax, dword [esp + 8]
mov dword [ebx + 0x16c], eax
push 0x1d
pop ecx
lea esi, [esp + 0x2c0]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x1e4]
push 9
pop ecx
mov esi, dword [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x10]
mov byte [ebx + 0x208], al
mov byte [ebx + 0x209], 1
mov eax, 0x699390
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x6c8]
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
mov byte [esi], 0x14
call fcn.005126e6
jmp 0x51197f
lea esi, [esp + 0x6c8]
push 0xa0
lea eax, [esp + 0xa8c]
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], ecx
jmp 0x511a0a
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0xc]
mov ecx, esi
push 0xb
push 0xd
call fcn.0050a517
pop eax
pop ecx
jmp 0x511df1