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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x4b4c84
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4b5323
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x6c]
call fcn.004b3af0
cmp byte [ebx + 0x60], 0
jne 0x4b4ccc
mov eax, dword [ebx + 0x6c]
call fcn.0041cf00
test eax, eax
jne 0x4b4cc3
mov dl, 2
mov eax, ebx
call fcn.004b5ea8
jmp 0x4b4ccc
mov dl, 1
mov eax, ebx
call fcn.004b5ea8
mov eax, dword [ebx + 0x6c]
call fcn.0041cf00
mov esi, eax
sub esi, 1
jno 0x4b4ce0
call fcn.00404718
test esi, esi
jl 0x4b4db2
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x6c]
call fcn.004b3c08
mov edx, dword [eax + 0x10]
lea eax, [ebp - 8]
call fcn.004057e0
cmp dword [ebp - 8], 0
je 0x4b4daa
cmp byte [ebx + 0x60], 1
jne 0x4b4d6e
push 0
mov eax, 0x4b533c
mov dword [ebp - 0x28], eax
mov eax, 0x4b534c
mov dword [ebp - 0x24], eax
mov eax, 0x4b535c
mov dword [ebp - 0x20], eax
mov eax, 0x4b536c
mov dword [ebp - 0x1c], eax
mov eax, 0x4b537c
mov dword [ebp - 0x18], eax
mov eax, 0x4b5398
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x28]
mov ecx, 5
mov eax, dword [ebp - 8]
call fcn.00481cc0
inc eax
jne 0x4b4daa
mov edx, edi
mov eax, dword [ebx + 0x6c]
call fcn.004b3c08
add eax, 0x10
mov edx, 0x4b536c
call fcn.0040579c
jmp 0x4b4daa
push 0
mov eax, 0x4b53ac
mov dword [ebp - 0x30], eax
mov eax, 0x4b53b8
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x30]
mov ecx, 1
mov eax, dword [ebp - 8]
call fcn.00481cc0
inc eax
jne 0x4b4daa
mov edx, edi
mov eax, dword [ebx + 0x6c]
call fcn.004b3c08
add eax, 0x10
mov edx, 0x4b53ac
call fcn.0040579c
inc edi
dec esi
jne 0x4b4ceb
mov eax, dword [ebx + 0x6c]
call fcn.0041cf00
test eax, eax
jle 0x4b4df9
cmp dword [ebx + 0x48], 0
je 0x4b4df9
push 0
mov eax, 0x4b533c
mov dword [ebp - 0x3c], eax
mov eax, 0x4b534c
mov dword [ebp - 0x38], eax
mov eax, 0x4b535c
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x3c]
mov ecx, 2
mov eax, dword [ebx + 0x48]
call fcn.00481cc0
inc eax
jne 0x4b4df9
lea eax, [ebx + 0x48]
call fcn.00405748
cmp byte [ebx + 0x60], 1
jne 0x4b4e8e
mov eax, dword [ebx + 0x70]
call fcn.004b45cc
lea edx, [ebp - 0xc]
mov eax, dword [0x4ae498]
call fcn.004ae674
or ecx, 0xffffffff
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x70]
call fcn.004b486c
mov eax, dword [ebx + 0x44]
call fcn.00405a18
test eax, eax
jne 0x4b4e81
mov eax, dword [ebx + 0x6c]
cmp dword [eax + 0x2c], 1
jle 0x4b4e5f
cmp dword [eax + 0x20], 0
jle 0x4b4e50
lea eax, [ebx + 0x44]
mov edx, 0x4b53c4
call fcn.0040579c
jmp 0x4b4e81
lea eax, [ebx + 0x44]
mov edx, 0x4b53dc
call fcn.0040579c
jmp 0x4b4e81
cmp dword [eax + 0x20], 0
jle 0x4b4e74
lea eax, [ebx + 0x44]
mov edx, 0x4b53c4
call fcn.0040579c
jmp 0x4b4e81
lea eax, [ebx + 0x44]
mov edx, 0x4b53fc
call fcn.0040579c
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 - 0xd]
mov eax, ebx
call fcn.004b5f00
mov edx, dword [ebx + 0x68]
mov eax, dword [ebx + 0xc0]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp byte [ebx + 0x60], 1
jne 0x4b4ec5
mov eax, dword [ebx + 0x6c]
call fcn.0041cf00
dec eax
jne 0x4b4ec5
mov eax, ebx
call fcn.004b4bc8
test al, al
jne 0x4b4ec9
xor eax, eax
jmp 0x4b4ecb
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, byte [ebp - 0xd]
mov eax, dword [ebx + 0x64]
call fcn.0049c854
mov ecx, dword [ebp - 0x40]
mov edx, 0x4b5410
mov eax, esi
call fcn.00499068
mov eax, dword [ebp - 4]
push eax
push 0
push 0
lea eax, [ebp - 0x44]
push eax
movzx ecx, byte [ebp - 0xd]
xor edx, edx
mov eax, dword [ebx + 0x90]
call fcn.0049cfd0
mov ecx, dword [ebp - 0x44]
mov edx, 0x4b5420
mov eax, esi
call fcn.00499068
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp - 0xd]
mov eax, dword [ebx + 0x98]
call fcn.0049c854
mov ecx, dword [ebp - 0x48]
mov edx, 0x4b5430
mov eax, esi
call fcn.00499068
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp - 0xd]
mov eax, dword [ebx + 0x40]
call fcn.0049c854
mov ecx, dword [ebp - 0x4c]
mov edx, 0x4b543c
mov eax, esi
call fcn.00499068
cmp byte [ebx + 0xc5], 0
jne 0x4b4f97
xor ecx, ecx
mov edx, 0x4b5448
mov eax, esi
call fcn.00499068
jmp 0x4b4fbf
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp - 0xd]
mov eax, dword [ebx + 0x34]
call fcn.0049c854
mov ecx, dword [ebp - 0x50]
mov edx, 0x4b5448
mov eax, esi
call fcn.00499068
lea edx, [ebp - 0x54]
mov eax, dword [ebx + 0x78]
call fcn.0041d7d8
mov ecx, dword [ebp - 0x54]
mov edx, 0x4b5454
mov eax, esi
call fcn.00499068
cmp byte [ebx + 0x60], 1
jne 0x4b50f4
cmp byte [ebx + 0xc6], 0
je 0x4b502c
mov ecx, 0x4b5468
mov edx, 0x4b5474
mov eax, esi
call fcn.00499068
xor ecx, ecx
mov edx, 0x4b548c
mov eax, esi
call fcn.00499068
xor ecx, ecx
mov edx, 0x4b54a4
mov eax, esi
call fcn.00499068
xor ecx, ecx
mov edx, 0x4b54c8
mov eax, esi
call fcn.00499068
jmp 0x4b5112
mov ecx, dword [ebx + 0x44]
mov edx, 0x4b548c
mov eax, esi
call fcn.00499068
cmp dword [ebx + 0x3c], 0
jbe 0x4b508b
lea ecx, [ebp - 0x5c]
mov edx, 0x4b548c
mov eax, esi
call fcn.00498e54
push dword [ebp - 0x5c]
push 0x4b54e4
push 0x4b54f0
push 0x4b54fc
push 0x4b5508
push dword [ebx + 0x3c]
push 0x4b551c
lea eax, [ebp - 0x58]
mov edx, 7
call fcn.00405adc
mov ecx, dword [ebp - 0x58]
mov edx, 0x4b548c
mov eax, esi
call fcn.00499068
mov eax, dword [ebx + 0x6c]
call fcn.0041cf00
test eax, eax
jle 0x4b50d2
lea ecx, [ebp - 0x64]
mov edx, 0x4b548c
mov eax, esi
call fcn.00498e54
push dword [ebp - 0x64]
push 0x4b5528
push dword [ebp - 0xc]
push 0x4b551c
lea eax, [ebp - 0x60]
mov edx, 4
call fcn.00405adc
mov ecx, dword [ebp - 0x60]
mov edx, 0x4b548c
mov eax, esi
call fcn.00499068
mov ecx, 0x4b5468
mov edx, 0x4b5474
mov eax, esi
call fcn.00499068
mov ecx, dword [ebx + 0x48]
mov edx, 0x4b54a4
mov eax, esi
call fcn.00499068
jmp 0x4b5112
mov ecx, dword [ebx + 0x48]
mov edx, 0x4b54a4
mov eax, esi
call fcn.00499068
mov ecx, dword [ebx + 0x44]
mov edx, 0x4b548c
mov eax, esi
call fcn.00499068
lea edx, [ebp - 0x68]
mov eax, dword [ebx + 0xa8]
call fcn.00499940
mov ecx, dword [ebp - 0x68]
mov edx, 0x4b5540
mov eax, esi
call fcn.00499068
push 0
push 0
push 0
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp - 0xd]
mov eax, dword [ebx + 0xa4]
call fcn.0049c854
mov ecx, dword [ebp - 0x6c]
mov edx, 0x4b5550
mov eax, esi
call fcn.00499068
mov eax, dword [ebp - 4]
push eax
push 0
push 0
lea eax, [ebp - 0x70]
push eax
movzx ecx, byte [ebp - 0xd]
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.0049cfd0
mov ecx, dword [ebp - 0x70]
mov edx, 0x4b5564
mov eax, esi
call fcn.00499068
push 0
push 0
push 0
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp - 0xd]
mov eax, dword [ebx + 0x94]
call fcn.0049beb8
mov ecx, dword [ebp - 0x74]
mov edx, 0x4b557c
mov eax, esi
call fcn.00499068
mov ecx, dword [ebx + 0x9c]
mov edx, 0x4b55a0
mov eax, esi
call fcn.00499068
mov eax, ebx
call fcn.004b5e40
test al, al
je 0x4b51f5
call fcn.0040cf6c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x78]
xor eax, eax
call fcn.004838d8
mov ecx, dword [ebp - 0x78]
mov edx, 0x4b55b4
mov eax, esi
call fcn.00499068
jmp 0x4b5214
push dword [ebx + 0x54]
push dword [ebx + 0x50]
lea edx, [ebp - 0x7c]
xor eax, eax
call fcn.004838d8
mov ecx, dword [ebp - 0x7c]
mov edx, 0x4b55b4
mov eax, esi
call fcn.00499068
cmp byte [ebx + 0x8c], 2
je 0x4b5247
lea edx, [ebp - 0x80]
movzx eax, byte [ebx + 0x8c]
add eax, 1
jno 0x4b5231
call fcn.00404718
call fcn.0040a6d4
mov ecx, dword [ebp - 0x80]
mov edx, 0x4b55c4
mov eax, esi
call fcn.00499068
jmp 0x4b526c
mov edx, 0x4b55c4
mov eax, esi
call fcn.00498fd8
test eax, eax
jl 0x4b526c
mov edx, 0x4b55c4
mov eax, esi
call fcn.00498fd8
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 0x4b5282
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.004b5fa0
cmp dword [ebp - 0x84], 0
jne 0x4b52d9
lea ecx, [ebp - 0x88]
mov edx, 0x4b55d8
mov eax, esi
call fcn.00498e54
cmp dword [ebp - 0x88], 0
je 0x4b52f8
lea ecx, [ebp - 0x8c]
mov edx, 0x4b55d8
mov eax, esi
call fcn.00498e54
mov ecx, dword [ebp - 0x8c]
mov edx, 0x4b55ec
mov eax, esi
call fcn.00499068
jmp 0x4b52f8
lea edx, [ebp - 0x90]
mov eax, ebx
call fcn.004b5fa0
mov ecx, dword [ebp - 0x90]
mov edx, 0x4b55ec
mov eax, esi
call fcn.00499068
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b532a
lea eax, [ebp - 0x90]
mov edx, 0x15
call fcn.0040576c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040576c
ret