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

Disassembly:
mov ecx, dword [0x884634]
mov eax, dword [ecx + 0x76a48]
mov edx, dword [esp + 8]
sub esp, 0x64
cmp edx, eax
jle 0x444eab
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x70]
test eax, eax
push ebx
push esi
jne 0x444ebb
mov eax, dword [esp + 0x7c]
jmp 0x444eea
mov edx, dword [0x5e26d8]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.004cc430
mov ebx, 1
mov esi, eax
call fcn.00403200
mov eax, dword [esp + 0x7c]
mov ecx, dword [0x884634]
imul eax, eax, 7
cdq
idiv dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
test eax, eax
jl 0x44536e
push ebp
push edi
jmp 0x444f04
mov ecx, dword [0x884634]
mov eax, dword [esp + 0x78]
test eax, eax
jl 0x44536c
cmp eax, dword [ecx + 0x76a44]
jge 0x44536c
push 0x186a1
add ecx, 0x772d0
call fcn.0052db40
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
je 0x4451c5
mov ebp, dword [edi + 0x10]
cmp edi, ebp
je 0x4451c5
mov ecx, dword [ebp + 0x9c]
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.004cc430
mov ebx, 1
mov esi, eax
call fcn.00403200
mov al, byte [esp + 0x20]
test al, al
je 0x4451ba
mov eax, dword [ebp + 0x4d8]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.004cc430
mov esi, eax
call fcn.00403200
cmp byte [esp + 0x24], bl
je 0x4451ba
cmp dword [ebp + 0x24], 0xe
je 0x4451ba
mov edx, dword [ebp + 0x328]
mov edi, dword [esp + 0x84]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.004cc430
mov esi, eax
call fcn.00403200
mov al, byte [esp + 0x28]
test al, al
je 0x444fd5
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.00553b34
mov edx, dword [ebp + 0x420]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004cc430
mov ebx, 1
mov esi, eax
call fcn.00403200
mov al, byte [esp + 0x2c]
test al, al
jne 0x4451b6
mov ecx, dword [ebp + 0xa4]
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.004cc430
mov esi, eax
call fcn.00403200
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.004cc430
mov ebx, 1
mov esi, eax
call fcn.00403200
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.00553b34
cmp eax, dword [esp + 0x14]
jge 0x4451b6
mov ecx, dword [ebp + 0x420]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x1c], 1
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
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.004cc430
mov esi, eax
call fcn.0040ae50
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.004cc430
mov esi, eax
call fcn.0040ae50
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.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebp + 0x428]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x1c], 0
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov eax, dword [ebp + 0x24]
cmp eax, 0xe
mov cl, byte [esp + 0x90]
mov byte [ebp + 0x410], cl
je 0x44516c
cmp eax, 5
je 0x44516c
cmp eax, 6
je 0x44516c
cmp eax, 8
je 0x44516c
cmp eax, 0xa
je 0x44516c
mov edx, dword [ebp]
push str.shock
mov ecx, ebp
call dword [edx + 4]
mov cl, byte [esp + 0x90]
cmp cl, 8
jae 0x4451b6
mov esi, dword [0x884634]
movzx eax, cl
mov ecx, dword [ebp + 8]
and ecx, 7
mov dl, byte [ecx + esi + 0x24492]
mov cl, byte [eax + esi + 0x24492]
add ebx, edi
cmp dl, cl
push ebx
jne 0x4451aa
lea edi, [esi + eax*8 + 0x26d10]
call fcn.00417c20
mov byte [ebp + 0x418], 1
jmp 0x4451b6
lea edi, [esi + eax*8 + 0x26cd0]
call fcn.00417c20
mov edi, dword [esp + 0x18]
mov ebp, dword [ebp + 0x10]
cmp edi, ebp
jne 0x444f45
mov ecx, dword [0x884634]
push 0x186a6
add ecx, 0x772d0
call fcn.0052db40
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x445347
mov eax, dword [esp + 0x14]
mov ecx, eax
imul ecx, eax
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fsqrt
call fcn.00553b34
mov ebp, dword [esi + 0x10]
cmp esi, ebp
mov dword [esp + 0x14], eax
je 0x445347
mov al, byte [ebp + 0x14]
test al, al
jne 0x44533c
mov eax, dword [ebp + 0x44]
lea edx, [esp + 0x54]
push edx
push eax
call fcn.004cc430
mov ebx, 1
mov esi, eax
call fcn.00403200
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.004cc430
mov esi, eax
call fcn.00403200
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.00553b34
cmp eax, dword [esp + 0x14]
jge 0x445338
mov ecx, dword [ebp + 0x78]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x1c], 1
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
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.004cc430
mov esi, eax
call fcn.0040ae50
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.004cc430
mov esi, eax
call fcn.0040ae50
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.004cc430
mov esi, eax
call fcn.0040ae50
mov eax, dword [ebp + 0x80]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x1c], 0
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
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 0x445210
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 0x444efe
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x64
ret 0x1c