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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
cmp dword [0x100c36cc], 0
mov eax, dword [ebp + 0x20]
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x18], ebx
je 0x5b6933
test eax, eax
je 0x5b6933
mov dword [eax], 0
lea eax, [esp + 0x14]
push 4
push eax
call fcn.00577d48
mov edi, dword [ebp + 0x10]
lea esi, [edi + 4]
add esp, 8
cmp dword [esi], 0
je 0x5b6a9e
lea edx, [esp + 0x14]
push edx
lea ecx, [ebx + 0x14]
push esi
mov dword [esp + 0x78], ecx
call fcn.005b3c38
test eax, eax
je 0x5b6a9e
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x18]
push edx
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
test eax, eax
jne 0x5b6a57
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
test eax, eax
jne 0x5b6a57
lea ecx, [esp + 0x20]
push 4
push ecx
call fcn.00577d48
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
add esp, 8
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [edi + 8]
push eax
call edx
test eax, eax
je 0x5b6a0c
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
and eax, 0xefffffff
mov dword [ecx], 0
mov dword [edx], eax
lea ecx, [esp + 0x20]
call fcn.005b1928
lea ecx, [esp + 0x18]
call fcn.005b1928
lea ecx, [esp + 0x14]
call fcn.005b1928
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [esp + 0x20]
push eax
mov ecx, ebx
call fcn.005b3e98
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x2c]
mov esi, eax
push edx
mov dword [esp + 0x30], esi
call fcn.005b3d68
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x5b6a43
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], 0
mov dword [eax], 0
jmp 0x5b69e8
mov ecx, dword [ebp + 0x24]
mov eax, dword [esp + 0x18]
test eax, eax
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
mov dword [edx], 0xc000017c
je 0x5b6a81
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5b7ea0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
lea ecx, [esp + 0xb0]
call fcn.005c5db8
push 0
lea eax, [esp + 0xb4]
push eax
push edi
mov ecx, ebx
call fcn.005b6788
test eax, eax
jne 0x5b6b6c
cmp dword [0x100c3710], eax
je 0x5b6af6
push 0x1009088c
push 0x10090850
lea ecx, [esp + 0x6c]
call fcn.00573238
mov ecx, eax
call fcn.00572168
mov ecx, eax
call fcn.00572168
lea ecx, [esp + 0x64]
call fcn.00572078
cmp dword [ebx + 0x38], 1
jne 0x5b6b61
mov esi, dword [esi]
test esi, esi
je 0x5b6b26
push esi
call fcn.005c6308
add esp, 4
test eax, eax
je 0x5b6b26
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
mov dword [edx], 0xc000017c
jmp 0x5b7e8b
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0xb0]
call fcn.005b1b88
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5b7ea0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov ecx, dword [ebp + 0x24]
mov dword [ecx], 1
jmp 0x5b6b38
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xb4]
call fcn.005c5f78
jmp 0x5b6b88
lea ecx, [esp + 0xb0]
call fcn.005b0408
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x44], esi
call eax
test eax, eax
je 0x5b70da
mov ecx, esi
call fcn.005c6168
test eax, eax
jne 0x5b752b
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
test eax, eax
je 0x5b6dab
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x6c]
lea eax, [esp + 0x3c]
push eax
call edx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
lea edx, [esp + 0x30]
push edx
call eax
xor ebx, ebx
cmp dword [esp + 0x30], ebx
je 0x5b77c0
lea ecx, [esp + 0xe8]
push ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x104]
push eax
call edx
mov ecx, eax
call fcn.005b07e8
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
push edx
mov edx, dword [ebp + 0x18]
push edx
lea edx, [esp + 0xf0]
push edx
mov edx, dword [esp + 0x3c]
push edx
lea edx, [esp + 0x60]
push edx
call eax
lea ecx, [esp + 0x100]
call fcn.005b0b78
lea ecx, [esp + 0x78]
push 4
push ecx
call fcn.00577d48
lea edx, [esp + 0x84]
push 4
push edx
call fcn.00577d48
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x40]
add esp, 0x10
push eax
push ecx
lea ecx, [esp + 0x80]
call fcn.005b1948
mov edx, dword [edi + 0xc]
push edx
lea ecx, [esp + 0xa4]
call fcn.005c5f98
mov ecx, dword [ebp + 0x10]
push ebx
lea eax, [esp + 0xb4]
push eax
push ecx
mov ecx, edi
call fcn.005b6788
test eax, eax
je 0x5b7542
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0xb4]
call fcn.005c5f78
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov esi, dword [esp + 0x80]
call edx
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
mov ecx, esi
mov dword [esp + 0x44], eax
call edx
mov ecx, dword [esp + 0x44]
cmp eax, ecx
je 0x5b75c8
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x5b6d01
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x80]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x5b6d32
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x5b6d32
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x80], ebx
lea ecx, [esp + 0xa0]
call fcn.005c5fc8
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x5b6d52
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x5b6d66
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x5b6d7a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x5b6d8e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x5b6b88
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x3c], ebx
jmp 0x5b6b88
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x38], 1
jne 0x5b6fab
lea eax, [esp + 0x38]
push 4
push eax
call fcn.00577d48
lea ecx, [esp + 0x40]
push ecx
call fcn.005ccf38
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
jne 0x5b77d3
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x40]
push eax
call edx
cmp dword [esp + 0x40], ebx
je 0x5b7aac
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xfc]
push eax
call edx
mov ecx, eax
call fcn.005b07e8
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
push edx
mov edx, dword [ebp + 0x18]
push edx
lea edx, [esp + 0xf8]
push edx
mov edx, dword [esp + 0x4c]
push edx
lea edx, [esp + 0x30]
push edx
call eax
lea ecx, [esp + 0xf8]
call fcn.005b0b78
lea ecx, [esp + 0x90]
push 4
push ecx
call fcn.00577d48
lea edx, [esp + 0x9c]
push 4
push edx
call fcn.00577d48
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
add esp, 0x10
push eax
push ecx
lea ecx, [esp + 0x98]
call fcn.005b1948
mov edx, dword [edi + 0xc]
push edx
lea ecx, [esp + 0x74]
call fcn.005c5f98
mov ecx, dword [ebp + 0x10]
push ebx
lea eax, [esp + 0xb4]
push eax
push ecx
mov ecx, edi
call fcn.005b6788
test eax, eax
je 0x5b784e
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0xb4]
call fcn.005c5f78
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov esi, dword [esp + 0x10]
call edx
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
mov ecx, esi
mov dword [esp + 0x44], eax
call edx
mov ecx, dword [esp + 0x44]
cmp ecx, eax
je 0x5b78c3
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x5b6ef8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x8c]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x5b6f29
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x8c]
cmp eax, ebx
je 0x5b6f29
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x8c], ebx
lea ecx, [esp + 0x70]
call fcn.005c5fc8
mov eax, dword [esp + 0x94]
cmp eax, ebx
je 0x5b6f4c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x94], ebx
mov eax, dword [esp + 0x90]
cmp eax, ebx
je 0x5b6f66
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x90], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x5b6f7a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x5b6f8e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x5b6b88
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x38], ebx
jmp 0x5b6b88
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov ecx, dword [0x100c3678]
push ebx
push eax
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
add ecx, 0x6d4
push eax
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
cmp dword [edi + 0x38], 1
mov esi, eax
jne 0x5b7021
cmp esi, 0xc0000022
jne 0x5b7021
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov ecx, dword [0x100c3678]
push ebx
push eax
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
push edx
mov edx, dword [ecx + 0x6d4]
add ecx, 0x6d4
push 0x2000000
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
mov esi, eax
test esi, esi
jne 0x5b7b4c
test ebx, ebx
je 0x5b7033
mov dword [ebx], 1
mov ecx, dword [edi + 0xc]
push ecx
lea ecx, [esp + 0x4c]
call fcn.005c5f98
mov eax, dword [ebp + 0x10]
push 0
lea edx, [esp + 0xb4]
push edx
push eax
mov ecx, edi
call fcn.005b6788
test eax, eax
je 0x5b7abf
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0xb4]
call fcn.005c5f78
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov edi, dword [esp + 0x10]
call eax
mov edx, dword [edi]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
cmp ebx, eax
je 0x5b7b2f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5b70a0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x10], eax
je 0x5b70cc
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5b70cc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x48]
call fcn.005c5fc8
jmp 0x5b6b88
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
test eax, eax
jne 0x5b7b5f
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x38], 1
jne 0x5b7e79
mov ecx, esi
call fcn.005c6168
test eax, eax
je 0x5b7c93
lea ecx, [esp + 0x5c]
push 4
push ecx
call fcn.00577d48
lea edx, [esp + 0x68]
push 4
push edx
call fcn.00577d48
lea eax, [esp + 0x34]
push 4
push eax
call fcn.00577d48
mov edi, dword [esp + 0x28]
xor ebx, ebx
add esp, 0x18
cmp edi, ebx
mov dword [esp + 0x1c], edi
je 0x5b7147
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
lea ecx, [esp + 0xa8]
call fcn.005c6268
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call fcn.005c61d8
test eax, eax
je 0x5b735e
lea ecx, [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x10c]
push edx
call fcn.005c6178
mov esi, dword [0x100c3678]
push ebx
push 0x40
push eax
push ebx
lea ecx, [esp + 0x120]
mov dword [esp + 0x2c], ebx
add esi, 0x884
call fcn.005b0828
mov ecx, eax
call fcn.005b0858
mov edx, dword [esi]
push eax
push 1
lea eax, [esp + 0x24]
push eax
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
call eax
mov esi, eax
neg esi
sbb esi, esi
lea ecx, [esp + 0x1c]
add esi, 1
call fcn.0057f4d8
cmp esi, ebx
je 0x5b72bd
lea ecx, [esp + 0x54]
push 4
push ecx
call fcn.00577d48
mov edx, dword [edi]
mov edx, dword [edx + 0x64]
add esp, 8
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, edi
call edx
test eax, eax
je 0x5b726f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
lea eax, [esp + 0xa8]
push eax
push edi
lea eax, [esp + 0x30]
push eax
call edx
mov esi, eax
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x5b7236
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x54], ebx
mov eax, dword [esi]
cmp eax, ebx
mov dword [esp + 0x54], eax
je 0x5b724c
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x5b7264
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], ebx
push eax
push edi
lea ecx, [esp + 0x64]
call fcn.005b1948
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov edi, dword [esp + 0x54]
cmp edi, ebx
je 0x5b729b
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x5b729b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0xa8]
push eax
call fcn.005c61d8
test eax, eax
jne 0x5b716a
mov dword [esp + 0x1c], edi
jmp 0x5b735e
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], edi
call fcn.005c6168
test eax, eax
jne 0x5b7ca1
lea ecx, [esp + 0x24]
push ecx
call fcn.005ccf38
add esp, 4
cmp eax, ebx
jne 0x5b7ccf
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
push edx
mov edx, dword [ebp + 0x18]
push edx
lea edx, [esp + 0xb0]
push edx
push edi
lea edx, [esp + 0xb4]
push edx
call eax
mov ecx, dword [esp + 0xa4]
push ecx
push edi
lea ecx, [esp + 0x64]
call fcn.005b1948
cmp edi, ebx
je 0x5b732d
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov edi, dword [esp + 0xa4]
cmp edi, ebx
mov dword [esp + 0x1c], edi
je 0x5b735e
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [esp + 0xa4]
cmp eax, ebx
je 0x5b735e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xa4], ebx
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
mov ecx, edi
call edx
test eax, eax
je 0x5b7ce0
lea eax, [esp + 0x58]
push 4
push eax
call fcn.00577d48
mov eax, dword [esp + 0x2c]
mov edx, dword [ebp + 0xc]
mov esi, dword [eax]
add esp, 8
lea ecx, [esp + 0x58]
push ecx
push edx
push 0x10082364
lea ecx, [esp + 0xe4]
mov ebx, eax
add esi, 0x10
call fcn.005b0888
mov ecx, eax
call fcn.005b0858
push eax
mov eax, dword [esi]
mov ecx, ebx
call eax
test eax, eax
jne 0x5b7d56
lea ecx, [esp + 0x4c]
push 4
push ecx
call fcn.00577d48
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x60]
add esp, 8
lea edx, [esp + 0x4c]
push edx
push eax
push ecx
push 0x10082364
lea ecx, [esp + 0x74]
call fcn.005b0888
mov ecx, eax
call fcn.005b0858
push eax
push edi
call fcn.005c8358
add esp, 0x14
test eax, eax
jne 0x5b7d77
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 0xc]
push edx
lea ecx, [esp + 0x78]
call fcn.005c5f98
mov ecx, dword [ebp + 0x10]
push 0
lea eax, [esp + 0xb4]
push eax
push ecx
mov ecx, esi
call fcn.005b6788
test eax, eax
je 0x5b7da1
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0xb4]
call fcn.005c5f78
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 0x10]
call edx
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x44], eax
call edx
mov ecx, dword [esp + 0x44]
cmp ecx, eax
je 0x5b7e0e
mov eax, dword [esp + 0x10]
xor esi, esi
cmp eax, esi
je 0x5b747c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x84]
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x5b74ad
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x84]
cmp eax, esi
je 0x5b74ad
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x84], esi
lea ecx, [esp + 0x74]
call fcn.005c5fc8
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x5b74ca
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x5b74de
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x58], esi
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x5b74fa
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x60]
cmp eax, esi
je 0x5b750e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x5b6b88
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x5c], esi
jmp 0x5b6b88
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0xc0000034
jmp 0x5b7e82
cmp dword [0x100c3710], ebx
je 0x5b7574
push 0x1009088c
push 0x10090850
lea ecx, [esp + 0x6c]
call fcn.00573238
mov ecx, eax
call fcn.00572168
mov ecx, eax
call fcn.00572168
lea ecx, [esp + 0x64]
call fcn.00572078
cmp dword [edi + 0x38], 1
jne 0x5b75bd
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], ebx
mov dword [eax], 0xc0000229
lea ecx, [esp + 0xa0]
call fcn.005c5fc8
lea ecx, [esp + 0x78]
call fcn.00583228
lea ecx, [esp + 0x50]
call fcn.005b1928
lea ecx, [esp + 0x30]
call fcn.005b1928
lea ecx, [esp + 0x3c]
call fcn.005b1928
jmp 0x5b7e82
mov ecx, dword [ebp + 0x24]
mov dword [ecx], 1
jmp 0x5b7588
lea ecx, [esp + 0x78]
call fcn.005b1878
lea ecx, [esp + 0x80]
call fcn.005b1928
lea ecx, [esp + 0xa0]
call fcn.005c5fc8
lea edx, [esp + 0x9c]
push 4
push edx
call fcn.00577d48
mov eax, dword [esp + 0x44]
mov esi, dword [eax]
mov ecx, dword [ebp + 0xc]
add esp, 8
mov ebx, eax
lea eax, [esp + 0x9c]
push eax
push ecx
push 0x10082364
lea ecx, [esp + 0x70]
add esi, 0x10
call fcn.005b0888
mov ecx, eax
call fcn.005b0858
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
mov esi, eax
test esi, esi
je 0x5b76bd
cmp dword [0x100c3710], 0
je 0x5b7698
push 0x10082e80
push esi
lea ecx, [esp + 0xe0]
call fcn.00574528
push eax
push 0x1009060c
push 0x10090850
lea ecx, [esp + 0x74]
call fcn.00573238
mov ecx, eax
call fcn.00572168
mov ecx, eax
call fcn.00572168
mov ecx, eax
call fcn.005732f8
mov ecx, eax
call fcn.00572168
lea ecx, [esp + 0x64]
call fcn.00572078
lea ecx, [esp + 0xd8]
call fcn.0055eab8
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
lea ecx, [esp + 0x9c]
call fcn.005b1928
jmp 0x5b7594
lea edx, [esp + 0x88]
push 4
push edx
call fcn.00577d48
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0xa4]
mov esi, dword [esp + 0x58]
add esp, 8
lea eax, [esp + 0x88]
push eax
push ecx
push edx
push 0x10082364
lea ecx, [esp + 0x74]
call fcn.005b0888
mov ecx, eax
call fcn.005b0858
push eax
push esi
call fcn.005c8358
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5b7770
cmp dword [0x100c3710], 0
je 0x5b773f
push 0x10090820
push 0x10090850
lea ecx, [esp + 0x6c]
call fcn.00573238
mov ecx, eax
call fcn.00572168
mov ecx, eax
call fcn.00572168
lea ecx, [esp + 0x64]
call fcn.00572078
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
lea ecx, [esp + 0x88]
call fcn.005b1928
lea ecx, [esp + 0x9c]
call fcn.005b1928
jmp 0x5b7594
mov edx, dword [esp + 0x88]
push edx
mov ecx, edi
call fcn.005b3e98
mov esi, eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0x14]
mov dword [esp + 0x30], esi
call fcn.005b3d68
mov eax, dword [ebp + 0x20]
test eax, eax
mov edx, dword [ebp + 8]
mov dword [edx], esi
je 0x5b77ac
mov dword [eax], 1
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0
jmp 0x5b7753
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], ebx
mov dword [eax], 0xc0000229
jmp 0x5b75a6
cmp dword [0x100c3710], ebx
je 0x5b7832
push 0x10082e80
push eax
lea ecx, [esp + 0xe0]
call fcn.00574528
push eax
push 0x10090634
push 0x10090850
lea ecx, [esp + 0x74]
call fcn.00573238
mov ecx, eax
call fcn.00572168
mov ecx, eax
call fcn.00572168
mov ecx, eax
call fcn.005732f8
mov ecx, eax
call fcn.00572168
lea ecx, [esp + 0x64]
call fcn.00572078
lea ecx, [esp + 0xd8]
call fcn.0055eab8
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], ebx
lea ecx, [esp + 0x38]
mov dword [edx], 0xc0000229
call fcn.005b1928
jmp 0x5b7e82
cmp dword [0x100c3710], ebx
je 0x5b7880
push 0x1009088c
push 0x10090850
lea ecx, [esp + 0x6c]
call fcn.00573238
mov ecx, eax
call fcn.00572168
mov ecx, eax
call fcn.00572168
lea ecx, [esp + 0x64]
call fcn.00572078
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], ebx
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0x70]
call fcn.005c5fc8
lea ecx, [esp + 0x90]
call fcn.00583228
lea ecx, [esp + 0x20]
call fcn.005b1928
lea ecx, [esp + 0x40]
call fcn.005b1928
lea ecx, [esp + 0x38]
call fcn.005b1928
jmp 0x5b7e82
lea ecx, [esp + 0x90]
call fcn.005b1878
lea ecx, [esp + 0x8c]
call fcn.005b1928
lea ecx, [esp + 0x70]
call fcn.005c5fc8
lea edx, [esp + 0x34]
push 4
push edx
call fcn.00577d48
mov eax, dword [esp + 0x40]
mov esi, dword [eax]
mov ecx, dword [ebp + 0xc]
add esp, 8
mov ebx, eax
lea eax, [esp + 0x34]
push eax
push ecx
push 0x10082364
lea ecx, [esp + 0x70]
add esi, 0x10
call fcn.005b0888
mov ecx, eax
call fcn.005b0858
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
mov esi, eax
test esi, esi
je 0x5b79af
cmp dword [0x100c3710], 0
je 0x5b798d
push 0x10082e80
push esi
lea ecx, [esp + 0xe0]
call fcn.00574528
push eax
push 0x1009060c
push 0x10090850
lea ecx, [esp + 0x74]
call fcn.00573238
mov ecx, eax
call fcn.00572168
mov ecx, eax
call fcn.00572168
mov ecx, eax
call fcn.005732f8
mov ecx, eax
call fcn.00572168
lea ecx, [esp + 0x64]
call fcn.00572078
lea ecx, [esp + 0xd8]
call fcn.0055eab8
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
lea ecx, [esp + 0x34]
call fcn.005b1928
jmp 0x5b7897
lea edx, [esp + 0x98]
push 4
push edx
call fcn.00577d48
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
add esp, 8
lea eax, [esp + 0x98]
push eax
push ecx
push edx
push 0x10082364
lea ecx, [esp + 0x74]
call fcn.005b0888
mov ecx, eax
call fcn.005b0858
push eax
push esi
call fcn.005c8358
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5b7a5c
cmp dword [0x100c3710], 0
je 0x5b7a2e
push 0x10090820
push 0x10090850
lea ecx, [esp + 0x6c]
call fcn.00573238
mov ecx, eax
call fcn.00572168
mov ecx, eax
call fcn.00572168
lea ecx, [esp + 0x64]
call fcn.00572078
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
lea ecx, [esp + 0x98]
call fcn.005b1928
lea ecx, [esp + 0x34]
call fcn.005b1928
jmp 0x5b7897
mov edx, dword [esp + 0x98]
push edx
mov ecx, edi
call fcn.005b3e98
mov esi, eax
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0x14]
mov dword [esp + 0x30], esi
call fcn.005b3d68
mov eax, dword [ebp + 0x20]
test eax, eax
mov edx, dword [ebp + 8]
mov dword [edx], esi
je 0x5b7a98
mov dword [eax], 1
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0
jmp 0x5b7a42
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], ebx
mov dword [eax], 0xc0000229
jmp 0x5b78ac
cmp dword [0x100c3710], 0
je 0x5b7af2
push 0x1009088c
push 0x10090850
lea ecx, [esp + 0x6c]
call fcn.00573238
mov ecx, eax
call fcn.00572168
mov ecx, eax
call fcn.00572168
lea ecx, [esp + 0x64]
call fcn.00572078
cmp dword [edi + 0x38], 1
jne 0x5b7b18
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
lea ecx, [esp + 0x48]
mov dword [edx], 0xc0000229
call fcn.005c5fc8
jmp 0x5b7e82
mov eax, dword [ebp + 0x24]
lea ecx, [esp + 0x48]
mov dword [eax], 1
call fcn.005c5fc8
jmp 0x5b7e82
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
lea ecx, [esp + 0x2c]
call fcn.005b1928
lea ecx, [esp + 0x48]
call fcn.005c5fc8
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
mov dword [edx], esi
jmp 0x5b7e82
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
lea edx, [esp + 0x48]
push edx
call eax
lea ecx, [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x48]
call fcn.005c61a8
lea edx, [esp + 0x34]
push 4
push edx
call fcn.00577d48
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
add esp, 8
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x74]
push edx
mov edx, dword [ebp + 0x18]
push esi
push edx
lea edx, [esp + 0xb8]
push edx
call eax
test eax, eax
je 0x5b7be2
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
and eax, 0xefffffff
lea ecx, [esp + 0x34]
mov dword [edx], eax
call fcn.005b1928
lea ecx, [esp + 0x48]
call fcn.005b1928
jmp 0x5b7e82
lea eax, [esp + 0x2c]
push 4
push eax
call fcn.00577d48
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x1c]
push esi
push edx
lea eax, [esp + 0xbc]
push eax
push ecx
call fcn.005c8358
add esp, 0x1c
test eax, eax
je 0x5b7c45
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and eax, 0xefffffff
mov dword [edx], 0
mov dword [ecx], eax
lea ecx, [esp + 0x2c]
call fcn.005b1928
lea ecx, [esp + 0x34]
call fcn.005b1928
lea ecx, [esp + 0x48]
call fcn.005b1928
jmp 0x5b7e82
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
push edx
mov ecx, edi
call fcn.005b3e98
mov esi, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0x14]
mov dword [esp + 0x30], esi
call fcn.005b3d68
mov eax, dword [ebp + 0x20]
test eax, eax
mov edx, dword [ebp + 8]
mov dword [edx], esi
je 0x5b7c7f
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], 0
mov dword [eax], 0
jmp 0x5b7c25
mov ecx, dword [ebp + 0x24]
mov dword [ecx], 1
jmp 0x5b7e82
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], ebx
mov dword [eax], 0xc0000034
lea ecx, [esp + 0x1c]
call fcn.005b1928
lea ecx, [esp + 0x24]
call fcn.005b1928
lea ecx, [esp + 0x5c]
call fcn.00583228
jmp 0x5b7e82
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
and eax, 0xefffffff
mov dword [ecx], ebx
mov dword [edx], eax
jmp 0x5b7caf
mov ecx, dword [0x100c3678]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ecx + 0x884]
mov esi, dword [ebp + 8]
push edi
add ecx, 0x884
push eax
mov eax, dword [edx + 0x24]
push esi
call eax
call eax
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x38], 1
jne 0x5b7d36
cmp eax, 0xc0000022
jne 0x5b7d36
mov ecx, dword [0x100c3678]
mov edx, dword [ecx + 0x884]
mov eax, dword [edx + 0x24]
push edi
add ecx, 0x884
push 0x2000000
push esi
call eax
call eax
cmp eax, ebx
jne 0x5b7d47
mov ecx, dword [ebp + 0x20]
cmp ecx, ebx
je 0x5b7d47
mov dword [ecx], 2
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], ebx
mov dword [edx], eax
jmp 0x5b7caf
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
and eax, 0xefffffff
lea ecx, [esp + 0x58]
mov dword [edx], eax
call fcn.005b1928
jmp 0x5b7caf
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
and eax, 0xefffffff
mov dword [ecx], 0
mov dword [edx], eax
lea ecx, [esp + 0x4c]
call fcn.005b1928
lea ecx, [esp + 0x58]
call fcn.005b1928
jmp 0x5b7caf
cmp dword [0x100c3710], 0
je 0x5b7dd4
push 0x1009088c
push 0x10090850
lea ecx, [esp + 0x6c]
call fcn.00573238
mov ecx, eax
call fcn.00572168
mov ecx, eax
call fcn.00572168
lea ecx, [esp + 0x64]
call fcn.00572078
cmp dword [esi + 0x38], 1
jne 0x5b7df7
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0x74]
call fcn.005c5fc8
jmp 0x5b7d8a
mov edx, dword [ebp + 0x24]
lea ecx, [esp + 0x74]
mov dword [edx], 1
call fcn.005c5fc8
jmp 0x5b7d8a
lea ecx, [esp + 0x5c]
call fcn.005b1878
lea ecx, [esp + 0x84]
call fcn.005b1928
lea ecx, [esp + 0x74]
call fcn.005c5fc8
mov eax, dword [esp + 0x4c]
push eax
mov ecx, esi
call fcn.005b3e98
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x2c]
mov edi, eax
push edx
lea ecx, [esi + 0x14]
mov dword [esp + 0x30], edi
call fcn.005b3d68
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x5b7e62
mov dword [eax], 1
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
mov dword [edx], 0
jmp 0x5b7d8a
mov eax, dword [ebp + 0x24]
mov dword [eax], 1
lea ecx, [esp + 0x10]
call fcn.005b1928
lea ecx, [esp + 0xb0]
call fcn.005b1b88
lea ecx, [esp + 0x14]
call fcn.005b1928
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24