Function at 0x547de0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c505
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x59c044]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.d3dtest12.dll
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x54801f
push str.CreateD3DTest12
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LaunchD3DTest12
push ebx
mov dword [edi + 0xd0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DeleteD3DTest12
push ebx
mov dword [edi + 0xd4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetPublicStatus
push ebx
mov dword [edi + 0xd8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetTestMode
push ebx
mov dword [edi + 0xe0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetPublicChecksum
push ebx
mov dword [edi + 0xdc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [edi + 0xd0], 0
mov dword [edi + 0xe4], eax
je 0x547ff1
movq xmm0, qword [0x56aca4]
mov al, byte [0x56acac]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 9
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.0041d980
mov esi, dword [edi + 0xd0]
mov ecx, esi
push eax
call dword [0x55f634]
call esi
mov edx, dword [ebp - 0x14]
add esp, 4
movzx esi, al
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x547f64
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x547f5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5480a6
push edx
push ecx
call fcn.004c824c
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test esi, esi
je 0x547ff3
mov eax, dword [edi + 0xdc]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x547ff1
cmp byte [edi + 0xe8], 1
mov ecx, eax
jne 0x547f96
push 1
jmp 0x547f98
push 2
call dword [0x55f634]
call dword [ebp - 0x2c]
add esp, 4
cmp esi, 1
jne 0x547ff3
mov eax, dword [edi + 0xd4]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x547fc8
mov ecx, eax
call dword [0x55f634]
call dword [ebp - 0x2c]
mov esi, eax
cmp esi, 1
jne 0x547ff3
cmp byte [edi + 0xe8], 0
je 0x547ff3
mov esi, dword [edi + 0xe0]
test esi, esi
je 0x547fea
mov ecx, esi
call dword [0x55f634]
call esi
movzx esi, al
jmp 0x547ff3
xor eax, eax
jmp 0x54808a
xor esi, esi
mov edi, dword [edi + 0xd8]
test edi, edi
je 0x548012
mov ecx, edi
call dword [0x55f634]
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x54808a
push ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x54808a
push 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 0x31
push 8
call fcn.004204a0
mov edx, dword [ebp - 0x14]
add esp, 0xc
cmp edx, 0x10
jb 0x548087
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x54807d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5480ab
push edx
push ecx
call fcn.004c824c
add esp, 8
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c8e34
mov esp, ebp
pop ebp
ret
call fcn.004f1161
call fcn.004f1161
int3