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

Disassembly:
push 0xffffffffffffffff
push 0x658629
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
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 + 0x38]
mov dword [esp + 0x98], edi
call fcn.0064414c
xor ebx, ebx
lea ecx, [esp + 0x54]
mov dword [esp + 0xb8], ebx
call fcn.004a42c0
mov dword [esp + 0x54], 0x661a18
cmp edi, ebx
mov byte [esp + 0xb8], 1
jne 0x57468d
xor eax, eax
jmp 0x574690
mov eax, dword [edi + 4]
push eax
call dword [fcn.0065e0d0]
push eax
lea ecx, [esp + 0x3c]
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 + 0x58]
call fcn.006440f8
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x54]
neg eax
sbb eax, eax
and eax, ecx
push eax
push edx
call fcn.00644140
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x98], eax
call fcn.0064412e
mov dword [esp + 0x8c], eax
lea eax, [esi + 0x148]
push eax
lea ecx, [esp + 0x3c]
call fcn.00644128
mov dword [esp + 0x90], eax
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x5c]
call fcn.004a42c0
mov dword [esp + 0x5c], 0x661a40
mov eax, dword [esi + 0xd0]
mov byte [esp + 0xb8], 2
push eax
push 1
push ebx
call dword [fcn.0065e0c4]
push eax
lea ecx, [esp + 0x60]
call fcn.006440f8
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0064407a
lea edx, [esi + 0x108]
mov dword [esp + 0x9c], eax
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x28], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x1b8]
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x24]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x1b4]
neg eax
neg ecx
push eax
push ecx
push edx
call dword [fcn.0065f568]
mov eax, dword [esi + 0xcc]
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.00643ed0
mov ebp, dword [0x65e0f0]
mov dword [esp + 0x4c], ebx
mov ebx, dword [0x65e0ec]
xor edi, edi
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x574c08
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
mov eax, dword [esp + 0x4c]
cmp eax, edx
jae 0x574c08
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + edi + 8]
mov eax, dword [esi + 0x1bc]
cmp ecx, eax
jg 0x574c08
lea ecx, [esp + 0x10]
call fcn.004a42c0
mov dword [esp + 0x10], 0x668278
mov eax, dword [esi + 0xb0]
push 1
push 4
mov byte [esp + 0xc0], 3
mov edx, dword [eax + edi + 0x10]
mov dword [esp + 0x6c], edx
mov ecx, dword [eax + edi + 0x14]
mov dword [esp + 0x70], ecx
mov ecx, dword [eax + edi + 0xc]
mov edx, dword [eax + edi + 4]
sub ecx, edx
add edx, ecx
mov ecx, dword [eax + edi]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov edx, dword [eax + edi + 0x18]
mov dword [esp + 0x7c], edx
mov ecx, dword [eax + edi + 0x1c]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax + edi + 0x1c]
mov edx, dword [eax + edi + 0x14]
sub ecx, edx
mov edx, dword [eax + edi + 0x1c]
mov eax, dword [eax + edi + 0x18]
sub edx, ecx
mov dword [esp + 0x88], edx
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x88], 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 ebx
lea ecx, [esp + 0x18]
call fcn.004a42c0
mov dword [esp + 0x18], 0x668278
mov ecx, dword [esi + 0x1b4]
mov edx, dword [esp + 0x64]
mov eax, dword [esi + 0x1b8]
mov byte [esp + 0xb8], 4
neg ecx
add edx, ecx
mov ecx, dword [esp + 0x68]
neg eax
add ecx, eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
lea eax, [edx + 1]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x54]
push eax
push ecx
push edx
call dword [fcn.0065e104]
push eax
lea ecx, [esp + 0x1c]
call fcn.006440f8
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x14]
push 3
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x1c]
push 1
push 0
push ecx
call ebx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
mov edx, dword [esp + 0x14]
push 3
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x14]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
push 1
push edx
call ebx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
mov edx, dword [esp + 0x14]
push 3
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x14]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
mov eax, dword [esi + 0x190]
test eax, eax
jl 0x5749ce
cmp dword [esp + 0x4c], eax
jne 0x5749ce
mov eax, dword [esi + 0xe4]
jmp 0x5749db
mov eax, dword [esi + 0xc0]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + ecx*8]
push eax
lea ecx, [esp + 0x3c]
call fcn.00644122
lea eax, [esi + 0x150]
test eax, eax
jne 0x5749f3
xor ecx, ecx
jmp 0x5749f6
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
push ecx
and eax, edx
mov edx, dword [esp + 0x40]
push eax
push edx
call dword [fcn.0065e12c]
lea eax, [esi + 0x158]
test eax, eax
jne 0x574a1f
xor ecx, ecx
jmp 0x574a22
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
push 1
and eax, edx
push 1
push ecx
push eax
mov eax, dword [esp + 0x4c]
push eax
call dword [0x65e09c]
mov eax, dword [esi + 0xb0]
add eax, edi
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x24]
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x2c], eax
inc eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x1b8]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x1b4]
neg eax
neg ecx
push eax
push ecx
push edx
call dword [fcn.0065f568]
push 0x6c7010
lea ecx, [esp + 0x4c]
call fcn.00643d2c
mov eax, dword [esi + 0xb0]
xor edx, edx
mov byte [esp + 0xb8], 5
mov dword [esp + 0x34], edx
mov ecx, dword [eax + edi + 0x20]
mov ecx, dword [ecx - 8]
add ecx, 0xfffffffd
test ecx, ecx
jle 0x574b81
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x50]
push 2
lea ecx, [esp + 0x24]
push edx
push ecx
lea ecx, [eax + edi + 0x20]
call fcn.00644290
mov edx, dword [esp + 0x20]
push 0x6c7010
push edx
mov byte [esp + 0xc0], 6
call dword [fcn.0065f1ec]
add esp, 8
test eax, eax
je 0x574b70
lea eax, [esp + 0x20]
push 0x6bd010
lea ecx, [esp + 0x88]
push eax
push ecx
call fcn.00643ea6
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xbc], 7
call fcn.00643d38
lea ecx, [esp + 0x84]
mov byte [esp + 0xb8], 6
call fcn.00643d26
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 5
call fcn.00643d26
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x34]
add eax, 2
inc edx
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0xb0]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + edi + 0x20]
mov ecx, dword [ecx - 8]
add ecx, 0xfffffffd
cmp edx, ecx
jl 0x574ac0
jmp 0x574b81
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 5
call fcn.00643d26
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x24]
push 1
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x48]
call dword [eax + 0x70]
lea ecx, [esp + 0x48]
mov byte [esp + 0xb8], 4
call fcn.00643d26
mov dword [esp + 0x18], 0x661578
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 8
call fcn.0064406e
mov dword [esp + 0x18], 0x6602dc
mov dword [esp + 0x10], 0x661578
lea ecx, [esp + 0x10]
mov byte [esp + 0xb8], 9
call fcn.0064406e
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0xb8], 2
inc ecx
mov dword [esp + 0x10], 0x6602dc
mov dword [esp + 0x4c], ecx
add edi, 0x3c
jmp 0x5747d6
mov eax, dword [esi + 0x44]
test eax, eax
jl 0x57504e
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x668278
mov ecx, dword [esi + 0xb0]
lea eax, [eax + eax*2]
push 1
push 4
lea eax, [eax + eax*4]
mov byte [esp + 0xc0], 0xa
shl eax, 2
mov edx, dword [eax + ecx + 0x10]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + ecx + 0x14]
mov dword [esp + 0x70], edx
mov edx, dword [eax + ecx + 0xc]
mov edi, dword [eax + ecx + 4]
sub edx, edi
add edi, edx
mov edx, dword [eax + ecx]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edi
mov edx, dword [eax + ecx + 0x18]
mov dword [esp + 0x7c], edx
mov edx, dword [eax + ecx + 0x1c]
mov dword [esp + 0x80], edx
mov edx, dword [eax + ecx + 0x1c]
mov edi, dword [eax + ecx + 0x14]
sub edx, edi
mov edi, dword [eax + ecx + 0x1c]
mov eax, dword [eax + ecx + 0x18]
sub edi, edx
mov dword [esp + 0x84], eax
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x8c], edi
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
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
call ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x668278
mov ecx, dword [esi + 0x1b4]
mov edx, dword [esp + 0x64]
mov eax, dword [esi + 0x1b8]
mov byte [esp + 0xb8], 0xb
neg ecx
add edx, ecx
mov ecx, dword [esp + 0x68]
neg eax
add ecx, eax
lea edi, [edx + 1]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
lea eax, [ecx + 1]
push eax
push edi
push ecx
push edx
call dword [fcn.0065e104]
push eax
lea ecx, [esp + 0x1c]
call fcn.006440f8
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edi
neg ecx
sbb ecx, ecx
and ecx, edx
push 3
push eax
push ecx
push edx
call ebp
mov edx, dword [esp + 0x1c]
push 1
push 0
push edx
call ebx
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 3
and eax, edi
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push 1
push eax
call ebx
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 3
and eax, edi
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebp
mov ecx, dword [esi + 0x190]
mov eax, dword [esi + 0x44]
cmp ecx, eax
lea edi, [esi + 0x168]
je 0x574db6
lea edi, [esi + 0x160]
mov edx, dword [esi + 0xdc]
lea ecx, [esp + 0x38]
push edx
call fcn.00644122
test edi, edi
jne 0x574dce
xor ecx, ecx
jmp 0x574dd1
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
push ecx
and eax, edx
push eax
mov eax, dword [esp + 0x44]
push eax
call dword [fcn.0065e12c]
lea eax, [esi + 0x158]
test eax, eax
jne 0x574dfa
xor ecx, ecx
jmp 0x574dfd
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
push 1
push 1
and eax, edx
push ecx
mov ecx, dword [esp + 0x48]
push eax
push ecx
call dword [0x65e09c]
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0xb0]
mov edi, dword [fcn.0065f568]
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 + 0x24], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], 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 + 0x28]
push ecx
push eax
mov dword [esp + 0x3c], edx
call edi
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
dec edx
push ecx
lea eax, [esp + 0x88]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.00644110
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
dec edx
push ecx
push edx
lea ecx, [esp + 0x40]
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 + 0x24], eax
inc eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x2c], edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x1b8]
inc ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x1b4]
neg eax
neg ecx
push eax
lea eax, [esp + 0x28]
push ecx
push eax
call edi
push 0x6c7010
lea ecx, [esp + 0x4c]
call fcn.00643d2c
mov byte [esp + 0xb8], 0xc
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0xb0]
xor edi, edi
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
shl eax, 2
mov edx, dword [eax + ecx + 0x20]
mov edx, dword [edx - 8]
add edx, 0xfffffffd
test edx, edx
jle 0x574fde
xor ebp, ebp
push 2
lea edx, [esp + 0x24]
push ebp
push edx
lea ecx, [eax + ecx + 0x20]
call fcn.00644290
mov eax, dword [esp + 0x20]
push 0x6c7010
push eax
mov byte [esp + 0xc0], 0xd
call dword [fcn.0065f1ec]
add esp, 8
test eax, eax
je 0x574fcd
lea ecx, [esp + 0x20]
push 0x6bd010
lea edx, [esp + 0x88]
push ecx
push edx
call fcn.00643ea6
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xbc], 0xe
call fcn.00643d38
lea ecx, [esp + 0x84]
mov byte [esp + 0xb8], 0xd
call fcn.00643d26
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0xc
call fcn.00643d26
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0xb0]
inc edi
add ebp, 2
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
shl eax, 2
mov edx, dword [eax + ecx + 0x20]
mov edx, dword [edx - 8]
add edx, 0xfffffffd
cmp edi, edx
jl 0x574f25
jmp 0x574fde
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0xc
call fcn.00643d26
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x24]
push 1
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x48]
call dword [eax + 0x70]
lea ecx, [esp + 0x48]
mov byte [esp + 0xb8], 0xb
call fcn.00643d26
mov edi, 0x661578
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 0xf
call fcn.0064406e
mov ebp, 0x6602dc
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0xb8], 0x10
call fcn.0064406e
mov byte [esp + 0xb8], 2
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x18c]
test eax, eax
je 0x57514a
lea ecx, [esi + 0x118]
mov edx, dword [esi + 0x118]
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x24]
mov eax, dword [ecx + 0xc]
mov ecx, dword [esi + 0x134]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x1b8]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x1b4]
neg eax
neg ecx
push eax
push ecx
push edx
call dword [fcn.0065f568]
mov eax, dword [esi + 0xcc]
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.00643ed0
lea ebp, [esi + 0x178]
test ebp, ebp
jne 0x5750cb
xor eax, eax
jmp 0x5750ce
mov eax, dword [ebp + 4]
push eax
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x28]
push edx
push eax
call dword [0x65f570]
lea edi, [esi + 0x13c]
mov dword [esp + 0x34], 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 0x57510c
xor ecx, ecx
jmp 0x57510f
mov ecx, dword [ebp + 4]
lea edx, [edi - 4]
test edx, edx
jne 0x57511a
xor eax, eax
jmp 0x57511c
mov eax, dword [edi]
push ecx
push eax
mov eax, dword [esp + 0x44]
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 + 0x34]
add edi, 8
dec eax
mov dword [esp + 0x34], eax
jne 0x5750ed
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x575250
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
je 0x575250
mov edi, dword [esi + 0xb0]
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x14]
sub ecx, edx
test ecx, ecx
jle 0x575250
mov ebx, dword [esi + 0x1c0]
mov ecx, dword [edi + 0x1c]
mov ebp, dword [esi + 0x1b8]
mov eax, ebx
sub ecx, edx
sub eax, ebp
xor edx, edx
div ecx
mov ebp, eax
mov eax, edi
test eax, eax
jne 0x5751b4
xor edx, edx
jmp 0x5751cf
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
sub edx, dword [esi + 0x180]
cmp ebp, edx
jb 0x575250
mov eax, dword [esi + 0xb0]
test eax, eax
jne 0x5751e7
xor edx, edx
jmp 0x575202
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea eax, [edx + edx*2]
push 1
push 0
lea edx, [eax + eax*4]
lea eax, [edi + edx*4 - 0x2c]
mov ecx, dword [edi + edx*4 - 0x2c]
mov dword [esp + 0xa8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xac], edx
mov edx, dword [esi + 0xe8]
mov ecx, dword [eax + 8]
push edx
mov dword [esp + 0xb4], ecx
push ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x1bc]
dec eax
push eax
push ecx
push eax
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.00571300
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0xe8]
mov edx, dword [esi + 0x1bc]
push 1
dec eax
push 0
push ecx
push eax
push edx
push eax
mov eax, dword [esi + 0x1b4]
lea ecx, [esp + 0x50]
push eax
push ecx
mov ecx, esi
call fcn.00571300
mov edi, dword [esi + 0x1b8]
mov ecx, dword [esi + 0x1c0]
mov ebx, dword [esi + 0x1b4]
mov edx, dword [esi + 0x1bc]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x38]
sub ecx, edi
sub edx, ebx
neg eax
sbb eax, eax
push 0xcc0020
and eax, ebp
push 0
push 0
push eax
push ecx
push edx
push edi
mov edi, dword [esp + 0xb4]
push ebx
mov edx, dword [edi + 4]
push edx
call dword [fcn.0065e0cc]
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x38]
push eax
call fcn.0064407a
lea ecx, [esp + 0x5c]
call fcn.0064406e
mov ecx, dword [esp + 0x90]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00644128
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0x38]
push edx
call fcn.0064412e
mov eax, dword [esp + 0x94]
test eax, eax
je 0x575311
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.00644140
lea ecx, [esp + 0x54]
call fcn.0064406e
lea ecx, [esp + 0x38]
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 + 0x5c], esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb8], 0x11
call fcn.0064406e
mov edi, 0x6602dc
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], edi
lea ecx, [esp + 0x54]
mov byte [esp + 0xb8], 0x12
call fcn.0064406e
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], edi
mov dword [esp + 0xb8], 0xffffffff
call fcn.0064411c
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret