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

Disassembly:
mov ecx, dword [0x8927a4]
mov eax, dword [ecx + 0x7f98c]
mov edx, dword [esp + 8]
sub esp, 0x64
cmp edx, eax
jle 0x44b77b
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x70]
test eax, eax
push ebx
push esi
jne 0x44b78b
mov eax, dword [esp + 0x7c]
jmp 0x44b7ba
mov edx, dword [0x5f0728]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0x7c]
mov ecx, dword [0x8927a4]
imul eax, eax, 7
cdq
idiv dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
test eax, eax
jl 0x44bc3e
push ebp
push edi
jmp 0x44b7d4
mov ecx, dword [0x8927a4]
mov eax, dword [esp + 0x78]
test eax, eax
jl 0x44bc3c
cmp eax, dword [ecx + 0x7f988]
jge 0x44bc3c
push 0x186a1
add ecx, 0x80214
call fcn.0053bc30
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
je 0x44ba95
mov ebp, dword [edi + 0x10]
cmp edi, ebp
je 0x44ba95
mov ecx, dword [ebp + 0x9c]
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov al, byte [esp + 0x20]
test al, al
je 0x44ba8a
mov eax, dword [ebp + 0x4d8]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
cmp byte [esp + 0x24], bl
je 0x44ba8a
cmp dword [ebp + 0x24], 0xe
je 0x44ba8a
mov edx, dword [ebp + 0x328]
mov edi, dword [esp + 0x84]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov al, byte [esp + 0x28]
test al, al
je 0x44b8a5
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.00561a5c
mov edx, dword [ebp + 0x420]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov al, byte [esp + 0x2c]
test al, al
jne 0x44ba86
mov ecx, dword [ebp + 0xa4]
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
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.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
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.00561a5c
cmp eax, dword [esp + 0x14]
jge 0x44ba86
mov ecx, dword [ebp + 0x420]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x1c], 1
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
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.004cee70
mov esi, eax
call fcn.0040adb0
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.004cee70
mov esi, eax
call fcn.0040adb0
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.004cee70
mov esi, eax
call fcn.0040adb0
mov ecx, dword [ebp + 0x428]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x1c], 0
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebp + 0x24]
cmp eax, 0xe
mov cl, byte [esp + 0x90]
mov byte [ebp + 0x410], cl
je 0x44ba3c
cmp eax, 5
je 0x44ba3c
cmp eax, 6
je 0x44ba3c
cmp eax, 8
je 0x44ba3c
cmp eax, 0xa
je 0x44ba3c
mov edx, dword [ebp]
push str.shock
mov ecx, ebp
call dword [edx + 4]
mov cl, byte [esp + 0x90]
cmp cl, 8
jae 0x44ba86
mov esi, dword [0x8927a4]
movzx eax, cl
mov ecx, dword [ebp + 8]
and ecx, 7
mov dl, byte [ecx + esi + 0x247c6]
mov cl, byte [eax + esi + 0x247c6]
add ebx, edi
cmp dl, cl
push ebx
jne 0x44ba7a
lea edi, [esi + eax*8 + 0x27044]
call fcn.00417c50
mov byte [ebp + 0x418], 1
jmp 0x44ba86
lea edi, [esi + eax*8 + 0x27004]
call fcn.00417c50
mov edi, dword [esp + 0x18]
mov ebp, dword [ebp + 0x10]
cmp edi, ebp
jne 0x44b815
mov ecx, dword [0x8927a4]
push 0x186a6
add ecx, 0x80214
call fcn.0053bc30
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x44bc17
mov eax, dword [esp + 0x14]
mov ecx, eax
imul ecx, eax
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fsqrt
call fcn.00561a5c
mov ebp, dword [esi + 0x10]
cmp esi, ebp
mov dword [esp + 0x14], eax
je 0x44bc17
mov al, byte [ebp + 0x14]
test al, al
jne 0x44bc0c
mov eax, dword [ebp + 0x44]
lea edx, [esp + 0x54]
push edx
push eax
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
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.004cee70
mov esi, eax
call fcn.00403230
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.00561a5c
cmp eax, dword [esp + 0x14]
jge 0x44bc08
mov ecx, dword [ebp + 0x78]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x1c], 1
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
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.004cee70
mov esi, eax
call fcn.0040adb0
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.004cee70
mov esi, eax
call fcn.0040adb0
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.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [ebp + 0x80]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x1c], 0
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
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 0x44bae0
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 0x44b7ce
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x64
ret 0x1c