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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b31c
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x56858c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
jne 0x48859c
xor ebx, ebx
mov edi, dword [esi + 0x54]
mov dword [ebp - 0x24], ebx
test edi, edi
jne 0x487ea0
xor eax, eax
jmp 0x487ea3
mov eax, dword [edi + 0x10]
cmp ebx, eax
jge 0x487fb8
cmp ebx, dword [esi + 0x48]
je 0x487fb2
mov edx, dword [esi + 0x4c]
test edx, edx
jne 0x487ebf
xor eax, eax
jmp 0x487ed8
test edi, edi
je 0x487ec8
mov ecx, dword [edi + 0xc]
jmp 0x487eca
xor ecx, ecx
mov eax, dword [esi + 0x50]
add eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x24]
imul eax, ecx
add eax, edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test edx, edx
jne 0x487ee6
xor ecx, ecx
jmp 0x487efb
test edi, edi
je 0x487eef
mov eax, dword [edi + 0xc]
jmp 0x487ef1
xor eax, eax
mov ecx, dword [esi + 0x50]
add ecx, ebx
imul ecx, eax
add ecx, edx
push 0
call fcn.00476b80
cmp eax, 2
jl 0x487f0f
mov eax, dword [esi + 0x44]
add eax, ebx
mov dword [ebp - 0x30], eax
mov edx, dword [esi + 0x4c]
test edx, edx
jne 0x487f1a
xor eax, eax
jmp 0x487f32
mov eax, dword [esi + 0x54]
test eax, eax
je 0x487f26
mov ecx, dword [eax + 0xc]
jmp 0x487f28
xor ecx, ecx
mov eax, dword [esi + 0x50]
add eax, ebx
imul eax, ecx
add eax, edx
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax + 4]
je 0x487fb2
xor edi, edi
cmp edx, edi
jne 0x487f44
xor eax, eax
jmp 0x487f5c
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x487f50
mov ecx, dword [eax + 0xc]
jmp 0x487f52
xor ecx, ecx
mov eax, dword [esi + 0x50]
add eax, ebx
imul eax, ecx
add eax, edx
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
cmp byte [eax + 0x2c], 0
je 0x487f79
add eax, 0x30
jmp 0x487f7c
add eax, 0x24
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
lea edx, [ebp - 0x20]
push edx
call dword [0x5263c0]
mov ecx, dword [ebp - 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
inc ebx
jmp 0x487e92
cmp dword [esi + 0x84], 0
je 0x488079
mov edx, dword [esi + 0x84]
test edx, edx
jne 0x487fd3
xor ecx, ecx
jmp 0x487fef
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x487fe2
mov eax, dword [eax + 0xc]
jmp 0x487fe4
xor eax, eax
mov ecx, dword [esi + 0x88]
imul ecx, eax
add ecx, edx
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
call edx
test eax, eax
jne 0x488041
mov edx, dword [esi + 0x84]
test edx, edx
jne 0x488008
xor ecx, ecx
jmp 0x488024
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x488017
mov eax, dword [eax + 0xc]
jmp 0x488019
xor eax, eax
mov ecx, dword [esi + 0x88]
imul ecx, eax
add ecx, edx
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x48802f
xor edi, edi
jmp 0x488032
mov edi, dword [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
call edx
add eax, dword [esi + 0x44]
add eax, edi
mov dword [ebp - 0x30], eax
mov edx, dword [esi + 0x84]
test edx, edx
jne 0x48804f
xor ecx, ecx
jmp 0x48806b
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x48805e
mov eax, dword [eax + 0xc]
jmp 0x488060
xor eax, eax
mov ecx, dword [esi + 0x88]
imul ecx, eax
add ecx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
lea edx, [esi + 0x28]
push edx
call eax
cmp dword [esi + 0x68], 0
je 0x48838f
mov ecx, 0x56a480
call fcn.004056e0
mov ecx, dword [0x5699dc]
cmp dword [ecx], 0
jne 0x48809c
xor eax, eax
jmp 0x4880b4
cmp dword [ecx + 8], 0
je 0x4880aa
mov edx, dword [ecx + 8]
mov edx, dword [edx + 0xc]
jmp 0x4880ac
xor edx, edx
mov eax, dword [ecx + 4]
imul eax, edx
add eax, dword [ecx]
cmp dword [eax + 0x2c], 0
jne 0x488117
mov eax, dword [eax + 0x34]
test eax, eax
je 0x488117
mov ebx, dword [esi + 0x78]
jns 0x4880ec
lea edi, [ebx + 1]
mov dword [esi + 0x78], edi
mov ecx, dword [esi + 0x5c]
sub ecx, dword [esi + 0x58]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jl 0x4880fd
dec eax
mov dword [esi + 0x78], eax
jmp 0x4880fd
lea eax, [ebx - 1]
mov dword [esi + 0x78], eax
test eax, eax
jns 0x4880fd
mov dword [esi + 0x78], 0
cmp ebx, dword [esi + 0x78]
je 0x48838f
push 1
mov ecx, esi
call fcn.00478950
or eax, 0xffffffff
jmp 0x488ba5
mov dword [ebp - 0x24], 0
mov edi, edi
mov ebx, dword [esi + 0x70]
test ebx, ebx
jne 0x48812b
xor eax, eax
jmp 0x48812e
mov eax, dword [ebx + 0x10]
cmp dword [ebp - 0x24], eax
jge 0x48838f
mov edi, dword [esi + 0x78]
test edi, edi
jne 0x488147
cmp dword [ebp - 0x24], edi
je 0x488265
mov ecx, dword [esi + 0x5c]
sub ecx, dword [esi + 0x58]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax - 1]
cmp edi, ecx
jne 0x48816d
cmp dword [ebp - 0x24], 0
jne 0x488265
mov edx, dword [esi + 0x68]
test edx, edx
jne 0x488178
xor eax, eax
jmp 0x48818e
test ebx, ebx
je 0x488181
mov ecx, dword [ebx + 0xc]
jmp 0x488183
xor ecx, ecx
mov eax, dword [esi + 0x6c]
add eax, dword [ebp - 0x24]
imul eax, ecx
add eax, edx
mov edi, dword [eax + 4]
test edx, edx
jne 0x48819c
mov ebx, dword [ebp - 0x24]
xor ecx, ecx
jmp 0x4881b4
test ebx, ebx
je 0x4881a5
mov eax, dword [ebx + 0xc]
jmp 0x4881a7
xor eax, eax
mov ecx, dword [esi + 0x6c]
mov ebx, dword [ebp - 0x24]
add ecx, ebx
imul ecx, eax
add ecx, edx
push 0
call fcn.00476b80
cmp eax, 2
jge 0x48826d
mov edx, dword [esi + 0x68]
test edx, edx
jne 0x4881cf
xor eax, eax
jmp 0x4881e7
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4881db
mov ecx, dword [eax + 0xc]
jmp 0x4881dd
xor ecx, ecx
mov eax, dword [esi + 0x6c]
add eax, ebx
imul eax, ecx
add eax, edx
cmp edi, dword [eax + 4]
je 0x488265
xor edi, edi
cmp edx, edi
jne 0x4881f6
xor eax, eax
jmp 0x48820f
mov eax, dword [esi + 0x70]
cmp eax, edi
je 0x488202
mov ecx, dword [eax + 0xc]
jmp 0x488204
xor ecx, ecx
mov eax, dword [esi + 0x6c]
add eax, dword [ebp - 0x24]
imul eax, ecx
add eax, edx
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
cmp byte [eax + 0x2c], 0
je 0x48822c
add eax, 0x30
jmp 0x48822f
add eax, 0x24
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
lea edx, [ebp - 0x20]
push edx
call dword [0x5263c0]
mov ecx, dword [ebp - 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
inc dword [ebp - 0x24]
jmp 0x488120
test ebx, ebx
jne 0x488293
dec dword [esi + 0x78]
jns 0x4882b8
mov ecx, dword [esi + 0x5c]
sub ecx, dword [esi + 0x58]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax - 1]
mov dword [esi + 0x78], ecx
jmp 0x4882b8
inc dword [esi + 0x78]
mov ecx, dword [esi + 0x5c]
sub ecx, dword [esi + 0x58]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esi + 0x78], eax
jl 0x4882b8
mov dword [esi + 0x78], 0
push 1
mov ecx, esi
call fcn.00478950
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x488316
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x488316
mov edx, dword [eax + 0x14]
test edx, edx
je 0x48830a
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x488318
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x488318
xor eax, eax
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x488323
xor edi, edi
jmp 0x488339
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x48832f
mov ecx, dword [ecx + 0xc]
jmp 0x488331
xor ecx, ecx
mov edi, dword [eax + 0x24]
imul edi, ecx
add edi, edx
mov ebx, dword [0x56a4f0]
mov ecx, 0x56a4b4
call fcn.00416a20
mov eax, dword [0x5699f0]
mov ecx, dword [eax + 0x24]
test ecx, ecx
jne 0x488359
xor esi, esi
jmp 0x48836f
mov edx, dword [eax + 0x2c]
test edx, edx
je 0x488365
mov edx, dword [edx + 0xc]
jmp 0x488367
xor edx, edx
mov esi, dword [eax + 0x28]
imul esi, edx
add esi, ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
mov ecx, dword [eax]
push 1
push ecx
push 0
push ebx
mov ecx, esi
call fcn.004878f0
or eax, 0xffffffff
jmp 0x488ba5
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
xor ebx, ebx
add eax, edx
mov dword [ebp - 0x2c], ebx
test eax, eax
jle 0x48859c
mov dword [ebp - 0x24], ebx
test ebx, ebx
js 0x488576
cmp ebx, eax
jge 0x488576
mov eax, dword [esi + 0x14]
add eax, dword [ebp - 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x488576
mov edx, dword [eax + 8]
test edx, edx
je 0x4883e1
mov edx, dword [edx + 0xc]
jmp 0x4883e3
xor edx, edx
mov edi, dword [eax + 4]
imul edi, edx
add edi, ecx
je 0x488576
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x78]
mov edx, eax
imul edx, ecx
cmp ebx, edx
jl 0x488576
inc ecx
imul ecx, eax
cmp ebx, ecx
jge 0x488576
cmp dword [ebp - 0x30], 0xffffffff
mov eax, dword [edi + 4]
mov dword [ebp - 0x34], eax
jne 0x48842d
push 0
mov ecx, edi
call fcn.00476b80
cmp eax, 2
jl 0x48842d
mov dword [ebp - 0x30], ebx
mov eax, dword [edi + 4]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x34], eax
je 0x488576
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x38]
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
cmp byte [edi + 0x2c], dl
je 0x48845a
add edi, 0x30
jmp 0x48845d
add edi, 0x24
mov eax, dword [edi]
mov edi, dword [edi + 4]
push edi
push eax
lea ecx, [ebp - 0x20]
push ecx
call dword [0x5263c0]
mov ecx, dword [ebp - 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
cmp dword [ebp - 0x28], 1
jne 0x488576
cmp dword [ebp - 0x30], ebx
je 0x488576
mov ecx, 0x56a4bc
call fcn.00416ad0
mov edi, dword [0x5699f4]
mov ecx, dword [edi + 0x34]
sub ecx, dword [edi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4884fb
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4884fb
mov edx, dword [eax + 0x14]
test edx, edx
je 0x4884ef
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x4884fd
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x4884fd
xor eax, eax
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x488508
xor ebx, ebx
jmp 0x48851e
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x488514
mov ecx, dword [ecx + 0xc]
jmp 0x488516
xor ecx, ecx
mov ebx, dword [eax + 0x24]
imul ebx, ecx
add ebx, edx
mov ecx, dword [0x56a4f4]
mov dword [ebp - 0x28], ecx
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov eax, dword [ecx + 0x24]
test eax, eax
jne 0x488542
xor edi, edi
jmp 0x488558
mov edx, dword [ecx + 0x2c]
test edx, edx
je 0x48854e
mov edx, dword [edx + 0xc]
jmp 0x488550
xor edx, edx
mov edi, dword [ecx + 0x28]
imul edi, edx
add edi, eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
push 1
push ecx
push 1
push edx
mov ecx, edi
call fcn.004878f0
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
add dword [ebp - 0x24], 0xc
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
mov dword [ebp - 0x2c], ebx
cmp ebx, eax
jl 0x4883b5
mov eax, dword [ebp - 0x30]
cmp eax, dword [esi + 0x44]
jl 0x488800
mov eax, dword [vtable.CCriticalSection.0]
mov edx, dword [eax]
mov ecx, 0x55925c
mov dword [ebp - 0x1c], vtable.CCriticalLock.0
mov dword [ebp - 0x18], 0x55925c
call edx
mov dword [ebp - 0x14], 1
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x5699f4], ebx
jne 0x488647
push 0x68
call fcn.00503a77
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x48863f
mov eax, dword [0x5684f8]
mov edx, dword [eax + 0xc]
mov ecx, 0x5684f8
call edx
add eax, 0x10
mov dword [esi + 0x10], eax
mov eax, dword [0x5684f8]
mov edx, dword [eax + 0xc]
mov ecx, 0x5684f8
call edx
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
jmp 0x488641
xor esi, esi
mov dword [0x5699f4], esi
mov eax, dword [vtable.CCriticalSection.0]
mov edx, dword [eax + 4]
mov ecx, 0x55925c
mov dword [ebp - 4], 0xffffffff
call edx
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4886a8
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
je 0x4886a8
mov edx, dword [eax + 0x14]
cmp edx, ebx
je 0x48869c
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x4886aa
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x4886aa
xor eax, eax
mov edx, dword [eax + 0x20]
cmp edx, ebx
jne 0x4886b5
xor edi, edi
jmp 0x4886cb
mov ecx, dword [eax + 0x28]
cmp ecx, ebx
je 0x4886c1
mov ecx, dword [ecx + 0xc]
jmp 0x4886c3
xor ecx, ecx
mov edi, dword [eax + 0x24]
imul edi, ecx
add edi, edx
mov ecx, dword [0x56a4f8]
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov dword [ebp - 0x2c], ecx
mov ecx, 0x559238
mov dword [ebp - 0x1c], vtable.CCriticalLock.0
mov dword [ebp - 0x18], 0x559238
call eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 2
cmp dword [0x5699f0], ebx
jne 0x48872f
push 0x218
call fcn.00503a77
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x488728
mov ecx, eax
call fcn.00414b10
jmp 0x48872a
xor eax, eax
mov dword [0x5699f0], eax
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x559238
mov dword [ebp - 4], 0xffffffff
call eax
mov ecx, dword [0x5699f0]
mov eax, dword [ecx + 0x24]
cmp eax, ebx
jne 0x488757
xor esi, esi
jmp 0x48876d
mov edx, dword [ecx + 0x2c]
cmp edx, ebx
je 0x488763
mov edx, dword [edx + 0xc]
jmp 0x488765
xor edx, edx
mov esi, dword [ecx + 0x28]
imul esi, edx
add esi, eax
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
mov edx, dword [esi + 8]
sub edx, dword [esi + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
test edx, 0xfffffff8
je 0x488ba2
mov edx, dword [esi + 0x28]
cmp edx, ebx
jne 0x488798
xor ecx, ecx
jmp 0x4887ae
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x4887a4
mov eax, dword [eax + 0xc]
jmp 0x4887a6
xor eax, eax
mov ecx, dword [esi + 0x2c]
imul ecx, eax
add ecx, edx
mov eax, dword [ecx]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x58]
push edx
call eax
test al, al
je 0x488ba2
mov edx, dword [esi + 0x28]
cmp edx, ebx
jne 0x4887cc
xor ecx, ecx
jmp 0x4887e2
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x4887d8
mov eax, dword [eax + 0xc]
jmp 0x4887da
xor eax, eax
mov ecx, dword [esi + 0x2c]
imul ecx, eax
add ecx, edx
mov edx, dword [ecx]
mov edi, dword [ebp - 0x2c]
mov eax, dword [edx + 0x5c]
push edi
call eax
cmp eax, ebx
jge 0x4887f4
mov eax, dword [ebp - 0x28]
mov ecx, dword [esi + 0x24]
push ebx
push ebx
push eax
push edi
jmp 0x488b9a
xor ebx, ebx
cmp eax, ebx
jl 0x488a63
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x55925c
mov dword [ebp - 0x1c], vtable.CCriticalLock.0
mov dword [ebp - 0x18], 0x55925c
call eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 4
cmp dword [0x5699f4], ebx
jne 0x4888ae
push 0x68
call fcn.00503a77
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 5
cmp esi, ebx
je 0x4888a6
mov edx, dword [0x5684f8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5684f8
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [0x5684f8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5684f8
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
jmp 0x4888a8
xor esi, esi
mov dword [0x5699f4], esi
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x55925c
mov dword [ebp - 4], 0xffffffff
call eax
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x488910
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
je 0x488910
mov edx, dword [eax + 0x14]
cmp edx, ebx
je 0x488904
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x488912
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x488912
xor eax, eax
mov edx, dword [eax + 0x20]
cmp edx, ebx
jne 0x48891d
xor edi, edi
jmp 0x488933
mov ecx, dword [eax + 0x28]
cmp ecx, ebx
je 0x488929
mov ecx, dword [ecx + 0xc]
jmp 0x48892b
xor ecx, ecx
mov edi, dword [eax + 0x24]
imul edi, ecx
add edi, edx
mov edx, dword [0x56a4f0]
mov eax, dword [vtable.CCriticalSection.0]
mov dword [ebp - 0x28], edx
mov edx, dword [eax]
mov ecx, 0x559238
mov dword [ebp - 0x1c], vtable.CCriticalLock.0
mov dword [ebp - 0x18], 0x559238
call edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 6
cmp dword [0x5699f0], ebx
jne 0x488996
push 0x218
call fcn.00503a77
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x48898f
mov ecx, eax
call fcn.00414b10
jmp 0x488991
xor eax, eax
mov dword [0x5699f0], eax
mov eax, dword [vtable.CCriticalSection.0]
mov edx, dword [eax + 4]
mov ecx, 0x559238
mov dword [ebp - 4], 0xffffffff
call edx
mov ecx, dword [0x5699f0]
mov eax, dword [ecx + 0x24]
cmp eax, ebx
jne 0x4889bd
xor esi, esi
jmp 0x4889d3
mov edx, dword [ecx + 0x2c]
cmp edx, ebx
je 0x4889c9
mov edx, dword [edx + 0xc]
jmp 0x4889cb
xor edx, edx
mov esi, dword [ecx + 0x28]
imul esi, edx
add esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
mov ecx, edi
call edx
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 4]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
test ecx, 0xfffffff8
je 0x488ba2
mov edx, dword [esi + 0x28]
cmp edx, ebx
jne 0x4889fe
xor ecx, ecx
jmp 0x488a14
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x488a0a
mov eax, dword [eax + 0xc]
jmp 0x488a0c
xor eax, eax
mov ecx, dword [esi + 0x2c]
imul ecx, eax
add ecx, edx
mov edx, dword [ecx]
mov edi, dword [ebp - 0x28]
mov eax, dword [edx + 0x58]
push edi
call eax
test al, al
je 0x488ba2
mov edx, dword [esi + 0x28]
cmp edx, ebx
jne 0x488a32
xor ecx, ecx
jmp 0x488a48
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x488a3e
mov eax, dword [eax + 0xc]
jmp 0x488a40
xor eax, eax
mov ecx, dword [esi + 0x2c]
imul ecx, eax
add ecx, edx
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
push edi
call eax
cmp eax, ebx
jge 0x488a57
mov eax, dword [ebp - 0x34]
mov ecx, dword [esi + 0x24]
push ebx
push ebx
push eax
push edi
jmp 0x488b9a
cmp eax, 0xfffffffc
jne 0x488ba2
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x488ac1
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
je 0x488ac1
mov edx, dword [eax + 0x14]
cmp edx, ebx
je 0x488ab5
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x488ac3
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x488ac3
xor eax, eax
mov edx, dword [eax + 0x20]
cmp edx, ebx
jne 0x488ace
xor edi, edi
jmp 0x488ae4
mov ecx, dword [eax + 0x28]
cmp ecx, ebx
je 0x488ada
mov ecx, dword [ecx + 0xc]
jmp 0x488adc
xor ecx, ecx
mov edi, dword [eax + 0x24]
imul edi, ecx
add edi, edx
mov ebx, dword [0x56a4f4]
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov eax, dword [ecx + 0x24]
test eax, eax
jne 0x488b05
xor esi, esi
jmp 0x488b1b
mov edx, dword [ecx + 0x2c]
test edx, edx
je 0x488b11
mov edx, dword [edx + 0xc]
jmp 0x488b13
xor edx, edx
mov esi, dword [ecx + 0x28]
imul esi, edx
add esi, eax
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 4]
mov edi, dword [eax]
test ecx, 0xfffffff8
je 0x488ba2
mov edx, dword [esi + 0x28]
test edx, edx
jne 0x488b3f
xor ecx, ecx
jmp 0x488b55
mov eax, dword [esi + 0x30]
test eax, eax
je 0x488b4b
mov eax, dword [eax + 0xc]
jmp 0x488b4d
xor eax, eax
mov ecx, dword [esi + 0x2c]
imul ecx, eax
add ecx, edx
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
push ebx
call eax
test al, al
je 0x488ba2
mov edx, dword [esi + 0x28]
test edx, edx
jne 0x488b6c
xor ecx, ecx
jmp 0x488b82
mov eax, dword [esi + 0x30]
test eax, eax
je 0x488b78
mov eax, dword [eax + 0xc]
jmp 0x488b7a
xor eax, eax
mov ecx, dword [esi + 0x2c]
imul ecx, eax
add ecx, edx
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
push ebx
call eax
test eax, eax
jns 0x488b90
mov eax, edi
mov ecx, dword [esi + 0x24]
push 0
push 0
push eax
push ebx
inc ecx
push ecx
mov ecx, esi
call fcn.00417ac0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00503edb
mov esp, ebp
pop ebp
ret