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

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ecx
cmp dword [ebx + 0x60], 0
je 0x104d4989
cmp byte [ebx + 0x2c0], 0
je 0x104d4989
cmp byte [ebx + 0x410], 0
je 0x104d4989
push dword [ebx + 0x78]
push 0x42
call fcn.104fa2e0
add esp, 8
test al, al
je 0x104d4989
mov ecx, dword [ebx + 0x200]
mov edx, dword [ebx + 0x30]
push ebp
push esi
mov eax, dword [ebx + ecx*8 + 0xc0]
mov esi, dword [ebx + ecx*4 + 0x94]
mov ecx, dword [ebx + ecx*8 + 0xc4]
push edi
mov edi, dword [ebx + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x78]
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call fcn.104f9cf0
add esp, 4
movzx ebp, al
mov ecx, 1
mov eax, edi
cmp edi, ecx
mov edi, dword [esp + 0x14]
push 0
push ecx
push esi
push dword [esp + 0x58]
cmovb eax, ecx
add edi, 0x1900
push dword [esp + 0x58]
imul ebp, eax
lea ecx, [esp + 0x3c]
push dword [edi]
shr ebp, 3
call fcn.104a7b30
mov esi, dword [esp + 0x14]
add esi, 0xe50
push 1
mov ecx, esi
call fcn.104cf5d0
push edi
mov ecx, esi
call fcn.104a1c80
push 1
mov ecx, esi
call fcn.104b8e80
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [eax + 0x1904]
call dword [0x10ac2e18]
mov eax, dword [ebx + 0x78]
cmp eax, 0x43
jne 0x104d489b
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
push ebp
push eax
push ebx
push esi
push ebp
push eax
call fcn.104fd900
push dword [esp + 0x74]
push ebp
push ebx
push esi
push dword [esp + 0x38]
call dword [esp + 0x84]
add esp, 0x2c
jmp 0x104d4965
cmp eax, 0x42
jne 0x104d48be
push dword [esp + 0x5c]
mov esi, dword [esp + 0x1c]
push ebp
push dword [esp + 0x4c]
push esi
push dword [esp + 0x20]
call dword [esp + 0x6c]
add esp, 0x14
jmp 0x104d4965
push 0x42
call fcn.104f9cf0
mov ebp, dword [esp + 0x1c]
movzx edi, al
lea eax, [esp + 0x1c]
imul edi, ebp
push 0xfdb
push str.F:_vcpkg_2024.05.24_buildtrees_bgfx_src_bgfx_296104bfea.clean_bgfx_src_renderer_vk.cpp
push eax
shr edi, 3
call fcn.105096b0
mov esi, dword [0x10ac2e7c]
add esp, 0x10
push dword [eax + 4]
mov ecx, dword [esi]
push dword [eax]
mov eax, edi
imul eax, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
mov ecx, esi
push 0
push eax
push 0
call edx
push 1
push dword [esp + 0x48]
mov esi, eax
push ebp
push dword [ebx + 0x78]
push dword [esp + 0x20]
push 0x42
push esi
push dword [0x10ac2e7c]
call fcn.104fa0a0
push dword [esp + 0x7c]
push edi
push dword [esp + 0x6c]
push ebp
push esi
call dword [esp + 0x8c]
push 0xfe1
lea eax, [esp + 0x58]
push str.F:_vcpkg_2024.05.24_buildtrees_bgfx_src_bgfx_296104bfea.clean_bgfx_src_renderer_vk.cpp
push eax
call fcn.105096b0
mov ecx, dword [0x10ac2e7c]
add esp, 0x40
push dword [eax + 4]
mov edx, dword [ecx]
push dword [eax]
push 0
push 0
push esi
call dword [edx + 4]
push dword [esp + 0x54]
mov eax, dword [esp + 0x18]
push dword [esp + 0x54]
push dword [eax + 0x1904]
call dword [0x10ac2e1c]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x30
ret 0x1c
xor al, al
pop ebx
add esp, 0x30
ret 0x1c