Function at 0x47c1b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
add ebx, ebx
inc ebx
test ebx, ebx
js 0x47c1d1
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x47c1ca
mov edx, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47c572
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
call fcn.0047c170
pop ecx
test al, al
jne 0x47c208
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov byte [eax + 0x7c], 0
mov byte [ebp - 0xd], 1
jmp 0x47c55c
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0047b904
mov ecx, 0x64
cdq
idiv ecx
mov esi, eax
cmp esi, 3
jne 0x47c236
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0047b904
cmp eax, 0x130
jne 0x47c246
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp dword [eax + 0x58], 0
je 0x47c410
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x58]
call fcn.00403d1c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0x100], 0
je 0x47c328
mov edx, dword [eax + 0xf8]
cmp edx, dword [eax + 0xfc]
jge 0x47c328
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0xa0]
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0xf8]
push eax
lea ecx, [ebp - 0x15]
lea edx, [ebp - 0x14]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xa4]
test al, al
je 0x47c312
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
add eax, 0x9c
mov edx, dword [ebp - 0x14]
call fcn.00403cd8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0047b904
cmp eax, 0x12e
je 0x47c2e7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0047b904
cmp eax, 0x12f
jne 0x47c301
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
mov dword [eax + 0xa4], edx
mov byte [eax + 0xa0], 1
jmp 0x47c383
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, byte [ebp - 0x15]
mov byte [eax + 0xa0], dl
jmp 0x47c383
push ebp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.0047bf98
pop ecx
mov byte [ebp - 0xd], 1
jmp 0x47c55c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0xa0]
mov byte [ebp - 0x15], al
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0xf8]
push eax
lea ecx, [ebp - 0x15]
lea edx, [ebp - 0x14]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xa4]
test al, al
jne 0x47c372
push ebp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.0047bf98
pop ecx
mov byte [ebp - 0xd], 1
jmp 0x47c55c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
add eax, 0x58
mov edx, dword [ebp - 0x14]
call fcn.00403cd8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
je 0x47c55c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x6c]
mov edx, dword [eax + 0x98]
mov dword [ebp - 0x1c], edx
xor edx, edx
push ebp
push 0x47c409
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [eax + 0x98], 0xfa0
xor eax, eax
push ebp
push 0x47c3df
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
call fcn.0047c0e4
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47c3e9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c55c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x98], edx
ret
cmp esi, 2
je 0x47c51e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0047b904
sub eax, 0x191
je 0x47c435
sub eax, 6
je 0x47c4a0
jmp 0x47c50b
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0xd0]
cmp eax, dword [ebx + 0xe4]
jge 0x47c463
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x9c]
test al, al
jne 0x47c48e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x90]
test eax, eax
je 0x47c478
mov edx, dword [eax]
call dword [edx + 0x20]
push ebp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.0047bf98
pop ecx
mov byte [ebp - 0xd], 1
jmp 0x47c55c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
test byte [eax + 0x101], 1
setne bl
jmp 0x47c51e
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0xd4]
cmp eax, dword [ebx + 0xe4]
jge 0x47c4ce
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xa0]
test al, al
jne 0x47c4f9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x10c]
mov eax, dword [eax + 4]
test eax, eax
je 0x47c4e6
mov edx, dword [eax]
call dword [edx + 0x20]
push ebp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.0047bf98
pop ecx
mov byte [ebp - 0xd], 1
jmp 0x47c55c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
test byte [eax + 0x101], 1
setne bl
jmp 0x47c51e
push ebp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.0047bf98
pop ecx
mov byte [ebp - 0xd], 1
jmp 0x47c55c
test bl, bl
je 0x47c52f
push ebp
call fcn.0047c0e4
pop ecx
mov byte [ebp - 0xd], 4
jmp 0x47c55c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0047b904
cmp eax, 0xcc
je 0x47c558
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0047a29c
mov byte [ebp - 0xd], 1
jmp 0x47c55c
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c579
lea eax, [ebp - 0x14]
call fcn.00403c84
ret