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

Disassembly:
push 0xffffffffffffffff
push 0x666589
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x34]
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x60], ebx
jne 0x570aa5
xor eax, eax
jmp 0x571791
lea eax, [esp + 0x44]
mov ecx, ebx
push eax
call fcn.00578940
mov ecx, dword [eax]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 4]
fld dword [esp + 0x74]
mov ecx, dword [eax + 8]
mov dword [esp + 0x78], edx
fcomp dword [esp + 0x78]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
fnstsw ax
test ah, 1
je 0x570af0
fld dword [esp + 0x7c]
fcomp dword [esp + 0x80]
fnstsw ax
test ah, 1
jne 0x570af7
xor eax, eax
jmp 0x571791
mov ecx, ebx
call fcn.0056cdf0
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x14], edi
jne 0x570b0f
xor eax, eax
jmp 0x571791
mov ecx, ebx
call fcn.0056cdd0
cmp eax, ebp
mov dword [esp + 0x28], eax
jne 0x570b25
xor eax, eax
jmp 0x571791
mov ecx, edi
call fcn.004c4db0
cmp eax, ebp
mov dword [esp + 0x2c], eax
jne 0x570ba8
mov eax, dword [ebx + 0xc]
push eax
call fcn.00494570
mov esi, eax
add esp, 4
cmp esi, ebp
mov dword [esp + 0x2c], esi
jne 0x570b73
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
push 0xffffffffffffffff
push 0x6e6cb8
call fcn.00499a80
mov ecx, dword [ebx + 0xc]
push ecx
call fcn.004946d0
mov esi, eax
add esp, 8
cmp esi, ebp
mov dword [esp + 0x2c], esi
je 0x570ba8
mov dword [esp + 0x34], ebp
mov ecx, dword [ebx + 0x34]
lea edx, [esp + 0x34]
push edx
push esi
mov dword [esp + 0x170], ebp
call fcn.00495c80
push esi
mov ecx, edi
call fcn.004c4e80
lea ecx, [esp + 0x34]
mov dword [esp + 0x168], 0xffffffff
call fcn.00499a60
push 0x19c
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebp
mov dword [esp + 0x168], 1
je 0x570bd5
mov ecx, eax
call fcn.0059d360
mov dword [esp + 0x38], eax
jmp 0x570bd9
mov dword [esp + 0x38], ebp
lea ecx, [esp + 0x134]
mov dword [esp + 0x168], 0xffffffff
mov dword [esp + 0xf0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0x104], ebp
mov dword [esp + 0x114], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x120], ebp
mov dword [esp + 0x130], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x124], 0
call fcn.0056e060
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0xe4]
mov dword [esp + 0x154], ebp
mov dword [esp + 0x150], ebp
mov dword [esp + 0x14c], ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x44]
mov ecx, ebx
push eax
mov dword [esp + 0x11c], ebp
mov dword [esp + 0x120], 1
mov dword [esp + 0x14c], 0x41100000
mov dword [esp + 0x160], ebp
call fcn.0056ce10
mov ecx, dword [eax]
mov esi, 0xc8000000
mov dword [esp + 0xe4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xe8], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [eax + 0xc]
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xf0], edx
mov dword [esp + 0xfc], ebp
call fcn.004a54e0
test eax, 0x80000
je 0x570d26
mov esi, 0xc8000002
and eax, 0x200000
mov dword [esp + 0x6c], eax
je 0x570d34
or esi, 1
push ecx
mov dword [esp + 0x104], esi
mov ecx, esp
mov dword [esp + 0x14], esp
push 0xffffffffffffffff
push 0x6f33b8
call fcn.00499a80
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.004c46d0
mov eax, dword [esp + 0x3c]
cmp eax, ebp
jle 0x570e8b
fld dword [esp + 0x18]
fcomp dword [0x675254]
mov dword [esp + 0x44], eax
fnstsw ax
test ah, 0x41
jne 0x570d9d
fld dword [esp + 0x18]
fld dword [esp + 0x18]
fcomp dword [0x67222c]
fnstsw ax
test ah, 1
je 0x570da9
fstp dword [esp + 0x48]
jmp 0x570db3
fld dword [0x675254]
fstp dword [esp + 0x48]
jmp 0x570db3
fstp st(0)
mov dword [esp + 0x48], 0x3f800000
fld dword [esp + 0x1c]
fcomp dword [0x675254]
fnstsw ax
test ah, 0x41
jne 0x570ddf
fld dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcomp dword [0x67222c]
fnstsw ax
test ah, 1
je 0x570deb
fstp dword [esp + 0x4c]
jmp 0x570df5
fld dword [0x675254]
fstp dword [esp + 0x4c]
jmp 0x570df5
fstp st(0)
mov dword [esp + 0x4c], 0x3f800000
fld dword [esp + 0x20]
fcomp dword [0x675254]
fnstsw ax
test ah, 0x41
jne 0x570e21
fld dword [esp + 0x20]
fld dword [esp + 0x20]
fcomp dword [0x67222c]
fnstsw ax
test ah, 1
je 0x570e2d
fstp dword [esp + 0x50]
jmp 0x570e37
fld dword [0x675254]
fstp dword [esp + 0x50]
jmp 0x570e37
fstp st(0)
mov dword [esp + 0x50], 0x3f800000
fld dword [esp + 0x24]
fcomp dword [0x675254]
fnstsw ax
test ah, 0x41
jne 0x570e63
fld dword [esp + 0x24]
fld dword [esp + 0x24]
fcomp dword [0x67222c]
fnstsw ax
test ah, 1
je 0x570e6f
fstp dword [esp + 0x54]
jmp 0x570e79
fld dword [0x675254]
fstp dword [esp + 0x54]
jmp 0x570e79
fstp st(0)
mov dword [esp + 0x54], 0x3f800000
mov ecx, 5
lea esi, [esp + 0x44]
lea edi, [esp + 0x104]
rep movsd dword es:[edi], dword [esi]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0xffffffffffffffff
push 0x6f1e34
call fcn.00499a80
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x40]
push edx
push eax
call fcn.004c46d0
mov eax, dword [esp + 0x3c]
cmp eax, ebp
jle 0x570fdb
fld dword [esp + 0x18]
fcomp dword [0x675254]
mov dword [esp + 0x44], eax
fnstsw ax
test ah, 0x41
jne 0x570eed
fld dword [esp + 0x18]
fld dword [esp + 0x18]
fcomp dword [0x67222c]
fnstsw ax
test ah, 1
je 0x570ef9
fstp dword [esp + 0x48]
jmp 0x570f03
fld dword [0x675254]
fstp dword [esp + 0x48]
jmp 0x570f03
fstp st(0)
mov dword [esp + 0x48], 0x3f800000
fld dword [esp + 0x1c]
fcomp dword [0x675254]
fnstsw ax
test ah, 0x41
jne 0x570f2f
fld dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcomp dword [0x67222c]
fnstsw ax
test ah, 1
je 0x570f3b
fstp dword [esp + 0x4c]
jmp 0x570f45
fld dword [0x675254]
fstp dword [esp + 0x4c]
jmp 0x570f45
fstp st(0)
mov dword [esp + 0x4c], 0x3f800000
fld dword [esp + 0x20]
fcomp dword [0x675254]
fnstsw ax
test ah, 0x41
jne 0x570f71
fld dword [esp + 0x20]
fld dword [esp + 0x20]
fcomp dword [0x67222c]
fnstsw ax
test ah, 1
je 0x570f7d
fstp dword [esp + 0x50]
jmp 0x570f87
fld dword [0x675254]
fstp dword [esp + 0x50]
jmp 0x570f87
fstp st(0)
mov dword [esp + 0x50], 0x3f800000
fld dword [esp + 0x24]
fcomp dword [0x675254]
fnstsw ax
test ah, 0x41
jne 0x570fb3
fld dword [esp + 0x24]
fld dword [esp + 0x24]
fcomp dword [0x67222c]
fnstsw ax
test ah, 1
je 0x570fbf
fstp dword [esp + 0x54]
jmp 0x570fc9
fld dword [0x675254]
fstp dword [esp + 0x54]
jmp 0x570fc9
fstp st(0)
mov dword [esp + 0x54], 0x3f800000
mov ecx, 5
lea esi, [esp + 0x44]
lea edi, [esp + 0x120]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.005797e0
mov ecx, ebx
mov dword [esp + 0x11c], eax
call fcn.0057a790
dec eax
mov ecx, 3
cmp eax, ecx
mov esi, 2
ja case.default.0x570fff
jmp dword [eax*4 + 0x5717ac]
mov eax, ecx
xor edx, edx
mov dword [esp + 0x118], 1
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], ecx
mov dword [esp + 0x154], edx
jmp 0x571074
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x118], esi
lea edx, [ecx + ecx]
mov dword [esp + 0x11c], edx
jmp 0x571074
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x118], ecx
lea ecx, [eax + eax]
mov dword [esp + 0x11c], ecx
jmp 0x571074
mov dword [esp + 0x118], 4
jmp 0x571074
mov dword [esp + 0x118], ebp
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
call fcn.004c4c20
push ebp
lea ecx, [esp + 0x44]
mov dword [esp + 0x16c], esi
call fcn.004c1800
test eax, eax
je 0x5711d1
lea eax, [esp + 0x18]
push ebp
lea ecx, [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.004c1d60
fld dword [esp + 0x18]
fcomp dword [0x675254]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x44], edx
fnstsw ax
test ah, 0x41
jne 0x5710e3
fld dword [esp + 0x18]
fld dword [esp + 0x18]
fcomp dword [0x67222c]
fnstsw ax
test ah, 1
je 0x5710ef
fstp dword [esp + 0x48]
jmp 0x5710f9
fld dword [0x675254]
fstp dword [esp + 0x48]
jmp 0x5710f9
fstp st(0)
mov dword [esp + 0x48], 0x3f800000
fld dword [esp + 0x1c]
fcomp dword [0x675254]
fnstsw ax
test ah, 0x41
jne 0x571125
fld dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcomp dword [0x67222c]
fnstsw ax
test ah, 1
je 0x571131
fstp dword [esp + 0x4c]
jmp 0x57113b
fld dword [0x675254]
fstp dword [esp + 0x4c]
jmp 0x57113b
fstp st(0)
mov dword [esp + 0x4c], 0x3f800000
fld dword [esp + 0x20]
fcomp dword [0x675254]
fnstsw ax
test ah, 0x41
jne 0x571167
fld dword [esp + 0x20]
fld dword [esp + 0x20]
fcomp dword [0x67222c]
fnstsw ax
test ah, 1
je 0x571173
fstp dword [esp + 0x50]
jmp 0x57117d
fld dword [0x675254]
fstp dword [esp + 0x50]
jmp 0x57117d
fstp st(0)
mov dword [esp + 0x50], 0x3f800000
fld dword [esp + 0x24]
fcomp dword [0x675254]
fnstsw ax
test ah, 0x41
jne 0x5711a9
fld dword [esp + 0x24]
fld dword [esp + 0x24]
fcomp dword [0x67222c]
fnstsw ax
test ah, 1
je 0x5711b5
fstp dword [esp + 0x54]
jmp 0x5711bf
fld dword [0x675254]
fstp dword [esp + 0x54]
jmp 0x5711bf
fstp st(0)
mov dword [esp + 0x54], 0x3f800000
mov ecx, 5
lea esi, [esp + 0x44]
lea edi, [esp + 0x134]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x5c], ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0x168], 3
call fcn.004c13d0
test eax, eax
je 0x571208
lea eax, [esp + 0x10]
lea ecx, [esp + 0x5c]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.004c1440
mov edx, dword [esp + 0x10]
mov dword [esp + 0x148], edx
fld dword [esp + 0x148]
fcomp dword [0x675254]
fnstsw ax
test ah, 0x41
je 0x571227
mov dword [esp + 0x148], 0x41400000
mov ecx, dword [ebx + 0x34]
call fcn.00495de0
mov dword [esp + 0x68], ebp
cmp eax, ebp
mov byte [esp + 0x168], 4
je 0x57124d
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [ebx + 0x34]
push eax
call fcn.00495c60
push 0x28
call fcn.006247b3
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebp
mov byte [esp + 0x168], 5
je 0x571273
push ebx
mov ecx, eax
call fcn.00599f60
mov esi, eax
jmp 0x571275
xor esi, esi
mov eax, dword [esp + 0x2c]
mov edx, dword [esi]
push eax
mov ecx, esi
mov dword [esp + 0x38], esi
mov byte [esp + 0x16c], 4
call dword [edx + 0x14]
mov edx, dword [esi]
lea eax, [esp + 0x5c]
push eax
mov ecx, esi
call dword [edx + 0x18]
mov edi, dword [esp + 0x38]
mov dword [esp + 0xf8], esi
lea eax, [esp + 0xe4]
mov edx, dword [edi + 0xbc]
lea ecx, [edi + 0xbc]
push eax
call dword [edx + 8]
test eax, eax
je 0x57173b
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x98], ebp
push 4
lea ecx, [esp + 0xa0]
mov byte [esp + 0x16c], 6
call fcn.0049b150
mov ecx, dword [0x6b1564]
mov dword [esp + 0xc8], 0
mov edx, ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xc4], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xd8], ebp
mov bl, 9
push 0x723348
lea ecx, [esp + 0x9c]
mov byte [esp + 0x16c], bl
mov dword [esp + 0x98], 0x3f800000
call fcn.00499c60
push 0xffffffffffffffff
push 0x6e53d0
lea ecx, [esp + 0x78]
call fcn.00499a80
lea eax, [esp + 0x70]
lea ecx, [esp + 0x9c]
push eax
mov byte [esp + 0x16c], 0xa
call fcn.00572570
lea ecx, [esp + 0x70]
mov byte [esp + 0x168], bl
call fcn.00499a60
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xe0], ebp
mov dword [esp + 0x14], ebp
push 0xffffffffffffffff
push 0x6e6d20
lea ecx, [esp + 0x18]
mov byte [esp + 0x170], 0xc
call fcn.00499a80
mov ecx, dword [esp + 0xa0]
push 1
push ecx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x170], 0xd
call fcn.0049b340
mov dword [esp + 0x30], eax
mov dword [esp + 0x64], eax
cmp eax, ebp
mov byte [esp + 0x168], 0xe
je 0x571437
lea edx, [esp + 0x10]
mov ecx, eax
push edx
call fcn.00499b80
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 0xc
call fcn.00499a60
mov ebx, dword [esp + 0x60]
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
mov dword [esp + 0xb4], 1
call fcn.0056cc10
mov ecx, 6
mov esi, eax
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
call fcn.0056ce10
mov edx, dword [eax]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x84], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0xd0]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x90], edx
mov eax, dword [eax + 0xc]
push esi
mov dword [esp + 0x98], eax
mov dword [esp + 0xd4], 1
call fcn.00495c60
test eax, eax
jne 0x5714db
push 0x6f1a74
lea ecx, [esp + 0xd4]
call fcn.00499c60
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xd4], esi
call fcn.004a6b60
mov ebx, dword [esp + 0x38]
mov edi, eax
xor esi, esi
cmp edi, ebp
jle 0x571547
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
push esi
push edx
call fcn.004a6c50
mov eax, dword [esp + 0x10]
mov byte [esp + 0x168], 0xf
cmp eax, ebp
mov dword [esp + 0x2c], ebp
je 0x57151f
add eax, 0xc
jmp 0x571524
mov eax, 0x7427dc
mov edx, dword [ebx]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x34]
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 0xc
call fcn.00499a60
inc esi
cmp esi, edi
jl 0x5714f7
mov edi, dword [esp + 0x28]
mov ecx, edi
call fcn.004a5c20
xor esi, esi
cmp eax, ebp
mov dword [esp + 0x30], eax
jle 0x5715bb
push esi
mov ecx, edi
call fcn.004a5cc0
cmp eax, ebp
jl 0x5715b2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
cmp eax, ebp
je 0x571599
mov edx, dword [ebx]
mov eax, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x2c]
push eax
lea eax, [esp + 0x14]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x5c]
jmp 0x5715b2
mov edx, dword [ebx]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x30], 1
call dword [edx + 0x54]
mov eax, dword [esp + 0x30]
inc esi
cmp esi, eax
jl 0x57155c
mov edx, dword [ebx + 0xbc]
lea esi, [ebx + 0xbc]
push ebp
push 1
mov ecx, esi
call dword [edx + 0xb4]
mov ecx, edi
call fcn.004a74b0
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x4c]
lea ecx, [esp + 0x14]
call fcn.004a34f0
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esp + 0x14]
cmp eax, ebp
lea esi, [eax + 0xc]
jne 0x57160e
mov esi, 0x7427d8
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x30]
push edx
mov eax, dword [ecx + 0x20]
mov dword [esp + 0xe0], eax
call fcn.004ed1d0
push eax
lea ecx, [esp + 0xdc]
mov byte [esp + 0x16c], 0x10
call fcn.00499cd0
lea ecx, [esp + 0x30]
mov byte [esp + 0x168], 0xc
call fcn.00499a60
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0xffffffffffffffff
push 0x7427d8
call fcn.00499a80
lea eax, [esp + 0x88]
push ebp
push eax
lea ecx, [esp + 0x20]
call fcn.0056dfd0
mov ecx, dword [esp + 0x6c]
push eax
push esi
add ecx, 0x10
call fcn.0057e460
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 0xb
call fcn.00499a60
lea ecx, [esp + 0xd8]
mov byte [esp + 0x168], 0x13
call fcn.00499a60
lea ecx, [esp + 0xd0]
mov byte [esp + 0x168], 0x12
call fcn.00499a60
lea edx, [esp + 0x9c]
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0xa0]
xor esi, esi
cmp eax, ebp
mov byte [esp + 0x168], 0x14
jle 0x5716fc
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x9c]
imul ecx, esi
add ecx, edx
call fcn.00499a60
mov eax, dword [esp + 0xa0]
inc esi
cmp esi, eax
jl 0x5716d8
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0xa4]
call fcn.0049b180
lea ecx, [esp + 0x9c]
mov byte [esp + 0x168], 0x11
call fcn.0049b170
lea ecx, [esp + 0x98]
mov byte [esp + 0x168], 4
call fcn.00499a60
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
cmp edi, ebp
je 0x571749
mov eax, dword [edi + 0x34]
lea ecx, [edi + 0x34]
push 1
call dword [eax]
cmp esi, ebp
je 0x571756
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x48]
lea ecx, [esp + 0x68]
mov byte [esp + 0x168], 3
call fcn.00499a60
lea ecx, [esp + 0x5c]
mov byte [esp + 0x168], 2
call fcn.00499a60
lea ecx, [esp + 0x40]
mov dword [esp + 0x168], 0xffffffff
call fcn.00499a60
mov eax, 1
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x15c
ret