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

Disassembly:
sub esp, 0x180
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x13c]
cmp dword [eax + 0x20], edi
je 0x1002ba38
cmp dword [eax], edi
jne 0x1002ba4f
push 0x17e
push str.d:dev_sources_sampfuncsd3d9dxutdxutgui.cpp
push str.m_pManager__GetD3DDevice____m_pManager__m_pStateBlock___To_fix_hook_up_CDXUTDialogResourceManager_to_device_callbacks.__See_comments_for_details_
call fcn.100af561
add esp, 0xc
movsd xmm0, qword [0x101165d0]
comisd xmm0, xmmword [esi + 8]
jbe 0x1002ba6d
call fcn.1002662c
mov ecx, esi
fstp qword [esi + 8]
call fcn.1002bfd8
cmp byte [esi + 0x14], 0
je 0x1002bded
movd xmm2, dword [esi + 0x118]
movd xmm0, dword [esi + 0x120]
movd xmm1, dword [esi + 0x11c]
mov eax, dword [esi + 0x12c]
and dword [esp + 0x2c], edi
and dword [esp + 0x80], edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x130]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x138]
cvtdq2ps xmm2, xmm2
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x134]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x13c]
cvtdq2ps xmm1, xmm1
push ebx
mov dword [esp + 0x24], 0x3f000000
mov dword [esp + 0x28], 0x3f800000
mov dword [esp + 0x34], 0x3f000000
addss xmm0, xmm2
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x3c], xmm1
mov dword [esp + 0x40], 0x3f000000
mov dword [esp + 0x44], 0x3f800000
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x54], xmm0
movd xmm0, dword [esi + 0x124]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x50], 0x3f000000
mov dword [esp + 0x5c], 0x3f000000
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x68], 0x3f800000
addss xmm0, xmm1
mov dword [esp + 0x6c], 0x3f800000
movss dword [esp + 0x70], xmm2
mov dword [esp + 0x78], 0x3f000000
mov dword [esp + 0x7c], 0x3f800000
mov dword [esp + 0x88], 0x3f800000
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x74], xmm0
mov ebx, dword [eax + 0x20]
mov eax, dword [eax]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebx]
push 1
push 0x1b
push ebx
call dword [eax + 0xe4]
mov eax, dword [ebx]
push 5
push 0x13
push ebx
call dword [eax + 0xe4]
mov eax, dword [ebx]
push 6
push 0x14
push ebx
call dword [eax + 0xe4]
mov eax, dword [ebx]
push edi
push 0xf
push ebx
call dword [eax + 0xe4]
mov eax, dword [ebx]
push 3
push 1
push edi
push ebx
call dword [eax + 0x10c]
mov eax, dword [ebx]
push edi
push 3
push edi
push ebx
call dword [eax + 0x10c]
mov eax, dword [ebx]
push 2
pop ebp
push ebp
push 4
push edi
push ebx
call dword [eax + 0x10c]
mov eax, dword [ebx]
push edi
push 5
push edi
push ebx
call dword [eax + 0x10c]
mov eax, dword [ebx]
push edi
push ebx
call dword [eax + 0x170]
mov eax, dword [ebx]
push edi
push ebx
call dword [eax + 0x1ac]
mov eax, dword [ebx]
push edi
push 7
push ebx
call dword [eax + 0xe4]
cmp byte [esi + 0x16], 0
jne 0x1002bc47
push dword [0x1010ea98]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x164]
mov eax, dword [ebx]
lea ecx, [esp + 0x20]
push 0x1c
push ecx
push ebp
push 6
push ebx
call dword [eax + 0x14c]
mov eax, dword [ebx]
push 4
push 1
push edi
push ebx
call dword [eax + 0x10c]
mov eax, dword [ebx]
push ebp
push ebp
push edi
push ebx
call dword [eax + 0x10c]
mov eax, dword [ebx]
push edi
push 3
push edi
push ebx
call dword [eax + 0x10c]
mov eax, dword [ebx]
push 4
push 4
push edi
push ebx
call dword [eax + 0x10c]
mov eax, dword [ebx]
push ebp
push 5
push edi
push ebx
call dword [eax + 0x10c]
mov eax, dword [ebx]
push edi
push 6
push edi
push ebx
call dword [eax + 0x10c]
mov eax, dword [ebx]
push ebp
push 6
push edi
push ebx
call dword [eax + 0x114]
push edi
mov ecx, esi
call fcn.100293bc
mov ecx, dword [ebx]
push dword [eax + 0x104]
push edi
push ebx
call dword [ecx + 0x104]
mov eax, dword [esi + 0x13c]
push 1
mov eax, dword [eax + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
cmp byte [esi + 0x15], 0
je 0x1002bd5c
mov eax, dword [esi + 0x128]
lea ebp, [esi + 0x178]
neg eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov ecx, esi
mov eax, dword [esi + 0x120]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push ebp
mov dword [esp + 0x24], edi
call fcn.10028a4d
lea eax, [esi + 0x17]
mov dword [esp + 0x10], 5
push eax
push 0x100
lea eax, [esp + 0x98]
push eax
call fcn.10026dfe
cmp byte [esi + 0x16], 0
je 0x1002bd42
push str.__Minimized_
push 0x100
lea eax, [esp + 0x98]
push eax
call fcn.10026d8d
push edi
push 0xffffffffffffffff
push 1
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
push ebp
lea eax, [esp + 0xa4]
push eax
call fcn.10028cc3
cmp byte [esi + 0x16], 0
jne 0x1002bdce
cmp dword [esi + 0x164], edi
jle 0x1002bdaa
push edi
lea ecx, [esi + 0x160]
call fcn.100266c1
mov ecx, dword [0x101165d8]
mov edx, dword [eax]
cmp edx, ecx
je 0x1002bd9f
movss xmm0, dword [esp + 0x194]
mov eax, dword [edx]
push ecx
movss dword [esp], xmm0
mov ecx, edx
push ebx
call dword [eax + 0xc]
mov ecx, dword [0x101165d8]
inc edi
cmp edi, dword [esi + 0x164]
jl 0x1002bd6a
jmp 0x1002bdb0
mov ecx, dword [0x101165d8]
test ecx, ecx
je 0x1002bdce
cmp dword [ecx + 0x18], esi
jne 0x1002bdce
movss xmm0, dword [esp + 0x194]
mov eax, dword [ecx]
push ecx
movss dword [esp], xmm0
push ebx
call dword [eax + 0xc]
mov eax, dword [esi + 0x13c]
mov eax, dword [eax + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esi + 0x13c]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x180
ret 4