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

Disassembly:
push 0xffffffffffffffff
push 0x6050aa
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x767500]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x767500]
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 [0x608334]
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 [0x6084d8]
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 0x51ee09
sub eax, ebp
je 0x51ecab
sub eax, ebp
je 0x51ee7c
push str.kcView_:
call fcn.005063c0
add esp, 4
mov byte [0], bl
jmp 0x51ee7c
push 0x27
push str.e:prg_vs2008kclib_dx9include..kcClassBasekcClassBase.h
push 0xc8
call fcn.005112c0
add esp, 0xc
cmp eax, ebx
je 0x51ecd1
mov edx, dword [esi + 0x14]
push ebp
push edx
mov ecx, eax
call fcn.005216b0
jmp 0x51ecd3
xor eax, eax
mov ecx, eax
mov dword [esi + 4], eax
call fcn.005214b0
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x51ed10
mov edi, dword [esi + 4]
cmp edi, ebx
je 0x51ecfb
mov ecx, edi
call fcn.00521800
push edi
call fcn.00511210
add esp, 4
push str.kcView_:_3D
mov dword [esi + 4], ebx
call fcn.00506330
add esp, 4
jmp 0x51f0c3
mov eax, dword [0x7af284]
movzx ecx, word [eax + 0x20a]
mov dword [esi + 0x18], ecx
mov edx, dword [0x7af284]
movzx eax, word [edx + 0x20c]
mov dword [esi + 0x1c], eax
mov ecx, dword [0x7af284]
movzx edx, word [ecx + 0x64f0]
mov dword [esi + 0x20], edx
mov eax, dword [0x7af284]
movzx ecx, word [eax + 0x64f2]
mov dword [esi + 0x24], ecx
mov eax, dword [0x7af284]
movzx edx, word [eax + 0x64f0]
movzx eax, word [eax + 0x20a]
mov dword [esp + 0x14], edx
push 0x617c44
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fdivp st(1)
fstp dword [esi + 0x3c]
mov eax, dword [0x7af284]
movzx ecx, word [eax + 0x64f2]
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 [0x7af284]
movzx ecx, word [eax + 0x20a]
movzx edx, word [eax + 0x64f0]
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 [0x7af284]
movzx ecx, word [eax + 0x20c]
movzx edx, word [eax + 0x64f2]
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 [0x7af284]
mov ecx, dword [eax + 0x6c50]
mov dword [esi + 0x38], ecx
call fcn.00506330
add esp, 4
lea edx, [esp + 0x30]
push 0x2c
push edx
mov dword [esp + 0x1c], ebp
call fcn.00500830
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 [0x6084e4]
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 [0x608064]
push ebp
push edi
mov dword [esi + 0x74], eax
call dword [0x6084e8]
mov ebp, 1
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x80], ebx
mov edx, dword [0x7af284]
mov eax, dword [edx + 0x6c60]
mov dword [esi + 0xb0], ebx
cmp eax, ebx
jbe 0x51ef34
shl eax, 0x14
push 0x20
mov dword [esi + 0xac], eax
call fcn.0055d594
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x270], ebx
cmp edi, ebx
je 0x51eed9
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x1f]
push ecx
mov ecx, edi
call fcn.0051bec0
jmp 0x51eedb
xor edi, edi
push 0x20
mov dword [esp + 0x274], 0xffffffff
mov dword [esi + 0xb4], edi
call fcn.0055d594
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x270], ebp
cmp eax, ebx
je 0x51ef1f
mov ecx, eax
call fcn.0051bd80
mov dword [esp + 0x270], 0xffffffff
mov dword [esi + 0xb8], eax
jmp 0x51ef46
xor eax, eax
mov dword [esp + 0x270], 0xffffffff
mov dword [esi + 0xb8], eax
jmp 0x51ef46
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x51ef60
mov edx, dword [esi + 0x14]
push 0x51b880
push esi
push edx
call fcn.00505c90
add esp, 0xc
call fcn.005473f0
cmp edi, ebx
je 0x51efc1
push 0x20
call fcn.0055d594
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x270], 2
cmp edi, ebx
je 0x51efac
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x1f]
push ecx
mov ecx, edi
call fcn.00530e70
mov dword [esp + 0x270], 0xffffffff
mov dword [esi + 0xbc], edi
jmp 0x51efc7
xor edi, edi
mov dword [esp + 0x270], 0xffffffff
mov dword [esi + 0xbc], edi
jmp 0x51efc7
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xcc], ebx
mov eax, dword [0x617c38]
mov ecx, dword [0x617c3c]
mov edx, dword [str.anmtable.csv]
mov dword [esp + 0x60], eax
push 0x60af40
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x168]
mov dword [esp + 0x64], edx
mov dl, byte [0x617c40]
push ecx
mov ecx, dword [0x7d0628]
mov byte [esp + 0x74], dl
call fcn.00506d60
mov ecx, dword [0x7d0628]
push 3
push ebx
lea edx, [esp + 0x168]
push edx
call fcn.00508110
cmp eax, ebx
je 0x51f0af
push eax
push ebx
call fcn.004ff0a0
mov ecx, dword [0x7d0628]
add esp, 8
mov edi, eax
push 3
push edi
lea eax, [esp + 0x168]
push eax
call fcn.00508110
push 0x27
push str.e:prg_vs2008kclib_dx9include..kcClassBasekcClassBase.h
push 4
mov ebp, eax
call fcn.005112c0
add esp, 0xc
cmp eax, ebx
je 0x51f071
mov ecx, eax
call fcn.00545fc0
jmp 0x51f073
xor eax, eax
push ebp
push edi
mov ecx, eax
mov dword [esi + 0xcc], eax
call fcn.00545d40
test eax, eax
jne 0x51f0a6
mov ebp, dword [esi + 0xcc]
cmp ebp, ebx
je 0x51f0a6
mov ecx, ebp
call fcn.00546040
push ebp
call fcn.00511210
add esp, 4
mov dword [esi + 0xcc], ebx
push edi
call fcn.004ff0f0
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.0055d4e2
add esp, 0x260
ret 0xc