Function at 0x5f49934d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call sym.MFC42D.DLL_Ordinal_1100
xor ecx, ecx
mov cl, byte [eax + 0x14]
test ecx, ecx
je 0x5f499378
push 0x30
push str.app3d.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f499378
int3
xor edx, edx
test edx, edx
jne 0x5f499359
cmp dword [0x5f4cfcec], 0
je 0x5f499391
mov eax, 1
jmp 0x5f499560
mov ecx, 0x5f4cff74
call fcn.5f491bf0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x5f499547
push str.CTL3D32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x5f499486
push 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push 0xd
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push 0x10
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push 0x18
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 6
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
push 0x15
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
push 0x16
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
push 3
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
push 0x19
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x5f4994c3
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x14], 0
je 0x5f4994c3
mov edx, dword [ebp - 4]
cmp dword [edx + 0x1c], 0
je 0x5f4994c3
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0
je 0x5f4994c3
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x5f4994c3
call sym.MFC42D.DLL_Ordinal_1096
push eax
mov edx, dword [ebp - 4]
call dword [edx + 0xc]
test eax, eax
jne 0x5f49953d
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x5f49953d
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 1
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x5f499554
xor eax, eax
jmp 0x5f499560
call sym.MFC42D.DLL_Ordinal_1096
push eax
mov eax, dword [ebp - 4]
call dword [eax + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret