Function at 0x426220
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b6842
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x50a360]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50a360]
xor eax, esp
push eax
lea eax, [esp + 0x468]
mov dword fs:[0], eax
mov ebp, ecx
call fcn.00471eac
mov ecx, dword [eax + 4]
call fcn.0046b2c8
mov eax, dword [0x50b908]
xor ebx, ebx
push 0x206
lea edx, [esp + 0x5a]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x47c], ebx
mov dword [esp + 0x28], eax
mov word [esp + 0x60], cx
call fcn.00494750
add esp, 0xc
lea eax, [esp + 0x54]
push eax
mov ecx, 0x50b7e0
call fcn.0040aa50
test eax, eax
je 0x426377
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebp + 0x190]
call fcn.0040d460
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], ebx
mov byte [esp + 0x470], 1
jl 0x426339
push str.PAC_
push esi
call fcn.00495b82
add esp, 8
cmp eax, ebx
je 0x426339
sub eax, esi
sar eax, 1
jne 0x426339
mov esi, dword [esi - 0xc]
add esi, 0xfffffffc
push esi
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call fcn.004019b0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x474], 2
call fcn.00401bf0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x470], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426335
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x54]
push ecx
push edx
push esi
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esp + 0x1c], eax
lea eax, [esi - 0x10]
mov byte [esp + 0x470], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426377
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x190]
call fcn.004560c0
mov dword [esp + 0x50], eax
cmp eax, ebx
je 0x4263ec
cmp dword [esp + 0x1c], ebx
jne 0x4263ec
mov edx, dword [0x50b824]
lea ecx, [esp + 0x25c]
push ecx
push edx
call fcn.00458600
lea edi, [esp + 0x264]
add esp, 8
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4263b1
mov ecx, 7
mov esi, str.BMTimeout.ini
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x25c]
push eax
push 0x7d0
push str.WaitTimeForNextChip
push str.CheckDUT
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esp + 0x1c], eax
cmp dword [0x50b8c8], ebx
je 0x4263f8
mov dword [esp + 0x1c], ebx
lea esi, [ebp + 0x190]
mov ecx, esi
call fcn.00455c20
mov ecx, esi
mov dword [esp + 0x48], eax
call fcn.00455c50
mov ecx, dword [ebp + 0x10c]
mov dword [esp + 0x4c], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x1c]
push eax
push ebx
call edx
mov ecx, dword [ebp + 0x10c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
lea edx, [esp + 0x48]
push edx
push 1
call eax
mov eax, dword [ebp + 0x14c]
mov ecx, dword [ebp + 0x10c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
push 2
call eax
mov ecx, dword [ebp + 0x10c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
lea eax, [ebp + 0x2040]
push eax
push 6
call edx
mov ecx, dword [ebp + 0x10c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
lea edx, [esp + 0x4c]
push edx
push 7
call eax
mov ecx, dword [ebp + 0x10c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x50]
push eax
push 9
call edx
lea ecx, [esp + 0x2c]
mov dword [ebp + 0x2598], 1
call fcn.00406c90
mov ecx, dword [ebp + 0x256c]
mov dword [esp + 0x44], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x474], 3
call eax
mov ecx, dword [esp + 0x38]
mov esi, eax
mov eax, dword [esp + 0x3c]
mov edi, eax
cmp ecx, eax
jbe 0x4264dd
call fcn.004955c5
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x24], ecx
cmp ecx, eax
jbe 0x4264ee
call fcn.004955c5
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push edi
push ebx
push ecx
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
call fcn.004189e0
test esi, esi
jle 0x42652c
xor edi, edi
mov edi, edi
mov ecx, dword [esp + 0x44]
lea edx, [edi + ecx]
push edx
lea ecx, [esp + 0x30]
call fcn.00424240
add edi, 0x60c
sub esi, 1
jne 0x426510
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
mov eax, 0x54abfd5b
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
xor esi, esi
xor ebx, ebx
cmp eax, esi
jle 0x42676a
mov dword [esp + 0x20], esi
cmp ebx, eax
jb 0x42655e
call fcn.004955c5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov esi, dword [eax + ecx]
lea edi, [ebp + 0x190]
mov ecx, edi
call fcn.00455c00
test eax, eax
je 0x426582
cmp esi, eax
jne 0x42673e
mov eax, dword [ebp + 0x23ac]
test eax, eax
je 0x426594
cmp esi, eax
jne 0x42673e
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
mov eax, 0x54abfd5b
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4265b6
call fcn.004955c5
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
lea eax, [ecx + edx + 0x204]
push eax
lea ecx, [esp + 0x18]
call fcn.00402560
cmp dword [0x50b914], 0
mov byte [esp + 0x470], 4
je 0x426615
lea ecx, [esp + 0x24]
push ecx
push esi
mov ecx, 0x50b918
call fcn.00416940
test eax, eax
je 0x426615
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x470], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x426732
mov ecx, edi
call fcn.00456040
test eax, eax
je 0x42663a
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.0041f940
test eax, eax
je 0x42663a
push esi
mov ecx, ebp
call fcn.00415740
jmp 0x4265f4
mov ecx, dword [esp + 0x14]
push esi
push ecx
mov ecx, ebp
call fcn.0041fa90
test eax, eax
je 0x4265f4
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4267e2
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x14]
push str.SPRD_U2S_Diag
push ecx
mov byte [esp + 0x478], 5
call fcn.00495a5d
add esp, 8
test eax, eax
jne 0x4266a5
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.0041f170
test eax, eax
je 0x4267ec
mov edi, dword [esp + 0x24]
push esi
mov ecx, ebp
call fcn.00417ed0
cmp dword [0x50b8c8], 0
push 1
mov ecx, ebp
push esi
je 0x4266c9
call fcn.0047db9e
mov ecx, eax
call fcn.0040f1d0
jmp 0x4266f2
call fcn.0041c510
test eax, eax
je 0x4268a9
call fcn.00471eac
mov ecx, dword [eax + 4]
call fcn.0046b2f2
cmp dword [ebp + 0x2490], 0
je 0x4266f2
mov dword [ebp + 0x23ac], esi
lea eax, [edi - 0x10]
mov byte [esp + 0x470], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426716
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x470], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42673e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
add dword [esp + 0x20], 0x60c
mov eax, 0x54abfd5b
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
cmp ebx, eax
jl 0x426557
xor esi, esi
mov ecx, dword [ebp + 0x256c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x44]
mov edx, dword [edx + 0x18]
push eax
call edx
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x42678d
push eax
call fcn.0046436b
add esp, 4
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
call fcn.0046436b
add esp, 4
lea ecx, [esp + 0x1b]
mov dword [esp + 0x470], 0xffffffff
call fcn.00418aa0
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x450]
xor ecx, esp
call fcn.004945a7
add esp, 0x460
ret
push 0x80004005
call fcn.00401150
mov ecx, dword [ebp + 0x256c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [esp + 0x24]
push 1
xor ebx, ebx
push ebx
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x2c], esp
mov edi, esp
push esi
call fcn.00401560
add eax, 0x10
add esp, 4
mov ecx, 0x50b7e0
mov dword [edi], eax
call fcn.0040b710
mov ecx, dword [ebp + 0x20]
push ebx
push 0x8005
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [esp + 0x470], 4
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x42685a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x470], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426882
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x426893
push eax
call fcn.0046436b
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
push ecx
jmp 0x42679e
mov ecx, ebp
call fcn.00424990
lea eax, [edi - 0x10]
mov byte [esp + 0x470], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4268d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x470], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4268fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
xor esi, esi
cmp eax, esi
je 0x42690f
push eax
call fcn.0046436b
add esp, 4
mov ecx, dword [esp + 0x2c]
push ecx
jmp 0x426792