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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x97ffc0]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push ebx
push ebp
mov ecx, dword [eax + 0x10]
xor ebp, ebp
push esi
mov esi, dword [eax + 4]
mov dword [esp + 0x20], edx
lea edx, [eax + 0x18]
cmp ecx, edx
mov byte [esp + 0xe], 0
push edi
mov ebx, dword [esi + 4]
cmovne ebp, ecx
xor eax, eax
mov dword [esp + 0x20], ebp
test ebx, ebx
cmovne eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x30]
cmp dword [eax + 0x30], 2
jne 0x4b1868
xor edi, edi
cmp ecx, edx
cmovne edi, ecx
xor eax, eax
test ebx, ebx
push eax
cmove esi, eax
push dword [edi + 0x30]
call fcn.00462500
add esp, 8
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
cmp ecx, esi
jne 0x4b156a
push eax
jmp 0x4b1551
cmp ecx, ebp
je 0x4b1868
mov eax, dword [ecx]
cmp dword [eax], 0
jne 0x4b1585
lea eax, [ecx + 0x18]
cmp dword [ecx + 0x10], eax
je 0x4b1868
mov ebp, dword [ebp + 0x10]
mov eax, dword [ebp]
test eax, eax
je 0x4b1851
test ebp, ebp
je 0x4b1851
xor ecx, ecx
cmp dword [eax], ecx
cmovne ecx, eax
mov dword [esp + 0x18], ecx
cmp dword [ebp + 0xc], 0
jne 0x4b1823
mov eax, dword [ebp + 0x18]
cmp eax, 0x159
je 0x4b1823
push eax
call fcn.00409d30
add esp, 4
test al, al
jne 0x4b1823
push ebp
call fcn.004071c0
add esp, 4
test al, al
jne 0x4b1823
imul ecx, dword [ebp + 0x18], 0x64
mov dl, byte [ecx + 0x51455c]
cmp dl, 1
jne 0x4b1601
mov eax, dword [ecx + 0x514560]
cmp eax, dword [ecx + 0x514574]
jne 0x4b1823
cmp byte [ebp + 0x35], 0x40
jne 0x4b1612
test byte [esp + 0x78], 2
jne 0x4b1823
xor bl, bl
mov byte [esp + 0x13], 1
xor esi, esi
mov byte [esp + 0x11], 1
mov bh, 1
test dl, dl
je 0x4b1823
lea edi, [ebp + 0x44]
nop dword [eax]
mov eax, dword [edi]
mov ecx, dword [eax]
cmp dword [ecx + 0xc], 8
lea eax, [ecx + 8]
jne 0x4b169e
mov edx, dword [esp + 0x20]
cmp dword [eax], edx
jne 0x4b169e
mov eax, dword [ecx + 0x18]
mov dword [esp + esi*4 + 0x28], 0
mov dword [esp + esi*4 + 0x48], 0
cmp dword [eax], 0
je 0x4b16ba
test eax, eax
je 0x4b16ba
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 0x18]
cmp dword [eax + 8], ecx
jne 0x4b168b
mov ecx, dword [edx]
mov ecx, dword [ecx + 0xc]
cmp ecx, 7
je 0x4b1681
mov byte [esp + 0x11], 0
cmp ecx, 5
je 0x4b1683
xor bh, bh
mov dword [esp + esi*4 + 0x28], edx
mov bl, 1
jmp 0x4b168f
mov dword [esp + esi*4 + 0x48], edx
mov ecx, dword [eax]
mov eax, ecx
cmp dword [ecx], 0
je 0x4b16ba
test eax, eax
jne 0x4b1661
jmp 0x4b16ba
push dword [esp + 0x14]
push dword [eax]
call fcn.00413af0
add esp, 8
test al, al
je 0x4b16d7
mov eax, dword [edi]
mov dword [esp + esi*4 + 0x28], eax
mov dword [esp + esi*4 + 0x48], eax
imul eax, dword [ebp + 0x18], 0x64
inc esi
add edi, 0x20
movzx eax, byte [eax + 0x51455c]
cmp esi, eax
jb 0x4b1630
mov al, byte [esp + 0x13]
jmp 0x4b16d9
xor al, al
test bl, bl
je 0x4b1823
test al, al
je 0x4b1823
cmp byte [esp + 0x11], 0
jne 0x4b1735
test bh, bh
jne 0x4b1735
mov ecx, dword [ebp + 0x2c]
lea eax, [ebp + 0x28]
test ecx, ecx
je 0x4b1823
cmp ecx, eax
je 0x4b1823
cmp dword [ecx + 4], eax
jne 0x4b1823
mov eax, dword [ebp + 0x2c]
test byte [eax - 4], 1
jne 0x4b1823
push 1
push dword [eax - 4]
call fcn.004b0120
add esp, 8
test al, al
je 0x4b1823
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
lea eax, [esp + 0x28]
push eax
push ebp
push edi
mov dword [edi], 1
call fcn.004affa0
mov edx, dword [esp + 0x28]
mov ebx, eax
add esp, 0xc
lea eax, [edx + 0x18]
cmp dword [edx + 0x10], eax
je 0x4b1777
mov ecx, dword [edx + 0x1c]
test ecx, ecx
je 0x4b1777
cmp dword [ecx + 0xc], 6
jne 0x4b1777
mov eax, 2
jmp 0x4b177e
mov eax, 1
mov ecx, edx
mov dword [edi], eax
lea eax, [esp + 0x48]
push eax
push ebp
push edi
mov dword [edi + 4], ecx
call fcn.004affa0
push dword [edi + 0x10]
mov esi, eax
call fcn.00409e30
push ebx
push dword [esp + 0x28]
mov edi, eax
push edi
call fcn.00409dd0
push esi
push dword [esp + 0x3c]
push edi
call fcn.00409dd0
movzx eax, byte [esi + 0x11]
push eax
movzx eax, byte [esi + 0x10]
push eax
lea eax, [edi + 0x28]
push eax
push edi
call fcn.00407ee0
mov edx, dword [esp + 0x58]
add esp, 0x38
mov ecx, dword [edx + 0x10]
cmp dword [ecx], 0
je 0x4b17eb
test ecx, ecx
je 0x4b17eb
cmp dword [ecx + 0xc], 8
jne 0x4b183c
mov eax, dword [ecx]
mov ecx, eax
cmp dword [eax], 0
je 0x4b17eb
test ecx, ecx
jne 0x4b17d8
mov eax, 1
mov ecx, edx
mov edx, dword [esp + 0x24]
push edi
push edx
mov dword [edx], eax
mov dword [edx + 4], ecx
call fcn.0041dc20
lea eax, [edi + 0x28]
push eax
lea eax, [ebp + 0x24]
push eax
call fcn.00407f30
push ebp
call fcn.00409650
push ebp
call fcn.00409180
add esp, 0x18
mov byte [esp + 0x12], 1
mov eax, dword [esp + 0x18]
mov ebp, eax
test eax, eax
je 0x4b1843
mov eax, dword [eax]
test eax, eax
je 0x4b1843
xor ecx, ecx
cmp dword [eax], ecx
cmovne ecx, eax
jmp 0x4b1845
mov eax, 2
jmp 0x4b17f2
xor ecx, ecx
mov dword [esp + 0x18], ecx
test ebp, ebp
jne 0x4b15a6
mov al, byte [esp + 0x12]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004eee05
add esp, 0x5c
ret
mov ecx, dword [esp + 0x68]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004eee05
add esp, 0x5c
ret