Function at 0x414f30
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
push edi
mov edi, ecx
push 4
lea ecx, [edi + 0xc]
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, dword [esi]
lea eax, [edi + 0x10]
push 4
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
lea eax, [edi + 0x14]
push 4
push eax
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi]
push 4
lea ecx, [edi + 0x18]
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, dword [esi]
push 4
lea ebp, [edi + 0x1c]
push ebp
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
lea eax, [edi + 0x20]
push 4
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
lea eax, [edi + 0x24]
push 4
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
lea eax, [edi + 0x28]
push 4
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
lea eax, [edi + 0x2c]
push 4
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
lea eax, [edi + 0x30]
push 4
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
lea eax, [edi + 0x34]
push 4
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
lea eax, [edi + 0x38]
push 4
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
lea eax, [edi + 0x3c]
push 4
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
lea eax, [edi + 0x40]
push 4
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
lea eax, [edi + 0x44]
push 4
push eax
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi]
push 4
lea ecx, [edi + 0x48]
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, dword [esi]
push 4
lea eax, [edi + 0x4c]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
push 4
lea eax, [edi + 0x50]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
push 4
lea eax, [edi + 0x54]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
push 4
lea eax, [edi + 0x58]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
push 4
lea eax, [edi + 0x5c]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
push 4
lea eax, [edi + 0x60]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
push 4
lea eax, [edi + 0x68]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
push 4
lea eax, [edi + 0x6c]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
push 4
lea eax, [edi + 0x70]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
push 4
lea eax, [edi + 0x74]
push eax
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [esi + 0x38]
push 1
push 0x10
push ecx
mov dword [esi + 8], 2
call fcn.0048a99c
mov edx, dword [esi]
add esp, 0xc
lea eax, [edi + 0x78]
push 4
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
lea eax, [edi + 0x7c]
push 0x44
push eax
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi]
push 0x44
lea ecx, [edi + 0xc0]
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, dword [esi]
lea eax, [edi + 0x104]
push 0x44
push eax
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi]
push 0x44
lea ecx, [edi + 0x148]
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, dword [esi]
push 0x44
lea eax, [edi + 0x18c]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
push 0x44
lea eax, [edi + 0x1d0]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
push 0x44
lea eax, [edi + 0x214]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
push 0x44
lea eax, [edi + 0x29c]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
push 4
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
push 4
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
push 4
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
push 4
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esp + 0x14]
cmp eax, 0xffffff01
jge 0x41517a
mov eax, 0xffffff01
jmp 0x415186
cmp eax, 0xff
jle 0x415186
mov eax, 0xff
xor edx, edx
xor ecx, ecx
test eax, eax
jge 0x415197
neg eax
shl eax, 0x18
mov edx, eax
jmp 0x41519c
shl eax, 0x18
mov ecx, eax
mov eax, dword [esp + 0x18]
cmp eax, 0xffffff01
jge 0x4151ae
mov eax, 0xffffff01
jmp 0x4151ba
cmp eax, 0xff
jle 0x4151ba
mov eax, 0xff
and edx, 0xff00ffff
and ecx, 0xff00ffff
test eax, eax
jge 0x4151d3
neg eax
shl eax, 0x10
or edx, eax
jmp 0x4151d8
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffff01
jge 0x4151ea
mov eax, 0xffffff01
jmp 0x4151f6
cmp eax, 0xff
jle 0x4151f6
mov eax, 0xff
and edx, 0xffff00ff
and ecx, 0xffff00ff
test eax, eax
jge 0x41520f
neg eax
shl eax, 8
or edx, eax
jmp 0x415214
shl eax, 8
or ecx, eax
mov eax, dword [esp + 0x20]
cmp eax, 0xffffff01
jge 0x415226
mov eax, 0xffffff01
jmp 0x415232
cmp eax, 0xff
jle 0x415232
mov eax, 0xff
and edx, 0xffffff00
and ecx, 0xffffff00
test eax, eax
jge 0x415248
neg eax
or edx, eax
jmp 0x41524a
or ecx, eax
mov dword [edi + 0x2e4], ecx
mov dword [edi + 0x2e0], edx
lea eax, [edi + 0x3f0]
mov ecx, 4
mov edx, dword [edi + 0x2e0]
mov dword [eax], edx
mov edx, dword [edi + 0x2e4]
mov dword [eax + 4], edx
add eax, 8
dec ecx
jne 0x415261
mov eax, dword [esi]
push 4
lea ebx, [edi + 0x2e8]
push ebx
mov ecx, esi
call dword [eax + 4]
mov edx, dword [esi]
lea eax, [edi + 0x2ec]
push 4
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
lea eax, [edi + 0x2f0]
push 4
push eax
mov ecx, esi
call dword [edx + 4]
mov ax, word [edi + 0x2f8]
test al, 4
je 0x4152d1
test al, 0x20
je 0x4152d1
mov dword [edi + 0x2f0], 0x3f800000
mov dword [edi + 0x2ec], 0x3f800000
mov dword [ebx], 0x3f800000
cmp dword [edi + 0x44], 0x497423f0
jne 0x4152e3
mov dword [edi + 0x44], 0
jmp 0x415308
fld dword [edi + 0x44]
fcomp dword [0x498398]
fnstsw ax
test ah, 0x40
je 0x4152fc
mov dword [edi + 0x44], 0x497423f0
jmp 0x415308
fld dword [0x49861c]
fdiv dword [edi + 0x44]
fstp dword [edi + 0x44]
cmp dword [edi + 0x2c], 0x497423f0
je 0x41531d
fld dword [edi + 0x2c]
fmul dword [0x4982c4]
fstp dword [edi + 0x2c]
cmp dword [edi + 0x30], 0x497423f0
je 0x415332
fld dword [edi + 0x30]
fmul dword [0x4982c4]
fstp dword [edi + 0x30]
cmp dword [edi + 0x34], 0x497423f0
je 0x415347
fld dword [edi + 0x34]
fmul dword [0x4982c4]
fstp dword [edi + 0x34]
cmp dword [edi + 0x38], 0x497423f0
je 0x41535c
fld dword [edi + 0x38]
fmul dword [0x4982c4]
fstp dword [edi + 0x38]
cmp dword [edi + 0x3c], 0x497423f0
je 0x415371
fld dword [edi + 0x3c]
fmul dword [0x498618]
fstp dword [edi + 0x3c]
cmp dword [edi + 0x40], 0x497423f0
je 0x415386
fld dword [edi + 0x40]
fmul dword [0x498618]
fstp dword [edi + 0x40]
fld dword [edi + 0x2c]
fcomp dword [0x498398]
fnstsw ax
test ah, 0x40
je 0x4153d6
fld dword [edi + 0x30]
fcomp dword [0x498398]
fnstsw ax
test ah, 0x40
je 0x4153d6
fld dword [edi + 0x34]
fcomp dword [0x498398]
fnstsw ax
test ah, 0x40
je 0x4153d6
fld dword [edi + 0x38]
fcomp dword [0x498398]
fnstsw ax
test ah, 0x40
je 0x4153d6
mov eax, dword [edi + 0x14]
test al, 6
jne 0x4153d6
test ah, 0x10
jne 0x4153d6
xor eax, eax
jmp 0x4153db
mov eax, 1
mov dword [edi + 0x480], eax
mov eax, dword [edi + 0x78]
test eax, eax
jne 0x4153ff
push 0
push str.NoDir0
push 4
mov ecx, edi
call fcn.00414ce0
push 1
call fcn.0048abad
lea eax, [edi + 0x104]
mov ecx, 0x11
cmp dword [eax], 0
jne 0x41541a
xor edx, edx
mov dx, word [edi + 0x2fa]
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x41540a
mov ecx, dword [edi + 0x78]
fld dword [ebp]
mov eax, 0x80
fmul dword [0x4982d4]
cdq
idiv ecx
fstp dword [edi + 0x38c]
fld dword [edi + 0x20]
fmul dword [0x4982d4]
fstp dword [edi + 0x390]
mov dword [edi + 0x398], eax
mov eax, dword [edi + 0x28]
mov dword [edi + 0x3ec], eax
mov dword [edi + 0x3e8], eax
mov dword [edi + 0x3e4], eax
mov dword [edi + 0x3e0], eax
mov ax, word [edi + 0x2fc]
test ax, ax
jne 0x415488
push 0
push str.noCadr0
push 4
mov ecx, edi
call fcn.00414ce0
jmp 0x4154a8
movsx eax, ax
cmp eax, ecx
jge 0x4154a8
push eax
push str.noCadr___noDir
push 4
mov ecx, edi
call fcn.00414ce0
movsx eax, word [edi + 0x2fc]
mov dword [edi + 0x78], eax
mov edx, dword [edi + 0x78]
xor esi, esi
lea eax, [edi + 0x7c]
mov ecx, 0x11
mov ebx, dword [eax]
imul ebx, edx
add esi, ebx
add eax, 4
dec ecx
jne 0x4154b5
movsx eax, word [edi + 0x2fc]
cmp esi, eax
jle 0x415521
push eax
push str.noCadr_for_noAnimCadr_and_noDir
push 0xd
mov ecx, edi
call fcn.00414ce0
mov ebx, 0x10
lea ecx, [edi + 0xbc]
mov edx, dword [ecx]
imul edx, dword [edi + 0x78]
mov eax, esi
sub eax, edx
movsx edx, word [edi + 0x2fc]
cmp eax, edx
jle 0x41550e
mov dword [ecx], 0
dec ebx
sub ecx, 4
test ebx, ebx
mov esi, eax
jge 0x4154e7
jmp 0x415521
movsx ecx, word [edi + 0x2fc]
mov eax, esi
sub eax, ecx
cdq
idiv dword [edi + 0x78]
sub dword [edi + ebx*4 + 0x7c], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], 0xffffffff
lea esi, [edi + 0x7c]
mov edx, dword [0x4b2f48]
mov ecx, dword [edx + 8]
test ecx, ecx
mov eax, dword [esi + 0x44]
je 0x41557a
test eax, eax
jl 0x41555e
cmp eax, dword [edx + 4]
jg 0x41555e
lea edx, [eax*8]
sub edx, eax
shl edx, 4
cmp dword [edx + ecx + 0x6c], 0
jne 0x41557a
cmp dword [edi + 4], 0xffffffff
je 0x41557a
push eax
push 0x4a1d00
push 4
mov ecx, edi
call fcn.00414ce0
mov dword [esi + 0x44], 0
cmp dword [esi], 0
je 0x4155be
mov eax, dword [esp + 0x10]
mov dword [esi + 0x288], eax
mov eax, dword [esp + 0x28]
test eax, eax
mov ecx, dword [esi]
mov dword [esi + 0x2cc], ecx
jge 0x415617
test ebx, ebx
mov dword [esp + 0x28], ebx
jle 0x415617
lea eax, [edi + 0x348]
mov ecx, ebx
cmp dword [eax], 0
jne 0x4155b6
mov edx, dword [esi + 0x2cc]
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x4155a9
jmp 0x415617
cmp dword [edi + 0x10], 0xa
jne 0x4155fc
test bl, 1
je 0x4155fc
cmp ebx, 9
jg 0x4155fc
mov eax, dword [esp + 0x28]
shl eax, 2
mov ecx, dword [eax + edi + 0x80]
test ecx, ecx
je 0x4155fc
mov ecx, dword [eax + edi + 0x308]
mov dword [esi + 0x288], ecx
mov edx, dword [eax + edi + 0x34c]
mov dword [esi + 0x2cc], edx
jmp 0x415617
mov eax, dword [esp + 0x28]
mov dword [esi + 0x288], 0
mov ecx, dword [edi + eax*4 + 0x348]
mov dword [esi + 0x2cc], ecx
mov edx, dword [esi]
imul edx, dword [edi + 0x78]
mov eax, dword [esp + 0x10]
movsx ecx, word [edi + 0x2fc]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x10], eax
jle 0x41565c
push ebx
push str.noCadr_and_noAnimCadr_and_noDir
push 0xa
mov ecx, edi
call fcn.00414ce0
mov edx, dword [esp + 0x28]
mov dword [esi + 0x288], 0
mov eax, dword [edi + edx*4 + 0x348]
mov dword [esi + 0x2cc], eax
inc ebx
add esi, 4
cmp ebx, 0x11
jl 0x415532
mov eax, dword [edi + 0x10]
cmp eax, 8
jne 0x415697
mov ecx, dword [edi + 0x488]
or ecx, 0x20
cmp eax, eax
mov dword [edi + 0x488], ecx
jne 0x415697
mov ecx, dword [0x4b1f20]
test byte [ecx + 0xc], 1
je 0x415697
mov dword [edi + 0x10], 0
test byte [edi + 0x14], 8
je 0x415916
mov eax, dword [edi + 0x474]
test eax, eax
jne 0x415916
fld dword [ebp]
call fcn.00488e84
lea ecx, [eax + 0x11]
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
imul eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
inc eax
lea edx, [eax + eax*2]
shl edx, 2
push edx
call fcn.00488e10
mov esi, eax
fld dword [0x498398]
add esp, 4
fcomp dword [edi + 0x20]
xor edx, edx
fnstsw ax
test ah, 1
je 0x4157e3
fld dword [0x498398]
fld dword [0x498398]
xor ecx, ecx
fcomp dword [ebp]
fnstsw ax
test ah, 1
je 0x41577c
fld dword [0x498398]
fld dword [ebp]
mov eax, dword [edi + 0x474]
fmul dword [0x4982d4]
lea eax, [eax + eax*2]
add ecx, 8
mov dword [esp + 0x28], ecx
fsubr st(1)
fstp dword [esi + eax*4]
mov eax, dword [edi + 0x474]
fld dword [edi + 0x20]
lea eax, [eax + eax*2]
fmul dword [0x4982d4]
fsubr st(2)
fstp dword [esi + eax*4 + 4]
mov eax, dword [edi + 0x474]
fild dword [esp + 0x28]
mov ebx, dword [edi + 0x24]
lea eax, [eax + eax*2]
mov dword [esi + eax*4 + 8], ebx
mov ebx, dword [edi + 0x474]
fstp st(1)
fcom dword [ebp]
inc ebx
mov dword [edi + 0x474], ebx
fnstsw ax
test ah, 1
jne 0x415717
fstp st(0)
fld dword [ebp]
mov eax, dword [edi + 0x474]
fmul dword [0x4982d4]
lea ecx, [eax + eax*2]
add edx, 8
mov dword [esp + 0x28], edx
fstp dword [esi + ecx*4]
mov eax, dword [edi + 0x474]
fld dword [edi + 0x20]
lea eax, [eax + eax*2]
fmul dword [0x4982d4]
fsubr st(1)
fstp dword [esi + eax*4 + 4]
mov eax, dword [edi + 0x474]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x24]
fstp st(0)
fild dword [esp + 0x28]
mov dword [esi + ecx*4 + 8], eax
mov ecx, dword [edi + 0x474]
inc ecx
fcom dword [edi + 0x20]
mov dword [edi + 0x474], ecx
fnstsw ax
test ah, 1
jne 0x4156ff
fstp st(0)
fld dword [0x498398]
xor ecx, ecx
fcomp dword [ebp]
fnstsw ax
test ah, 1
je 0x41585e
fld dword [0x498398]
fld dword [ebp]
mov eax, dword [edi + 0x474]
fmul dword [0x4982d4]
lea edx, [eax + eax*2]
add ecx, 8
mov dword [esp + 0x28], ecx
fsubr st(1)
fstp dword [esi + edx*4]
mov eax, dword [edi + 0x474]
fld dword [edi + 0x20]
lea eax, [eax + eax*2]
fmul dword [0x4982d4]
fstp dword [esi + eax*4 + 4]
mov eax, dword [edi + 0x474]
fild dword [esp + 0x28]
lea edx, [eax + eax*2]
mov eax, dword [edi + 0x24]
mov dword [esi + edx*4 + 8], eax
mov edx, dword [edi + 0x474]
fstp st(1)
fcom dword [ebp]
inc edx
mov dword [edi + 0x474], edx
fnstsw ax
test ah, 1
jne 0x4157fb
fstp st(0)
fld dword [ebp]
mov eax, dword [edi + 0x474]
fmul dword [0x4982d4]
lea ecx, [eax + eax*2]
fstp dword [esi + ecx*4]
mov eax, dword [edi + 0x474]
fld dword [edi + 0x20]
lea edx, [eax + eax*2]
fmul dword [0x4982d4]
fstp dword [esi + edx*4 + 4]
mov eax, dword [edi + 0x474]
mov ecx, dword [edi + 0x24]
lea eax, [eax + eax*2]
mov dword [esi + eax*4 + 8], ecx
mov edx, dword [edi + 0x474]
mov eax, dword [edi + 0x478]
inc edx
test eax, eax
mov dword [edi + 0x474], edx
je 0x4158b9
push eax
call fcn.00488e76
add esp, 4
mov eax, dword [edi + 0x474]
lea edx, [eax + eax*2]
shl edx, 2
push edx
call fcn.00488e10
mov dword [edi + 0x478], eax
mov eax, dword [edi + 0x474]
add esp, 4
xor ecx, ecx
test eax, eax
jle 0x41590d
xor eax, eax
mov ebp, dword [edi + 0x478]
lea edx, [eax + esi]
mov ebx, eax
add ebx, ebp
mov ebp, dword [edx]
mov dword [ebx], ebp
mov ebp, dword [edx + 4]
mov dword [ebx + 4], ebp
mov edx, dword [edx + 8]
mov dword [ebx + 8], edx
mov edx, dword [edi + 0x474]
inc ecx
add eax, 0xc
cmp ecx, edx
jl 0x4158e2
push esi
call fcn.00488e76
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4