Function at 0x10001bce
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov eax, str.LOLBoxD3D:LoadDll:Start
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1000194a
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10001bff
push ebx
call fcn.10009b64
add esp, 4
push dword [0x10016cfc]
push str.LOLBoxD3D:
mov ecx, 2
call fcn.1000106b
add esp, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10001c3c
push 6
call fcn.10009b6a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10001c4c
push ebx
call fcn.10009b64
add esp, 4
push dword [0x10016cfc]
push str.LOLBoxD3D:LoadDll:File:
mov ecx, 2
call fcn.1000106b
add esp, 8
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1000194a
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10001c80
push ebx
call fcn.10009b64
add esp, 4
push 0x1001623d
push dword [0x10016cfc]
call fcn.10001b31
add esp, 8
cmp eax, 0
je 0x100021c2
push str.LOLBoxLibEx.dll
push dword [0x10016cfc]
mov ecx, 2
call fcn.1000106b
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10001ccb
push ebx
call fcn.10009b64
add esp, 4
pop eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
push str.LOLBoxD3D:LoadDll:File:
mov ecx, 2
call fcn.1000106b
add esp, 8
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1000194a
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10001d00
push ebx
call fcn.10009b64
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10001d13
mov eax, 0x1001623d
push eax
push 1
mov ebx, 0x24c
call fcn.1000b030
add esp, 0x10
test eax, eax
je 0x100021c2
mov eax, str.LOLBoxD3D:LoadDll:File:have
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1000194a
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10001d4f
push ebx
call fcn.10009b64
add esp, 4
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10001d71
push 6
call fcn.10009b6a
add esp, 4
mov dword [0x10016d1c], eax
push 0x80000301
push 0
push dword [0x10016d1c]
push 1
mov ebx, 0x168
call fcn.1000a070
add esp, 0x10
mov dword [ebp - 8], eax
push dword [ebp - 8]
push str.LOLBoxD3D:LoadDll:File:H:
mov ecx, 2
call fcn.1000106b
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10001dc0
push ebx
call fcn.10009b64
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.1000194a
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10001dd9
push ebx
call fcn.10009b64
add esp, 4
mov dword [ebp - 8], esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10001df8
push 6
call fcn.10009b6a
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.1000a070
add esp, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push str.LOLBoxD3D:LoadDll:File:Error:
mov ecx, 2
call fcn.1000106b
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10001e3d
push ebx
call fcn.10009b64
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.1000194a
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10001e56
push ebx
call fcn.10009b64
add esp, 4
mov dword [ebp - 8], esp
push str._DrawMyText_52
push dword [0x10016d1c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10001e80
push 6
call fcn.10009b6a
add esp, 4
mov dword [0x10016d20], eax
mov dword [ebp - 8], esp
push str._DrawMyTextS_48
push dword [0x10016d1c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10001eaf
push 6
call fcn.10009b6a
add esp, 4
mov dword [0x10016d24], eax
mov dword [ebp - 8], esp
push str._GetD3Device9Add_8
push dword [0x10016d1c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10001ede
push 6
call fcn.10009b6a
add esp, 4
mov dword [0x10016d28], eax
mov dword [ebp - 8], esp
push str._DrawSprite_2D_40
push dword [0x10016d1c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10001f0d
push 6
call fcn.10009b6a
add esp, 4
mov dword [0x10016d2c], eax
mov dword [ebp - 8], esp
push str._CreateMySprite_4
push dword [0x10016d1c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10001f3c
push 6
call fcn.10009b6a
add esp, 4
mov dword [0x10016d30], eax
mov dword [ebp - 8], esp
push str._CreateMyTexture_8
push dword [0x10016d1c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10001f6b
push 6
call fcn.10009b6a
add esp, 4
mov dword [0x10016d34], eax
push 0x80000301
push 0
push dword [0x10016d20]
push 1
mov ebx, 0x168
call fcn.1000a070
add esp, 0x10
mov dword [ebp - 8], eax
push dword [ebp - 8]
push str.LOLBoxD3D:LoadDll:DrawMyText:
mov ecx, 2
call fcn.1000106b
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10001fba
push ebx
call fcn.10009b64
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.1000194a
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10001fd3
push ebx
call fcn.10009b64
add esp, 4
push 0x80000301
push 0
push dword [0x10016d24]
push 1
mov ebx, 0x168
call fcn.1000a070
add esp, 0x10
mov dword [ebp - 8], eax
push dword [ebp - 8]
push str.LOLBoxD3D:LoadDll:DrawMyTextS:
mov ecx, 2
call fcn.1000106b
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000201d
push ebx
call fcn.10009b64
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.1000194a
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10002036
push ebx
call fcn.10009b64
add esp, 4
push 0x80000301
push 0
push dword [0x10016d28]
push 1
mov ebx, 0x168
call fcn.1000a070
add esp, 0x10
mov dword [ebp - 8], eax
push dword [ebp - 8]
push str.LOLBoxD3D:LoadDll:GetD3Device9Add:
mov ecx, 2
call fcn.1000106b
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10002080
push ebx
call fcn.10009b64
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.1000194a
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10002099
push ebx
call fcn.10009b64
add esp, 4
push 0x80000301
push 0
push dword [0x10016d2c]
push 1
mov ebx, 0x168
call fcn.1000a070
add esp, 0x10
mov dword [ebp - 8], eax
push dword [ebp - 8]
push str.LOLBoxD3D:LoadDll:DrawSprite_2D:
mov ecx, 2
call fcn.1000106b
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100020e3
push ebx
call fcn.10009b64
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.1000194a
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100020fc
push ebx
call fcn.10009b64
add esp, 4
push 0x80000301
push 0
push dword [0x10016d30]
push 1
mov ebx, 0x168
call fcn.1000a070
add esp, 0x10
mov dword [ebp - 8], eax
push dword [ebp - 8]
push str.LOLBoxD3D:LoadDll:CreateMySprite:
mov ecx, 2
call fcn.1000106b
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10002146
push ebx
call fcn.10009b64
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.1000194a
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1000215f
push ebx
call fcn.10009b64
add esp, 4
push 0x80000301
push 0
push dword [0x10016d34]
push 1
mov ebx, 0x168
call fcn.1000a070
add esp, 0x10
mov dword [ebp - 8], eax
push dword [ebp - 8]
push str.LOLBoxD3D:LoadDll:CreateMyTexture:
mov ecx, 2
call fcn.1000106b
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100021a9
push ebx
call fcn.10009b64
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.1000194a
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100021c2
push ebx
call fcn.10009b64
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100021d2
push ebx
call fcn.10009b64
add esp, 4
mov esp, ebp
pop ebp
ret