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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff90
mov ebx, eax
xor eax, eax
mov dword [ebx + 0x68], eax
mov edi, dword [ebx + 0x64]
cmp dword [ebx + 0x7c], 0
jne 0x5bc118
cmp dword [ebx + 0x9c], 0
je 0x5bc131
xor edx, edx
mov eax, dword [ebx + 0x64]
call fcn.005bc0b8
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x74], eax
jmp 0x5bcd89
cmp dword [ebx + 0x64], 0
je 0x5bc141
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x74], eax
lea ecx, [esp + 0x58]
mov edx, dword [ebx + 0x41]
mov eax, dword [ebx + 0x3d]
call fcn.004c7664
push dword [esp + 0x5c]
push dword [esp + 0x5c]
lea edx, [esp + 0x68]
mov eax, ebx
call fcn.005ba4b0
lea eax, [esp + 0x68]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x5bcd30
cmp byte [ebx + 0x3c], 0
jne 0x5bcd30
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0xf4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
call fcn.005d81a8
fstp qword [esp]
wait
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0xf4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
call fcn.005d81a8
fstp qword [esp + 8]
wait
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0xf4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
call fcn.005d81a8
fstp qword [esp + 0x18]
wait
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0xf4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
call fcn.005d81a8
fstp qword [esp + 0x10]
wait
cmp dword [ebx + 0xa8], 0
jne 0x5bc7ba
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x310]
mov eax, dword [eax + 0x24]
call fcn.005d565c
test al, al
je 0x5bc3d2
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2dc]
call fcn.0041d7ec
mov esi, eax
dec esi
cmp esi, 0
jl 0x5bc3d2
mov eax, dword [ebx + 0x3d]
push eax
mov eax, dword [ebx + 0x41]
push eax
lea eax, [ebx + 0x2c]
push eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2dc]
mov edx, esi
call fcn.005cd068
lea ecx, [ebx + 0xa1]
lea edx, [ebx + 0xa0]
call fcn.005ceebc
test al, al
je 0x5bc3c8
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2dc]
mov edx, esi
call fcn.005cd068
mov dword [ebx + 0x64], eax
mov al, byte [ebx + 0xa1]
test al, al
je 0x5bc2f6
cmp byte [ebx + 0xa0], 0
je 0x5bc2f6
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x297], 0
jne 0x5bc2c8
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2dc]
mov edx, esi
call fcn.005cd068
mov eax, dword [eax + 0x74]
mov ax, word [eax + 0x10]
mov edx, dword [ebx + 0x10]
cmp ax, word [edx + 0x294]
je 0x5bc3b9
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2dc]
mov edx, esi
call fcn.005cd068
mov eax, dword [eax + 0x74]
mov dx, word [eax + 0x10]
mov eax, dword [ebx + 0x10]
call fcn.005ae4a4
mov eax, dword [ebx + 0x10]
mov byte [eax + 0x297], 1
jmp 0x5bc3b9
cmp byte [ebx + 0xa0], 0
je 0x5bc35d
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x297], 0
jne 0x5bc332
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2dc]
mov edx, esi
call fcn.005cd068
mov eax, dword [eax + 0x74]
mov ax, word [eax + 0xe]
mov edx, dword [ebx + 0x10]
cmp ax, word [edx + 0x294]
je 0x5bc3b9
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2dc]
mov edx, esi
call fcn.005cd068
mov eax, dword [eax + 0x74]
mov dx, word [eax + 0xe]
mov eax, dword [ebx + 0x10]
call fcn.005ae4a4
mov eax, dword [ebx + 0x10]
mov byte [eax + 0x297], 1
jmp 0x5bc3b9
test al, al
je 0x5bc3b9
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x297], 0
jne 0x5bc390
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2dc]
mov edx, esi
call fcn.005cd068
mov eax, dword [eax + 0x74]
mov ax, word [eax + 0xc]
mov edx, dword [ebx + 0x10]
cmp ax, word [edx + 0x294]
je 0x5bc3b9
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2dc]
mov edx, esi
call fcn.005cd068
mov eax, dword [eax + 0x74]
mov dx, word [eax + 0xc]
mov eax, dword [ebx + 0x10]
call fcn.005ae4a4
mov eax, dword [ebx + 0x10]
mov byte [eax + 0x297], 1
mov edx, dword [ebx + 0x64]
mov eax, edi
call fcn.005bc0b8
jmp 0x5bcd89
dec esi
cmp esi, 0xffffffff
jne 0x5bc23a
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2e8]
call fcn.0041d7ec
mov esi, eax
dec esi
cmp esi, 0
jl 0x5bc4b5
mov eax, dword [ebx + 0x3d]
push eax
mov eax, dword [ebx + 0x41]
push eax
lea eax, [ebx + 0x2c]
push eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2e8]
mov edx, esi
call fcn.005d41a0
lea ecx, [ebx + 0xa3]
lea edx, [ebx + 0xa2]
call fcn.005d3b90
test al, al
je 0x5bc4ab
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x297], 0
jne 0x5bc44d
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2e8]
mov edx, esi
call fcn.005d41a0
mov ax, word [eax + 0x6e]
mov edx, dword [ebx + 0x10]
cmp ax, word [edx + 0x294]
je 0x5bc473
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2e8]
mov edx, esi
call fcn.005d41a0
mov dx, word [eax + 0x6e]
mov eax, dword [ebx + 0x10]
call fcn.005ae4a4
mov eax, dword [ebx + 0x10]
mov byte [eax + 0x297], 1
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x310]
mov eax, dword [eax + 0x2c]
call fcn.005d565c
test al, al
je 0x5bc4ab
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2e8]
mov edx, esi
call fcn.005d41a0
mov ebp, eax
mov dword [ebx + 0x64], ebp
mov edx, ebp
mov eax, edi
call fcn.005bc0b8
jmp 0x5bcd89
dec esi
cmp esi, 0xffffffff
jne 0x5bc3ec
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2f0]
call fcn.0041d7ec
mov esi, eax
dec esi
cmp esi, 0
jl 0x5bc5a3
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2f0]
mov edx, esi
call fcn.005c9330
mov ecx, dword [ebx + 0x41]
mov edx, dword [ebx + 0x3d]
call fcn.005c96b4
test al, al
je 0x5bc599
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x297], 0
jne 0x5bc523
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2f0]
mov edx, esi
call fcn.005c9330
mov ax, word [eax + 0x78]
mov edx, dword [ebx + 0x10]
cmp ax, word [edx + 0x294]
je 0x5bc549
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2f0]
mov edx, esi
call fcn.005c9330
mov dx, word [eax + 0x78]
mov eax, dword [ebx + 0x10]
call fcn.005ae4a4
mov eax, dword [ebx + 0x10]
mov byte [eax + 0x297], 1
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x310]
mov eax, dword [eax + 0x18]
call fcn.005d565c
test al, al
je 0x5bc599
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2f0]
mov edx, esi
call fcn.005c9330
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x310]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x12], 0
je 0x5bc58a
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x74], eax
mov edx, dword [ebx + 0x64]
mov eax, edi
call fcn.005bc0b8
jmp 0x5bcd89
dec esi
cmp esi, 0xffffffff
jne 0x5bc4cf
lea eax, [esp + 0x48]
push eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2e0]
mov ecx, dword [ebx + 0x41]
mov edx, dword [ebx + 0x3d]
call fcn.005cae44
test al, al
je 0x5bc654
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x297], 0
jne 0x5bc5f2
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2e0]
mov edx, dword [esp + 0x48]
call fcn.005caf68
mov ax, word [eax + 0x68]
mov edx, dword [ebx + 0x10]
cmp ax, word [edx + 0x294]
je 0x5bc61a
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2e0]
mov edx, dword [esp + 0x48]
call fcn.005caf68
mov dx, word [eax + 0x68]
mov eax, dword [ebx + 0x10]
call fcn.005ae4a4
mov eax, dword [ebx + 0x10]
mov byte [eax + 0x297], 1
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x310]
mov eax, dword [eax + 0x1c]
call fcn.005d565c
test al, al
je 0x5bc654
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2e0]
mov edx, dword [esp + 0x48]
call fcn.005caf68
mov esi, eax
mov dword [ebx + 0x64], esi
mov edx, esi
mov eax, edi
call fcn.005bc0b8
jmp 0x5bcd89
lea eax, [esp + 0x48]
push eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2e4]
mov ecx, dword [ebx + 0x41]
mov edx, dword [ebx + 0x3d]
call fcn.005cae44
test al, al
je 0x5bc705
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x297], 0
jne 0x5bc6a3
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2e4]
mov edx, dword [esp + 0x48]
call fcn.005cab04
mov ax, word [eax + 0x68]
mov edx, dword [ebx + 0x10]
cmp ax, word [edx + 0x294]
je 0x5bc6cb
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2e4]
mov edx, dword [esp + 0x48]
call fcn.005cab04
mov dx, word [eax + 0x68]
mov eax, dword [ebx + 0x10]
call fcn.005ae4a4
mov eax, dword [ebx + 0x10]
mov byte [eax + 0x297], 1
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x310]
mov eax, dword [eax + 0x20]
call fcn.005d565c
test al, al
je 0x5bc705
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2e4]
mov edx, dword [esp + 0x48]
call fcn.005cab04
mov esi, eax
mov dword [ebx + 0x64], esi
mov edx, esi
mov eax, edi
call fcn.005bc0b8
jmp 0x5bcd89
lea eax, [ebx + 0x2c]
push eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2f4]
mov ecx, dword [ebx + 0x41]
mov edx, dword [ebx + 0x3d]
call fcn.005ccf84
test al, al
je 0x5bc7ba
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x297], 0
jne 0x5bc758
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2f4]
mov edx, dword [esp + 0x48]
call fcn.005ccfe4
mov ax, word [eax + 0x68]
mov edx, dword [ebx + 0x10]
cmp ax, word [edx + 0x294]
je 0x5bc780
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2e4]
mov edx, dword [esp + 0x48]
call fcn.005cab04
mov dx, word [eax + 0x68]
mov eax, dword [ebx + 0x10]
call fcn.005ae4a4
mov eax, dword [ebx + 0x10]
mov byte [eax + 0x297], 1
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x310]
mov eax, dword [eax + 0x28]
call fcn.005d565c
test al, al
je 0x5bc7ba
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2f4]
mov edx, dword [esp + 0x48]
call fcn.005ccfe4
mov esi, eax
mov dword [ebx + 0x64], esi
mov edx, esi
mov eax, edi
call fcn.005bc0b8
jmp 0x5bcd89
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2d8]
mov ecx, dword [ebx + 0x41]
mov edx, dword [ebx + 0x3d]
call fcn.005ba0a8
test al, al
je 0x5bcd30
mov eax, dword [ebx + 0x58]
call fcn.005ad76c
mov edx, dword [esp + 0x20]
call fcn.005ba34c
mov esi, eax
mov eax, esi
call fcn.005b2b3c
mov dword [esp + 0x50], eax
mov eax, esi
call fcn.005b2b54
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x28]
jne 0x5bc984
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x140], 0
je 0x5bc8bd
mov eax, dword [ebx + 0x58]
mov edx, dword [eax]
call dword [edx + 0x1e4]
test al, al
je 0x5bc884
push dword [esp + 4]
push dword [esp + 4]
push dword [esp + 0x14]
push dword [esp + 0x14]
lea ecx, [ebx + 0x2c]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x60]
mov ebp, dword [eax]
call dword [ebp + 0xdc]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esp + 0x58]
call fcn.005c2680
fstp qword [ebx + 0x18]
wait
jmp 0x5bc8e6
push dword [esp + 4]
push dword [esp + 4]
push dword [esp + 0x14]
push dword [esp + 0x14]
lea ecx, [ebx + 0x2c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x60]
mov ebp, dword [eax]
call dword [ebp + 0xdc]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esp + 0x58]
call fcn.005c2680
fstp qword [ebx + 0x18]
wait
jmp 0x5bc8e6
mov edx, dword [esp + 0x24]
sub edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xb4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esp + 0x58]
call fcn.005c2680
fstp qword [ebx + 0x18]
wait
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x138], 0
je 0x5bc95a
mov eax, dword [ebx + 0x58]
mov edx, dword [eax]
call dword [edx + 0x1e4]
test al, al
je 0x5bc92e
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x24]
push dword [esp + 0x24]
lea ecx, [ebx + 0x2c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x64]
mov esi, dword [eax]
call dword [esi + 0xdc]
fstp qword [ebx + 0x20]
wait
jmp 0x5bcbbd
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x24]
push dword [esp + 0x24]
lea ecx, [ebx + 0x2c]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
mov esi, dword [eax]
call dword [esi + 0xdc]
fstp qword [ebx + 0x20]
wait
jmp 0x5bcbbd
mov edx, dword [esp + 0x24]
sub edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
fld dword [0x5bcd94]
fsub qword [esp + 0x38]
fmulp st(1)
fstp qword [ebx + 0x20]
wait
jmp 0x5bcbbd
cmp byte [esp + 0x4c], 3
jne 0x5bc9d2
mov edx, dword [esp + 0x28]
sub edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xb4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esp + 0x58]
call fcn.005c2680
fstp qword [ebx + 0x18]
wait
mov edx, dword [esp + 0x24]
sub edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
fstp qword [ebx + 0x20]
wait
jmp 0x5bcbbd
cmp byte [esp + 0x4c], 0
jne 0x5bca07
mov edx, dword [esp + 0x28]
sub edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xb4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esp + 0x58]
call fcn.005c2680
fstp qword [ebx + 0x18]
wait
jmp 0x5bcaeb
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x140], 0
je 0x5bca9c
mov eax, dword [ebx + 0x58]
mov edx, dword [eax]
call dword [edx + 0x1e4]
test al, al
je 0x5bca63
push dword [esp + 4]
push dword [esp + 4]
push dword [esp + 0x14]
push dword [esp + 0x14]
lea ecx, [ebx + 0x2c]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x60]
mov ebp, dword [eax]
call dword [ebp + 0xdc]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esp + 0x58]
call fcn.005c2680
fstp qword [ebx + 0x18]
wait
jmp 0x5bcaeb
push dword [esp + 4]
push dword [esp + 4]
push dword [esp + 0x14]
push dword [esp + 0x14]
lea ecx, [ebx + 0x2c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x60]
mov ebp, dword [eax]
call dword [ebp + 0xdc]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esp + 0x58]
call fcn.005c2680
fstp qword [ebx + 0x18]
wait
jmp 0x5bcaeb
mov edx, dword [esp + 0x24]
sub edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xb4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
fstp qword [esp + 0x40]
wait
mov edx, dword [esp + 0x28]
sub edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xb4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
fsub qword [esp + 0x40]
fmul qword [esp + 0x38]
fadd qword [esp + 0x40]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esp + 0x58]
call fcn.005c2680
fstp qword [ebx + 0x18]
wait
cmp byte [esp + 0x4c], 1
jne 0x5bcb10
mov edx, dword [esp + 0x24]
sub edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
fstp qword [ebx + 0x20]
wait
jmp 0x5bcbbd
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x138], 0
je 0x5bcb7e
mov eax, dword [ebx + 0x58]
mov edx, dword [eax]
call dword [edx + 0x1e4]
test al, al
je 0x5bcb55
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x24]
push dword [esp + 0x24]
lea ecx, [ebx + 0x2c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x64]
mov esi, dword [eax]
call dword [esi + 0xdc]
fstp qword [ebx + 0x20]
wait
jmp 0x5bcbbd
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x24]
push dword [esp + 0x24]
lea ecx, [ebx + 0x2c]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
mov esi, dword [eax]
call dword [esi + 0xdc]
fstp qword [ebx + 0x20]
wait
jmp 0x5bcbbd
mov edx, dword [esp + 0x24]
sub edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
fstp qword [esp + 0x40]
wait
mov edx, dword [esp + 0x28]
sub edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
fsub qword [esp + 0x40]
fmul qword [esp + 0x38]
fadd qword [esp + 0x40]
fstp qword [ebx + 0x20]
wait
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x297], 0
jne 0x5bcbeb
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2d8]
mov edx, dword [esp + 0x20]
call fcn.005ba094
mov ax, word [eax + 0x76]
mov edx, dword [ebx + 0x10]
cmp ax, word [edx + 0x294]
je 0x5bcc13
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2d8]
mov edx, dword [esp + 0x20]
call fcn.005ba094
mov dx, word [eax + 0x76]
mov eax, dword [ebx + 0x10]
call fcn.005ae4a4
mov eax, dword [ebx + 0x10]
mov byte [eax + 0x297], 1
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x310]
mov eax, dword [eax + 0x10]
call fcn.005d565c
test al, al
je 0x5bcd30
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x6c], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2d8]
mov edx, dword [esp + 0x20]
call fcn.005ba094
mov dword [ebx + 0x68], eax
mov esi, dword [ebx + 0xa8]
test esi, esi
je 0x5bcc9a
mov eax, dword [esi + 0x60]
cmp eax, dword [ebx + 0xac]
je 0x5bcd89
mov eax, esi
call fcn.005cb0cc
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x310]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x12], 0
je 0x5bcc8b
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x74], eax
mov edx, dword [ebx + 0x64]
mov eax, edi
call fcn.005bc0b8
jmp 0x5bcd89
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x2d8]
mov edx, dword [esp + 0x20]
call fcn.005ba094
mov esi, eax
mov dword [ebx + 0x64], esi
mov edx, esi
mov eax, edi
call fcn.005bc0b8
cmp edi, dword [ebx + 0x64]
je 0x5bcce0
test edi, edi
je 0x5bcce0
mov eax, dword [ebx + 0x58]
cmp word [eax + 0x322], 0
je 0x5bcce0
mov esi, eax
mov edx, eax
mov eax, dword [esi + 0x324]
call dword [esi + 0x320]
cmp dword [ebx + 0x64], 0
je 0x5bcd15
mov eax, dword [ebx + 0x58]
cmp word [eax + 0x31a], 0
je 0x5bcd15
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x2c]
push edx
lea edx, [ebx + 0x18]
push edx
mov esi, eax
mov ecx, dword [esp + 0x2c]
mov edx, eax
mov eax, dword [esi + 0x31c]
call dword [esi + 0x318]
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x310]
mov eax, dword [eax + 0x30]
cmp byte [eax + 0x10], 0
je 0x5bcd89
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x64]
jmp 0x5bcd89
test edi, edi
je 0x5bcd60
mov esi, dword [ebx + 0x58]
cmp word [esi + 0x322], 0
je 0x5bcd60
mov eax, edi
mov edx, dword [0x5a461c]
call fcn.00404920
test al, al
je 0x5bcd60
mov edx, esi
mov eax, dword [esi + 0x324]
call dword [esi + 0x320]
mov edx, dword [ebx + 0x64]
mov eax, edi
call fcn.005bc0b8
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x297], 0
je 0x5bcd89
mov byte [eax + 0x297], 0
mov dx, word [eax + 0x294]
call fcn.005ae4a4
add esp, 0x70
pop ebp
pop edi
pop esi
pop ebx
ret