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

Disassembly:
sub esp, 0x48
mov eax, dword [esp + 0x4c]
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
push esi
xor esi, esi
mov dword [ebx], esi
mov word [ebx + 4], si
mov word [ebx + 6], si
mov word [ebx + 8], si
mov word [ebx + 0xa], si
mov word [ebx + 0xc], si
mov word [ebx + 0xe], si
mov eax, dword [eax]
cmp eax, esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
je 0x44b9f4
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x10]
cmp ecx, esi
mov dword [esp + 0x2c], ecx
mov dx, word [ecx]
mov eax, ecx
mov word [esp + 0x1c], dx
mov dx, word [ecx + 2]
mov word [esp + 0x20], dx
je 0x44b9f4
mov edx, dword [ecx + 0xc]
cmp edx, esi
je 0x44b9f4
cmp edx, ecx
je 0x44b9f4
jmp 0x44b934
mov eax, dword [esp + 0x10]
mov edx, eax
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
movsx esi, word [eax]
movsx edi, word [eax + 2]
cmp byte [edx + 8], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
jne 0x44b9b9
movsx ebx, word [esp + 0x20]
movsx ebp, word [esp + 0x1c]
sub edi, ebx
sub esi, ebp
push edi
push esi
call fcn.0044c0f0
and eax, 0xffff
add esp, 8
lea ecx, [eax + eax*4 + 0x20]
sar ecx, 6
test cx, cx
je 0x44b9c3
lea ecx, [esi + ebp*2]
lea edx, [edi + ebx*2]
imul ecx, eax
imul edx, eax
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x68]
add ebp, ecx
mov ecx, dword [esp + 0x34]
add esi, edx
add ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
jmp 0x44b9cf
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x68]
cmp eax, ecx
jne 0x44b930
mov eax, dword [esp + 0x14]
xor esi, esi
mov eax, dword [eax + 0x18]
cmp eax, esi
mov dword [esp + 0x14], eax
jne 0x44b8f5
mov ecx, dword [esp + 0x34]
cmp ecx, esi
jne 0x44b9fe
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x48
ret
mov eax, dword [esp + 0x40]
xor esi, esi
cdq
idiv ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], esi
mov edi, eax
mov eax, dword [esp + 0x30]
cdq
idiv ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
sar edi, 1
mov dword [ebx], ecx
mov word [ebx + 4], di
mov dword [esp + 0x40], edi
mov ebp, eax
sar ebp, 1
mov word [ebx + 6], bp
mov eax, dword [edx]
cmp eax, esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x14], eax
je 0x44bc61
jmp 0x44ba50
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x2c], ecx
mov eax, ecx
mov dx, word [ecx]
mov si, word [ecx + 2]
sub dx, di
mov word [esp + 0x20], si
test ecx, ecx
mov dword [esp + 0x1c], edx
je 0x44b9f4
mov esi, dword [ecx + 0xc]
test esi, esi
je 0x44b9f4
cmp esi, ecx
je 0x44b9f4
jmp 0x44ba8d
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [eax + 0xc]
movsx ebx, di
movsx ebp, word [eax]
sub ebp, ebx
cmp byte [esi + 8], 0
movsx ebx, word [eax + 2]
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
jne 0x44bc1c
movsx edi, word [esp + 0x20]
movsx esi, dx
sub ebx, edi
sub ebp, esi
push ebx
push ebp
call fcn.0044c0f0
and eax, 0xffff
add esp, 8
lea eax, [eax + eax*4 + 0x20]
sar eax, 6
test ax, ax
mov dword [esp + 0x54], eax
je 0x44bc26
push ebp
push ebx
call fcn.0044bf80
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0x3c], al
mov eax, ebp
and ecx, 0xffff
shl eax, 8
cdq
idiv ecx
mov dword [esp + 0x24], ecx
shl edi, 8
shl esi, 8
mov ebp, eax
mov eax, ebx
shl eax, 8
cdq
idiv ecx
movsx edx, word [esp + 0x38]
mov ecx, ebp
mov ebx, dword [esp + 0x2c]
sar ecx, 1
add esi, ecx
mov dword [esp + 0x5c], eax
sar eax, 1
add edi, eax
mov ecx, edi
sar ecx, 8
mov eax, ecx
add ecx, 0xffffff80
sub eax, edx
mov edx, eax
imul edx, eax
mov eax, esi
add ebx, edx
sar eax, 8
mov edx, eax
mov dword [esp + 0x2c], ebx
imul edx, eax
mov ebx, dword [esp + 0x30]
add ebx, edx
mov edx, dword [esp + 0x3c]
push edx
push ecx
mov ecx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
push eax
push ecx
call fcn.0044c060
add esp, 0x1c
test eax, eax
je 0x44b9f4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, 1
inc edx
cmp ecx, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
jle 0x44bc08
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x24]
movsx edx, word [esp + 0x30]
add edi, ecx
add esi, ebp
mov ecx, edi
sar ecx, 8
mov eax, ecx
add ecx, 0xffffff80
sub eax, edx
mov edx, eax
imul edx, eax
mov eax, esi
add ebx, edx
sar eax, 8
mov edx, eax
mov dword [esp + 0x24], ebx
imul edx, eax
mov ebx, dword [esp + 0x28]
add ebx, edx
mov edx, dword [esp + 0x34]
push edx
push ecx
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], ebx
push eax
push ecx
call fcn.0044c060
add esp, 0x14
test eax, eax
je 0x44b9f4
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
inc ebx
inc eax
mov dword [esp + 0x18], ebx
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x44bb91
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
jmp 0x44bc32
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x40]
cmp eax, ecx
jne 0x44ba85
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x18]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x44ba4c
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x44bc69
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x44bc79
mov dword [esp + 0x28], 1
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x50]
push eax
push ecx
push esi
call fcn.0044c160
mov byte [esp + 0x58], al
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x54]
push edx
push eax
push esi
call fcn.0044c160
lea ecx, [esp + 0x60]
mov byte [esp + 0x5c], al
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x6c]
push edx
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.0044c210
mov edx, dword [esp + 0x78]
add esp, 0x28
fld qword [0x4a8368]
and edx, 0xff
mov dword [esp + 0x60], edx
fild dword [esp + 0x60]
call sub.MSVCRT.dll__CIpow
mov eax, dword [esp + 0x4c]
and eax, 0xff
mov dword [esp + 0x60], eax
fild dword [esp + 0x60]
fdivr qword [0x4a8360]
fmulp st(1)
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x48]
mov word [ebx + 8], ax
fld qword [0x4a8368]
and ecx, 0xff
mov dword [esp + 0x60], ecx
fild dword [esp + 0x60]
call sub.MSVCRT.dll__CIpow
mov edx, dword [esp + 0x44]
and edx, 0xff
mov dword [esp + 0x60], edx
fild dword [esp + 0x60]
fdivr qword [0x4a8360]
fmulp st(1)
call sub.MSVCRT.dll__ftol
mov word [ebx + 0xa], ax
mov eax, dword [esp + 0x5c]
mov word [ebx + 0xc], si
mov dword [esp + 0x60], 0
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x14], eax
je 0x44bf5d
jmp 0x44bd68
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x30]
mov esi, dword [eax + 0x10]
movzx cx, byte [esp + 0x44]
mov dx, word [esi]
mov dword [esp + 0x2c], esi
sub dx, di
mov di, word [esi + 2]
imul edx, ecx
movsx cx, byte [esp + 0x48]
sar dx, cl
movzx cx, byte [esp + 0x4c]
sub di, bp
mov eax, esi
imul edi, ecx
movsx cx, byte [esp + 0x50]
sar di, cl
test esi, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edi
je 0x44b9f4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x44b9f4
cmp ecx, esi
je 0x44b9f4
jmp 0x44bdd3
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
movsx ecx, word [esp + 0x40]
mov esi, eax
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
movsx ebx, word [eax]
sub ebx, ecx
mov ecx, dword [esp + 0x44]
and ecx, 0xff
imul ebx, ecx
mov cl, byte [esp + 0x48]
movsx ebp, word [eax + 2]
sar ebx, cl
movsx ecx, word [esp + 0x30]
sub ebp, ecx
mov ecx, dword [esp + 0x4c]
and ecx, 0xff
mov dword [esp + 0x3c], ebx
imul ebp, ecx
mov cl, byte [esp + 0x50]
sar ebp, cl
mov cl, byte [esi + 8]
test cl, cl
mov dword [esp + 0x38], ebp
jne 0x44bf2e
movsx edi, di
movsx esi, dx
sub ebp, edi
sub ebx, esi
push ebp
push ebx
call fcn.0044c0f0
and eax, 0xffff
add esp, 8
lea eax, [eax + eax*4 + 0x20]
sar eax, 6
test ax, ax
mov dword [esp + 0x54], eax
je 0x44bf38
push ebx
push ebp
call fcn.0044bf80
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0x3c], al
mov eax, ebx
and ecx, 0xffff
shl eax, 8
cdq
idiv ecx
shl edi, 8
shl esi, 8
mov dword [esp + 0x24], ecx
mov ebx, eax
mov eax, ebp
shl eax, 8
cdq
idiv ecx
mov ecx, dword [esp + 0x3c]
mov edx, ebx
sar edx, 1
add esi, edx
push ecx
mov ecx, dword [esp + 0x6c]
mov ebp, eax
sar eax, 1
add edi, eax
mov eax, esi
mov edx, edi
sar edx, 8
sar eax, 8
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
call fcn.0044c060
add esp, 0x1c
test eax, eax
je 0x44b9f4
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
mov eax, 1
inc edx
cmp ecx, eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x20], eax
jle 0x44bf22
mov eax, dword [esp + 0x34]
add edi, ebp
add esi, ebx
mov ecx, edi
mov edx, esi
push eax
mov eax, dword [esp + 0x64]
sar ecx, 8
sar edx, 8
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push eax
push ecx
call fcn.0044c060
add esp, 0x14
test eax, eax
je 0x44b9f4
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x44bed9
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jmp 0x44bf3c
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x2c]
jne 0x44bdc7
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x18]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x44bd5c
mov ebx, dword [esp + 0x68]
mov ax, word [esp + 0x60]
pop edi
pop esi
mov word [ebx + 0xe], ax
pop ebp
mov eax, 1
pop ebx
add esp, 0x48
ret