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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x4bc6ec
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4bcd8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x6c]
call fcn.004bb6e8
cmp byte [ebx + 0x60], 0
jne 0x4bc734
mov eax, dword [ebx + 0x6c]
call fcn.0041c554
test eax, eax
jne 0x4bc72b
mov dl, 2
mov eax, ebx
call fcn.004bdbb8
jmp 0x4bc734
mov dl, 1
mov eax, ebx
call fcn.004bdbb8
mov eax, dword [ebx + 0x6c]
call fcn.0041c554
mov esi, eax
sub esi, 1
jno 0x4bc748
call fcn.00403b0c
test esi, esi
jl 0x4bc81a
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x6c]
call fcn.004bb808
mov edx, dword [eax + 0x10]
lea eax, [ebp - 8]
call fcn.00405808
cmp dword [ebp - 8], 0
je 0x4bc812
cmp byte [ebx + 0x60], 1
jne 0x4bc7d6
push 0
mov eax, 0x4bcda8
mov dword [ebp - 0x28], eax
mov eax, 0x4bcdc0
mov dword [ebp - 0x24], eax
mov eax, 0x4bcdd8
mov dword [ebp - 0x20], eax
mov eax, 0x4bcdf4
mov dword [ebp - 0x1c], eax
mov eax, 0x4bce10
mov dword [ebp - 0x18], eax
mov eax, 0x4bce40
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x28]
mov ecx, 5
mov eax, dword [ebp - 8]
call fcn.00486564
inc eax
jne 0x4bc812
mov edx, edi
mov eax, dword [ebx + 0x6c]
call fcn.004bb808
add eax, 0x10
mov edx, 0x4bcdf4
call fcn.004057b4
jmp 0x4bc812
push 0
mov eax, 0x4bce60
mov dword [ebp - 0x30], eax
mov eax, 0x4bce74
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x30]
mov ecx, 1
mov eax, dword [ebp - 8]
call fcn.00486564
inc eax
jne 0x4bc812
mov edx, edi
mov eax, dword [ebx + 0x6c]
call fcn.004bb808
add eax, 0x10
mov edx, 0x4bce60
call fcn.004057b4
inc edi
dec esi
jne 0x4bc753
mov eax, dword [ebx + 0x6c]
call fcn.0041c554
test eax, eax
jle 0x4bc863
cmp dword [ebx + 0x48], 0
je 0x4bc863
push 0
mov eax, 0x4bcda8
mov dword [ebp - 0x3c], eax
mov eax, 0x4bcdc0
mov dword [ebp - 0x38], eax
mov eax, 0x4bcdd8
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x3c]
mov ecx, 2
mov eax, dword [ebx + 0x48]
call fcn.00486564
inc eax
jne 0x4bc863
lea eax, [ebx + 0x48]
xor edx, edx
call fcn.004057b4
cmp byte [ebx + 0x60], 1
jne 0x4bc8f8
mov eax, dword [ebx + 0x70]
call fcn.004bc164
lea edx, [ebp - 0xc]
mov eax, dword [0x4b8958]
call fcn.004b8b4c
or ecx, 0xffffffff
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x70]
call fcn.004bc2c4
mov eax, dword [ebx + 0x44]
call fcn.00405a74
test eax, eax
jne 0x4bc8eb
mov eax, dword [ebx + 0x6c]
cmp dword [eax + 0x2c], 1
jle 0x4bc8c9
cmp dword [eax + 0x20], 0
jle 0x4bc8ba
lea eax, [ebx + 0x44]
mov edx, 0x4bce88
call fcn.004057b4
jmp 0x4bc8eb
lea eax, [ebx + 0x44]
mov edx, 0x4bceb4
call fcn.004057b4
jmp 0x4bc8eb
cmp dword [eax + 0x20], 0
jle 0x4bc8de
lea eax, [ebx + 0x44]
mov edx, 0x4bce88
call fcn.004057b4
jmp 0x4bc8eb
lea eax, [ebx + 0x44]
mov edx, 0x4bceec
call fcn.004057b4
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0x24]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 4]
lea ecx, [ebp - 4]
lea edx, [ebp - 0xe]
mov eax, ebx
call fcn.004bdc20
mov edx, dword [ebx + 0x68]
mov eax, dword [ebx + 0xc0]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp byte [ebx + 0x60], 1
jne 0x4bc92f
mov eax, dword [ebx + 0x6c]
call fcn.0041c554
dec eax
jne 0x4bc92f
mov eax, ebx
call fcn.004bc630
test al, al
jne 0x4bc933
xor eax, eax
jmp 0x4bc935
mov al, 1
mov byte [ebx + 0xc6], al
mov esi, dword [ebx + 0xc0]
push 1
push 0
push 0
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 4]
movzx edx, word [ebp - 0xe]
mov eax, dword [ebx + 0x64]
call fcn.004b2010
mov ecx, dword [ebp - 0x40]
mov edx, 0x4bcf10
mov eax, esi
call fcn.004aed38
mov eax, dword [ebp - 4]
push eax
push 0
push 0
lea eax, [ebp - 0x44]
push eax
movzx ecx, word [ebp - 0xe]
xor edx, edx
mov eax, dword [ebx + 0x90]
call fcn.004b27e8
mov ecx, dword [ebp - 0x44]
mov edx, 0x4bcf28
mov eax, esi
call fcn.004aed38
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 4]
movzx edx, word [ebp - 0xe]
mov eax, dword [ebx + 0x98]
call fcn.004b2010
mov ecx, dword [ebp - 0x48]
mov edx, 0x4bcf44
mov eax, esi
call fcn.004aed38
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 4]
movzx edx, word [ebp - 0xe]
mov eax, dword [ebx + 0x40]
call fcn.004b2010
mov ecx, dword [ebp - 0x4c]
mov edx, 0x4bcf58
mov eax, esi
call fcn.004aed38
cmp byte [ebx + 0xc5], 0
jne 0x4bca01
xor ecx, ecx
mov edx, 0x4bcf6c
mov eax, esi
call fcn.004aed38
jmp 0x4bca29
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 4]
movzx edx, word [ebp - 0xe]
mov eax, dword [ebx + 0x34]
call fcn.004b2010
mov ecx, dword [ebp - 0x50]
mov edx, 0x4bcf6c
mov eax, esi
call fcn.004aed38
lea edx, [ebp - 0x54]
mov eax, dword [ebx + 0x78]
call fcn.0041ce6c
mov ecx, dword [ebp - 0x54]
mov edx, 0x4bcf80
mov eax, esi
call fcn.004aed38
cmp byte [ebx + 0x60], 1
jne 0x4bcb5e
cmp byte [ebx + 0xc6], 0
je 0x4bca96
mov ecx, 0x4bcfa4
mov edx, 0x4bcfb8
mov eax, esi
call fcn.004aed38
xor ecx, ecx
mov edx, 0x4bcfe0
mov eax, esi
call fcn.004aed38
xor ecx, ecx
mov edx, 0x4bd008
mov eax, esi
call fcn.004aed38
xor ecx, ecx
mov edx, 0x4bd048
mov eax, esi
call fcn.004aed38
jmp 0x4bcb7c
mov ecx, dword [ebx + 0x44]
mov edx, 0x4bcfe0
mov eax, esi
call fcn.004aed38
cmp dword [ebx + 0x3c], 0
jbe 0x4bcaf5
lea ecx, [ebp - 0x5c]
mov edx, 0x4bcfe0
mov eax, esi
call fcn.004aeb10
push dword [ebp - 0x5c]
push 0x4bd07c
push 0x4bd08c
push 0x4bd0a0
push 0x4bd0b0
push dword [ebx + 0x3c]
push 0x4bd0d0
lea eax, [ebp - 0x58]
mov edx, 7
call fcn.00405c68
mov ecx, dword [ebp - 0x58]
mov edx, 0x4bcfe0
mov eax, esi
call fcn.004aed38
mov eax, dword [ebx + 0x6c]
call fcn.0041c554
test eax, eax
jle 0x4bcb3c
lea ecx, [ebp - 0x64]
mov edx, 0x4bcfe0
mov eax, esi
call fcn.004aeb10
push dword [ebp - 0x64]
push 0x4bd0e0
push dword [ebp - 0xc]
push 0x4bd0d0
lea eax, [ebp - 0x60]
mov edx, 4
call fcn.00405c68
mov ecx, dword [ebp - 0x60]
mov edx, 0x4bcfe0
mov eax, esi
call fcn.004aed38
mov ecx, 0x4bcfa4
mov edx, 0x4bcfb8
mov eax, esi
call fcn.004aed38
mov ecx, dword [ebx + 0x48]
mov edx, 0x4bd008
mov eax, esi
call fcn.004aed38
jmp 0x4bcb7c
mov ecx, dword [ebx + 0x48]
mov edx, 0x4bd008
mov eax, esi
call fcn.004aed38
mov ecx, dword [ebx + 0x44]
mov edx, 0x4bcfe0
mov eax, esi
call fcn.004aed38
lea edx, [ebp - 0x68]
mov eax, dword [ebx + 0xa8]
call fcn.004af708
mov ecx, dword [ebp - 0x68]
mov edx, 0x4bd108
mov eax, esi
call fcn.004aed38
push 0
push 0
push 0
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 4]
movzx edx, word [ebp - 0xe]
mov eax, dword [ebx + 0xa4]
call fcn.004b2010
mov ecx, dword [ebp - 0x6c]
mov edx, 0x4bd124
mov eax, esi
call fcn.004aed38
mov eax, dword [ebp - 4]
push eax
push 0
push 0
lea eax, [ebp - 0x70]
push eax
movzx ecx, word [ebp - 0xe]
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.004b27e8
mov ecx, dword [ebp - 0x70]
mov edx, 0x4bd144
mov eax, esi
call fcn.004aed38
push 0
push 0
push 0
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 4]
movzx edx, word [ebp - 0xe]
mov eax, dword [ebx + 0x94]
call fcn.004b15d4
mov ecx, dword [ebp - 0x74]
mov edx, 0x4bd16c
mov eax, esi
call fcn.004aed38
mov ecx, dword [ebx + 0x9c]
mov edx, 0x4bd1b0
mov eax, esi
call fcn.004aed38
mov eax, ebx
call fcn.004bdb50
test al, al
je 0x4bcc5f
call fcn.0040e5e0
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x78]
xor eax, eax
call fcn.00488690
mov ecx, dword [ebp - 0x78]
mov edx, 0x4bd1d4
mov eax, esi
call fcn.004aed38
jmp 0x4bcc7e
push dword [ebx + 0x54]
push dword [ebx + 0x50]
lea edx, [ebp - 0x7c]
xor eax, eax
call fcn.00488690
mov ecx, dword [ebp - 0x7c]
mov edx, 0x4bd1d4
mov eax, esi
call fcn.004aed38
cmp byte [ebx + 0x8c], 2
je 0x4bccb1
lea edx, [ebp - 0x80]
movzx eax, byte [ebx + 0x8c]
add eax, 1
jno 0x4bcc9b
call fcn.00403b0c
call fcn.0040b644
mov ecx, dword [ebp - 0x80]
mov edx, 0x4bd1ec
mov eax, esi
call fcn.004aed38
jmp 0x4bccd6
mov edx, 0x4bd1ec
mov eax, esi
call fcn.004aeca8
test eax, eax
jl 0x4bccd6
mov edx, 0x4bd1ec
mov eax, esi
call fcn.004aeca8
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebx + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4bccec
mov edx, dword [ebx + 0x5c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x40]
lea edx, [ebp - 0x84]
mov eax, ebx
call fcn.004bdcc4
cmp dword [ebp - 0x84], 0
jne 0x4bcd43
lea ecx, [ebp - 0x88]
mov edx, 0x4bd210
mov eax, esi
call fcn.004aeb10
cmp dword [ebp - 0x88], 0
je 0x4bcd62
lea ecx, [ebp - 0x8c]
mov edx, 0x4bd210
mov eax, esi
call fcn.004aeb10
mov ecx, dword [ebp - 0x8c]
mov edx, 0x4bd234
mov eax, esi
call fcn.004aed38
jmp 0x4bcd62
lea edx, [ebp - 0x90]
mov eax, ebx
call fcn.004bdcc4
mov ecx, dword [ebp - 0x90]
mov edx, 0x4bd234
mov eax, esi
call fcn.004aed38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bcd94
lea eax, [ebp - 0x90]
mov edx, 0x15
call fcn.004057ac
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004057ac
ret