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

Disassembly:
mov ecx, dword [0x89e864]
mov eax, dword [ecx + 0x7fa9c]
mov edx, dword [esp + 8]
sub esp, 0x64
cmp edx, eax
jle 0x44c69b
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x70]
test eax, eax
push ebx
push esi
jne 0x44c6ab
mov eax, dword [esp + 0x7c]
jmp 0x44c6da
mov edx, dword [0x5fc760]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.004d3720
mov ebx, 1
mov esi, eax
call fcn.004031f0
mov eax, dword [esp + 0x7c]
mov ecx, dword [0x89e864]
imul eax, eax, 7
cdq
idiv dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
test eax, eax
jl 0x44cb5e
push ebp
push edi
jmp 0x44c6f4
mov ecx, dword [0x89e864]
mov eax, dword [esp + 0x78]
test eax, eax
jl 0x44cb5c
cmp eax, dword [ecx + 0x7fa98]
jge 0x44cb5c
push 0x186a1
add ecx, 0x80324
call fcn.00548560
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
je 0x44c9b5
mov ebp, dword [edi + 0x10]
cmp edi, ebp
je 0x44c9b5
mov ecx, dword [ebp + 0x9c]
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.004d3720
mov ebx, 1
mov esi, eax
call fcn.004031f0
mov al, byte [esp + 0x20]
test al, al
je 0x44c9aa
mov eax, dword [ebp + 0x4d8]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.004d3720
mov esi, eax
call fcn.004031f0
cmp byte [esp + 0x24], bl
je 0x44c9aa
cmp dword [ebp + 0x24], 0xe
je 0x44c9aa
mov edx, dword [ebp + 0x328]
mov edi, dword [esp + 0x84]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.004d3720
mov esi, eax
call fcn.004031f0
mov al, byte [esp + 0x28]
test al, al
je 0x44c7c5
mov ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
add edi, ecx
mov eax, edi
imul eax, edi
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fsqrt
call fcn.0056e2cc
mov edx, dword [ebp + 0x420]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004d3720
mov ebx, 1
mov esi, eax
call fcn.004031f0
mov al, byte [esp + 0x2c]
test al, al
jne 0x44c9a6
mov ecx, dword [ebp + 0xa4]
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.004d3720
mov esi, eax
call fcn.004031f0
mov eax, dword [ebp + 0xac]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x78]
lea edx, [esp + 0x44]
push edx
push eax
sub edi, ebx
call fcn.004d3720
mov ebx, 1
mov esi, eax
call fcn.004031f0
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x7c]
mov ecx, eax
mov edx, edi
imul ecx, eax
imul edx, edi
add ecx, edx
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fsqrt
call fcn.0056e2cc
cmp eax, dword [esp + 0x14]
jge 0x44c9a6
mov ecx, dword [ebp + 0x420]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x1c], 1
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov eax, dword [ebp + 0x430]
mov ebx, dword [esp + 0x88]
push 1
lea edx, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x3c], ebx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov edx, dword [ebp + 0x438]
mov edi, dword [esp + 0x8c]
push 1
lea ecx, [esp + 0x34]
push ecx
push edx
mov dword [esp + 0x3c], edi
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov edx, dword [ebp + 0x440]
mov eax, dword [esp + 0x84]
push 1
lea ecx, [esp + 0x34]
push ecx
push edx
mov dword [esp + 0x3c], eax
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [ebp + 0x428]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x1c], 0
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov eax, dword [ebp + 0x24]
cmp eax, 0xe
mov cl, byte [esp + 0x90]
mov byte [ebp + 0x410], cl
je 0x44c95c
cmp eax, 5
je 0x44c95c
cmp eax, 6
je 0x44c95c
cmp eax, 8
je 0x44c95c
cmp eax, 0xa
je 0x44c95c
mov edx, dword [ebp]
push str.shock
mov ecx, ebp
call dword [edx + 4]
mov cl, byte [esp + 0x90]
cmp cl, 8
jae 0x44c9a6
mov esi, dword [0x89e864]
movzx eax, cl
mov ecx, dword [ebp + 8]
and ecx, 7
mov dl, byte [ecx + esi + 0x2483e]
mov cl, byte [eax + esi + 0x2483e]
add ebx, edi
cmp dl, cl
push ebx
jne 0x44c99a
lea edi, [esi + eax*8 + 0x270bc]
call fcn.00418060
mov byte [ebp + 0x418], 1
jmp 0x44c9a6
lea edi, [esi + eax*8 + 0x2707c]
call fcn.00418060
mov edi, dword [esp + 0x18]
mov ebp, dword [ebp + 0x10]
cmp edi, ebp
jne 0x44c735
mov ecx, dword [0x89e864]
push 0x186a6
add ecx, 0x80324
call fcn.00548560
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x44cb37
mov eax, dword [esp + 0x14]
mov ecx, eax
imul ecx, eax
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fsqrt
call fcn.0056e2cc
mov ebp, dword [esi + 0x10]
cmp esi, ebp
mov dword [esp + 0x14], eax
je 0x44cb37
mov al, byte [ebp + 0x14]
test al, al
jne 0x44cb2c
mov eax, dword [ebp + 0x44]
lea edx, [esp + 0x54]
push edx
push eax
call fcn.004d3720
mov ebx, 1
mov esi, eax
call fcn.004031f0
mov edx, dword [ebp + 0x4c]
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x78]
lea ecx, [esp + 0x64]
push ecx
push edx
sub edi, esi
call fcn.004d3720
mov esi, eax
call fcn.004031f0
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x7c]
mov ecx, eax
mov edx, edi
imul ecx, eax
imul edx, edi
add ecx, edx
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fsqrt
call fcn.0056e2cc
cmp eax, dword [esp + 0x14]
jge 0x44cb28
mov ecx, dword [ebp + 0x78]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x1c], 1
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [ebp + 0x88]
mov edx, dword [esp + 0x88]
push 1
lea eax, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x3c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [ebp + 0x90]
mov edx, dword [esp + 0x8c]
push 1
lea eax, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x3c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [ebp + 0x98]
mov edx, dword [esp + 0x84]
push 1
lea eax, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x3c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov eax, dword [ebp + 0x80]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x1c], 0
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov edx, dword [ebp]
push str.shock
mov ecx, ebp
call dword [edx + 4]
mov esi, dword [esp + 0x18]
mov ebp, dword [ebp + 0x10]
cmp esi, ebp
jne 0x44ca00
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
add ecx, eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov dword [esp + 0x7c], eax
jns 0x44c6ee
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x64
ret 0x1c