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

Disassembly:
sub esp, 0x2b8
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x28], ebx
lea edi, [ebx + 0x48]
push edi
mov dword [esp + 0x48], edi
call dword [0x4f011c]
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 0x66]
mov eax, dword [ebx + 0x90]
cmp esi, eax
je 0x46fb54
cmp byte [esi], 0
jne case.0x46f9be.4
mov ecx, dword [esi + 0x5e]
mov edi, dword [esi + 0x5a]
imul ecx, dword [esi + 0x62]
inc edi
mov eax, edi
mov dword [esi + 0x5a], edi
cmp eax, ecx
jl 0x46f19f
cmp dword [esi + 0x52], 5
jne 0x46f17c
mov eax, dword [esi + 0x62]
cmp eax, 0xc
jle 0x46f17c
cmp eax, 0x1e
jge 0x46f17c
fld dword [esi + 0xd]
fadd dword [esi + 1]
fld dword [esi + 5]
fadd dword [esi + 0x11]
mov edx, dword [ebx + 0x64]
push 6
push 0x3f800000
push 0x40000000
fstp dword [esp + 0x140]
fld dword [esi + 9]
fadd dword [esi + 0x15]
mov ecx, dword [edx + 0x9d]
push 0xffffffffffffffff
push 0
push 0
fstp dword [esp + 0x150]
sub esp, 0xc
mov dword [esp + 0xe8], 0
fadd dword [esi + 0x19]
fld dword [esp + 0x158]
fadd dword [esi + 0x1d]
mov edx, dword [esp + 0xe8]
mov eax, esp
mov dword [esp + 0xec], 0xbecccccd
mov dword [esp + 0xf0], 0
fstp dword [esp + 0x164]
fld dword [esp + 0x15c]
fadd dword [esi + 0x21]
mov dword [eax], edx
mov edx, dword [esp + 0xec]
sub esp, 0xc
fstp dword [esp + 0x174]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xfc]
fmul dword [0x4f1a3c]
mov dword [eax + 8], edx
mov eax, esp
fstp dword [esp + 0x84]
fld dword [esp + 0x170]
fmul dword [0x4f1a3c]
mov edx, dword [esp + 0x84]
mov dword [eax], edx
fstp dword [esp + 0x88]
fld dword [esp + 0x174]
fmul dword [0x4f1a3c]
mov edx, dword [esp + 0x88]
mov dword [eax + 4], edx
fstp dword [esp + 0x8c]
mov edx, dword [esp + 0x8c]
mov dword [eax + 8], edx
call fcn.0049f280
test al, al
je 0x46fb68
mov eax, dword [esi + 0x6a]
mov edi, dword [esi + 0x66]
push esi
mov dword [eax + 0x66], edi
mov ecx, dword [esi + 0x66]
mov edx, dword [esi + 0x6a]
mov dword [ecx + 0x6a], edx
call dword [0x4f01b4]
add esp, 4
mov esi, edi
jmp 0x46fb44
cmp dword [esi + 0x42], 0x3f800000
je 0x46f9b1
fld dword [esi + 9]
fadd dword [esi + 0x15]
push ecx
mov al, byte [esi + 0x31]
test al, al
fstp dword [esp]
fld dword [esi + 5]
fadd dword [esi + 0x11]
push ecx
fstp dword [esp]
fld dword [esi + 0xd]
fadd dword [esi + 1]
push ecx
fstp dword [esp]
je 0x46f540
lea ecx, [esp + 0x160]
call fcn.0040dff0
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x110], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x114], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x118], eax
fld dword [esp + 0x118]
fadd dword [esi + 0x21]
fstp dword [esp]
fld dword [esp + 0x114]
fadd dword [esi + 0x1d]
push ecx
fstp dword [esp]
fld dword [esp + 0x114]
fadd dword [esi + 0x19]
push ecx
lea ecx, [esp + 0x274]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x74], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x78], eax
fld dword [esp + 0x78]
fmul dword [0x4f1a3c]
fstp dword [esp]
fld dword [esp + 0x74]
fmul dword [0x4f1a3c]
push ecx
fstp dword [esp]
fld dword [esp + 0x74]
fmul dword [0x4f1a3c]
push ecx
lea ecx, [esp + 0x184]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
fld dword [esi + 9]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
fsub dword [esp + 0x28]
fstp dword [esp]
fld dword [esi + 5]
fsub dword [esp + 0x24]
push ecx
fstp dword [esp]
fld dword [esi + 1]
fsub dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x22c]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
fld dword [esi + 0x42]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe0], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0xe8], eax
fld dword [esp + 0xe8]
fmul st(1)
fstp dword [esp]
fld dword [esp + 0xe4]
fmul st(1)
push ecx
fstp dword [esp]
fld dword [esp + 0xe4]
fmul st(1)
push ecx
fstp dword [esp]
lea ecx, [esp + 0x19c]
fstp st(0)
call fcn.0040dff0
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x88], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x8c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x90], eax
fld dword [esp + 0x90]
fadd dword [esp + 0x28]
fstp dword [esp]
fld dword [esp + 0x8c]
fadd dword [esp + 0x24]
push ecx
fstp dword [esp]
fld dword [esp + 0x8c]
fadd dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x2a4]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
mov dword [esi + 1], ecx
push ecx
mov edx, dword [eax + 4]
mov dword [esi + 5], edx
mov eax, dword [eax + 8]
mov dword [esi + 9], eax
fld dword [esi + 0x15]
fsub dword [esp + 0x28]
fstp dword [esp]
fld dword [esi + 0x11]
fsub dword [esp + 0x24]
push ecx
fstp dword [esp]
fld dword [esi + 0xd]
fsub dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x1b4]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
fld dword [esi + 0x42]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x12c], edx
mov dword [esp + 0x128], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x130], eax
fld dword [esp + 0x130]
fmul st(1)
fstp dword [esp]
fld dword [esp + 0x12c]
fmul st(1)
push ecx
fstp dword [esp]
fld dword [esp + 0x12c]
fmul st(1)
push ecx
lea ecx, [esp + 0x244]
fstp dword [esp]
fstp st(0)
call fcn.0040dff0
mov ecx, dword [eax]
push ecx
mov dword [esp + 0xa0], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xa4], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xa8], eax
fld dword [esp + 0xa8]
fadd dword [esp + 0x28]
fstp dword [esp]
fld dword [esp + 0xa4]
fadd dword [esp + 0x24]
push ecx
fstp dword [esp]
fld dword [esp + 0xa4]
fadd dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x1cc]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
mov dword [esi + 0xd], ecx
push ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x11], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x15], eax
fld dword [esi + 0x21]
fsub dword [esp + 0x28]
fstp dword [esp]
fld dword [esi + 0x1d]
fsub dword [esp + 0x24]
push ecx
fstp dword [esp]
fld dword [esi + 0x19]
fsub dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x28c]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
fld dword [esi + 0x42]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0xfc], edx
mov dword [esp + 0xf8], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x100], eax
fld dword [esp + 0x100]
fmul st(1)
fstp dword [esp]
fld dword [esp + 0xfc]
fmul st(1)
push ecx
fstp dword [esp]
fld dword [esp + 0xfc]
fmul st(1)
push ecx
lea ecx, [esp + 0x1e4]
fstp dword [esp]
fstp st(0)
call fcn.0040dff0
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
fld dword [esp + 0x38]
fadd dword [esp + 0x28]
fstp dword [esp]
fld dword [esp + 0x34]
fadd dword [esp + 0x24]
push ecx
fstp dword [esp]
fld dword [esp + 0x34]
fadd dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x25c]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
mov dword [esi + 0x19], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x1d], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x21], eax
jmp 0x46f9b1
lea ecx, [esp + 0x1fc]
call fcn.0040dff0
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x11c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x120], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x124], eax
fld dword [esp + 0x124]
fadd dword [esi + 0x21]
fstp dword [esp]
fld dword [esp + 0x120]
fadd dword [esi + 0x1d]
push ecx
fstp dword [esp]
fld dword [esp + 0x120]
fadd dword [esi + 0x19]
push ecx
lea ecx, [esp + 0x2bc]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
fld dword [esp + 0x44]
fadd dword [esi + 0x2d]
fstp dword [esp]
fld dword [esp + 0x40]
fadd dword [esi + 0x29]
push ecx
fstp dword [esp]
fld dword [esp + 0x40]
fadd dword [esi + 0x25]
push ecx
lea ecx, [esp + 0x214]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
fld dword [esp + 0x54]
fmul dword [0x4f1f90]
fstp dword [esp]
fld dword [esp + 0x50]
fmul dword [0x4f1f90]
push ecx
fstp dword [esp]
fld dword [esp + 0x50]
fmul dword [0x4f1f90]
push ecx
lea ecx, [esp + 0x16c]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
fld dword [esi + 9]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
push ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
fsub dword [esp + 0x1c]
fstp dword [esp]
fld dword [esi + 5]
fsub dword [esp + 0x18]
push ecx
fstp dword [esp]
fld dword [esi + 1]
fsub dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x178]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
fld dword [esi + 0x42]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x6c], eax
fld dword [esp + 0x6c]
fmul st(1)
fstp dword [esp]
fld dword [esp + 0x68]
fmul st(1)
push ecx
fstp dword [esp]
fld dword [esp + 0x68]
fmul st(1)
push ecx
lea ecx, [esp + 0x190]
fstp dword [esp]
fstp st(0)
call fcn.0040dff0
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x80], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x84], eax
fld dword [esp + 0x84]
fadd dword [esp + 0x1c]
fstp dword [esp]
fld dword [esp + 0x80]
fadd dword [esp + 0x18]
push ecx
fstp dword [esp]
fld dword [esp + 0x80]
fadd dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x1a8]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
mov dword [esi + 1], ecx
push ecx
mov edx, dword [eax + 4]
mov dword [esi + 5], edx
mov eax, dword [eax + 8]
mov dword [esi + 9], eax
fld dword [esi + 0x15]
fsub dword [esp + 0x1c]
fstp dword [esp]
fld dword [esi + 0x11]
fsub dword [esp + 0x18]
push ecx
fstp dword [esp]
fld dword [esi + 0xd]
fsub dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x1c0]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
fld dword [esi + 0x42]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x94], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x9c], eax
fld dword [esp + 0x9c]
fmul st(1)
fstp dword [esp]
fld dword [esp + 0x98]
fmul st(1)
push ecx
fstp dword [esp]
fld dword [esp + 0x98]
fmul st(1)
push ecx
fstp dword [esp]
lea ecx, [esp + 0x1d8]
fstp st(0)
call fcn.0040dff0
mov ecx, dword [eax]
push ecx
mov dword [esp + 0xac], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xb0], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xb4], eax
fld dword [esp + 0xb4]
fadd dword [esp + 0x1c]
fstp dword [esp]
fld dword [esp + 0xb0]
fadd dword [esp + 0x18]
push ecx
fstp dword [esp]
fld dword [esp + 0xb0]
fadd dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x1f0]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
mov dword [esi + 0xd], ecx
push ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x11], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x15], eax
fld dword [esi + 0x21]
fsub dword [esp + 0x1c]
fstp dword [esp]
fld dword [esi + 0x1d]
fsub dword [esp + 0x18]
push ecx
fstp dword [esp]
fld dword [esi + 0x19]
fsub dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x208]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
fld dword [esi + 0x42]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xbc], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0xc4], eax
fld dword [esp + 0xc4]
fmul st(1)
fstp dword [esp]
fld dword [esp + 0xc0]
fmul st(1)
push ecx
fstp dword [esp]
fld dword [esp + 0xc0]
fmul st(1)
push ecx
lea ecx, [esp + 0x220]
fstp dword [esp]
fstp st(0)
call fcn.0040dff0
mov ecx, dword [eax]
push ecx
mov dword [esp + 0xd4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xd8], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xdc], eax
fld dword [esp + 0xdc]
fadd dword [esp + 0x1c]
fstp dword [esp]
fld dword [esp + 0xd8]
fadd dword [esp + 0x18]
push ecx
fstp dword [esp]
fld dword [esp + 0xd8]
fadd dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x238]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
mov dword [esi + 0x19], ecx
push ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x1d], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x21], eax
fld dword [esi + 0x2d]
fsub dword [esp + 0x1c]
fstp dword [esp]
fld dword [esi + 0x29]
fsub dword [esp + 0x18]
push ecx
fstp dword [esp]
fld dword [esi + 0x25]
fsub dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x250]
fstp dword [esp]
call fcn.0040dff0
mov ecx, dword [eax]
fld dword [esi + 0x42]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0xf0], edx
mov dword [esp + 0xec], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0xf4], eax
fld dword [esp + 0xf4]
fmul st(1)
fstp dword [esp]
fld dword [esp + 0xf0]
fmul st(1)
push ecx
fstp dword [esp]
fld dword [esp + 0xf0]
fmul st(1)
push ecx
lea ecx, [esp + 0x268]
fstp dword [esp]
fstp st(0)
call fcn.0040dff0
mov ecx, dword [eax]
mov dword [esp + 0x148], ecx
lea ecx, [esp + 0x148]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x150], edx
lea edx, [esp + 0x14]
mov eax, dword [eax + 8]
push edx
mov dword [esp + 0x158], eax
lea eax, [esp + 0x27c]
push eax
call fcn.0042fee0
mov ecx, dword [eax]
add esp, 0xc
mov dword [esi + 0x25], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x29], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x2d], eax
mov eax, dword [esi + 0x52]
dec eax
cmp eax, 4
ja case.0x46f9be.4
jmp dword [eax*4 + 0x46fb90]
mov ecx, dword [esi + 0x5a]
mov eax, ecx
shl eax, 8
sub eax, ecx
mov ecx, 0xff
cdq
idiv dword [esi + 0x62]
jmp 0x46f9ec
mov eax, dword [esi + 0x5a]
mov ecx, 0x60
lea eax, [eax + eax*2]
shl eax, 5
cdq
idiv dword [esi + 0x62]
mov edx, dword [esi + 0x56]
sub ecx, eax
shl ecx, 0x18
and edx, 0xffffff
or ecx, edx
mov dword [esi + 0x56], ecx
jmp case.0x46f9be.4
cmp dword [esi + 0x62], 0x32
jne 0x46fb0b
lea eax, [esi + 0x19]
lea ecx, [esi + 0xd]
push eax
lea edx, [esi + 1]
push ecx
lea eax, [esp + 0x294]
push edx
push eax
call fcn.0042fee0
add esp, 0xc
lea ecx, [esp + 0x2a8]
push eax
push ecx
call fcn.0042fee0
fld dword [eax + 8]
fmul dword [0x4f1a3c]
add esp, 8
fstp dword [esp]
fld dword [eax + 4]
fmul dword [0x4f1a3c]
push ecx
fstp dword [esp]
fld dword [eax]
fmul dword [0x4f1a3c]
push ecx
lea ecx, [esp + 0x2c8]
fstp dword [esp]
call fcn.0040dff0
mov edi, dword [eax]
mov edx, dword [esp + 0x28]
push 0
push 0x3f828f5c
mov ebx, dword [eax + 4]
push 0x40000000
push 0xffffffffffffffff
push 0xa
mov ebp, dword [eax + 8]
mov eax, dword [edx + 0x64]
mov dword [esp + 0x11c], 0
mov dword [esp + 0x118], 0
mov ecx, dword [eax + 0x9d]
mov dword [esp + 0x114], 0
mov dword [esp + 0xc8], ecx
call dword [0x4f0220]
cdq
mov ecx, 9
idiv ecx
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x118]
push edx
sub esp, 0xc
mov edx, esp
sub esp, 0xc
mov dword [edx], eax
mov eax, dword [esp + 0x138]
mov dword [edx + 4], ecx
mov ecx, esp
mov dword [edx + 8], eax
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebp
mov ecx, dword [esp + 0xe4]
call fcn.0049f280
mov ebx, dword [esp + 0x28]
test al, al
je 0x46fb68
lea edi, [esi + 0x46]
lea ecx, [esi + 1]
push edi
call fcn.00471180
push edi
lea ecx, [esi + 0xd]
call fcn.00471180
push edi
lea ecx, [esi + 0x19]
call fcn.00471180
fld dword [esi + 0x4a]
fsub dword [0x4f1f8c]
push 0x3f6e147b
mov ecx, edi
fstp dword [esi + 0x4a]
call fcn.004711b0
mov esi, dword [esi + 0x66]
cmp esi, dword [ebx + 0x90]
jne 0x46f035
mov edi, dword [esp + 0x44]
push edi
call dword [0x4f0120]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2b8
ret
push str.Tick__:_Error_occurs.
push ebx
mov dword [0x8210d4], 1
call fcn.004331c0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2b8
ret