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

Disassembly:
sub esp, 0xf4
push ebx
push ebp
push esi
mov esi, dword [0x607334]
push edi
lea eax, [esp + 0xcc]
mov ebx, ecx
push eax
mov dword [esp + 0x64], ebx
call esi
lea ecx, [esp + 0xf4]
push ecx
call esi
mov eax, dword [ebx + 0x88]
shr eax, 1
lea edx, [ebx + 0x114]
lea esi, [ebx + 0x138]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], esi
jmp 0x471494
mov esi, dword [esp + 0x14]
mov edi, dword [esi]
mov dword [esp + 0x30], 1
cmp edi, dword [esi + 4]
jbe 0x4714a8
call fcn.0055cb74
mov ebp, dword [esi - 0xc]
add esi, 0xfffffff4
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 4]
cmp dword [eax], edi
ja 0x4714c1
cmp edi, edi
jbe 0x4714c6
call fcn.0055cb74
mov eax, dword [esi]
test ebp, ebp
je 0x4714d0
cmp ebp, eax
je 0x4714d5
call fcn.0055cb74
cmp dword [esp + 0x28], edi
je 0x471553
test ebp, ebp
jne 0x471544
call fcn.0055cb74
xor eax, eax
mov ecx, dword [esp + 0x28]
cmp ecx, dword [eax + 0x10]
jb 0x4714f4
call fcn.0055cb74
mov edx, dword [esp + 0x28]
cmp dword [edx], 0
je 0x471521
test ebp, ebp
jne 0x471549
call fcn.0055cb74
xor eax, eax
mov ecx, dword [esp + 0x28]
cmp ecx, dword [eax + 0x10]
jb 0x471516
call fcn.0055cb74
mov edx, dword [esp + 0x28]
mov ecx, dword [edx]
call fcn.00530740
test ebp, ebp
jne 0x47154e
call fcn.0055cb74
xor eax, eax
mov ecx, dword [esp + 0x28]
cmp ecx, dword [eax + 0x10]
jb 0x47153a
call fcn.0055cb74
add dword [esp + 0x28], 0x18
jmp 0x4714b2
mov eax, dword [ebp]
jmp 0x4714e6
mov eax, dword [ebp]
jmp 0x471508
mov eax, dword [ebp]
jmp 0x47152c
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
cmp dword [ecx], eax
jbe 0x471567
call fcn.0055cb74
mov eax, dword [esp + 0x14]
mov ebp, dword [eax]
mov edi, dword [esi]
cmp ebp, dword [eax + 4]
jbe 0x471579
call fcn.0055cb74
mov edx, dword [esp + 0x10]
mov eax, dword [esi]
push edx
push edi
push ebp
push eax
lea eax, [esp + 0xfc]
push eax
mov ecx, esi
call fcn.00470c20
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [edi]
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x5c]
push eax
push ecx
mov ecx, dword [0x7cf648]
call fcn.00517e30
mov eax, dword [esp + 0x5c]
cmp eax, 0x15
jb 0x471a78
cmp eax, 0x16
jbe 0x4715d3
cmp eax, 0x1a
jne 0x471a78
lea ebp, [eax - 0xa]
jmp 0x4715d8
mov ebp, 0x20
mov eax, dword [edi]
mov ecx, dword [0x7cf648]
lea edx, [esp + 0x64]
push edx
push 0
push eax
call fcn.00517f70
lea ecx, [esp + 0x6c]
push 0x80
push ecx
mov dword [esp + 0x18], eax
call fcn.004ffbf0
push 0x27
push str.e:prg_vs2008kclib_dx9include..kcClassBasekcClassBase.h
push 0x58
call fcn.00510640
add esp, 0x14
test eax, eax
je 0x471620
mov ecx, eax
call fcn.005306d0
mov edi, eax
jmp 0x471622
xor edi, edi
mov edx, dword [ebx + 0x128]
mov eax, dword [ebx + 0x124]
push 4
push edx
push eax
mov ecx, edi
call fcn.00532c90
mov ecx, edi
call fcn.004b4470
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x78]
push edx
mov ecx, edi
mov dword [esp + 0x78], eax
call fcn.00530760
mov ecx, dword [ebx + 0x128]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov eax, dword [ebx + 0x124]
mov dword [esp + 0x88], ecx
mov ecx, edi
mov dword [esp + 0x84], eax
call fcn.005590d0
mov ecx, edi
mov dword [esp + 0x8c], eax
call fcn.00530780
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x98], edx
mov edx, dword [ebx + 0x124]
mov dword [esp + 0x9c], eax
xor eax, eax
mov dword [esp + 0xac], edx
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov eax, dword [ebx + 0x128]
lea edx, [esp + 0x6c]
shr ebp, 3
push edx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x98], ebp
call fcn.00547200
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
add esp, 4
push ecx
mov ecx, dword [0x7cf648]
call fcn.00518010
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x48], edx
lea edx, [esp + 0x3c]
mov dword [esp + 0x50], ecx
xor ebp, ebp
push edx
mov ecx, esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], eax
call fcn.00471390
fild dword [ebx + 0x8c]
mov eax, dword [esp + 0x34]
mov ecx, eax
fsub qword [0x60e1b8]
xor edi, edi
mov dword [esp + 0x38], ecx
fstp dword [esp + 0x68]
fild dword [esp + 0x38]
test ecx, ecx
jge 0x47177a
fadd dword [0x6077e8]
fstp dword [esp + 0x38]
mov dword [esp + 0x1c], 1
cmp eax, 1
jbe 0x471a5c
nop
mov edx, dword [esp + 0x1c]
fild dword [esp + 0x1c]
test edx, edx
jge 0x4717a2
fadd dword [0x6077e8]
fdiv dword [esp + 0x38]
fmul dword [esp + 0x68]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd qword [0x60e1b8]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
call fcn.0055cf80
cmp eax, dword [esp + 0x30]
je 0x471a49
mov ecx, eax
mov eax, dword [ebx + 0x124]
lea eax, [eax + ecx - 1]
cdq
idiv ecx
mov edx, dword [ebx + 0x128]
push 0x27
push str.e:prg_vs2008kclib_dx9include..kcClassBasekcClassBase.h
push 0x58
mov dword [esp + 0x3c], ecx
inc eax
mov dword [esp + 0x38], eax
lea eax, [edx + ecx - 1]
cdq
idiv ecx
inc eax
mov dword [esp + 0x1c], eax
call fcn.00510640
add esp, 0xc
test eax, eax
je 0x471819
mov ecx, eax
call fcn.005306d0
mov ebx, eax
jmp 0x47181b
xor ebx, ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push 4
push eax
push ecx
mov ecx, ebx
call fcn.00532c90
lea edx, [esp + 0x6c]
push 0x80
push edx
call fcn.004ffbf0
add esp, 8
mov ecx, ebx
call fcn.004b4470
mov dword [esp + 0x70], eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebx
call fcn.00530760
mov edx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x10]
mov ecx, ebx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
call fcn.005590d0
mov ecx, ebx
mov dword [esp + 0x8c], eax
call fcn.00530780
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov dword [esp + 0x6c], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x4718b8
call fcn.0055cb74
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + ebp]
add eax, ebp
call fcn.004b4470
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov dword [esp + 0x98], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4718ec
call fcn.0055cb74
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + ebp + 0xc]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov dword [esp + 0x9c], edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x47191a
call fcn.0055cb74
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + ebp + 0x10]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
xor eax, eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa0], edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x471958
call fcn.0055cb74
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + ebp + 0xc]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov dword [esp + 0xac], edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x471986
call fcn.0055cb74
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + ebp + 0x10]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov dword [esp + 0xb0], edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4719b4
call fcn.0055cb74
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + ebp]
add eax, ebp
call fcn.005590d0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov dword [esp + 0xb4], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x4719e8
call fcn.0055cb74
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + ebp]
add eax, ebp
call fcn.00530780
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x98], eax
call fcn.00547200
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], edx
add esp, 4
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x3c]
mov dword [esp + 0x50], ecx
push edx
mov ecx, esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], eax
call fcn.00471390
mov ebx, dword [esp + 0x60]
inc edi
add ebp, 0x18
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x34]
jb 0x471790
mov eax, dword [esp + 0x18]
add dword [esp + 0x20], 4
add dword [esp + 0x14], 0x18
inc eax
cmp eax, 1
mov dword [esp + 0x18], eax
jl 0x471490
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret