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

Disassembly:
sub esp, 0x1cc
mov eax, dword [0x821094]
push ebx
push ebp
push esi
mov esi, ecx
push edi
test eax, eax
mov dword [esp + 0x18], esi
je 0x482b25
lea eax, [esp + 0xd8]
push 0x104
push eax
push str.D:DevProjectsJMain1SourceVEffect.cpp
mov dword [0x8210d4], 1
call fcn.004e6240
lea ecx, [esp + 0xd8]
push 0x509
push ecx
push str.Program_runs_to__s__d.
push esi
call fcn.004331c0
add esp, 0x10
mov eax, dword [esi + 0x64]
mov esi, dword [esp + 0x1e0]
mov byte [esp + 0x13], 0
mov edx, dword [eax + 0x5f3f]
lea ecx, [esi + 0x12]
mov edi, dword [eax + 0x5f47]
mov dword [esp + 0x44], edx
mov ebp, dword [ecx]
lea eax, [esp + 0x60]
mov dword [esp + 0x1c], ebp
mov edx, dword [ecx + 4]
mov dword [esp + 0x20], edx
mov ecx, dword [ecx + 8]
push ecx
mov dword [esp + 0x28], ecx
push ebp
push eax
mov ecx, edi
call fcn.004afa10
fld dword [edi + 0x7c]
fdivr dword [esi + 0x66]
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
mov ebx, dword [eax + 4]
fadd dword [0x4f0590]
call fcn.004ecc00
fld dword [esi + 0x66]
fcomp dword [0x4f0400]
mov ecx, eax
mov dword [esp + 0x60], ecx
fnstsw ax
test ah, 0x41
je 0x482c55
mov eax, dword [esi + 0x56]
test eax, eax
jg 0x482c46
neg eax
cmp eax, 0x2c
jne 0x482c46
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x5e]
push edx
mov ecx, dword [eax + 0x64]
add ecx, 0x5f4b
call fcn.004be7d0
test eax, eax
mov dword [esp + 0x14], eax
je 0x482c46
mov cl, byte [eax + 0x188e]
test cl, cl
jne 0x482c46
add eax, 0xc8
mov dword [eax], 0
mov ecx, dword [eax]
cmp ecx, 0x3e8
jl 0x482bf5
mov ecx, 0x3e8
mov dword [eax], ecx
mov eax, dword [esi + 0x62]
push 0
push eax
mov eax, dword [esi + 0x5a]
mov edi, dword [esp + 0x28]
push eax
push 0
push 0
mov ecx, dword [esp + 0x28]
sub esp, 0xc
add esi, 6
mov eax, esp
sub esp, 0xc
mov edx, dword [ecx]
mov dword [eax], ebp
mov dword [eax + 4], edi
mov edi, dword [esp + 0x50]
mov dword [eax + 8], edi
mov edi, dword [esi]
mov eax, esp
mov dword [eax], edi
mov edi, dword [esi + 4]
mov esi, dword [esi + 8]
mov dword [eax + 4], edi
mov dword [eax + 8], esi
call dword [edx + 0xb8]
test al, al
je 0x4830ce
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1cc
ret 4
mov eax, dword [esp + 0x68]
lea edx, [ebx + ecx + 1]
push edx
lea edx, [eax + ecx + 1]
sub eax, ecx
push edx
mov edx, ebx
sub edx, ecx
dec edx
dec eax
push edx
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.004012b0
mov ecx, dword [edi + 0x78]
mov edx, dword [edi + 0x74]
dec ecx
dec edx
push ecx
push edx
push 0
lea eax, [esp + 0xc8]
push 0
push eax
call fcn.004012b0
lea ecx, [esp + 0xd0]
lea edx, [esp + 0xe0]
push ecx
lea eax, [esp + 0x7c]
push edx
push eax
call fcn.004011d0
add esp, 0x34
test eax, eax
je 0x482c46
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
mov dword [esp + 0x28], eax
jg 0x482c46
mov edi, dword [esp + 0x50]
sub ebx, eax
mov ecx, ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x48], ecx
mov ebp, edi
cmp edi, ebx
mov dword [esp + 0x2c], ebp
jg 0x4830a5
mov eax, dword [esp + 0x68]
imul ecx, ecx
sub eax, edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], eax
jmp 0x482cff
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov edx, eax
imul edx, eax
add edx, ecx
mov dword [esp + 0x3c], edx
fild dword [esp + 0x3c]
fsqrt
fadd qword [0x4f0458]
call fcn.004ecc00
mov ecx, dword [esp + 0x60]
inc ecx
cmp eax, ecx
jg 0x48308b
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x13]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push ebx
push ebp
call fcn.00438a20
test al, al
je 0x483083
mov eax, dword [esp + 0x14]
test eax, eax
je 0x483083
add eax, 0xf9
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 4]
fld dword [esp + 0x30]
fsub dword [esp + 0x1c]
mov edi, dword [eax + 8]
mov dword [esp + 0x34], ecx
fld dword [esp + 0x34]
fsub dword [esp + 0x20]
mov dword [esp + 0x38], edi
fst dword [esp + 0x3c]
fld dword [esp + 0x38]
fsub dword [esp + 0x24]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fcomp dword [esi + 0x66]
fnstsw ax
test ah, 1
je 0x482ed1
fld dword [esp + 0x3c]
fabs
fld dword [esi + 0x66]
fmul dword [0x4f1a3c]
fcompp
fnstsw ax
test ah, 0x41
jne 0x482ed1
mov eax, dword [esp + 0x18]
push edi
push edx
lea edx, [esp + 0xd8]
mov ecx, dword [eax + 0x64]
push edx
mov ecx, dword [ecx + 0x5f47]
call fcn.004afa10
mov ecx, eax
mov eax, dword [ecx]
cmp eax, ebp
mov ecx, dword [ecx + 4]
jne 0x482ed1
cmp ecx, ebx
jne 0x482ed1
mov eax, dword [esi + 0x56]
test eax, eax
jle 0x482e5e
mov edi, dword [esi + 0x62]
push 0
push edi
mov edi, dword [esi + 0x5a]
push edi
mov edi, dword [esi + 0x66]
push edi
mov edi, dword [esp + 0x2c]
push eax
mov ecx, dword [esp + 0x28]
sub esp, 0xc
mov eax, esp
sub esp, 0xc
mov edx, dword [ecx]
mov dword [eax], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x50]
mov dword [eax + 8], edi
lea eax, [esi + 6]
mov edi, esp
mov ebx, dword [eax]
mov dword [edi], ebx
mov ebx, dword [eax + 4]
mov dword [edi + 4], ebx
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
call dword [edx + 0xb8]
test al, al
je 0x4830ce
jmp 0x482ed1
mov ecx, dword [esp + 0x14]
neg eax
mov edi, eax
call fcn.004be110
mov ecx, dword [esp + 0x14]
mov ebp, dword [esi + 0x62]
mov ebx, eax
lea eax, [esp + 0x70]
mov edx, dword [ecx]
push eax
call dword [edx + 0x4c]
cmp edi, 0x2d
jne 0x482ebf
test ebp, ebp
jle 0x482ebf
test ebx, ebx
jle 0x482ebf
mov eax, dword [esp + 0x78]
test eax, eax
jg 0x482ebf
mov eax, dword [esp + 0x80]
test eax, eax
jg 0x482ebf
mov ecx, dword [esp + 0x18]
push ebx
mov edx, dword [ecx + 0x64]
mov ecx, dword [edx + ebp*4 + 0x5e30]
call fcn.00498cb0
cmp eax, 1
je 0x482ebf
mov dword [esp + 0x7c], 0x96
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x70]
push edx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ebp, dword [esp + 0x2c]
mov al, byte [esp + 0x13]
test al, al
je 0x483083
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0043a440
cmp eax, 0xffffffff
je 0x4830ce
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4830ce
test eax, eax
je 0x483083
add ecx, 0xf9
mov edx, dword [ecx]
mov dword [esp + 0x30], edx
mov eax, dword [ecx + 4]
fld dword [esp + 0x30]
mov edi, dword [ecx + 8]
mov dword [esp + 0x34], eax
fsub dword [esp + 0x1c]
mov dword [esp + 0x38], edi
fld dword [esp + 0x38]
fsub dword [esp + 0x24]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcomp dword [esi + 0x66]
fnstsw ax
test ah, 1
je 0x483077
fld dword [esp + 0x34]
fsub dword [esp + 0x20]
fabs
fld dword [esi + 0x66]
fmul dword [0x4f1a3c]
fcompp
fnstsw ax
test ah, 0x41
jne 0x483077
mov ecx, dword [esp + 0x18]
push edi
push edx
lea edx, [esp + 0xd0]
mov eax, dword [ecx + 0x64]
push edx
mov ecx, dword [eax + 0x5f47]
call fcn.004afa10
mov ecx, eax
mov eax, dword [ecx]
cmp eax, ebp
mov ecx, dword [ecx + 4]
jne 0x483077
cmp ecx, dword [esp + 0x28]
jne 0x483077
mov eax, dword [esi + 0x56]
test eax, eax
jle 0x483004
mov edi, dword [esi + 0x62]
push 0
push edi
mov edi, dword [esi + 0x5a]
push edi
mov edi, dword [esi + 0x66]
push edi
mov edi, dword [esp + 0x2c]
push eax
mov ecx, dword [esp + 0x28]
sub esp, 0xc
mov eax, esp
sub esp, 0xc
mov edx, dword [ecx]
mov dword [eax], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x50]
mov dword [eax + 8], edi
lea eax, [esi + 6]
mov edi, esp
mov ebx, dword [eax]
mov dword [edi], ebx
mov ebx, dword [eax + 4]
mov dword [edi + 4], ebx
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
call dword [edx + 0xb8]
test al, al
je 0x4830ce
jmp 0x483077
mov ecx, dword [esp + 0x14]
neg eax
mov edi, eax
call fcn.004be110
mov ecx, dword [esp + 0x14]
mov ebx, dword [esi + 0x62]
mov ebp, eax
lea eax, [esp + 0x70]
mov edx, dword [ecx]
push eax
call dword [edx + 0x4c]
cmp edi, 0x2d
jne 0x483065
test ebx, ebx
jle 0x483065
test ebp, ebp
jle 0x483065
mov eax, dword [esp + 0x78]
test eax, eax
jg 0x483065
mov eax, dword [esp + 0x80]
test eax, eax
jg 0x483065
mov ecx, dword [esp + 0x18]
push ebp
mov edx, dword [ecx + 0x64]
mov ecx, dword [edx + ebx*4 + 0x5e30]
call fcn.00498cb0
cmp eax, 1
je 0x483065
mov dword [esp + 0x7c], 0x96
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x70]
push edx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ebp, dword [esp + 0x2c]
mov al, byte [esp + 0x13]
test al, al
jne 0x482edd
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
inc ebp
dec ecx
cmp ebp, ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x40], ecx
jle 0x482cf7
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x5c]
inc eax
dec ecx
cmp eax, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], ecx
jle 0x482cd6
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1cc
ret 4
mov eax, dword [esp + 0x18]
push str.SendDamageMsg__:_Error_occurs.
push eax
mov dword [0x8210d4], 1
call fcn.004331c0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1cc
ret 4