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

Disassembly:
push 0xffffffffffffffff
push 0x66c7b06e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x288
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2a4]
push edi
xor ebx, ebx
mov edi, dword [esi + 0x34]
mov ebp, ecx
cmp edi, ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x2c], edi
jle 0x5cd730
push 0x66e19718
push 0x3b8
push 0x66dcc3d8
push 1
push 0x44
call dword [0x66ca94e4]
add esp, 0x14
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2a0], ebx
cmp eax, ebx
je 0x5ccac2
push esi
mov ecx, eax
call fcn.005ca5b0
jmp 0x5ccac4
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2a0], 0xffffffff
mov ecx, dword [esp + 0x2ac]
cmp ecx, ebx
je 0x5ccae6
push ecx
mov ecx, eax
call fcn.005c44e0
mov eax, dword [ebp + 0x34]
cmp eax, edi
mov ebp, eax
jl 0x5ccaf1
mov ebp, edi
cmp eax, edi
mov dword [esp + 0x48], ebp
jle 0x5ccafb
mov edi, eax
push 0x66e19718
lea eax, [edi + edi*2]
push 0x3c1
push 0x66dcc430
shl eax, 3
push 1
push eax
mov dword [esp + 0x38], edi
call dword [0x66ca94c0]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x4c], esi
mov dword [esp + 0x2a0], 1
cmp esi, ebx
je 0x5ccb4b
mov ecx, dword [0x66ca9340]
push ecx
push edi
push 0x18
push esi
call 0x337620
mov dword [esp + 0x44], esi
jmp 0x5ccb4f
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2a0], 0xffffffff
cmp ebp, ebx
jle 0x5ccbf0
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x28], edx
lea ebp, [ebp + ebp*2]
shl ebp, 3
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x2c]
sub eax, ebx
dec eax
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*8]
call dword [0x66ca951c]
mov edx, dword [esp + 0x34]
fstp qword [esp + 0x18]
mov eax, dword [edx + 0x2c]
lea ecx, [eax + ebp - 0x18]
call dword [0x66ca951c]
fadd qword [esp + 0x18]
fadd qword [0x66caa728]
fstp qword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push 0
push 0
lea ecx, [esp + 0xd0]
call dword [0x66ca9524]
mov edi, dword [esp + 0x28]
mov ecx, 6
mov esi, eax
mov eax, dword [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
inc ebx
sub ebp, 0x18
add ecx, 0x18
cmp ebx, eax
mov dword [esp + 0x28], ecx
jl 0x5ccb75
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov edx, ecx
mov eax, dword [ebp + 0x34]
cmp ecx, eax
jge 0x5ccc2f
mov esi, dword [esp + 0x44]
lea ecx, [ecx + ecx*2]
lea ebx, [esi + ecx*8]
mov ecx, dword [ebp + 0x2c]
sub eax, edx
dec eax
mov edi, ebx
inc edx
add ebx, 0x18
lea eax, [eax + eax*2]
lea esi, [ecx + eax*8]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x34]
cmp edx, eax
jl 0x5ccc0b
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x34]
cmp eax, ecx
jge 0x5ccc67
mov esi, dword [esp + 0x44]
sub ecx, eax
lea edx, [eax + eax*2]
mov ebx, ecx
lea eax, [ecx + ecx*2]
lea edx, [esi + edx*8]
shl eax, 3
mov ecx, dword [esp + 0x34]
mov edi, edx
add edx, 0x18
mov ecx, dword [ecx + 0x2c]
lea esi, [ecx + eax - 0x18]
mov ecx, 6
sub eax, 0x18
dec ebx
rep movsd dword es:[edi], dword [esi]
jne 0x5ccc4a
mov ecx, ebp
call fcn.005c31a0
mov edi, dword [esp + 0x34]
mov ecx, edi
call fcn.005c31a0
mov esi, dword [0x66ca9288]
lea ecx, [esp + 0x1b8]
call esi
lea edx, [esp + 0x1b8]
push 0
push edx
push 0
mov ecx, ebp
call fcn.005bec10
lea ecx, [esp + 0xd8]
call esi
lea eax, [esp + 0xd8]
push 0
push eax
push 0
mov ecx, edi
call fcn.005bec10
lea ecx, [esp + 0x1b8]
push ecx
lea ecx, [esp + 0x54]
call dword [0x66ca9520]
mov ecx, dword [ebp + 0x24]
mov ebx, dword [0x66ca928c]
mov ebp, dword [0x66ca9544]
test ecx, ecx
je 0x5ccd06
lea edx, [esp + 0x228]
push edx
call ebp
push eax
lea eax, [esp + 0x54]
lea ecx, [esp + 0x14c]
push eax
push ecx
call ebx
mov ecx, 0x1c
mov esi, eax
lea edi, [esp + 0x5c]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x24]
test eax, eax
je 0x5ccd31
push eax
lea eax, [esp + 0x54]
lea ecx, [esp + 0x14c]
push eax
push ecx
call ebx
mov ecx, 0x1c
mov esi, eax
lea edi, [esp + 0x5c]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x148]
lea ecx, [esp + 0xd8]
push edx
call ebp
push eax
lea eax, [esp + 0x54]
lea ecx, [esp + 0x22c]
push eax
push ecx
call ebx
mov ebp, dword [esp + 0x30]
push 0x66e19718
push 0x3ec
push 0x66dcc488
mov ecx, 0x1c
mov esi, eax
mov eax, dword [0x66ca95ec]
lea edi, [esp + 0x68]
push 0xa
lea edx, [ebp*8]
push 1
push edx
rep movsd dword es:[edi], dword [esi]
call dword [eax]
mov ecx, dword [0x66ca95ec]
push 0x66e19718
push 0x3ed
mov ebx, eax
push 0x66dcc4b4
lea eax, [ebp*4]
push 0xa
push 1
push eax
mov dword [esp + 0x88], ebx
mov dword [esp + 0x78], eax
call dword [ecx]
add esp, 0x3c
xor esi, esi
test ebp, ebp
mov dword [esp + 0x40], eax
jle 0x5cce6b
cmp esi, dword [esp + 0x48]
jge 0x5ccdf9
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x34]
sub eax, esi
dec eax
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0x2c]
lea ecx, [eax + edx*8]
call dword [0x66ca951c]
fadd qword [0x66caa728]
fstp qword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
jmp 0x5ccdfd
xor eax, eax
xor ecx, ecx
push 0x66e19718
push 0x3f3
push 0x66dcc4e0
push 1
push 0x38
mov dword [ebx + esi*8], eax
mov dword [ebx + esi*8 + 4], ecx
call dword [0x66ca94e4]
mov edi, eax
add esp, 0x14
mov dword [esp + 0x10], edi
mov dword [esp + 0x2a0], 2
test edi, edi
je 0x5cce4e
mov ecx, dword [ebx + esi*8 + 4]
mov edx, dword [ebx + esi*8]
push ecx
push edx
mov ecx, edi
call dword [0x66caa190]
mov dword [edi], 0x66cabd58
jmp 0x5cce50
xor edi, edi
mov dword [esp + 0x2a0], 0xffffffff
mov eax, dword [esp + 0x40]
mov dword [eax + esi*4], edi
inc esi
cmp esi, ebp
jl 0x5ccdc6
mov ecx, dword [esp + 0x3c]
mov edx, dword [0x66ca95ec]
push 0x66e19718
push 0x3f7
push 0x66dcc538
push 0xa
push 1
push ecx
call dword [edx]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
add esp, 0x18
xor ebx, ebx
test eax, eax
jle 0x5ccf73
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
sub eax, ebp
mov dword [esp + 0x3c], eax
push 0x66e19718
push 0x3fb
push 0x66dcc564
push 1
push 0x34
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x10], esi
mov dword [esp + 0x2a0], 3
test esi, esi
je 0x5ccef4
push 0x58
push ebx
mov ecx, esi
call dword [0x66caa194]
mov dword [esi], 0x66cabcd8
mov edi, esi
jmp 0x5ccef6
xor edi, edi
mov dword [esp + 0x2a0], 0xffffffff
push 0x66e19718
push 0x3fc
push 0x66dcc5bc
push 1
push 0x34
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x10], esi
mov dword [esp + 0x2a0], 4
test esi, esi
je 0x5ccf4b
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + ebp]
push ecx
push edi
mov ecx, esi
call dword [0x66caa188]
mov dword [esi], 0x66cabe68
jmp 0x5ccf4d
xor esi, esi
mov dword [esp + 0x2a0], 0xffffffff
mov ecx, edi
mov dword [ebp], esi
call dword [0x66caa1ac]
mov eax, dword [esp + 0x2c]
inc ebx
add ebp, 4
cmp ebx, eax
jl 0x5cceae
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
cmp edi, eax
jge 0x5ccfe1
mov ebp, 5
push 0x66e19718
push 0x402
push 0x66dcc614
push 1
push 0x34
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2a0], ebp
test esi, esi
je 0x5ccfc8
push 0x58
push edi
mov ecx, esi
call dword [0x66caa194]
mov dword [esi], 0x66cabcd8
jmp 0x5ccfca
xor esi, esi
mov dword [esp + 0x2a0], 0xffffffff
mov eax, dword [esp + 0x24]
mov dword [ebx + edi*4], esi
inc edi
cmp edi, eax
jl 0x5ccf88
push 0x66e19718
push 0x405
push 0x66dcc66c
push 1
push 0x34
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x10], esi
mov dword [esp + 0x2a0], 6
test esi, esi
je 0x5cd028
mov edx, dword [esp + 0x24]
mov ecx, esi
push edx
push ebx
call dword [0x66caa034]
mov dword [esi], 0x66cabef8
jmp 0x5cd02a
xor esi, esi
or ebx, 0xffffffff
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2a0], ebx
mov ecx, dword [esp + 0x34]
push esi
call fcn.005bcd60
push 0x66e19718
push 0x40a
push 0x66dcc6c4
push 1
push 0x38
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x10], esi
mov dword [esp + 0x2a0], 7
mov edi, dword [0x66ca9a20]
test esi, esi
je 0x5cd085
mov ecx, esi
call edi
mov dword [esi], 0x66cb1790
jmp 0x5cd087
xor esi, esi
mov dword [esp + 0x2a0], ebx
push 0x66e19718
push 0x40b
push 0x66dcc71c
push 1
push 0x38
mov dword [esp + 0x44], esi
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x10], esi
mov dword [esp + 0x2a0], 8
test esi, esi
je 0x5cd0cf
mov ecx, esi
call edi
mov dword [esi], 0x66cb1790
jmp 0x5cd0d1
xor esi, esi
mov dword [esp + 0x2a0], ebx
mov eax, dword [esp + 0x48]
mov ebx, dword [0x66caa1ac]
mov dword [esp + 0x20], esi
test eax, eax
mov dword [esp + 0x14], 0
jle 0x5cd2df
push 0x66e19718
push 0x40f
push 0x66dcc774
push 1
push 0x34
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
mov dword [esp + 0x2a0], 9
test esi, esi
je 0x5cd142
mov eax, dword [esp + 0x14]
push 0x58
push eax
mov ecx, esi
call dword [0x66caa194]
mov dword [esi], 0x66cabcd8
mov dword [esp + 0x10], esi
jmp 0x5cd14a
mov dword [esp + 0x10], 0
mov dword [esp + 0x2a0], 0xffffffff
push 0x66e19718
push 0x410
push 0x66dcc7cc
push 1
push 0x34
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
mov dword [esp + 0x2a0], 0xa
test esi, esi
je 0x5cd1a9
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx*4]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, esi
call dword [0x66ca9a1c]
mov dword [esi], 0x66cb1700
mov ebp, esi
jmp 0x5cd1ab
xor ebp, ebp
or edi, 0xffffffff
mov dword [esp + 0x2a0], edi
push 0x66e19718
push 0x411
push 0x66dcc824
push 1
push 0x34
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
mov dword [esp + 0x2a0], 0xb
test esi, esi
je 0x5cd1fc
mov edx, dword [esp + 0x30]
push ebp
push edx
mov ecx, esi
call dword [0x66caa1a0]
mov dword [esi], 0x66cabb28
jmp 0x5cd1fe
xor esi, esi
mov dword [esp + 0x2a0], edi
mov ecx, dword [esp + 0x30]
call ebx
push 0x66e19718
push 0x415
push 0x66dcc87c
push 1
push 0x30
mov dword [esp + 0x44], esi
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
mov dword [esp + 0x2a0], 0xc
test esi, esi
je 0x5cd251
push ebp
mov ecx, esi
call dword [0x66ca9a18]
mov dword [esi], 0x66cb1678
jmp 0x5cd253
xor esi, esi
mov dword [esp + 0x2a0], 0xffffffff
push 0x66e19718
push 0x416
push 0x66dcc8d4
push 1
push 0x34
call dword [0x66ca94e4]
mov edi, eax
add esp, 0x14
mov dword [esp + 0x18], edi
mov dword [esp + 0x2a0], 0xd
test edi, edi
je 0x5cd2a5
mov eax, dword [esp + 0x20]
push esi
push eax
mov ecx, edi
call dword [0x66caa1a0]
mov dword [edi], 0x66cabb28
jmp 0x5cd2a7
xor edi, edi
mov dword [esp + 0x2a0], 0xffffffff
mov ecx, dword [esp + 0x20]
call ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], edi
call ebx
mov ecx, ebp
call ebx
mov ecx, esi
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x5cd0f6
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
cmp ecx, dword [edx + 0x34]
jge 0x5cd485
push 0x66e19718
push 0x421
push 0x66dcc92c
push 1
push 0x34
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
mov dword [esp + 0x2a0], 0xe
test esi, esi
je 0x5cd340
mov eax, dword [esp + 0x14]
push 0x58
push eax
mov ecx, esi
call dword [0x66caa194]
mov dword [esi], 0x66cabcd8
mov dword [esp + 0x10], esi
jmp 0x5cd348
mov dword [esp + 0x10], 0
mov dword [esp + 0x2a0], 0xffffffff
push 0x66e19718
push 0x422
push 0x66dcc984
push 1
push 0x38
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
mov dword [esp + 0x2a0], 0xf
test esi, esi
je 0x5cd39a
push 0
push 0
mov ecx, esi
call dword [0x66caa190]
mov dword [esi], 0x66cabd58
mov ebp, esi
jmp 0x5cd39c
xor ebp, ebp
mov dword [esp + 0x2a0], 0xffffffff
push 0x66e19718
push 0x423
push 0x66dcc9dc
push 1
push 0x34
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
mov dword [esp + 0x2a0], 0x10
test esi, esi
je 0x5cd3f0
mov ecx, dword [esp + 0x10]
push ebp
push ecx
mov ecx, esi
call dword [0x66ca9a14]
mov dword [esi], 0x66cb15e8
mov edi, esi
jmp 0x5cd3f2
xor edi, edi
mov dword [esp + 0x2a0], 0xffffffff
push 0x66e19718
push 0x424
push 0x66dcca34
push 1
push 0x34
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
mov dword [esp + 0x2a0], 0x11
test esi, esi
je 0x5cd444
mov edx, dword [esp + 0x20]
push edi
push edx
mov ecx, esi
call dword [0x66caa1a0]
mov dword [esi], 0x66cabb28
jmp 0x5cd446
xor esi, esi
mov dword [esp + 0x2a0], 0xffffffff
mov ecx, dword [esp + 0x20]
call ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], esi
call ebx
mov ecx, ebp
call ebx
mov ecx, edi
call ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
inc eax
mov edx, dword [ecx + 0x34]
mov dword [esp + 0x14], eax
cmp eax, edx
jl 0x5cd2f4
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x34]
cmp eax, ecx
mov dword [esp + 0x14], eax
jge 0x5cd622
push 0x66e19718
push 0x42e
push 0x66dcca8c
push 1
push 0x34
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
mov dword [esp + 0x2a0], 0x12
test esi, esi
je 0x5cd4e4
mov eax, dword [esp + 0x14]
push 0x58
push eax
mov ecx, esi
call dword [0x66caa194]
mov dword [esi], 0x66cabcd8
mov dword [esp + 0x10], esi
jmp 0x5cd4ec
mov dword [esp + 0x10], 0
mov dword [esp + 0x2a0], 0xffffffff
push 0x66e19718
push 0x42f
push 0x66dccae4
push 1
push 0x38
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
mov dword [esp + 0x2a0], 0x13
test esi, esi
je 0x5cd53e
push 0
push 0
mov ecx, esi
call dword [0x66caa190]
mov dword [esi], 0x66cabd58
mov ebp, esi
jmp 0x5cd540
xor ebp, ebp
mov dword [esp + 0x2a0], 0xffffffff
push 0x66e19718
push 0x430
push 0x66dccb3c
push 1
push 0x34
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
mov dword [esp + 0x2a0], 0x14
test esi, esi
je 0x5cd594
mov ecx, dword [esp + 0x10]
push ebp
push ecx
mov ecx, esi
call dword [0x66ca9a14]
mov dword [esi], 0x66cb15e8
mov edi, esi
jmp 0x5cd596
xor edi, edi
mov dword [esp + 0x2a0], 0xffffffff
push 0x66e19718
push 0x431
push 0x66dccb94
push 1
push 0x34
call dword [0x66ca94e4]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
mov dword [esp + 0x2a0], 0x15
test esi, esi
je 0x5cd5e8
mov edx, dword [esp + 0x30]
push edi
push edx
mov ecx, esi
call dword [0x66caa1a0]
mov dword [esi], 0x66cabb28
jmp 0x5cd5ea
xor esi, esi
mov dword [esp + 0x2a0], 0xffffffff
mov ecx, dword [esp + 0x30]
call ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], esi
call ebx
mov ecx, ebp
call ebx
mov ecx, edi
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x5cd498
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
lea eax, [esp + 0x50]
push eax
push ecx
push esi
push edi
mov ecx, ebp
call fcn.005bd580
mov ecx, dword [esp + 0x2ac]
mov eax, dword [esp + 0x40]
xor edx, edx
test ecx, ecx
mov ecx, dword [esp + 0x20]
setne dl
push edx
push eax
push ecx
push esi
push edi
mov ecx, ebp
call fcn.005cac30
mov ecx, dword [esp + 0x3c]
call ebx
mov eax, dword [esp + 0x24]
xor esi, esi
test eax, eax
jle 0x5cd685
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + esi*4]
call ebx
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jl 0x5cd673
mov eax, dword [esp + 0x24]
xor esi, esi
test eax, eax
jle 0x5cd6a1
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + esi*4]
call ebx
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jl 0x5cd68f
mov ecx, dword [esp + 0x4c]
push ecx
call dword [0x66ca9590]
mov edx, dword [esp + 0x44]
push edx
call dword [0x66ca9590]
mov eax, dword [esp + 0x30]
push eax
call dword [0x66ca9590]
mov ecx, dword [esp + 0x3c]
add esp, 0xc
call ebx
mov ecx, dword [esp + 0x20]
call ebx
mov ecx, dword [esp + 0x2ac]
mov edx, dword [esp + 0x2a8]
push ecx
push edx
mov ecx, ebp
call fcn.005c3720
mov esi, dword [esp + 0x44]
mov ecx, ebp
push esi
call fcn.005c3240
push esi
mov ecx, edi
call fcn.005c3240
mov ecx, ebp
call fcn.005c6290
mov ecx, edi
call fcn.005c6290
push esi
call dword [0x66ca9594]
mov eax, dword [edi]
add esp, 4
dec eax
mov dword [edi], eax
jne 0x5cd74c
mov ecx, edi
call int.005bcb50
push 0x44
push edi
call dword [0x66ca9598]
add esp, 8
jmp 0x5cd74c
cmp dword [esi + 0x20], ebx
jle 0x5cd74c
mov eax, dword [esp + 0x2ac]
mov ecx, ebp
push eax
push esi
call fcn.005c3720
mov ecx, ebp
call fcn.005c6290
mov ecx, dword [esp + 0x298]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x294
ret 8