Function at 0x576a40
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6587de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x20]
push eax
call dword [fcn.0065f510]
push eax
call fcn.00644092
mov edi, eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x18], edi
call fcn.0064414c
xor ebx, ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x94], ebx
call fcn.004a42c0
mov dword [esp + 0x34], 0x661a18
cmp edi, ebx
mov byte [esp + 0x94], 1
jne 0x576aa7
xor eax, eax
jmp 0x576aaa
mov eax, dword [edi + 4]
push eax
call dword [fcn.0065e0d0]
push eax
lea ecx, [esp + 0x60]
call fcn.00644146
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1b8]
mov ebp, dword [esi + 0x1b4]
sub eax, ecx
mov ecx, dword [esi + 0x1bc]
push eax
sub ecx, ebp
push ecx
mov ecx, dword [edi + 4]
push ecx
call dword [fcn.0065e0c8]
push eax
lea ecx, [esp + 0x38]
call fcn.006440f8
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x34]
neg eax
sbb eax, eax
and eax, ecx
push eax
push edx
call fcn.00644140
push 1
lea ecx, [esp + 0x60]
mov dword [esp + 0x2c], eax
call fcn.0064412e
mov dword [esp + 0x24], eax
lea eax, [esi + 0x148]
push eax
lea ecx, [esp + 0x60]
call fcn.00644128
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], eax
call fcn.004a42c0
mov dword [esp + 0x3c], 0x661a40
mov eax, dword [esi + 0xcc]
mov byte [esp + 0x94], 2
push eax
push 1
push ebx
call dword [fcn.0065e0c4]
push eax
lea ecx, [esp + 0x40]
call fcn.006440f8
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x60]
call fcn.0064407a
lea edx, [esi + 0x108]
mov dword [esp + 0x1c], eax
mov ebp, dword [fcn.0065f568]
mov eax, dword [edx]
mov dword [esp + 0x4c], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x50], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x1b8]
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x4c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x1b4]
neg eax
neg ecx
push eax
push ecx
push edx
call ebp
mov eax, dword [esi + 0xcc]
lea ecx, [esp + 0x4c]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.00643ed0
xor edi, edi
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x576de6
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ebx, edx
jae 0x576de6
mov eax, dword [esi + 0xb0]
mov ecx, dword [edi + eax + 8]
mov eax, dword [esi + 0x1bc]
cmp ecx, eax
jg 0x576de6
lea ecx, [esp + 0x10]
call fcn.004a42c0
mov dword [esp + 0x10], 0x668278
mov eax, dword [esi + 0xb0]
push 1
push 4
mov byte [esp + 0x9c], 3
mov edx, dword [edi + eax + 0x10]
mov dword [esp + 0x74], edx
mov ecx, dword [edi + eax + 0x14]
mov dword [esp + 0x78], ecx
mov ecx, dword [edi + eax + 0x18]
mov edx, dword [edi + eax + 0x10]
sub ecx, edx
mov edx, dword [edi + eax + 0x14]
add ecx, dword [edi + eax + 0x10]
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], ecx
mov edx, dword [edi + eax + 8]
mov dword [esp + 0x84], edx
mov ecx, dword [edi + eax + 0xc]
mov dword [esp + 0x88], ecx
mov ecx, dword [edi + eax + 8]
mov edx, dword [edi + eax]
sub ecx, edx
mov edx, dword [edi + eax + 0xc]
mov eax, dword [edi + eax + 8]
mov dword [esp + 0x90], edx
lea edx, [esp + 0x74]
sub eax, ecx
push edx
mov dword [esp + 0x90], eax
call dword [0x65e0a0]
push eax
lea ecx, [esp + 0x14]
call fcn.006440f8
mov eax, dword [esi + 0x1b8]
mov ecx, dword [esi + 0x1b4]
neg eax
neg ecx
push eax
mov eax, dword [esp + 0x18]
push ecx
push eax
call dword [0x65e0ec]
mov eax, dword [esi + 0x190]
test eax, eax
jl 0x576ce1
cmp ebx, eax
jne 0x576ce1
mov eax, dword [esi + 0xe4]
jmp 0x576cea
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + ebx*8]
push eax
lea ecx, [esp + 0x60]
call fcn.00644122
lea eax, [esi + 0x150]
test eax, eax
jne 0x576d02
xor ecx, ecx
jmp 0x576d05
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
push ecx
mov ecx, dword [esp + 0x64]
and eax, edx
push eax
push ecx
call dword [fcn.0065e12c]
lea eax, [esi + 0x158]
test eax, eax
jne 0x576d2e
xor ecx, ecx
jmp 0x576d31
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
push 1
and eax, edx
mov edx, dword [esp + 0x64]
push 1
push ecx
push eax
push edx
call dword [0x65e09c]
mov eax, dword [esi + 0xb0]
add eax, edi
mov ecx, eax
mov eax, dword [ecx]
mov dword [esp + 0x4c], eax
inc eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x50], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x4c]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x1b8]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x1b4]
neg eax
neg ecx
push eax
push ecx
push edx
call ebp
mov eax, dword [esi + 0xb0]
lea edx, [esp + 0x4c]
push 0x25
push edx
mov eax, dword [edi + eax + 0x20]
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x6c]
call dword [eax + 0x70]
mov dword [esp + 0x10], 0x661578
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 4
call fcn.0064406e
inc ebx
mov byte [esp + 0x94], 2
mov dword [esp + 0x10], 0x6602dc
add edi, 0x3c
jmp 0x576bc9
mov eax, dword [esi + 0x44]
test eax, eax
jl 0x577094
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0x668278
mov ecx, dword [esi + 0xb0]
lea eax, [eax + eax*2]
push 1
push 4
lea eax, [eax + eax*4]
mov byte [esp + 0x9c], 5
shl eax, 2
mov edx, dword [ecx + eax + 0x10]
mov dword [esp + 0x74], edx
mov edx, dword [ecx + eax + 0x14]
mov dword [esp + 0x78], edx
mov edx, dword [ecx + eax + 0x18]
mov ebx, dword [ecx + eax + 0x10]
mov edi, dword [ecx + eax + 0x10]
sub edx, ebx
mov ebx, dword [ecx + eax + 0x14]
add edi, edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], edi
mov edx, dword [ecx + eax + 8]
mov dword [esp + 0x84], edx
mov edx, dword [ecx + eax + 0xc]
mov dword [esp + 0x88], edx
mov edx, dword [ecx + eax + 8]
mov edi, dword [ecx + eax]
sub edx, edi
mov edi, dword [ecx + eax + 0xc]
mov eax, dword [ecx + eax + 8]
mov dword [esp + 0x90], edi
sub eax, edx
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x74]
push eax
call dword [0x65e0a0]
push eax
lea ecx, [esp + 0x30]
call fcn.006440f8
mov eax, dword [esi + 0x1b8]
mov ecx, dword [esi + 0x1b4]
mov ebx, dword [0x65e0ec]
neg eax
neg ecx
push eax
push ecx
mov ecx, dword [esp + 0x38]
push ecx
call ebx
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0xb0]
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*4 + 0x10]
mov ecx, dword [ecx + edx*4 + 0x10]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x1b4]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x1b8]
neg eax
neg ecx
push eax
lea eax, [esp + 0x50]
push ecx
push eax
mov dword [esp + 0x64], edx
call ebp
mov ecx, dword [esi + 0x190]
mov eax, dword [esi + 0x44]
cmp ecx, eax
lea edi, [esi + 0x168]
je 0x576f18
lea edi, [esi + 0x160]
mov edx, dword [esi + 0xdc]
lea ecx, [esp + 0x5c]
push edx
call fcn.00644122
test edi, edi
jne 0x576f30
xor ecx, ecx
jmp 0x576f33
mov ecx, dword [edi + 4]
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
push ecx
and eax, edi
push eax
mov eax, dword [esp + 0x68]
push eax
call dword [fcn.0065e12c]
lea eax, [esi + 0x158]
test eax, eax
jne 0x576f5c
xor ecx, ecx
jmp 0x576f5f
mov ecx, dword [eax + 4]
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
push 1
push 1
and eax, edi
push ecx
mov ecx, dword [esp + 0x6c]
push eax
push ecx
call dword [0x65e09c]
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0xb0]
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*4 + 0x10]
mov ecx, dword [ecx + edx*4 + 0x10]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x1b4]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x1b8]
neg eax
neg ecx
push eax
lea eax, [esp + 0x50]
push ecx
push eax
mov dword [esp + 0x64], edx
call ebp
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push ecx
lea eax, [esp + 0x48]
push edx
push eax
lea ecx, [esp + 0x68]
call fcn.00644110
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.0064410a
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0xb0]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
mov dword [esp + 0x4c], eax
inc eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x50], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x4c]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x1b8]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x1b4]
neg eax
neg ecx
push eax
push ecx
push edx
call ebp
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0xb0]
push 0x25
lea edx, [esp + 0x50]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4 + 0x20]
mov eax, dword [eax]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x6c]
call dword [eax + 0x70]
mov dword [esp + 0x2c], 0x661578
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 6
call fcn.0064406e
mov byte [esp + 0x94], 2
mov dword [esp + 0x2c], 0x6602dc
jmp 0x57709a
mov ebx, dword [0x65e0ec]
mov eax, dword [esi + 0x18c]
test eax, eax
je 0x577192
lea ecx, [esi + 0x118]
mov edx, dword [esi + 0x118]
mov dword [esp + 0x4c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x50], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x4c]
mov eax, dword [ecx + 0xc]
mov ecx, dword [esi + 0x130]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x1b8]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x1b4]
neg eax
neg ecx
push eax
push ecx
push edx
call ebp
mov eax, dword [esi + 0xcc]
lea ecx, [esp + 0x4c]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.00643ed0
lea ebp, [esi + 0x178]
test ebp, ebp
jne 0x577113
xor eax, eax
jmp 0x577116
mov eax, dword [ebp + 4]
push eax
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x50]
push edx
push eax
call dword [0x65f570]
lea edi, [esi + 0x13c]
mov dword [esp + 0x10], 2
mov eax, dword [esi + 0x1b8]
mov ecx, dword [esi + 0x1b4]
neg eax
neg ecx
push eax
push ecx
mov ecx, dword [edi]
push ecx
call ebx
test ebp, ebp
jne 0x577154
xor ecx, ecx
jmp 0x577157
mov ecx, dword [ebp + 4]
lea edx, [edi - 4]
test edx, edx
jne 0x577162
xor eax, eax
jmp 0x577164
mov eax, dword [edi]
push ecx
push eax
mov eax, dword [esp + 0x68]
push eax
call dword [fcn.0065e12c]
mov eax, dword [esi + 0x1b8]
mov ecx, dword [esi + 0x1b4]
push eax
push ecx
mov ecx, dword [edi]
push ecx
call ebx
mov eax, dword [esp + 0x10]
add edi, 8
dec eax
mov dword [esp + 0x10], eax
jne 0x577135
mov edi, dword [esi + 0x1b8]
mov ecx, dword [esi + 0x1c0]
mov ebp, dword [esi + 0x1b4]
mov edx, dword [esi + 0x1bc]
mov ebx, dword [esp + 0x60]
lea eax, [esp + 0x5c]
sub ecx, edi
sub edx, ebp
neg eax
sbb eax, eax
push 0xcc0020
and eax, ebx
push 0
push 0
push eax
push ecx
push edx
push edi
mov edi, dword [esp + 0x34]
push ebp
mov edx, dword [edi + 4]
push edx
call dword [fcn.0065e0cc]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x5c]
push eax
call fcn.0064407a
lea ecx, [esp + 0x3c]
call fcn.0064406e
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x60]
call fcn.00644128
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x5c]
push edx
call fcn.0064412e
mov eax, dword [esp + 0x28]
test eax, eax
je 0x577216
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x64]
push eax
call fcn.00644140
lea ecx, [esp + 0x34]
call fcn.0064406e
lea ecx, [esp + 0x5c]
call fcn.00644134
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [fcn.0065f4e8]
mov esi, 0x661578
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x94], 7
call fcn.0064406e
mov edi, 0x6602dc
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], 8
call fcn.0064406e
lea ecx, [esp + 0x5c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x94], 0xffffffff
call fcn.0064411c
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret