Function at 0x1008c3b0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fd83b
mov eax, dword fs:[0]
push eax
mov eax, 0x2b64
call fcn.100cda10
mov eax, dword [0x1012e100]
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 ebx, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DXCreateTextA
push ebx
call edi
test eax, eax
je 0x1008c6fd
push 0x600
lea eax, [ebp - 0xc10]
push 0
push eax
call fcn.100cea20
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1008c44d
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.100ced38
push 0x77
add eax, 2
push eax
lea eax, [ebp - 0xbf8]
push 0x78
push eax
call fcn.100d96e2
add esp, 0x18
push 0x77
push str.D3DXCreateTextA
lea eax, [ebp - 0xb08]
push 0x78
push eax
call fcn.100d9a76
movaps xmm0, xmmword [0x1010e030]
add esp, 0x10
xor eax, eax
mov dword [ebp - 0xa90], 0x6020
mov word [ebp - 0xa84], ax
lea eax, [ebp - 0xb08]
movups xmmword [ebp - 0xc08], xmm0
push eax
push ebx
mov dword [ebp - 0xa8c], 0
call edi
mov esi, eax
mov dword [ebp - 0x2b58], esi
test esi, esi
je 0x1008c57a
push 0x1012ddd4
mov dword [ebp - 0x2b64], 0x1012ddd4
call fcn.100b63b3
add esp, 4
test eax, eax
jne 0x1008c87b
cmp dword [0x1012de00], 0x7fffffff
je 0x1008c882
mov dword [ebp - 4], eax
mov ecx, 0x10ca9888
lea eax, [ebp - 0x2b5c]
mov dword [ebp - 0x2b5c], esi
push eax
lea eax, [ebp - 0x2b70]
push eax
call fcn.1000e5e0
mov eax, dword [ebp - 0x2b68]
mov ecx, dword [0x10ca9888]
cmp byte [eax + 0xd], 0
jne 0x1008c511
cmp esi, dword [eax + 0x10]
jae 0x1008c513
mov eax, ecx
cmp eax, ecx
jne 0x1008c566
push str.D3DXCreateTextA
sub esp, 0x600
lea esi, [ebp - 0xc10]
mov ecx, 0x180
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10007300
mov eax, dword [ebp - 0x2b58]
add esp, 0x604
mov dword [ebp - 0x2b58], eax
mov ecx, 0x10ca9888
lea eax, [ebp - 0x2b58]
push eax
lea eax, [ebp - 0x2b60]
push eax
call fcn.1008c280
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1012ddd4
mov dword [ebp - 4], 0xffffffff
call fcn.100b63c4
add esp, 4
push 0x600
lea eax, [ebp - 0xc10]
push 0
push eax
call fcn.100cea20
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1008c5cc
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.100ced38
push 0x77
add eax, 2
push eax
lea eax, [ebp - 0xbf8]
push 0x78
push eax
call fcn.100d96e2
add esp, 0x18
push 0x77
push str.D3DXCreateTextW
lea eax, [ebp - 0xb08]
push 0x78
push eax
call fcn.100d9a76
movaps xmm0, xmmword [0x1010e030]
add esp, 0x10
xor eax, eax
mov dword [ebp - 0xa90], 0x6024
mov word [ebp - 0xa84], ax
lea eax, [ebp - 0xb08]
movups xmmword [ebp - 0xc08], xmm0
push eax
push ebx
mov dword [ebp - 0xa8c], 0
call edi
mov esi, eax
mov dword [ebp - 0x2b5c], esi
test esi, esi
je 0x1008c6fd
push 0x1012ddd4
mov dword [ebp - 0x2b64], 0x1012ddd4
call fcn.100b63b3
add esp, 4
test eax, eax
jne 0x1008c893
cmp dword [0x1012de00], 0x7fffffff
je 0x1008c89a
lea eax, [ebp - 0x2b58]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x2b70]
mov dword [ebp - 0x2b58], esi
push eax
mov ecx, 0x10ca9888
call fcn.1000e5e0
mov eax, dword [ebp - 0x2b68]
mov ecx, dword [0x10ca9888]
cmp byte [eax + 0xd], 0
jne 0x1008c694
cmp esi, dword [eax + 0x10]
jae 0x1008c696
mov eax, ecx
cmp eax, ecx
jne 0x1008c6e9
push str.D3DXCreateTextW
sub esp, 0x600
lea esi, [ebp - 0xc10]
mov ecx, 0x180
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10007300
mov eax, dword [ebp - 0x2b5c]
add esp, 0x604
mov dword [ebp - 0x2b58], eax
mov ecx, 0x10ca9888
lea eax, [ebp - 0x2b58]
push eax
lea eax, [ebp - 0x2b60]
push eax
call fcn.1008c280
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1012ddd4
mov dword [ebp - 4], 0xffffffff
call fcn.100b63c4
add esp, 4
push str.D3DXCreateFontIndirectA
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x1008c72e
push str.D3DX10CreateFontIndirectA
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x1008c72e
push 0xffffffffffffffff
push str.D3DX_failed:_couldnt_find_entry_function
push eax
call fcn.100070c0
add esp, 0xc
jmp 0x1008c85f
xor ecx, ecx
xor edx, edx
cmp byte [ecx + esi], 0xe8
lea eax, [edx + 1]
cmovne eax, edx
mov edx, eax
cmp edx, 2
je 0x1008c75f
inc ecx
cmp ecx, 0x64
jl 0x1008c732
push 0xffffffffffffffff
push str.D3DX_failed:_couldnt_find_vtable
push 0
call fcn.100070c0
add esp, 0xc
jmp 0x1008c85f
mov eax, dword [ecx + esi + 1]
add esi, 5
add eax, ecx
lea ecx, [ebp - 0x2b54]
add eax, esi
call eax
push 0x174
lea eax, [ebp - 0x604]
push 0
push eax
call fcn.100cea20
push 0x472
lea eax, [ebp - 0x482]
mov dword [ebp - 0x488], 0
push 0
push eax
call fcn.100cea20
mov eax, dword [ebp - 0x2b54]
lea esi, [ebp - 0x610]
add esp, 0x18
mov dword [ebp - 0x60c], 0
mov ecx, 0x180
mov dword [ebp - 0x608], 0xc
mov dword [ebp - 0x490], 0x20
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x610], eax
mov eax, 4
push str.ID3DXFont::DrawTextA
sub esp, 0x600
mov word [ebp - 0x484], ax
mov edi, esp
mov dword [ebp - 0x48c], 0
rep movsd dword es:[edi], dword [esi]
call fcn.10007300
mov eax, dword [ebp - 0x2b54]
lea esi, [ebp - 0x610]
add esp, 0x604
mov dword [ebp - 0x60c], 0
mov ecx, 0x180
mov dword [ebp - 0x490], 0x24
mov dword [ebp - 0x48c], 0
mov eax, dword [eax + 0x3c]
push str.ID3DXFont::DrawTextW
sub esp, 0x600
mov dword [ebp - 0x610], eax
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10007300
add esp, 0x604
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.100cd9fa
mov esp, ebp
pop ebp
ret
push 5
call fcn.100b66e9
push 6
mov dword [0x1012de00], 0x7ffffffe
call fcn.100b66e9
push 5
call fcn.100b66e9
push 6
mov dword [0x1012de00], 0x7ffffffe
call fcn.100b66e9
int3