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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x68]
cmp dword [esp + 0x70], 1
fld qword [esp + 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x14]
je 0x442c90
cmp byte [ebx + 0x18], 1
je 0x442b40
test eax, eax
je 0x442b40
fld qword [esi]
fsubr st(1)
fabs
fld qword [0x49cf28]
fxch st(1)
fcompi st(1)
jbe 0x442d30
fld qword [ebx]
fld st(2)
fsub st(1)
fabs
fxch st(2)
fcompi st(2)
fstp st(1)
jbe 0x442e70
fstp st(1)
fstp qword [esi]
mov byte [esi + 0x18], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esp], eax
call sym._free
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 8], edx
mov ebp, dword [ebx + 0x10]
lea eax, [ebp + ebp*2]
mov dword [esi + 0x10], ebp
shl eax, 3
mov dword [esp], eax
call sym._malloc
mov dword [esi + 0x14], eax
test eax, eax
jne 0x442af8
test ebp, ebp
je 0x442af8
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x18c]
mov dword [esp], 2
call dword [0x495d44]
mov dword [esp + 4], str._nERROR:_d:histCopy____Failed_to_allocate_histTo__data_to_size__llu_bytes._n
mov ecx, eax
mov eax, 0x18
mov dword [esp + 8], edi
mul ebp
mov dword [esp], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
call sym.fprintf__iobuf__char_const__..._
call sym._exit_programm
mov ebp, dword [esi + 0x10]
lea esi, [esi]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x1cc]
test byte [eax], 1
jne 0x44300c
lea ecx, [ebp + ebp*2]
test ecx, ecx
je 0x442b35
mov eax, dword [ebx + 0x14]
mov edx, dword [esi + 0x14]
lea ecx, [eax + ecx*8]
lea esi, [esi]
mov edi, dword [eax]
mov ebp, dword [eax + 4]
add eax, 8
add edx, 8
mov dword [edx - 8], edi
mov dword [edx - 4], ebp
cmp eax, ecx
jne 0x442b20
mov byte [esi + 0x18], 0
jmp 0x442ddd
fld qword [ebx]
fld st(1)
fsub st(1)
fabs
fld qword [0x49cf28]
fcompi st(1)
fstp st(0)
ja 0x442d40
fstp st(0)
mov byte [esi + 0x18], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
fstp qword [esi]
test eax, eax
je 0x442b88
mov dword [esp], eax
call sym._free
mov dword [esi + 0x14], 0
mov dword [esp + 0x34], 0
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x442dd5
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], esi
xor ebp, ebp
lea edi, [eax*8]
jmp 0x442c03
fstp st(1)
fstp st(1)
fadd dword [0x49cf18]
fldcw word [esp + 0x3c]
fistp dword [esp + 0x28]
fldcw word [esp + 0x3e]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._addPointToHist
mov ecx, dword [ebx + 0x10]
add ebp, 1
add edi, 0x18
cmp ebp, ecx
jae 0x442e08
mov eax, dword [ebx + 0x14]
mov edx, dword [eax + edi]
mov eax, dword [eax + edi + 4]
mov esi, eax
or esi, edx
je 0x442bf5
mov esi, dword [esp + 0x30]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 0
fld qword [esi]
fild dword [ebx + 8]
fmul qword [ebx]
fild qword [esp + 0x28]
fmul qword [ebx]
fnstcw word [esp + 0x3e]
movzx ecx, word [esp + 0x3e]
faddp st(1)
or ch, 0xc
mov word [esp + 0x3c], cx
fld st(0)
fdiv st(2)
fldcw word [esp + 0x3c]
fist dword [esp + 0x28]
fldcw word [esp + 0x3e]
mov ecx, dword [esp + 0x28]
sub ecx, 1
jns 0x442bb0
fstp st(0)
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
fmul st(2)
fsubp st(1)
fdivrp st(1)
fadd dword [0x49cf18]
fldcw word [esp + 0x3c]
fistp dword [esp + 0x28]
fldcw word [esp + 0x3e]
add ecx, dword [esp + 0x28]
jmp 0x442bca
fstp st(0)
fld qword [ebx]
mov byte [esi + 0x18], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
fstp qword [esi]
test eax, eax
je 0x442cbb
mov dword [esp], eax
call sym._free
mov byte [esi + 0x18], 1
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 8], edx
mov ebp, dword [ebx + 0x10]
lea eax, [ebp + ebp*2]
mov dword [esi + 0x10], ebp
shl eax, 3
mov dword [esp], eax
call sym._malloc
mov dword [esi + 0x14], eax
test eax, eax
je 0x442e1d
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x1cc]
test byte [eax], 1
jne 0x442e40
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax*2]
test ecx, ecx
je 0x442d34
mov eax, dword [ebx + 0x14]
mov edx, dword [esi + 0x14]
lea esi, [eax + ecx*8]
lea esi, [esi]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
add eax, 8
add edx, 8
mov dword [edx - 8], ecx
mov dword [edx - 4], ebx
cmp eax, esi
jne 0x442d18
jmp 0x442d34
fstp st(0)
fstp st(0)
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
fstp st(1)
mov byte [esi + 0x18], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
fstp qword [esi]
test eax, eax
je 0x442d69
mov dword [esp], eax
call sym._free
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 8], edx
mov ebp, dword [ebx + 0x10]
lea eax, [ebp + ebp*2]
mov dword [esi + 0x10], ebp
shl eax, 3
mov dword [esp], eax
call sym._malloc
mov dword [esi + 0x14], eax
test eax, eax
je 0x442fc1
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x1cc]
test byte [eax], 1
jne 0x442fe0
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax*2]
test ecx, ecx
je 0x442dd5
mov eax, dword [ebx + 0x14]
mov edx, dword [esi + 0x14]
lea ecx, [eax + ecx*8]
lea esi, [esi]
nop
mov edi, dword [eax]
mov ebp, dword [eax + 4]
add eax, 8
add edx, 8
mov dword [edx - 8], edi
mov dword [edx - 4], ebp
cmp ecx, eax
jne 0x442dc0
mov byte [ebx + 0x18], 0
mov byte [esi + 0x18], 1
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp sym._updateDispHistStats
cmp dword [esp + 0x34], 2
mov esi, dword [esp + 0x30]
je 0x442dd5
add dword [esp + 0x34], 1
jmp 0x442b93
mov eax, dword [esp + 0x24]
test ebp, ebp
jne 0x44307b
mov eax, dword [eax + 0x1cc]
test byte [eax], 1
je 0x442d34
lea esi, [esi]
nop
mov eax, dword [esi + 0x10]
lea eax, [eax + eax*2]
shl eax, 3
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x18c]
mov dword [esp], str.DEBUG:_d:STATISTICS_MEM:_histCopy__:_histTo__data:__ld_n
mov dword [esp + 4], eax
call sym._pprintf
jmp 0x442cfe
fstp st(0)
mov byte [esi + 0x18], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
fstp qword [esi]
mov dword [esp], eax
call sym._free
mov dword [esi + 0x14], 0
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x34], 0
test ecx, ecx
je 0x442b35
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], esi
xor ebp, ebp
lea edi, [eax*8]
jmp 0x442f1b
fstp st(1)
fstp st(1)
fadd dword [0x49cf18]
fldcw word [esp + 0x3c]
fistp dword [esp + 0x28]
fldcw word [esp + 0x3e]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._addPointToHist
mov ecx, dword [ebx + 0x10]
add ebp, 1
add edi, 0x18
cmp ebp, ecx
jae 0x442fa8
mov eax, dword [ebx + 0x14]
mov edx, dword [eax + edi]
mov eax, dword [eax + edi + 4]
mov esi, eax
or esi, edx
je 0x442f0d
mov esi, dword [esp + 0x30]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 0
fld qword [esi]
fild dword [ebx + 8]
fmul qword [ebx]
fild qword [esp + 0x28]
fmul qword [ebx]
fnstcw word [esp + 0x3e]
movzx ecx, word [esp + 0x3e]
faddp st(1)
or ch, 0xc
mov word [esp + 0x3c], cx
fld st(0)
fdiv st(2)
fldcw word [esp + 0x3c]
fist dword [esp + 0x28]
fldcw word [esp + 0x3e]
mov ecx, dword [esp + 0x28]
sub ecx, 1
jns 0x442ec8
fstp st(0)
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
fmul st(2)
fsubp st(1)
fdivrp st(1)
fadd dword [0x49cf18]
fldcw word [esp + 0x3c]
fistp dword [esp + 0x28]
fldcw word [esp + 0x3e]
add ecx, dword [esp + 0x28]
jmp 0x442ee2
cmp dword [esp + 0x34], 2
mov esi, dword [esp + 0x30]
je 0x442b35
add dword [esp + 0x34], 1
jmp 0x442ea7
mov eax, dword [esp + 0x24]
test ebp, ebp
jne 0x443039
mov eax, dword [eax + 0x1cc]
test byte [eax], 1
je 0x442dd5
lea esi, [esi]
nop
mov eax, dword [esi + 0x10]
lea eax, [eax + eax*2]
shl eax, 3
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x18c]
mov dword [esp], str.DEBUG:_d:STATISTICS_MEM:_histCopy__:_histTo__data:__ld_n
mov dword [esp + 4], eax
call sym._pprintf
jmp 0x442da8
lea eax, [ebp + ebp*2]
shl eax, 3
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x18c]
mov dword [esp], str.DEBUG:_d:STATISTICS_MEM:_histCopy__:_histTo__data:__ld_n
mov dword [esp + 4], eax
call sym._pprintf
mov ebp, dword [esi + 0x10]
jmp 0x442b0b
mov edi, dword [eax + 0x18c]
mov dword [esp], 2
call dword [0x495d44]
mov dword [esp + 4], str._nERROR:_d:histCopy____failed_to_reallocate_histTo__data_to_size__llu_bytes._n
mov ecx, eax
mov eax, 0x18
mov dword [esp + 8], edi
mul ebp
mov dword [esp], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
call sym.fprintf__iobuf__char_const__..._
call sym._exit_programm
jmp 0x442d95
mov edi, dword [eax + 0x18c]
mov dword [esp], 2
call dword [0x495d44]
mov dword [esp + 4], str._nERROR:_d:histCopy____Failed_to_reallocate_histTo__data_to_size__llu_bytes._n
mov ecx, eax
mov eax, 0x18
mov dword [esp + 8], edi
mul ebp
mov dword [esp], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
call sym.fprintf__iobuf__char_const__..._
call sym._exit_programm
jmp 0x442ceb