Function at 0x486de0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55382b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
push str.d3dim9.dll
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd8], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xdc], 0
mov dword [esi + 0xe4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
push 0x19
mov dword [ebp - 0x10], ebx
call fcn.00421990
add esp, 4
test ebx, ebx
je 0x4870d9
push str.CreateD3DIM9Test
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LaunchD3DIM9Test
push ebx
mov dword [esi + 0xd0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DeleteD3DIM9Test
push ebx
mov dword [esi + 0xd4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetPublicStatus
push ebx
mov dword [esi + 0xd8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetTestMode
push ebx
mov dword [esi + 0xe0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetPublicChecksum
push ebx
mov dword [esi + 0xdc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x23
mov dword [esi + 0xe4], eax
call fcn.00421990
mov edi, dword [esi + 0xd0]
add esp, 4
test edi, edi
jne 0x486eed
push 0x28
call fcn.00421990
add esp, 4
jmp 0x486fbe
mov ecx, edi
call dword [0x55f634]
call edi
push 0x28
movzx edi, al
call fcn.00421990
add esp, 4
test edi, edi
je 0x486fbe
mov eax, dword [esi + 0xdc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4870a2
cmp byte [esi + 0xe9], 1
mov ecx, eax
jne 0x486f2c
push 1
jmp 0x486f2e
push 2
call dword [0x55f634]
call dword [ebp - 0x14]
add esp, 4
push 0x2d
call fcn.00421990
add esp, 4
cmp edi, 1
jne 0x486fbe
mov edi, dword [esi + 0xd4]
test edi, edi
je 0x487091
mov ecx, edi
call dword [0x55f634]
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x487159
cmp ebx, 0xfffffffe
je 0x487274
mov eax, 0xfffffffe
cmp ebx, 0xfffffffd
push 0x32
cmove ebx, eax
call fcn.00421990
add esp, 4
mov edi, ebx
cmp ebx, 1
jne 0x486fbb
cmp byte [esi + 0xe9], 0
je 0x486ff8
mov edi, dword [esi + 0xe0]
test edi, edi
je 0x486fe5
mov ecx, edi
call dword [0x55f634]
call edi
push 0x3c
movzx edi, al
call fcn.00421990
add esp, 4
mov ebx, dword [ebp - 0x10]
push 0x50
call fcn.00421990
mov esi, dword [esi + 0xd8]
add esp, 4
test esi, esi
je 0x4870b3
mov ecx, esi
call dword [0x55f634]
call esi
jmp 0x4870b5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0xeb], 0
mov edi, ebx
je 0x486fbb
mov edi, dword [esi + 0xe4]
test edi, edi
je 0x48708a
mov ecx, edi
call dword [0x55f634]
call edi
push 0x3c
mov edi, eax
call fcn.00421990
add esp, 4
cmp byte [esi + 0xe8], 0
je 0x487079
sub esp, 0x18
lea eax, [esi + 0xf8]
mov ecx, esp
push eax
call fcn.00402c00
push 1
push edi
push 0x400a
call fcn.00409ee0
push 0x46
mov edi, eax
call fcn.00421990
add esp, 0x28
test edi, edi
jns 0x486fbb
push 0x56079c
push 0x5f
push 8
call fcn.004204c0
add esp, 0xc
mov edi, 0xfffffffd
jmp 0x486fbb
push 0x46
call fcn.00421990
add esp, 4
mov edi, ebx
jmp 0x486fbb
xor edi, edi
jmp 0x486fbb
push 0x32
xor edi, edi
call fcn.00421990
add esp, 4
jmp 0x486fbe
push 0x2d
xor edi, edi
call fcn.00421990
add esp, 4
jmp 0x486fbe
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x5a
call fcn.00421990
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
push 0x31
push 8
call fcn.004204a0
mov edx, dword [ebp - 0x20]
add esp, 0xc
cmp edx, 0x10
jb 0x487145
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48713b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48738f
push edx
push ecx
call fcn.004c824c
add esp, 8
mov ecx, dword [ebp - 0xc]
or eax, 0xffffffff
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.0043d8f0
add esp, 8
lea ecx, [esi + 0x154]
push eax
call fcn.00413b90
lea ecx, [ebp - 0x34]
call fcn.00403550
sub esp, 0x18
mov ecx, esp
push str.990669
call fcn.00408370
movzx eax, word [esi + 0x120]
mov ecx, esi
push eax
call fcn.004873a0
movzx eax, byte [esi + 0x110]
push eax
push dword [esi + 0x11c]
lea eax, [esi + 0x124]
sub esp, 0xcc
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00433e90
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x567550
call fcn.00408370
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [esi + 0xa0]
mov ecx, esp
push eax
call fcn.00402c00
mov dword [ebp - 4], 0xffffffff
call fcn.004396b0
add esp, 0x104
lea ecx, [ebp - 0x34]
push 0x56079c
call fcn.00408370
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 3
push eax
push 0xda
push 8
call fcn.004204a0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403550
push 0x14
call fcn.004c821c
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x48725a
push 0xf1dcd
mov ecx, eax
call fcn.00417f90
jmp 0x48725c
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x582dc0
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.004e4900
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.0043d8f0
add esp, 8
lea ecx, [esi + 0x154]
push eax
call fcn.00413b90
lea ecx, [ebp - 0x34]
call fcn.00403550
sub esp, 0x18
mov ecx, esp
push str.990670
call fcn.00408370
movzx eax, word [esi + 0x120]
mov ecx, esi
push eax
call fcn.004873a0
movzx eax, byte [esi + 0x110]
push eax
push dword [esi + 0x11c]
lea eax, [esi + 0x124]
sub esp, 0xcc
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00433e90
sub esp, 0x18
mov dword [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x567550
call fcn.00408370
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [esi + 0xa0]
mov ecx, esp
push eax
call fcn.00402c00
mov dword [ebp - 4], 0xffffffff
call fcn.004396b0
add esp, 0x104
lea ecx, [ebp - 0x34]
push 0x56079c
call fcn.00408370
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 7
push eax
push 0xdb
push 8
call fcn.004204a0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403550
push 0x14
call fcn.004c821c
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 8
test eax, eax
je 0x487375
push 0xf1dce
mov ecx, eax
call fcn.00417f90
jmp 0x487377
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 0x582dc0
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.004e4900
call fcn.004f1161
int3