Function at 0x5c3cec
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x31
push 0
push 0
dec ecx
jne 0x5c3cf4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5c4c26
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x3c0]
mov ecx, dword [eax + 0x22c]
mov edx, 0x10
mov eax, dword [ebx + 0x3c0]
call fcn.004c1a18
mov eax, dword [ebp - 0x14]
mov edx, dword [ebx + 0x3fc]
call fcn.00404f34
je 0x5c4bb0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 0x3c0]
mov ecx, dword [eax + 0x22c]
mov edx, 0x10
mov eax, dword [ebx + 0x3c0]
call fcn.004c1a18
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x3fc]
call fcn.00404b8c
mov edx, 2
mov eax, dword [ebx + 0x3f8]
call fcn.004bf88c
mov eax, dword [ebx + 0x3f8]
mov edi, dword [eax + 0x21c]
dec edi
test edi, edi
jl 0x5c3db8
inc edi
mov dword [ebp - 0x10], 0
push 0
mov ecx, 1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x3f8]
call fcn.004c1a98
inc dword [ebp - 0x10]
dec edi
jne 0x5c3d9d
mov edx, 2
mov eax, dword [ebx + 0x3f4]
call fcn.004bf88c
mov eax, dword [ebx + 0x3f4]
mov edi, dword [eax + 0x21c]
dec edi
test edi, edi
jl 0x5c3dfc
inc edi
mov dword [ebp - 0x10], 0
push 0
mov ecx, 1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x3f4]
call fcn.004c1a98
inc dword [ebp - 0x10]
dec edi
jne 0x5c3de1
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x3c0]
mov ecx, dword [eax + 0x22c]
mov edx, 0x10
mov eax, dword [ebx + 0x3c0]
call fcn.004c1a18
cmp dword [ebp - 0x1c], 0
je 0x5c4bb0
lea eax, [ebp - 8]
mov edx, 0x5c4c3c
call fcn.00404bd0
mov eax, dword [0x669de8]
mov eax, dword [eax]
mov esi, dword [eax + 0x64]
mov eax, esi
call fcn.00483d8c
mov eax, esi
call fcn.004d882c
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, esi
call fcn.004d6c60
mov edx, 0x5c4e7c
call fcn.004ced68
push eax
lea eax, [ebp - 0x2c]
mov edx, dword [ebx + 0x3fc]
call fcn.00405bc0
lea edx, [ebp - 0x2c]
pop eax
call fcn.004d0010
mov eax, esi
call fcn.004d6c60
mov edx, 0x5c4e94
call fcn.004ced68
push eax
lea eax, [ebp - 0x3c]
mov edx, dword [ebx + 0x3fc]
call fcn.00405bc0
lea edx, [ebp - 0x3c]
pop eax
call fcn.004d0010
mov eax, esi
call fcn.004d6c60
mov edx, 0x5c4eac
call fcn.004ced68
push eax
lea eax, [ebp - 0x4c]
mov edx, dword [ebx + 0x3fc]
call fcn.00405bc0
lea edx, [ebp - 0x4c]
pop eax
call fcn.004d0010
mov eax, esi
call fcn.00483d80
lea eax, [ebp - 0xc]
mov edx, 0x5c4ec8
call fcn.00404bd0
jmp 0x5c44e1
mov edx, 0x5c4ed4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x60]
lea eax, [ebp - 0x50]
push eax
mov edx, 0x5c4ee4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x54]
pop eax
call fcn.00404df8
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0xc]
call fcn.00404f34
je 0x5c40c3
mov edx, 0x5c4ed4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x5c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.004094e8
cmp dword [ebp - 0x58], 0
je 0x5c3fed
mov edx, 0x5c4ee4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.004094e8
cmp dword [ebp - 0x60], 0
je 0x5c3fed
mov edx, 0x5c4ed4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x70]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.004094e8
push dword [ebp - 0x6c]
push 0x5c4ef4
mov edx, 0x5c4ee4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x78]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
call fcn.004094e8
push dword [ebp - 0x74]
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.00404eb0
mov eax, dword [ebp - 0x68]
push eax
mov edi, dword [ebx + 0x3f8]
mov ecx, dword [edi + 0x24c]
dec ecx
xor edx, edx
mov eax, edi
call fcn.004c1a98
jmp 0x5c405e
mov edx, 0x5c4ed4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x80]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.004094e8
lea eax, [ebp - 0x7c]
push eax
mov edx, 0x5c4ee4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x88]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.004094e8
mov edx, dword [ebp - 0x84]
pop eax
call fcn.00404df8
mov eax, dword [ebp - 0x7c]
push eax
mov edi, dword [ebx + 0x3f8]
mov ecx, dword [edi + 0x24c]
dec ecx
xor edx, edx
mov eax, edi
call fcn.004c1a98
mov edi, dword [ebx + 0x3f8]
mov edx, dword [edi + 0x24c]
dec edx
mov eax, edi
call fcn.004c4224
mov edx, 0xff0000
call fcn.004255c8
mov eax, dword [ebx + 0x3f8]
mov edi, dword [eax + 0x21c]
dec edi
test edi, edi
jle 0x5c40b1
mov dword [ebp - 0x10], 1
push 0
mov eax, dword [ebx + 0x3f8]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, dword [ebp - 0x10]
call fcn.004c1a98
inc dword [ebp - 0x10]
dec edi
jne 0x5c4094
mov eax, dword [ebx + 0x3f8]
mov edx, dword [eax + 0x24c]
inc edx
call fcn.004bf88c
mov edi, dword [ebx + 0x3f8]
mov edx, dword [edi + 0x24c]
dec edx
mov eax, edi
call fcn.004c4224
xor edx, edx
call fcn.004255c8
mov edx, 0x5c4f00
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x90]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call fcn.004094e8
cmp dword [ebp - 0x8c], 0
je 0x5c41e0
mov edx, 0x5c4f10
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x98]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.004094e8
cmp dword [ebp - 0x94], 0
jne 0x5c41e0
push 0x5c4f20
mov edx, 0x5c4f00
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0xa4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.004094e8
push dword [ebp - 0xa0]
push 0x5c4ef4
mov edx, 0x5c4f10
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.004094e8
push dword [ebp - 0xa8]
lea eax, [ebp - 0x9c]
mov edx, 4
call fcn.00404eb0
mov eax, dword [ebp - 0x9c]
push eax
mov edi, dword [ebx + 0x3f8]
mov ecx, dword [edi + 0x24c]
dec ecx
xor edx, edx
mov eax, edi
call fcn.004c1a98
jmp 0x5c426e
push 0x5c4f20
mov edx, 0x5c4f00
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0xb8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xb4]
call fcn.004094e8
push dword [ebp - 0xb4]
mov edx, 0x5c4f10
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call fcn.004094e8
push dword [ebp - 0xbc]
lea eax, [ebp - 0xb0]
mov edx, 3
call fcn.00404eb0
mov eax, dword [ebp - 0xb0]
push eax
mov edi, dword [ebx + 0x3f8]
mov ecx, dword [edi + 0x24c]
dec ecx
xor edx, edx
mov eax, edi
call fcn.004c1a98
lea eax, [ebp - 0xc4]
push eax
mov edx, 0x5c4f2c
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xd8]
mov eax, 0x5c4f40
call fcn.0040b048
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 0xd0], 0xb
mov edx, 0x5c4f50
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xdc]
mov eax, 0x5c4f64
call fcn.0040b048
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 0xc8], 0xb
lea edx, [ebp - 0xd4]
mov ecx, 1
mov eax, 0x5c4f74
call fcn.0040a554
mov eax, dword [ebp - 0xc4]
push eax
mov edi, dword [ebx + 0x3f8]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 1
mov eax, edi
call fcn.004c1a98
lea eax, [ebp - 0xe0]
push eax
mov edx, 0x5c4f84
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xe4]
mov eax, 0x5c4f40
call fcn.0040b048
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 0xd0], 0xb
mov edx, 0x5c4f98
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xe8]
mov eax, 0x5c4f64
call fcn.0040b048
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 0xc8], 0xb
lea edx, [ebp - 0xd4]
mov ecx, 1
mov eax, 0x5c4f74
call fcn.0040a554
mov eax, dword [ebp - 0xe0]
push eax
mov edi, dword [ebx + 0x3f8]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 2
mov eax, edi
call fcn.004c1a98
lea eax, [ebp - 0xec]
push eax
mov edx, 0x5c4fac
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xf0]
mov eax, 0x5c4f40
call fcn.0040b048
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 0xd0], 0xb
mov edx, 0x5c4fbc
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xf4]
mov eax, 0x5c4f64
call fcn.0040b048
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 0xc8], 0xb
lea edx, [ebp - 0xd4]
mov ecx, 1
mov eax, 0x5c4f74
call fcn.0040a554
mov eax, dword [ebp - 0xec]
push eax
mov edi, dword [ebx + 0x3f8]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 3
mov eax, edi
call fcn.004c1a98
mov eax, dword [ebx + 0x3f8]
mov edx, dword [eax + 0x24c]
inc edx
call fcn.004bf88c
mov edx, 0x5c4ee4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0xf8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xf8]
push eax
mov edx, 0x5c4ed4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0xfc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0xfc]
lea eax, [ebp - 0xc]
pop ecx
call fcn.00404e3c
mov eax, esi
call fcn.0048643c
cmp byte [esi + 0xa1], 0
je 0x5c3ee7
mov eax, dword [ebx + 0x3f8]
cmp dword [eax + 0x24c], 2
jle 0x5c4515
mov eax, dword [ebx + 0x3f8]
mov edx, dword [eax + 0x24c]
dec edx
mov eax, dword [ebx + 0x3f8]
call fcn.004bf88c
lea eax, [ebp - 8]
mov edx, 0x5c4fcc
call fcn.00404bd0
mov eax, dword [0x669de8]
mov eax, dword [eax]
mov esi, dword [eax + 0x64]
mov eax, esi
call fcn.00483d8c
mov eax, esi
call fcn.004d882c
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, esi
call fcn.004d6c60
mov edx, 0x5c5134
call fcn.004ced68
push eax
lea eax, [ebp - 0x10c]
mov edx, dword [ebx + 0x3fc]
call fcn.00405bc0
lea edx, [ebp - 0x10c]
pop eax
call fcn.004d0010
mov eax, esi
call fcn.00483d80
lea eax, [ebp - 0xc]
mov edx, 0x5c4ec8
call fcn.00404bd0
jmp 0x5c4b7c
mov edx, 0x5c514c
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x110]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x110]
mov edx, dword [ebp - 0xc]
call fcn.00404f34
jne 0x5c45e5
push 0
mov eax, dword [ebx + 0x3f4]
mov ecx, dword [eax + 0x24c]
dec ecx
xor edx, edx
call fcn.004c1a98
push 0
mov eax, dword [ebx + 0x3f4]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 1
call fcn.004c1a98
jmp 0x5c4738
mov edx, 0x5c515c
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x114]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x114]
mov edx, 0x5c516c
call fcn.00404f34
jne 0x5c4632
push 0x5c5178
mov eax, dword [ebx + 0x3f4]
mov ecx, dword [eax + 0x24c]
dec ecx
xor edx, edx
mov eax, dword [ebx + 0x3f4]
call fcn.004c1a98
jmp 0x5c46e5
mov edx, 0x5c515c
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x118]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x118]
mov edx, 0x5c5188
call fcn.00404f34
jne 0x5c467c
push 0x5c5194
mov eax, dword [ebx + 0x3f4]
mov ecx, dword [eax + 0x24c]
dec ecx
xor edx, edx
mov eax, dword [ebx + 0x3f4]
call fcn.004c1a98
jmp 0x5c46e5
mov edx, 0x5c515c
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x11c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x11c]
mov edx, 0x5c51a4
call fcn.00404f34
jne 0x5c46c6
push 0x5c51b0
mov eax, dword [ebx + 0x3f4]
mov ecx, dword [eax + 0x24c]
dec ecx
xor edx, edx
mov eax, dword [ebx + 0x3f4]
call fcn.004c1a98
jmp 0x5c46e5
push 0x5c51c0
mov eax, dword [ebx + 0x3f4]
mov ecx, dword [eax + 0x24c]
dec ecx
xor edx, edx
mov eax, dword [ebx + 0x3f4]
call fcn.004c1a98
lea eax, [ebp - 0x120]
push eax
mov edx, 0x5c51d0
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x124]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x124]
mov ecx, 5
mov edx, 6
call fcn.00405048
mov eax, dword [ebp - 0x120]
push eax
mov edi, dword [ebx + 0x3f4]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 1
mov eax, edi
call fcn.004c1a98
mov edx, 0x5c4ed4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x12c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x12c]
lea edx, [ebp - 0x128]
call fcn.004094e8
cmp dword [ebp - 0x128], 0
je 0x5c4838
mov edx, 0x5c4ee4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x134]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004094e8
cmp dword [ebp - 0x130], 0
je 0x5c4838
mov edx, 0x5c4ed4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x140]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.004094e8
push dword [ebp - 0x13c]
push 0x5c4ef4
mov edx, 0x5c4ee4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x148]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.004094e8
push dword [ebp - 0x144]
lea eax, [ebp - 0x138]
mov edx, 3
call fcn.00404eb0
mov eax, dword [ebp - 0x138]
push eax
mov edi, dword [ebx + 0x3f4]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 2
mov eax, edi
call fcn.004c1a98
jmp 0x5c48bb
mov edx, 0x5c4ed4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x150]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.004094e8
lea eax, [ebp - 0x14c]
push eax
mov edx, 0x5c4ee4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x158]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x154]
call fcn.004094e8
mov edx, dword [ebp - 0x154]
pop eax
call fcn.00404df8
mov eax, dword [ebp - 0x14c]
push eax
mov edi, dword [ebx + 0x3f4]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 2
mov eax, edi
call fcn.004c1a98
mov edx, 0x5c514c
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x15c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x15c]
mov edx, dword [ebp - 0xc]
call fcn.00404f34
jne 0x5c4900
push 0
mov eax, dword [ebx + 0x3f4]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 3
call fcn.004c1a98
jmp 0x5c49f6
mov edx, 0x5c51dc
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x164]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0x160]
call fcn.004094e8
cmp dword [ebp - 0x160], 0
jne 0x5c4962
mov edx, 0x5c51ec
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x16c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.004094e8
cmp dword [ebp - 0x168], 0
je 0x5c49d7
mov edx, 0x5c51dc
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x174]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [ebp - 0x174]
push 0x5c51fc
mov edx, 0x5c51ec
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x178]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [ebp - 0x178]
lea eax, [ebp - 0x170]
mov edx, 3
call fcn.00404eb0
mov eax, dword [ebp - 0x170]
push eax
mov eax, dword [ebx + 0x3f4]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 3
mov eax, dword [ebx + 0x3f4]
call fcn.004c1a98
jmp 0x5c49f6
push 0
mov eax, dword [ebx + 0x3f4]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 3
mov eax, dword [ebx + 0x3f4]
call fcn.004c1a98
mov edx, 0x5c5208
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x17c]
mov eax, 0x5c4f40
call fcn.0040b048
mov eax, dword [ebp - 0x17c]
push eax
mov edi, dword [ebx + 0x3f4]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 4
mov eax, edi
call fcn.004c1a98
mov edx, 0x5c5218
mov eax, esi
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x180]
mov eax, 0x5c4f40
call fcn.0040b048
mov eax, dword [ebp - 0x180]
push eax
mov edi, dword [ebx + 0x3f4]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 5
mov eax, edi
call fcn.004c1a98
mov edx, 0x5c514c
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x184]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x184]
mov edx, dword [ebp - 0xc]
call fcn.00404f34
jne 0x5c4ae1
push 0
mov eax, dword [ebx + 0x3f4]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 6
call fcn.004c1a98
push 0
mov eax, dword [ebx + 0x3f4]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 7
call fcn.004c1a98
jmp 0x5c4b4f
mov edx, 0x5c5224
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x188]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x188]
push eax
mov edi, dword [ebx + 0x3f4]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 6
mov eax, edi
call fcn.004c1a98
mov edx, 0x5c5234
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x18c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x18c]
push eax
mov edi, dword [ebx + 0x3f4]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 7
mov eax, edi
call fcn.004c1a98
mov eax, dword [ebx + 0x3f4]
mov edx, dword [eax + 0x24c]
inc edx
call fcn.004bf88c
mov edx, 0x5c514c
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, esi
call fcn.0048643c
cmp byte [esi + 0xa1], 0
je 0x5c458a
mov eax, dword [ebx + 0x3f4]
cmp dword [eax + 0x24c], 2
jle 0x5c4bb0
mov eax, dword [ebx + 0x3f4]
mov edx, dword [eax + 0x24c]
dec edx
mov eax, dword [ebx + 0x3f4]
call fcn.004bf88c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c4c2d
lea eax, [ebp - 0x18c]
mov edx, 0x20
call fcn.00404b5c
lea eax, [ebp - 0x10c]
call fcn.00405c34
lea eax, [ebp - 0xfc]
mov edx, 0xa
call fcn.00404b5c
lea eax, [ebp - 0xc4]
mov edx, 0x1e
call fcn.00404b5c
lea eax, [ebp - 0x4c]
mov edx, dword [0x40113c]
mov ecx, 3
call fcn.0040572c
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404b5c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404b5c
ret