Function at 0x4100b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x44
mov eax, dword [0x5c88a4]
push ebx
mov ebx, ecx
push ebp
mov dword [esp + 8], 0
mov ecx, dword [eax + 0x80]
push esi
push edi
mov dword [ebx + 4], ecx
call fcn.00485730
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
call fcn.004072d0
push 2
mov ecx, ebx
mov dword [ebx + 0xc], eax
call fcn.004860c0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
push 0
lea eax, [ebx + 0x28]
push ecx
mov ecx, dword [0x5c8894]
push edx
push eax
call fcn.00404690
xor eax, eax
lea esi, [ebx + 0x20]
mov dword [esp + 0x44], eax
push 0
mov dword [esp + 0x4c], eax
lea edx, [esp + 0x48]
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], 0x10
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x4c], 0x10000
mov dword [esp + 0x50], 0x242
mov dword [esp + 0x54], 0xc0
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x14]
mov edi, eax
test edi, edi
jge 0x410173
push str.D:o2jamDisplayDXTexture.cpp
push 0xffffffffffffffff
push str.m_pd3dDevice__CreateVertexBuffer_Failed
push edi
call fcn.00489cd0
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0xc
mov esi, dword [esi]
lea ecx, [esp + 0x10]
push 0
push ecx
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0xc]
xor edx, edx
mov eax, 0x4de928
mov ebp, 3
mov ecx, dword [esp + 0x10]
xor esi, esi
mov si, word [eax]
add eax, 2
shl esi, 5
lea edi, [edx + ecx]
add esi, 0x4de828
mov ecx, 8
add edx, 0x20
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x410190
cmp eax, 0x4de934
jl 0x41018b
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [edx + 0x10], eax
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x14], eax
mov edx, dword [esp + 0x10]
mov dword [edx + 0x18], eax
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x1c], eax
mov edx, dword [esp + 0x10]
mov ecx, 0x3f800000
mov dword [edx + 0x30], ecx
mov edx, dword [esp + 0x10]
mov dword [edx + 0x34], eax
mov edx, dword [esp + 0x10]
mov dword [edx + 0x38], ecx
mov edx, dword [esp + 0x10]
mov dword [edx + 0x3c], eax
mov edx, dword [esp + 0x10]
mov dword [edx + 0x50], ecx
mov edx, dword [esp + 0x10]
mov dword [edx + 0x54], ecx
mov edx, dword [esp + 0x10]
mov dword [edx + 0x58], ecx
mov edx, dword [esp + 0x10]
mov dword [edx + 0x5c], ecx
mov edx, dword [esp + 0x10]
mov dword [edx + 0x70], eax
mov edx, dword [esp + 0x10]
mov dword [edx + 0x74], eax
mov edx, dword [esp + 0x10]
mov dword [edx + 0x78], eax
mov edx, dword [esp + 0x10]
mov dword [edx + 0x7c], eax
mov edx, dword [esp + 0x10]
mov dword [edx + 0x90], ecx
mov edx, dword [esp + 0x10]
mov dword [edx + 0x94], ecx
mov edx, dword [esp + 0x10]
mov dword [edx + 0x98], ecx
mov edx, dword [esp + 0x10]
mov dword [edx + 0x9c], ecx
mov edx, dword [esp + 0x10]
mov dword [edx + 0xb0], eax
mov edx, dword [esp + 0x10]
mov dword [edx + 0xb4], ecx
mov edx, dword [esp + 0x10]
mov dword [edx + 0xb8], eax
mov eax, dword [esp + 0x10]
mov dword [eax + 0xbc], ecx
mov eax, dword [ebx + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov ecx, dword [ebx + 0x28]
call fcn.0040fd60
mov edx, dword [eax + 8]
mov ecx, dword [eax]
sub edx, ecx
mov ecx, dword [eax + 0xc]
mov ebp, dword [eax + 4]
mov dword [esp + 0x58], edx
fild dword [esp + 0x58]
sub ecx, ebp
mov dword [esp + 0x14], 0x3f800000
mov dword [esp + 0x58], ecx
mov dword [esp + 0x18], 0x3f800000
fmul dword [str._n:_n]
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], 0x3f800000
mov dword [esp + 0x38], 0
fstp dword [esp + 0x2c]
fild dword [esp + 0x58]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
sub esp, 0xc
fmul dword [str._n:_n]
fstp dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 4], ecx
mov ecx, ebx
mov dword [edx + 8], eax
call fcn.00410860
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov ecx, ebx
call fcn.004108a0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, ebx
call fcn.00410880
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x4c]
mov dword [edx + 4], ecx
mov ecx, ebx
mov dword [edx + 8], eax
call fcn.00410940
mov ecx, dword [ebx + 0x20]
push ecx
mov ecx, ebx
call fcn.004105f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc