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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
push ebx
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x20], 0
push esi
push edi
jne 0x6547a8
cmp byte [ebx + 0x41], 0
jne 0x6547a8
cmp dword [ebx + 0x14], 0
je 0x65443c
cmp dword [ebx + 0x31], 0
lea esi, [ebx + 0x31]
jne 0x65443c
push 0x1cb
call fcn.004aefd0
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
je 0x654417
push 0
push ecx
mov edi, esp
call fcn.004c1f10
mov dword [edi], eax
mov edi, dword [esp + 0x1c]
lea ecx, [ebx + 0x3d]
lea eax, [ebx + 0x39]
call fcn.00650a10
jmp 0x654419
xor eax, eax
mov edi, eax
mov dword [ebx + 0x35], eax
call fcn.00685830
mov ecx, dword [ebx + 0x35]
xor edi, edi
cmp dword [esi], edi
jne 0x654451
cmp ecx, edi
je 0x654439
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 1
call edx
mov dword [ebx + 0x35], edi
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.005ebcd0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x14]
mov edx, dword [ecx + 0x10]
add ecx, 0x10
push eax
mov eax, dword [edx + 4]
call eax
test al, al
jne 0x654481
call fcn.00483d60
mov esi, dword [ebp + 0xc]
mov ecx, esi
mov dword [ebx + 0x35], edi
call fcn.005ebcd0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
test al, al
jne 0x6546ff
mov eax, dword [ebx + 0x35]
mov edx, dword [eax + 0x10]
mov edx, dword [edx + 8]
lea ecx, [eax + 0x10]
mov eax, dword [ebx + 0x14]
push eax
call edx
call fcn.00483d60
mov eax, dword [ebx + 0x14]
lea edx, [esp + 0x1c]
mov dword [ebx + 0x35], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
jne 0x654505
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.005ebcd0
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x6544e6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x6547c5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov edi, dword [eax]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x28]
push eax
lea esi, [esp + 0x1c]
mov byte [esp + 0x17], 0
add edi, 0xc
call fcn.00685df0
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
push 1
push ecx
call edx
test eax, eax
jne 0x6546ba
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6546b3
mov ecx, dword [eax]
lea edx, [esp + 0xc0]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
test eax, eax
jl 0x654684
push 0xd
lea ecx, [esp + 0xc4]
push str.Null_Renderer
push ecx
call fcn.0069cfe9
add esp, 0xc
test eax, eax
je 0x654684
mov ecx, dword [ebx + 0x21]
test ecx, ecx
mov eax, dword [esp + 0x18]
je 0x654597
cmp eax, ecx
je 0x654684
mov dword [esp + 0x24], 0
mov edi, dword [eax]
lea esi, [esp + 0x24]
mov dword [esp + 0x14], eax
add edi, 0x28
call fcn.00685df0
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edi]
push edx
call eax
mov edi, dword [esp + 0x24]
test edi, edi
je 0x654684
mov dword [esp + 0x20], 0
mov eax, dword [edi]
push 0
lea esi, [esp + 0x24]
mov dword [esp + 0x18], eax
call fcn.00685df0
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
push 1
push edi
call ecx
test eax, eax
jne 0x65465b
mov eax, dword [esp + 0x20]
test eax, eax
je 0x65465b
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
lea ecx, [esp + 0x2c]
push ecx
push eax
call edx
cmp dword [esp + 0x2c], 1
jne 0x654635
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x78]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, 0x6bc420
lea ecx, [esp + 0x78]
call fcn.00401050
test eax, eax
je 0x654635
mov byte [esp + 0x13], 1
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
push 0
lea esi, [esp + 0x24]
mov dword [esp + 0x18], eax
call fcn.00685df0
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
push 1
push edi
call ecx
test eax, eax
je 0x6545f1
lea esi, [esp + 0x20]
call fcn.00483d60
mov eax, dword [esp + 0x20]
test eax, eax
je 0x654674
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x654684
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov edi, dword [eax]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x28]
push eax
lea esi, [esp + 0x1c]
add edi, 0xc
call fcn.00685df0
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
push 1
push ecx
call edx
test eax, eax
je 0x654541
cmp byte [esp + 0x13], 0
jne 0x6546f3
mov esi, dword [ebp + 0xc]
push 0x12
call fcn.005ebd00
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6546d4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x6547c5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.005ebcd0
jmp 0x6546c4
lea edi, [esp + 0x30]
mov esi, ebx
call fcn.005fe990
test al, al
je 0x65443c
mov eax, ebx
call fcn.00654df0
test al, al
je 0x65443c
push 0x26
call fcn.004aefd0
add esp, 4
test eax, eax
mov dword [esp + 0x28], eax
je 0x654759
mov esi, edi
call fcn.005fd690
mov byte [esp + 0x13], al
call fcn.005fd650
mov cl, byte [esp + 0x13]
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x28]
mov dl, cl
mov ecx, eax
call fcn.005feaf0
jmp 0x65475b
xor eax, eax
lea esi, [esp + 0x14]
mov dword [ebx + 0x46], eax
call fcn.005ebdb0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x654774
mov al, byte [eax + 8]
jmp 0x654776
mov al, 1
mov ecx, dword [ebx + 0x35]
lea esi, [esp + 0x30]
mov byte [ecx + 0x1b2], al
call fcn.0063e500
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x14]
call fcn.005ebd80
lea ecx, [esp + 0x14]
call fcn.005ebde0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x73658c]
test eax, eax
jne 0x6547b6
call fcn.005ebef0
mov esi, dword [ebp + 0xc]
mov dword [esi], eax
mov edx, dword [eax + 0xe]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc