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

Disassembly:
push 0xffffffffffffffff
push 0x65823a
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x7d9a88]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7d9a88]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov edi, dword [esp + 0x278]
lea eax, [esp + 0x20]
push eax
mov esi, ecx
call dword [0x65b33c]
lea ecx, [esp + 0x20]
xor ebx, ebx
push ecx
push edi
mov dword [esp + 0x1c], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], edi
call dword [0x65b4e4]
fld1
mov eax, dword [esp + 0x2c]
fst dword [esi + 0x3c]
mov edx, dword [esp + 0x28]
fst dword [esi + 0x40]
mov ecx, dword [esp + 0x280]
fst dword [esi + 0x44]
mov dword [esi + 0x1c], eax
fstp dword [esi + 0x48]
mov eax, dword [esp + 0x27c]
sub eax, ebx
mov ebp, 1
mov dword [esi + 0x18], edx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x34], ebp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebp
mov byte [esi + 0x4c], bl
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], 0x706163
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xd4], ebx
je 0x52e69f
sub eax, ebp
je 0x52e541
sub eax, ebp
je 0x52e712
push str.kcView_:
call fcn.00512840
add esp, 4
mov byte [0], bl
jmp 0x52e712
push 0x27
push str.e:prg_vs2008kclib_dx9include..kcClassBasekcClassBase.h
push 0xc8
call fcn.0051ee10
add esp, 0xc
cmp eax, ebx
je 0x52e567
mov edx, dword [esi + 0x14]
push ebp
push edx
mov ecx, eax
call fcn.00536900
jmp 0x52e569
xor eax, eax
mov ecx, eax
mov dword [esi + 4], eax
call fcn.0053ff30
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x52e5a6
mov edi, dword [esi + 4]
cmp edi, ebx
je 0x52e591
mov ecx, edi
call fcn.00536a50
push edi
call fcn.0051ed60
add esp, 4
push str.kcView_:_3D
mov dword [esi + 4], ebx
call fcn.005127b0
add esp, 4
jmp 0x52e959
mov eax, dword [0x8211a4]
movzx ecx, word [eax + 0x20a]
mov dword [esi + 0x18], ecx
mov edx, dword [0x8211a4]
movzx eax, word [edx + 0x20c]
mov dword [esi + 0x1c], eax
mov ecx, dword [0x8211a4]
movzx edx, word [ecx + 0x64f4]
mov dword [esi + 0x20], edx
mov eax, dword [0x8211a4]
movzx ecx, word [eax + 0x64f6]
mov dword [esi + 0x24], ecx
mov eax, dword [0x8211a4]
movzx edx, word [eax + 0x64f4]
movzx eax, word [eax + 0x20a]
mov dword [esp + 0x14], edx
push 0x66c1d0
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fdivp st(1)
fstp dword [esi + 0x3c]
mov eax, dword [0x8211a4]
movzx ecx, word [eax + 0x64f6]
movzx edx, word [eax + 0x20c]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fdivp st(1)
fstp dword [esi + 0x40]
mov eax, dword [0x8211a4]
movzx ecx, word [eax + 0x20a]
movzx edx, word [eax + 0x64f4]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fdivp st(1)
fstp dword [esi + 0x44]
mov eax, dword [0x8211a4]
movzx ecx, word [eax + 0x20c]
movzx edx, word [eax + 0x64f6]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fdivp st(1)
fstp dword [esi + 0x48]
mov eax, dword [0x8211a4]
mov ecx, dword [eax + 0x7668]
mov dword [esi + 0x38], ecx
call fcn.005127b0
add esp, 4
lea edx, [esp + 0x30]
push 0x2c
push edx
mov dword [esp + 0x1c], ebp
call fcn.0050cd20
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x40], eax
imul eax, ecx
add eax, eax
add esp, 8
mov edx, 0x20
add eax, eax
push edi
mov dword [esp + 0x34], 0x28
mov dword [esp + 0x38], ecx
mov word [esp + 0x40], bp
mov word [esp + 0x42], dx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
call dword [0x65b4f8]
push ebx
push ebx
mov ebp, eax
lea eax, [esi + 0x78]
push eax
push ebx
lea ecx, [esp + 0x40]
push ecx
push ebp
call dword [0x65b064]
push ebp
push edi
mov dword [esi + 0x74], eax
call dword [0x65b4fc]
mov ebp, 1
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x80], ebx
mov edx, dword [0x8211a4]
mov eax, dword [edx + 0x7678]
mov dword [esi + 0xb0], ebx
cmp eax, ebx
jbe 0x52e7ca
shl eax, 0x14
push 0x20
mov dword [esi + 0xac], eax
call fcn.005ae818
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x270], ebx
cmp edi, ebx
je 0x52e76f
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x1f]
push ecx
mov ecx, edi
call fcn.0052b910
jmp 0x52e771
xor edi, edi
push 0x20
mov dword [esp + 0x274], 0xffffffff
mov dword [esi + 0xb4], edi
call fcn.005ae818
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x270], ebp
cmp eax, ebx
je 0x52e7b5
mov ecx, eax
call fcn.0052b7d0
mov dword [esp + 0x270], 0xffffffff
mov dword [esi + 0xb8], eax
jmp 0x52e7dc
xor eax, eax
mov dword [esp + 0x270], 0xffffffff
mov dword [esi + 0xb8], eax
jmp 0x52e7dc
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x52e7f6
mov edx, dword [esi + 0x14]
push 0x52b1a0
push esi
push edx
call fcn.00512110
add esp, 0xc
call fcn.00558050
cmp edi, ebx
je 0x52e857
push 0x20
call fcn.005ae818
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x270], 2
cmp edi, ebx
je 0x52e842
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x1f]
push ecx
mov ecx, edi
call fcn.005563f0
mov dword [esp + 0x270], 0xffffffff
mov dword [esi + 0xbc], edi
jmp 0x52e85d
xor edi, edi
mov dword [esp + 0x270], 0xffffffff
mov dword [esi + 0xbc], edi
jmp 0x52e85d
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xcc], ebx
mov eax, dword [0x66c1c4]
mov ecx, dword [0x66c1c8]
mov edx, dword [str.anmtable.csv]
mov dword [esp + 0x60], eax
push 0x65e3c4
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x168]
mov dword [esp + 0x64], edx
mov dl, byte [0x66c1cc]
push ecx
mov ecx, dword [0x842660]
mov byte [esp + 0x74], dl
call fcn.00512b70
mov ecx, dword [0x842660]
push 3
push ebx
lea edx, [esp + 0x168]
push edx
call fcn.00515e90
cmp eax, ebx
je 0x52e945
push eax
push ebx
call fcn.0050b5a0
mov ecx, dword [0x842660]
add esp, 8
mov edi, eax
push 3
push edi
lea eax, [esp + 0x168]
push eax
call fcn.00515e90
push 0x27
push str.e:prg_vs2008kclib_dx9include..kcClassBasekcClassBase.h
push 4
mov ebp, eax
call fcn.0051ee10
add esp, 0xc
cmp eax, ebx
je 0x52e907
mov ecx, eax
call fcn.00556d30
jmp 0x52e909
xor eax, eax
push ebp
push edi
mov ecx, eax
mov dword [esi + 0xcc], eax
call fcn.00556ab0
test eax, eax
jne 0x52e93c
mov ebp, dword [esi + 0xcc]
cmp ebp, ebx
je 0x52e93c
mov ecx, ebp
call fcn.00556db0
push ebp
call fcn.0051ed60
add esp, 4
mov dword [esi + 0xcc], ebx
push edi
call fcn.0050b5f0
add esp, 4
fld1
mov dword [esi + 0xd0], ebx
fst dword [esi + 0xc0]
fstp dword [esi + 0xc4]
mov eax, esi
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.005ae766
add esp, 0x260
ret 0xc