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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x264
mov ebp, ecx
mov eax, dword [esp + 0x278]
mov edi, dword [esp + 0x27c]
mov dword [esp + 0x18], eax
mov eax, dword [0xaafc98]
test eax, eax
jl 0x6714d2
cmp eax, 9
jg 0x6714d2
mov esi, dword [esp + 0x18]
xor eax, eax
xor edx, edx
test edi, edi
jbe 0x6714cb
mov dword [esp + 0x20], ebp
mov ebx, eax
mov ebp, edx
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
add esi, 1
movzx eax, byte [esi - 1]
mov byte [esp + edx + 0x24], al
add ebp, 1
movsx ecx, byte [esp + edx + 0x24]
add edx, 1
cmp ecx, 0xa
je 0x671bff
cmp edx, 0x80
jge 0x6714a2
cmp ebp, edi
jb 0x67146f
test edx, edx
je 0x671bf4
lea ecx, [esp + 0x24]
push 6
push str.start_t
push ecx
call fcn.008598c0
add esp, 0xc
test eax, eax
jne 0x6714bd
add ebx, 1
cmp ebp, edi
jb 0x6713d0
mov ebp, dword [esp + 0x20]
mov eax, ebx
mov dword [ebp + 0x1c], eax
test eax, eax
jne 0x6714df
add esp, 0x264
pop ebx
pop ebp
pop esi
pop edi
ret 8
lea edx, [eax + eax]
add edx, edx
sub edx, eax
add edx, edx
add edx, edx
lea eax, [edx + edx*8]
push eax
call fcn.008581c5
mov edx, dword [ebp + 0x1c]
mov dword [ebp + 0x20], eax
lea esi, [edx + edx]
add esi, esi
sub esi, edx
add esi, esi
add esi, esi
lea edx, [esi + esi*8]
push edx
push 0
push eax
call fcn.0086b688
add esp, 0x10
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x20]
mov dword [esp + 0x20], ebp
xor eax, eax
xor esi, esi
mov dword [esp + 0x1c], ecx
mov ebx, eax
mov ebp, edx
cmp esi, edi
jae 0x6716da
xor edx, edx
xor ecx, ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], ecx
mov ecx, dword [esp + 0x1c]
add ecx, 1
movzx eax, byte [ecx - 1]
mov byte [esp + edx + 0xa4], al
add esi, 1
movsx eax, byte [esp + edx + 0xa4]
add edx, 1
cmp eax, 0xa
je 0x671bd9
cmp edx, 0x80
jge 0x671bd0
cmp esi, edi
jb 0x67161a
mov dword [esp + 0x1c], ecx
test edx, edx
je 0x67152a
test ebx, ebx
jne 0x671688
lea ecx, [esp + 0xa4]
push 6
push str.start_t
push ecx
call fcn.008598c0
add esp, 0xc
test eax, eax
jne 0x67152a
mov ebx, 1
jmp 0x67152a
cmp ebx, 1
jne 0x67152a
lea ecx, [esp + 0xa4]
push 6
push str.anime_t
push ecx
call fcn.008598c0
add esp, 0xc
test eax, eax
jne 0x6716b1
add word [ebp + 0x62], 1
lea ecx, [esp + 0xa4]
push 3
push 0x93a3e4
push ecx
call fcn.008598c0
add esp, 0xc
test eax, eax
jne 0x67152a
xor ebx, ebx
add ebp, 0x6c
jmp 0x67152a
mov ebp, dword [esp + 0x20]
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x1c]
xor esi, esi
test eax, eax
jle 0x67172f
mov ebx, dword [esp + 0x1c]
movsx edx, word [ebx + 0x62]
test edx, edx
je 0x67171e
add edx, edx
add edx, edx
push edx
call fcn.008581c5
movsx edx, word [ebx + 0x62]
mov dword [ebx + 0x68], eax
add edx, edx
add edx, edx
push edx
push 0
push eax
call fcn.0086b688
add esp, 0x10
mov eax, dword [ebp + 0x1c]
add ebx, 0x6c
add esi, 1
cmp esi, eax
jl 0x6716f2
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x68]
xor eax, eax
xor ebp, ebp
mov ebx, edi
mov edi, eax
cmp ebp, ebx
jae 0x671bc3
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], ecx
mov dword [esp + 0x148], ecx
mov dword [esp + 0x14c], ecx
mov dword [esp + 0x150], ecx
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], ecx
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], ecx
mov dword [esp + 0x178], ecx
mov dword [esp + 0x17c], ecx
mov dword [esp + 0x180], ecx
mov dword [esp + 0x184], ecx
mov dword [esp + 0x188], ecx
mov dword [esp + 0x18c], ecx
mov dword [esp + 0x190], ecx
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], ecx
mov dword [esp + 0x1a0], ecx
mov ecx, dword [esp + 0x18]
add ecx, 1
movzx eax, byte [ecx - 1]
mov byte [esp + edx + 0x124], al
add ebp, 1
movsx eax, byte [esp + edx + 0x124]
add edx, 1
cmp eax, 0xa
je 0x671beb
cmp edx, 0x80
jge 0x671be2
cmp ebp, ebx
jb 0x67182e
mov dword [esp + 0x18], ecx
test edx, edx
je 0x67173e
test edi, edi
jne 0x671a5b
lea edx, [esp + 0x124]
push 6
push str.start_t
push edx
call fcn.008598c0
add esp, 0xc
test eax, eax
jne 0x67173e
xor eax, eax
mov dword [esp + 0x248], eax
mov dword [esp + 0x24c], eax
mov dword [esp + 0x250], eax
mov dword [esp + 0x254], eax
mov dword [esp + 0x258], eax
mov dword [esp + 0x25c], eax
mov dword [esp + 0x260], eax
lea edi, [esp + 0x254]
lea ecx, [esp + 0x258]
lea edx, [esp + 0x25c]
lea eax, [esp + 0x260]
push eax
push edx
push ecx
push edi
lea eax, [esp + 0x260]
push eax
lea eax, [esp + 0x260]
push eax
lea eax, [esp + 0x260]
push eax
push str._f_t_f_t_f_t_f_t_f_t_f_t_f
lea eax, [esp + 0x14a]
push eax
call fcn.00859b7a
add esp, 0x24
fld dword [0x93a3ac]
fld dword [esp + 0x254]
fmul st(1)
fld st(0)
mov eax, 0xffffffff
fchs
fld dword [esp + 0x258]
fmulp st(3)
fld st(2)
mov edx, dword [esp + 0x1c]
fxch st(2)
fst dword [edx + 4]
fxch st(1)
fst dword [edx + 0x1c]
fxch st(3)
fst dword [edx + 0x30]
fxch st(1)
fstp dword [edx + 0x34]
fstp dword [edx + 0x48]
fxch st(1)
fstp dword [edx + 0x4c]
mov dword [edx + 0x14], eax
mov dword [edx + 0x2c], eax
mov dword [edx + 8], 0
mov dword [edx + 0x44], eax
mov dword [edx + 0x5c], eax
fchs
fst dword [edx]
fstp dword [edx + 0x18]
mov dword [edx + 0x20], 0
mov dword [edx + 0x38], 0
mov dword [edx + 0x50], 0
call fcn.0082d7b0
xor ecx, ecx
call fcn.00830cd8
lea edx, [esp + 0x248]
xor ecx, ecx
call fcn.008316b4
fld dword [esp + 0x25c]
fmul dword [0x93a3a4]
fdiv dword [0x93a3a0]
fnstcw word [esp]
movzx eax, word [esp]
or eax, 0xc00
mov dword [esp + 8], eax
fldcw word [esp + 8]
fistp dword [esp + 0x10]
fldcw word [esp]
xor ecx, ecx
mov edx, dword [esp + 0x10]
call fcn.0082d8bc
fld dword [esp + 0x260]
fmul dword [0x93a3a4]
fdiv dword [0x93a3a0]
fnstcw word [esp]
movzx eax, word [esp]
or eax, 0xc00
mov dword [esp + 8], eax
fldcw word [esp + 8]
fistp dword [esp + 0x10]
fldcw word [esp]
xor ecx, ecx
mov edx, dword [esp + 0x10]
call fcn.0082e9e4
mov eax, dword [esp + 0x1c]
push eax
push eax
call fcn.00835c3c
mov eax, dword [esp + 0x24]
lea edx, [eax + 0x18]
push edx
push edx
call fcn.00835c3c
mov eax, dword [esp + 0x2c]
lea edx, [eax + 0x30]
push edx
push edx
call fcn.00835c3c
mov eax, dword [esp + 0x34]
lea edx, [eax + 0x48]
push edx
push edx
call fcn.00835c3c
add esp, 0x20
call fcn.0082da80
mov edi, 1
jmp 0x67173e
cmp edi, 1
jne 0x67173e
lea edx, [esp + 0x124]
push 6
push str.anime_t
push edx
call fcn.008598c0
add esp, 0xc
test eax, eax
jne 0x671ab5
lea ecx, [esp + 0x12a]
lea edx, [esp + 0x1a4]
push esi
push edx
push str._d_t_d
push ecx
call fcn.00859b7a
add esp, 0x10
mov ecx, dword [esp + 0x1a4]
mov edx, dword [esp + 0x1c]
add ecx, dword [edx + 0x64]
mov dword [edx + 0x64], ecx
mov word [esi + 2], cx
add esi, 4
lea edx, [esp + 0x124]
push 3
push 0x93a3e4
push edx
call fcn.008598c0
add esp, 0xc
test eax, eax
jne 0x67173e
mov ecx, dword [esp + 0x1c]
lea edi, [esp + 0x1a8]
mov eax, dword [ecx + 0x68]
movzx edx, word [eax]
mov byte [ecx + 0x61], dl
mov esi, 0x93a300
mov ecx, 0xa0
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov ecx, eax
movsx esi, byte [eax + 0x61]
mov eax, 0x66666667
imul esi
mov eax, esi
sar eax, 0x1f
sar edx, 2
sub edx, eax
mov dword [esp + 0x20], edx
lea eax, [edx + edx]
add eax, eax
add eax, edx
add eax, eax
sub esi, eax
mov eax, edx
movsx eax, al
xor edx, edx
test eax, eax
mov edi, 0
jg 0x671b3a
mov eax, edx
mov edx, 1
cmp eax, 1
jl 0x671b46
mov eax, edx
test esi, esi
mov edx, ecx
mov byte [edx + 0x60], al
mov eax, 0
jge 0x671b56
mov esi, eax
mov eax, 8
cmp esi, 8
jle 0x671b62
mov esi, eax
add esi, esi
mov eax, dword [esp + esi*8 + 0x1a8]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + esi*8 + 0x1ac]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + esi*8 + 0x1a8]
mov dword [ecx + 0x24], eax
mov eax, dword [esp + esi*8 + 0x1b4]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + esi*8 + 0x1b0]
mov dword [ecx + 0x3c], eax
mov eax, dword [esp + esi*8 + 0x1ac]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + esi*8 + 0x1b0]
mov dword [ecx + 0x54], eax
mov eax, dword [esp + esi*8 + 0x1b4]
mov dword [edx + 0x58], eax
add edx, 0x6c
mov esi, dword [edx + 0x68]
mov dword [esp + 0x1c], edx
jmp 0x67173e
add esp, 0x264
pop ebx
pop ebp
pop esi
pop edi
ret 8
mov dword [esp + 0x1c], ecx
jmp 0x67165b
mov dword [esp + 0x1c], ecx
jmp 0x671653
mov dword [esp + 0x18], ecx
jmp 0x67186f
mov dword [esp + 0x18], ecx
jmp 0x671867
mov ebp, dword [esp + 0x20]
mov eax, ebx
jmp 0x6714cb
test edx, edx
jne 0x6714a2
jmp 0x6714bd