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

Disassembly:
push 0xffffffffffffffff
push 0x6042fa
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x7664f8]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7664f8]
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 [0x607334]
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 [0x6074d8]
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
je 0x51e349
sub eax, ebp
je 0x51e1eb
sub eax, ebp
je 0x51e3bc
push str.kcView_:
call fcn.00505750
add esp, 4
mov byte [0], bl
jmp 0x51e3bc
push 0x27
push str.e:prg_vs2008kclib_dx9include..kcClassBasekcClassBase.h
push 0xc8
call fcn.00510640
add esp, 0xc
cmp eax, ebx
je 0x51e211
mov edx, dword [esi + 0x14]
push ebp
push edx
mov ecx, eax
call fcn.00520be0
jmp 0x51e213
xor eax, eax
mov ecx, eax
mov dword [esi + 4], eax
call fcn.0052fd70
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x51e250
mov edi, dword [esi + 4]
cmp edi, ebx
je 0x51e23b
mov ecx, edi
call fcn.00520d30
push edi
call fcn.00510590
add esp, 4
push str.kcView_:_3D
mov dword [esi + 4], ebx
call fcn.005056c0
add esp, 4
jmp 0x51e603
mov eax, dword [0x7ae284]
movzx ecx, word [eax + 0x20a]
mov dword [esi + 0x18], ecx
mov edx, dword [0x7ae284]
movzx eax, word [edx + 0x20c]
mov dword [esi + 0x1c], eax
mov ecx, dword [0x7ae284]
movzx edx, word [ecx + 0x4fb0]
mov dword [esi + 0x20], edx
mov eax, dword [0x7ae284]
movzx ecx, word [eax + 0x4fb2]
mov dword [esi + 0x24], ecx
mov eax, dword [0x7ae284]
movzx edx, word [eax + 0x4fb0]
movzx eax, word [eax + 0x20a]
mov dword [esp + 0x14], edx
push 0x616bc4
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fdivp st(1)
fstp dword [esi + 0x3c]
mov eax, dword [0x7ae284]
movzx ecx, word [eax + 0x4fb2]
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 [0x7ae284]
movzx ecx, word [eax + 0x20a]
movzx edx, word [eax + 0x4fb0]
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 [0x7ae284]
movzx ecx, word [eax + 0x20c]
movzx edx, word [eax + 0x4fb2]
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 [0x7ae284]
mov ecx, dword [eax + 0x5710]
mov dword [esi + 0x38], ecx
call fcn.005056c0
add esp, 4
lea edx, [esp + 0x30]
push 0x2c
push edx
mov dword [esp + 0x1c], ebp
call fcn.004ffbf0
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 [0x6074e4]
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 [0x607064]
push ebp
push edi
mov dword [esi + 0x74], eax
call dword [0x6074e8]
mov ebp, 1
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x80], ebx
mov edx, dword [0x7ae284]
mov eax, dword [edx + 0x5720]
mov dword [esi + 0xb0], ebx
cmp eax, ebx
jbe 0x51e474
shl eax, 0x14
push 0x20
mov dword [esi + 0xac], eax
call fcn.0055c754
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x270], ebx
cmp edi, ebx
je 0x51e419
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x1f]
push ecx
mov ecx, edi
call fcn.0051b7c0
jmp 0x51e41b
xor edi, edi
push 0x20
mov dword [esp + 0x274], 0xffffffff
mov dword [esi + 0xb4], edi
call fcn.0055c754
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x270], ebp
cmp eax, ebx
je 0x51e45f
mov ecx, eax
call fcn.0051b680
mov dword [esp + 0x270], 0xffffffff
mov dword [esi + 0xb8], eax
jmp 0x51e486
xor eax, eax
mov dword [esp + 0x270], 0xffffffff
mov dword [esi + 0xb8], eax
jmp 0x51e486
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x51e4a0
mov edx, dword [esi + 0x14]
push 0x51b080
push esi
push edx
call fcn.00505030
add esp, 0xc
call fcn.00546910
cmp edi, ebx
je 0x51e501
push 0x20
call fcn.0055c754
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x270], 2
cmp edi, ebx
je 0x51e4ec
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x1f]
push ecx
mov ecx, edi
call fcn.0050dc20
mov dword [esp + 0x270], 0xffffffff
mov dword [esi + 0xbc], edi
jmp 0x51e507
xor edi, edi
mov dword [esp + 0x270], 0xffffffff
mov dword [esi + 0xbc], edi
jmp 0x51e507
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xcc], ebx
mov eax, dword [0x616bb8]
mov ecx, dword [0x616bbc]
mov edx, dword [str.anmtable.csv]
mov dword [esp + 0x60], eax
push 0x609f40
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x168]
mov dword [esp + 0x64], edx
mov dl, byte [0x616bc0]
push ecx
mov ecx, dword [0x7cf628]
mov byte [esp + 0x74], dl
call fcn.00506100
mov ecx, dword [0x7cf628]
push 3
push ebx
lea edx, [esp + 0x168]
push edx
call fcn.005074c0
cmp eax, ebx
je 0x51e5ef
push eax
push ebx
call fcn.004fe490
mov ecx, dword [0x7cf628]
add esp, 8
mov edi, eax
push 3
push edi
lea eax, [esp + 0x168]
push eax
call fcn.005074c0
push 0x27
push str.e:prg_vs2008kclib_dx9include..kcClassBasekcClassBase.h
push 4
mov ebp, eax
call fcn.00510640
add esp, 0xc
cmp eax, ebx
je 0x51e5b1
mov ecx, eax
call fcn.005455f0
jmp 0x51e5b3
xor eax, eax
push ebp
push edi
mov ecx, eax
mov dword [esi + 0xcc], eax
call fcn.00545370
test eax, eax
jne 0x51e5e6
mov ebp, dword [esi + 0xcc]
cmp ebp, ebx
je 0x51e5e6
mov ecx, ebp
call fcn.00545670
push ebp
call fcn.00510590
add esp, 4
mov dword [esi + 0xcc], ebx
push edi
call fcn.004fe4e0
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.0055c6a2
add esp, 0x260
ret 0xc