Function at 0x570860
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6222cc
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x67dc50]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x30]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x24]
lea edx, [esp + 0xa4]
mov dword [esp + 0x3c], ecx
push edx
mov ecx, edi
mov dword [esp + 0x3c], eax
call fcn.00519cc0
fild dword [esp + 0x38]
fld qword [0x62ebc8]
mov ax, word [edi + 0x20]
and ax, 0xfff9
fmul st(1), st(0)
movzx ecx, ax
fild dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
fmul st(1)
fxch st(2)
fadd st(1)
call fcn.005f6310
faddp st(1)
mov dword [esp + 0x30], eax
call fcn.005f6310
lea ecx, [esp + 0xfc]
mov dword [esp + 0x24], eax
call fcn.00517e90
lea ecx, [esp + 0xb4]
mov dword [esp + 0x130], 0
call fcn.00517e90
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
xor eax, eax
mov dword [esp + 0x4c], edx
mov edx, dword [edi + 4]
mov dword [esp + 0x50], ecx
mov ecx, dword [edi + 8]
mov byte [esp + 0x130], 1
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
cmp dword [ebp + 0x2c], eax
je 0x570f5f
cmp word [esp + 0x10], 1
jne 0x570c85
mov edi, dword [esp + 0x74]
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x6c]
neg edx
neg eax
push ecx
lea ecx, [esp + 0x14]
mov dword [edi], edx
mov dword [edi + 4], eax
call fcn.0051ef50
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
neg edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
neg eax
add edx, 0x24
cmp dword [esp + 0x38], ecx
mov dword [esp + 0x14], eax
push edx
lea ecx, [esp + 0x100]
jge 0x570b30
call fcn.00519c60
mov eax, dword [esp + 0x18]
add eax, 0x6c
push eax
lea ecx, [esp + 0xb8]
call fcn.00519c60
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
call fcn.005eb4a0
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x70]
call fcn.005eb4a0
mov eax, dword [esp + 0x30]
push 1
push eax
lea ecx, [esp + 0x2c]
push ecx
push edi
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0xec]
call fcn.0051a8a0
push eax
mov ecx, esi
mov byte [esp + 0x134], 2
call fcn.00580950
lea ecx, [esp + 0xd8]
mov byte [esp + 0x130], 1
call fcn.00518980
mov edi, dword [esp + 0x48]
lea eax, [esp + 0xb8]
push eax
mov ecx, edi
call fcn.0051b680
push edi
lea ecx, [esi + 0x30]
call fcn.00580950
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esi + 0x60]
call fcn.00580950
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
call fcn.005eb4a0
push 1
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0xcc]
push edx
lea ecx, [esp + 0xe8]
call fcn.005182f0
push eax
lea ecx, [esi + 0x90]
mov byte [esp + 0x134], 3
call fcn.00580950
lea ecx, [esp + 0xd8]
mov byte [esp + 0x130], 1
call fcn.00518980
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x100]
push ebx
push ecx
call fcn.00529d70
add esp, 0xc
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x100]
call fcn.0051b680
lea eax, [esp + 0x54]
push eax
mov ecx, ebx
call fcn.0051b550
lea ecx, [esp + 0xfc]
push ecx
jmp 0x570f3e
call fcn.00519c60
mov eax, dword [esp + 0x18]
add eax, 0x6c
push eax
lea ecx, [esp + 0xb8]
call fcn.00519c60
lea ecx, [esp + 0xb4]
call fcn.0051b2a0
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x34]
call fcn.005eb4a0
push 1
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0xe8]
call fcn.005182f0
push eax
mov ecx, esi
mov byte [esp + 0x134], 4
call fcn.00580950
lea ecx, [esp + 0xd8]
mov byte [esp + 0x130], 1
call fcn.00518980
mov edi, dword [esp + 0x48]
lea edx, [esp + 0xc0]
push edx
mov ecx, edi
call fcn.0051b550
lea eax, [esp + 0xb4]
push eax
lea ecx, [esi + 0x30]
call fcn.00580950
push edi
lea ecx, [esi + 0x60]
call fcn.00580950
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
call fcn.005eb4a0
mov edx, dword [esp + 0x44]
push edx
lea ecx, [esp + 0x70]
call fcn.005eb4a0
mov eax, dword [esp + 0x24]
push 1
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0xec]
call fcn.0051a8a0
push eax
lea ecx, [esi + 0x90]
mov byte [esp + 0x134], 5
call fcn.00580950
lea ecx, [esp + 0xd8]
mov byte [esp + 0x130], 1
call fcn.00518980
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x100]
push edx
push ebx
call fcn.00529d70
add esp, 0xc
lea eax, [esp + 0x54]
push eax
mov ecx, ebx
call fcn.0051b680
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x100]
call fcn.0051b550
push ebx
lea ecx, [esi + 0xc0]
call fcn.00580950
lea edx, [esp + 0xfc]
push edx
jmp 0x570f4a
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x38], eax
jge 0x570df7
mov ecx, dword [esp + 0x1c]
add ecx, 0x24
push ecx
lea ecx, [esp + 0x100]
call fcn.00519c60
mov edx, dword [esp + 0x18]
add edx, 0x6c
push edx
lea ecx, [esp + 0xb8]
call fcn.00519c60
lea ecx, [esp + 0xb4]
call fcn.0051b2a0
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.005eb4a0
push 1
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xe8]
call fcn.005182f0
push eax
mov ecx, esi
mov byte [esp + 0x134], 6
call fcn.00580950
lea ecx, [esp + 0xd8]
mov byte [esp + 0x130], 1
call fcn.00518980
mov edi, dword [esp + 0x48]
lea ecx, [esp + 0xc0]
push ecx
mov ecx, edi
call fcn.0051b550
lea edx, [esp + 0xb4]
push edx
lea ecx, [esi + 0x30]
call fcn.00580950
push edi
lea ecx, [esi + 0x60]
call fcn.00580950
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
call fcn.005eb4a0
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
call fcn.005eb4a0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x74]
push 1
push edx
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0xec]
call fcn.0051a8a0
push eax
lea ecx, [esi + 0x90]
mov byte [esp + 0x134], 7
call fcn.00580950
lea ecx, [esp + 0xd8]
mov byte [esp + 0x130], 1
call fcn.00518980
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x100]
push ecx
push ebx
call fcn.00529d70
add esp, 0xc
lea edx, [esp + 0x54]
push edx
mov ecx, ebx
call fcn.0051b680
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x100]
call fcn.0051b550
push ebx
lea ecx, [esi + 0xc0]
call fcn.00580950
lea ecx, [esp + 0xfc]
push ecx
jmp 0x570f4a
mov edx, dword [esp + 0x1c]
add edx, 0x24
push edx
lea ecx, [esp + 0x100]
call fcn.00519c60
mov eax, dword [esp + 0x18]
add eax, 0x6c
push eax
lea ecx, [esp + 0xb8]
call fcn.00519c60
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x14]
call fcn.005eb4a0
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
call fcn.005eb4a0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x6c]
push 1
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xec]
call fcn.0051a8a0
push eax
mov ecx, esi
mov byte [esp + 0x134], 8
call fcn.00580950
lea ecx, [esp + 0xd8]
mov byte [esp + 0x130], 1
call fcn.00518980
mov edi, dword [esp + 0x48]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, edi
call fcn.0051b680
push edi
lea ecx, [esi + 0x30]
call fcn.00580950
lea edx, [esp + 0xb4]
push edx
lea ecx, [esi + 0x60]
call fcn.00580950
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
call fcn.005eb4a0
push 1
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0xe8]
call fcn.005182f0
push eax
lea ecx, [esi + 0x90]
mov byte [esp + 0x134], 9
call fcn.00580950
lea ecx, [esp + 0xd8]
mov byte [esp + 0x130], 1
call fcn.00518980
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x100]
push ebx
push edx
call fcn.00529d70
add esp, 0xc
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x100]
call fcn.0051b680
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call fcn.0051b550
lea edx, [esp + 0xfc]
push edx
lea ecx, [esi + 0xc0]
call fcn.00580950
push ebx
lea ecx, [esi + 0xf0]
call fcn.00580950
mov esi, 0x12
jmp 0x571349
cmp word [esp + 0x10], 1
jne 0x571166
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
neg ecx
neg edx
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x6c]
push eax
lea ecx, [esp + 0x14]
call fcn.0051ef50
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
neg ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x3c]
neg edx
cmp eax, ecx
mov dword [esp + 0x14], edx
jge 0x571064
mov eax, dword [esp + 0x1c]
add eax, 0x24
push eax
lea ecx, [esp + 0x100]
call fcn.00519c60
lea ecx, [esp + 0xfc]
call fcn.0051b2a0
mov ecx, dword [esp + 0x18]
add ecx, 0x6c
push ecx
lea ecx, [esp + 0xb8]
call fcn.00519c60
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esp + 0x28]
call fcn.005eb4a0
push 1
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x114]
push edx
lea ecx, [esp + 0xe8]
call fcn.005182f0
lea eax, [esp + 0xd8]
mov bl, 0xa
push eax
mov ecx, esi
mov byte [esp + 0x134], bl
call fcn.00580950
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
call fcn.005eb4a0
push 1
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x90]
call fcn.005182f0
mov byte [esp + 0x130], 0xb
jmp 0x5712f1
jle 0x571321
mov edx, dword [esp + 0x1c]
add edx, 0x24
push edx
lea ecx, [esp + 0x100]
call fcn.00519c60
lea ecx, [esp + 0xfc]
call fcn.0051b2a0
mov eax, dword [esp + 0x18]
add eax, 0x6c
push eax
lea ecx, [esp + 0xb8]
call fcn.00519c60
lea ecx, [esp + 0xb4]
call fcn.0051b2a0
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x28]
call fcn.005eb4a0
push 1
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x90]
call fcn.005182f0
push eax
mov ecx, esi
mov byte [esp + 0x134], 0xc
call fcn.00580950
lea ecx, [esp + 0x80]
mov byte [esp + 0x130], 1
call fcn.00518980
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
call fcn.005eb4a0
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x34]
call fcn.005eb4a0
push 1
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xe8]
call fcn.005182f0
lea ecx, [esp + 0x100]
push ecx
lea ecx, [esp + 0xdc]
mov byte [esp + 0x134], 0xd
call fcn.0051b680
lea edx, [esp + 0xd8]
push edx
lea ecx, [esi + 0x60]
call fcn.00580950
jmp 0x57130d
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jge 0x571247
mov eax, dword [esp + 0x1c]
add eax, 0x24
push eax
lea ecx, [esp + 0x100]
call fcn.00519c60
mov ecx, dword [esp + 0x18]
add ecx, 0x6c
push ecx
lea ecx, [esp + 0xb8]
call fcn.00519c60
lea ecx, [esp + 0xb4]
call fcn.0051b2a0
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x14]
call fcn.005eb4a0
push 1
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x90]
call fcn.005182f0
push eax
mov ecx, esi
mov byte [esp + 0x134], 0xe
call fcn.00580950
lea ecx, [esp + 0x80]
mov byte [esp + 0x130], 1
call fcn.00518980
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x14]
call fcn.005eb4a0
push 1
lea ecx, [esp + 0x104]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xe8]
call fcn.005182f0
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esi + 0x60]
mov byte [esp + 0x134], 0xf
call fcn.00580950
jmp 0x57130d
jle 0x571321
mov edx, dword [esp + 0x1c]
add edx, 0x24
push edx
lea ecx, [esp + 0x100]
call fcn.00519c60
mov eax, dword [esp + 0x18]
add eax, 0x6c
push eax
lea ecx, [esp + 0xb8]
call fcn.00519c60
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x14]
call fcn.005eb4a0
push 1
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x114]
push ecx
lea ecx, [esp + 0xe8]
call fcn.005182f0
lea edx, [esp + 0xd8]
mov bl, 0x10
push edx
mov ecx, esi
mov byte [esp + 0x134], bl
call fcn.00580950
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x7c]
call fcn.005eb4a0
push 1
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x90]
call fcn.005182f0
mov byte [esp + 0x130], 0x11
push eax
lea ecx, [esi + 0x60]
call fcn.00580950
lea ecx, [esp + 0x80]
mov byte [esp + 0x130], bl
call fcn.00518980
lea ecx, [esp + 0xd8]
mov byte [esp + 0x130], 1
call fcn.00518980
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esi + 0x30]
call fcn.00580950
lea edx, [esp + 0xfc]
push edx
lea ecx, [esi + 0x90]
call fcn.00580950
mov esi, 0xc
lea ecx, [esp + 0xb4]
mov byte [esp + 0x130], 0
call fcn.00518980
lea ecx, [esp + 0xfc]
mov dword [esp + 0x130], 0xffffffff
call fcn.00518980
mov eax, esi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.005f617e
mov esp, ebp
pop ebp
ret