Function at 0x1008a040
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f9e6b
mov eax, dword fs:[0]
push eax
mov eax, 0x3364
call fcn.100ca2c0
mov eax, dword [0x1012a100]
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 0x1008a38d
push 0xa00
lea eax, [ebp - 0x1410]
push 0
push eax
call fcn.100cb2d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1008a0dd
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.100cb5e8
push 0x77
add eax, 2
push eax
lea eax, [ebp - 0x13f8]
push 0x78
push eax
call fcn.100d5f92
add esp, 0x18
push 0x77
push str.D3DXCreateTextA
lea eax, [ebp - 0x1308]
push 0x78
push eax
call fcn.100d6326
movaps xmm0, xmmword [0x1010a090]
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x1290], 0x6020
mov word [ebp - 0x1284], ax
lea eax, [ebp - 0x1308]
movups xmmword [ebp - 0x1408], xmm0
push eax
push ebx
mov dword [ebp - 0x128c], 0
call edi
mov esi, eax
mov dword [ebp - 0x3358], esi
test esi, esi
je 0x1008a20a
push 0x10129dd4
mov dword [ebp - 0x3364], 0x10129dd4
call fcn.100b2c6f
add esp, 4
test eax, eax
jne 0x1008a50b
cmp dword [0x10129e00], 0x7fffffff
je 0x1008a512
mov dword [ebp - 4], eax
mov ecx, 0x10ca5468
lea eax, [ebp - 0x335c]
mov dword [ebp - 0x335c], esi
push eax
lea eax, [ebp - 0x3370]
push eax
call fcn.1001b5f0
mov eax, dword [ebp - 0x3368]
mov ecx, dword [0x10ca5468]
cmp byte [eax + 0xd], 0
jne 0x1008a1a1
cmp esi, dword [eax + 0x10]
jae 0x1008a1a3
mov eax, ecx
cmp eax, ecx
jne 0x1008a1f6
push str.D3DXCreateTextA
sub esp, 0xa00
lea esi, [ebp - 0x1410]
mov ecx, 0x280
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10006a60
mov eax, dword [ebp - 0x3358]
add esp, 0xa04
mov dword [ebp - 0x3358], eax
mov ecx, 0x10ca5468
lea eax, [ebp - 0x3358]
push eax
lea eax, [ebp - 0x3360]
push eax
call fcn.10089f10
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10129dd4
mov dword [ebp - 4], 0xffffffff
call fcn.100b2c80
add esp, 4
push 0xa00
lea eax, [ebp - 0x1410]
push 0
push eax
call fcn.100cb2d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1008a25c
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.100cb5e8
push 0x77
add eax, 2
push eax
lea eax, [ebp - 0x13f8]
push 0x78
push eax
call fcn.100d5f92
add esp, 0x18
push 0x77
push str.D3DXCreateTextW
lea eax, [ebp - 0x1308]
push 0x78
push eax
call fcn.100d6326
movaps xmm0, xmmword [0x1010a090]
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x1290], 0x6024
mov word [ebp - 0x1284], ax
lea eax, [ebp - 0x1308]
movups xmmword [ebp - 0x1408], xmm0
push eax
push ebx
mov dword [ebp - 0x128c], 0
call edi
mov esi, eax
mov dword [ebp - 0x335c], esi
test esi, esi
je 0x1008a38d
push 0x10129dd4
mov dword [ebp - 0x3364], 0x10129dd4
call fcn.100b2c6f
add esp, 4
test eax, eax
jne 0x1008a523
cmp dword [0x10129e00], 0x7fffffff
je 0x1008a52a
lea eax, [ebp - 0x3358]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x3370]
mov dword [ebp - 0x3358], esi
push eax
mov ecx, 0x10ca5468
call fcn.1001b5f0
mov eax, dword [ebp - 0x3368]
mov ecx, dword [0x10ca5468]
cmp byte [eax + 0xd], 0
jne 0x1008a324
cmp esi, dword [eax + 0x10]
jae 0x1008a326
mov eax, ecx
cmp eax, ecx
jne 0x1008a379
push str.D3DXCreateTextW
sub esp, 0xa00
lea esi, [ebp - 0x1410]
mov ecx, 0x280
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10006a60
mov eax, dword [ebp - 0x335c]
add esp, 0xa04
mov dword [ebp - 0x3358], eax
mov ecx, 0x10ca5468
lea eax, [ebp - 0x3358]
push eax
lea eax, [ebp - 0x3360]
push eax
call fcn.10089f10
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10129dd4
mov dword [ebp - 4], 0xffffffff
call fcn.100b2c80
add esp, 4
push str.D3DXCreateFontIndirectA
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x1008a3be
push str.D3DX10CreateFontIndirectA
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x1008a3be
push 0xffffffffffffffff
push str.D3DX_failed:_couldnt_find_entry_function
push eax
call fcn.10006820
add esp, 0xc
jmp 0x1008a4ef
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 0x1008a3ef
inc ecx
cmp ecx, 0x64
jl 0x1008a3c2
push 0xffffffffffffffff
push str.D3DX_failed:_couldnt_find_vtable
push 0
call fcn.10006820
add esp, 0xc
jmp 0x1008a4ef
mov eax, dword [ecx + esi + 1]
add esi, 5
add eax, ecx
lea ecx, [ebp - 0x3354]
add eax, esi
call eax
push 0x174
lea eax, [ebp - 0xa04]
push 0
push eax
call fcn.100cb2d0
push 0x872
lea eax, [ebp - 0x882]
mov dword [ebp - 0x888], 0
push 0
push eax
call fcn.100cb2d0
mov eax, dword [ebp - 0x3354]
lea esi, [ebp - 0xa10]
add esp, 0x18
mov dword [ebp - 0xa0c], 0
mov ecx, 0x280
mov dword [ebp - 0xa08], 0xc
mov dword [ebp - 0x890], 0x20
mov eax, dword [eax + 0x38]
mov dword [ebp - 0xa10], eax
mov eax, 4
push str.ID3DXFont::DrawTextA
sub esp, 0xa00
mov word [ebp - 0x884], ax
mov edi, esp
mov dword [ebp - 0x88c], 0
rep movsd dword es:[edi], dword [esi]
call fcn.10006a60
mov eax, dword [ebp - 0x3354]
lea esi, [ebp - 0xa10]
add esp, 0xa04
mov dword [ebp - 0xa0c], 0
mov ecx, 0x280
mov dword [ebp - 0x890], 0x24
mov dword [ebp - 0x88c], 0
mov eax, dword [eax + 0x3c]
push str.ID3DXFont::DrawTextW
sub esp, 0xa00
mov dword [ebp - 0xa10], eax
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10006a60
add esp, 0xa04
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.100ca2ac
mov esp, ebp
pop ebp
ret
push 5
call fcn.100b2fa5
push 6
mov dword [0x10129e00], 0x7ffffffe
call fcn.100b2fa5
push 5
call fcn.100b2fa5
push 6
mov dword [0x10129e00], 0x7ffffffe
call fcn.100b2fa5
int3