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

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x80]
push ebp
push esi
mov eax, dword [ebx]
mov esi, ecx
push edi
mov ecx, ebx
call dword [eax + 0x48]
mov ecx, dword [0x5e1e40]
mov edx, dword [esp + 0x80]
inc ecx
mov dword [esp + 0x10], eax
mov dword [0x5e1e40], ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push ecx
mov ecx, eax
call fcn.004967e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8c], 0
call fcn.00495d00
mov edi, dword [esp + 0x84]
test edi, edi
je 0x4bc4ec
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 0x34], ecx
lea ecx, [edi + 0x14]
mov dword [esp + 0x2c], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x10]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
call fcn.00496c60
lea edx, [edi + 0x1c]
lea ecx, [esp + 0x48]
push edx
call fcn.00496c60
mov ebp, dword [esi]
test ebp, ebp
je 0x4bc6b6
mov al, byte [ebp + 0x54]
test al, 1
je 0x4bc64b
test al, 4
jne 0x4bc64b
cmp ebx, ebp
setne al
and al, 1
je 0x4bc64b
test ebx, ebx
je 0x4bc51c
and al, 1
test al, al
je 0x4bc64b
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x48]
mov ecx, dword [ebp + 0x38]
mov edx, eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov ecx, 9
lea esi, [esp + 0x2c]
lea edi, [esp + 0x50]
cmp eax, edx
rep movsd dword es:[edi], dword [esi]
jne 0x4bc576
mov ecx, dword [esp + 0x7c]
fld dword [ecx]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x40
je 0x4bc576
fld dword [ecx + 4]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x40
je 0x4bc576
mov al, 1
jmp 0x4bc578
xor al, al
test edx, edx
je 0x4bc644
test al, al
jne 0x4bc644
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x8c]
push edx
call fcn.00497600
test al, al
je 0x4bc644
mov ecx, dword [esp + 0x80]
mov eax, dword [ebx]
push ecx
push ebp
mov ecx, ebx
call dword [eax + 0x30]
test al, al
jne 0x4bc625
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x6c]
mov dword [esp + 0x40], ecx
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], edx
call fcn.00496c60
mov eax, dword [esp + 0x88]
mov byte [esp + 0x8c], 1
test eax, eax
je 0x4bc644
mov dword [eax], ebp
jmp 0x4bc644
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4bc644
test ebx, ebx
je 0x4bc644
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4bc644
push 1
mov edx, ebp
mov ecx, ebx
call eax
mov edi, dword [esp + 0x84]
mov ebp, dword [ebp + 0x28]
test ebp, ebp
jne 0x4bc4f6
mov al, byte [esp + 0x8c]
test al, al
je 0x4bc6b6
test edi, edi
je 0x4bc6b6
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [edi], ecx
mov ecx, dword [esp + 0x38]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x44]
mov dword [edi + 0x10], edx
lea edx, [esp + 0x48]
mov dword [edi + 0x18], ecx
push edx
lea ecx, [edi + 0x1c]
mov dword [edi + 0x14], eax
call fcn.00496c60
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4bc6b6
mov eax, dword [eax]
mov dword [esp + 0x84], eax
mov eax, dword [0x5e1e40]
pop edi
dec eax
pop esi
mov dword [0x5e1e40], eax
mov al, byte [esp + 0x84]
pop ebp
pop ebx
add esp, 0x64
ret 0x18