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

Disassembly:
push ebp
mov eax, 2
push edi
push esi
push ebx
sub esp, 0xac
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0xc8]
cmp bl, 3
cmovne eax, ebx
mov esi, eax
mov eax, 0
cmovne eax, ebx
mov byte [esp + 0x47], al
sete al
movzx eax, al
lea eax, [eax + eax + 1]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x714]
test eax, eax
jne 0x432220
imul eax, dword [esp + 0x68]
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebp
call sym.generateTriggerframeModeArray_ci250_t_
mov edx, eax
xor eax, eax
test edx, edx
je 0x43220e
mov edx, dword [ebp + 0x18c]
cmp edx, dword [0x25bf668]
jne 0x43244e
mov eax, dword [esp + 0x68]
imul eax, dword [ebp + 0x714]
shl eax, 3
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov eax, dword [eax]
mov dword [esp], eax
call sym._realloc
mov edi, dword [esp + 0xc0]
mov dword [edi], eax
test eax, eax
je 0x4327a0
mov eax, dword [ebp + 0x714]
test eax, eax
je 0x432209
mov eax, ebx
movzx ebx, bl
mov dword [esp + 0x5c], 0
mov edi, esi
shr al, 2
mov dword [esp + 0x58], 0
movzx eax, al
mov dword [esp + 0x7c], eax
lea eax, [ebx + ebx*8]
lea ebx, [ebx + eax*2]
lea ebx, [ebx + ebx*8]
shr bx, 9
movzx eax, bl
mov dword [esp + 0x78], eax
lea esi, [esi]
movzx ecx, byte [esp + 0x47]
mov ebx, edi
mov eax, ecx
cmp cl, bl
ja 0x4322e5
mov ecx, edi
lea esi, [esi]
nop
movzx edx, al
fldz
add eax, 1
fstp qword [esp + edx*8 + 0x88]
cmp al, cl
jbe 0x4322d0
mov edi, ecx
mov ebx, dword [esp + 0x58]
imul ebx, dword [ebp + 0x6ec]
mov dword [esp + 0x64], 0
mov eax, dword [ebp + 0x6e8]
mov dword [esp + 0x54], 0
add eax, ebx
add ebx, dword [ebp + 0x6f0]
mov dword [esp + 0x48], eax
mov dword [esp + 0x60], eax
mov eax, dword [0x25bf728]
mov dword [esp + 0x50], ebx
mov edx, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + 0x2d8]
mov dword [esp + 0x6c], eax
mov eax, ecx
mov dword [esp + 0x70], ecx
cdq
mov eax, dword [ebp + 0x2cc]
mov dword [esp + 0x74], edx
imul edx, dword [ebp + 0x2c8]
imul eax, ecx
add edx, eax
mov eax, ecx
mov esi, edx
mul dword [ebp + 0x2c8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], edx
mov edx, 0
add dword [esp + 0x3c], esi
cmp eax, ebx
sbb edx, 0
cmovl eax, ebx
cmp eax, dword [esp + 0x38]
mov eax, 0
sbb eax, dword [esp + 0x3c]
jl 0x432470
mov esi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x74]
mov eax, dword [esi + 0x2cc]
imul ebx, dword [esi + 0x2c8]
imul eax, ecx
add ebx, eax
mov eax, ecx
mul dword [esi + 0x2c8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
add edx, ebx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], edx
mov dword [esp + 8], eax
mov eax, dword [esi + 0x18c]
mov dword [esp], str.ERROR:_d:SCPI_SweepValues____index_overflow_sweep_step:_d__sweep_index_start:__llu__sweep_index_stop:__llu__max_index:__llu_n
mov dword [esp + 4], eax
call sym._pprintf
movzx edx, byte [esp + 0x47]
mov eax, edi
cmp dl, al
ja 0x43242a
mov eax, dword [esp + 0xc0]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x5c]
mov ecx, dword [eax]
nop
movzx eax, dl
fld dword [0x49bf30]
add edx, 1
imul eax, ebx
add eax, esi
fstp qword [ecx + eax*8]
mov eax, edi
cmp dl, al
jbe 0x432410
add dword [esp + 0x58], 1
mov eax, dword [ebp + 0x714]
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x68]
add dword [esp + 0x5c], ebx
cmp eax, esi
ja 0x4322b8
jmp 0x432209
mov eax, dword [ebp + 0x1f8]
lea ecx, [ebp + 0x190]
movzx eax, byte [eax + 0x34]
mov dword [esp], eax
mov eax, 0x25bf660
call sym.resetTestCorr_corr_t__int__char_const__int___clone_.part.0_
jmp 0x432242
mov eax, dword [esp + 0x54]
cmp ebx, dword [esp + 0x48]
sbb eax, 0
jl 0x432793
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x6c], 0
lea ebx, [eax*8]
mov dword [esp + 0x38], ebx
mov ebx, edi
mov edi, dword [esp + 0x64]
lea esi, [esi]
mov eax, dword [ebp + 0x1f8]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x48], esi
movzx eax, byte [eax + 0x34]
mov dword [esp + 0x1c], eax
fld qword [ebp + 0x368]
fstp qword [esp + 0x14]
mov eax, dword [ebp + 0x710]
fld qword [eax + edx]
mov eax, dword [0x4be254]
fstp qword [esp + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x18c]
mov dword [esp], 0x25bf660
mov dword [esp + 4], eax
call sym._correctionSetMode
mov ecx, dword [0x25bf674]
test ecx, ecx
je 0x432700
mov eax, dword [ebp + 0x710]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
fld qword [eax + edx]
fld qword [0x25bf6b0]
fcompi st(1)
ja 0x4326d0
fld qword [0x25bf6b8]
fxch st(1)
fcompi st(1)
fstp st(0)
ja 0x4326d2
mov dword [esp + 4], 0x14
mov dword [esp], ebp
mov dword [esp + 0x60], ecx
call sym._CI250_getRegisterValue
lea ecx, [eax + 1]
mov eax, 0x1e8480
cdq
idiv ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
fmul qword [0x49bfb0]
fstp qword [esp + 0x18]
mov eax, dword [ebp + 0x1f8]
movzx eax, byte [eax + 0x34]
mov dword [esp + 0x14], eax
fld qword [ebp + 0x368]
fstp qword [esp + 0xc]
mov eax, dword [ebp + 0x710]
fld qword [eax + ecx]
mov dword [esp], 0x25bf660
fstp qword [esp + 4]
call sym._correctionInterpolate
mov eax, dword [0x25bf6d4]
mov eax, dword [eax]
mov edx, dword [eax]
test edx, edx
je 0x432730
mov ecx, dword [esp + 0x60]
movzx edx, byte [esp + 0x47]
add ecx, ecx
mov dword [esp + 0x60], ecx
mov ecx, edx
cmp dl, bl
ja 0x432613
mov dword [esp + 0x70], esi
mov byte [esp + 0x48], bl
mov dword [esp + 0x74], edi
mov edi, eax
movzx eax, cl
mov esi, dword [esp + 0x60]
add ecx, 1
mov edx, dword [ebp + eax*4 + 0x2f8]
fld qword [esp + eax*8 + 0x88]
movzx ebx, word [edx + esi]
mov edx, eax
shl edx, 0xe
lea edx, [ebx + edx + 4]
fadd qword [edi + edx*8 + 8]
fstp qword [esp + eax*8 + 0x88]
cmp cl, byte [esp + 0x48]
jbe 0x4325d0
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
movzx ebx, byte [esp + 0x48]
add dword [esp + 0x6c], 1
lea esi, [esi]
nop
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
add esi, 1
adc edi, 0
cmp eax, esi
mov eax, edx
sbb eax, edi
jge 0x4324a8
mov edi, ebx
mov ecx, edi
cmp byte [esp + 0x47], cl
ja 0x43242a
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x3c], 0
movzx esi, byte [esp + 0x47]
mov dword [esp + 0x38], eax
fild qword [esp + 0x38]
mov edi, esi
mov esi, ecx
fstp qword [esp + 0x48]
mov eax, edi
fld qword [esp + 0x48]
movzx ebx, al
fdivr qword [esp + ebx*8 + 0x88]
fst qword [esp + ebx*8 + 0x88]
mov dword [esp + 4], ebx
mov dword [esp], ebp
fstp qword [esp + 0x38]
call sym._channel_exists_for_lspm
fld qword [esp + 0x38]
test eax, eax
jne 0x432760
fstp st(0)
mov eax, dword [esp + 0xc0]
fld dword [0x49bf68]
add edi, 1
mov ecx, esi
imul ebx, dword [esp + 0x78]
add ebx, dword [esp + 0x5c]
mov eax, dword [eax]
fstp qword [eax + ebx*8]
mov eax, edi
cmp al, cl
jbe 0x432669
mov edi, esi
jmp 0x43242a
fstp st(0)
movzx eax, byte [esp + 0x47]
cmp al, bl
ja 0x432620
fld dword [0x49bf30]
movzx edx, al
add eax, 1
fstp qword [esp + edx*8 + 0x88]
cmp al, bl
jbe 0x4326df
jmp 0x432620
movzx eax, byte [esp + 0x47]
cmp al, bl
ja 0x432620
fld dword [0x49bf30]
movzx edx, al
add eax, 1
fstp qword [esp + edx*8 + 0x88]
cmp al, bl
jbe 0x43270d
jmp 0x432620
movzx eax, byte [esp + 0x47]
cmp al, bl
ja 0x432620
fld dword [0x49bf30]
movzx edx, al
add eax, 1
fstp qword [esp + edx*8 + 0x88]
cmp al, bl
jbe 0x43273d
jmp 0x432620
fstp qword [esp]
add edi, 1
call sym._p_watt_to_dbm
mov eax, dword [esp + 0xc0]
imul ebx, dword [esp + 0x78]
mov ecx, edi
add ebx, dword [esp + 0x5c]
mov eax, dword [eax]
fstp qword [eax + ebx*8]
mov eax, esi
cmp al, cl
jae 0x432669
mov edi, esi
jmp 0x43242a
mov dword [esp + 0x6c], 0
jmp 0x43263c
mov eax, dword [0x25bf728]
mov edx, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 0x18c]
mov dword [esp], str.ERROR:_d:SCPI_SweepValues____realloc_sweepBuffer_failed_n
mov dword [esp + 4], eax
call sym._pprintf
xor eax, eax
jmp 0x43220e