Function at 0x4496f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ff5b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5e5e94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 0x4d0]
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0x4a4], 0
je 0x449747
push 0
push 0
push str.Tester_Status_BUSY
call fcn.004626b5
push esi
jmp 0x449f35
lea eax, [ebx + 0x574]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.TestConditionA.ini
mov dword [ebx + 0x4a4], 1
mov dword [ebx + 0x4b0], 0
call fcn.00401a90
mov ecx, ebx
call fcn.0042bac0
lea ecx, [ebx + 0xfd8]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.TestConditionB.ini
call fcn.00401a90
mov ecx, ebx
call fcn.0042bac0
lea edx, [ebx + 0x1a3c]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.TestConditionC.ini
call fcn.00401a90
mov ecx, ebx
call fcn.0042bac0
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x4497c6
lea eax, [ebx + 0x3248]
push eax
jmp 0x4497d2
cmp eax, 2
jne 0x4497dd
lea edx, [ebx + 0x324c]
push edx
lea ecx, [ebx + 0x3244]
call fcn.004019a0
mov ecx, ebx
call fcn.00448e00
mov ecx, ebx
call fcn.00445a60
push 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
movzx ecx, word [ebx + 0x15c]
mov edi, dword [ebx + 0xbc]
lea esi, [ebx + 0x15c]
mov dword [ebp - 0x18], eax
cmp edi, ecx
jle 0x44984c
movzx edx, word [ebx + 0x15e]
mov eax, dword [ebx + 0xc0]
cmp eax, edx
jle 0x44984c
sub eax, edx
push 0x44
push edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x18]
push ecx
push eax
mov eax, edi
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push 0x3ec
mov ecx, ebx
call fcn.0046caac
mov ecx, eax
call fcn.0046ce70
cmp dword [ebx + 0x55c], 0
jne 0x4498a7
push 0x2f0
call fcn.004600e4
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x449898
lea ecx, [ebx + 0x560]
push ecx
lea edx, [ebx + 0x4e8]
push edx
sub esp, 0xa4
mov edi, esp
mov ecx, 0x29
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, eax
call fcn.00403010
jmp 0x44989a
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x55c], eax
mov eax, dword [ebx + 0xc4]
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
call fcn.00401400
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [ebx + 0x55c]
add esp, 4
call fcn.00402df0
mov eax, 0xffffd758
sub eax, ebx
lea edi, [ebx + 0x2958]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x2d
jmp 0x4498eb
mov eax, dword [ebp - 0x1c]
mov esi, dword [edi]
add eax, edi
add eax, dword [ebx + 0x55c]
sub esi, 0x10
mov eax, dword [eax]
lea ecx, [eax - 0x10]
cmp ecx, esi
je 0x449948
cmp dword [esi + 0xc], 0
jl 0x44993c
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x44993c
push ecx
call fcn.00401400
mov dword [ebp - 0x20], eax
add esp, 4
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x449932
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x449948
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
call fcn.004017e0
add edi, 4
dec dword [ebp - 0x18]
jne 0x4498e8
cmp dword [ebx + 0x31d0], 1
jne 0x449a21
mov edx, dword [ebx + 0x55c]
mov eax, dword [ebx + 0x72c]
mov dword [edx + 0x2cc], eax
mov ecx, dword [ebx + 0x55c]
mov edx, dword [ebx + 0x728]
mov dword [ecx + 0x2d0], edx
lea eax, [ebx + 0x990]
push eax
lea ecx, [ebx + 0x8dc]
push ecx
mov ecx, dword [ebx + 0x55c]
call fcn.00403490
mov edx, dword [ebx + 0x55c]
mov dword [ebx + 0x261c], eax
lea esi, [edx + 0x218]
lea edi, [ebx + 0x27f0]
mov ecx, 0x2d
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x164]
lea edi, [ebx + 0x28a4]
mov ecx, 0x2d
rep movsd dword es:[edi], dword [esi]
test eax, eax
jle 0x449a4c
push 1
push 0xff
push 0x190
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x5937d8
call fcn.00401a90
mov ecx, ebx
call fcn.0041b8f0
mov edx, dword [ebx + 0x55c]
mov eax, dword [edx + 0x2e8]
push 1
push 0
push 0xffffffffffffffff
push ecx
sub eax, 0x10
mov dword [ebp + 8], esp
mov esi, esp
push eax
call fcn.00401400
add esp, 4
add eax, 0x10
mov dword [esi], eax
jmp 0x449f15
push 0xb4
xor edi, edi
lea ecx, [ebx + 0x27f0]
push edi
push ecx
call fcn.005601e0
push 0xb4
lea edx, [ebx + 0x28a4]
push edi
push edx
call fcn.005601e0
add esp, 0x18
jmp 0x449a4e
xor edi, edi
lea esi, [ebx + 0x50c8]
push esi
mov ecx, ebx
mov dword [esi], 0xffffffff
call fcn.00419cb0
cmp dword [esi], 0xffffffff
mov ecx, dword [ebx + 0x55c]
jne 0x449d01
fld dword [ebx + 0x560]
fstp dword [ecx + 0x2d4]
mov edx, dword [ebx + 0x55c]
fld dword [ebx + 0x564]
fstp dword [edx + 0x2d8]
mov eax, dword [ebx + 0x55c]
fld dword [ebx + 0x568]
fstp dword [eax + 0x2dc]
mov ecx, dword [ebx + 0x55c]
fld dword [ebx + 0x56c]
fstp dword [ecx + 0x2e0]
mov edx, dword [ebx + 0x55c]
fld dword [ebx + 0x570]
fstp dword [edx + 0x2e4]
mov ecx, dword [ebx + 0x55c]
call fcn.004026b0
mov dword [ebp - 0x10], edi
cmp eax, 1
jne 0x449e8c
movzx eax, byte [ebx + 0x163]
movzx edx, word [ebx + 0x164]
push eax
movzx eax, byte [ebx + 0x162]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebx + 0x55c]
push edx
push eax
call fcn.00402a70
cmp eax, 1
je 0x449b2f
movzx ecx, byte [ebx + 0x163]
movzx eax, word [ebx + 0x164]
push ecx
movzx ecx, byte [ebx + 0x162]
lea edx, [ebp - 0x10]
push edx
push eax
push ecx
mov ecx, dword [ebx + 0x55c]
call fcn.00402a70
movzx edx, byte [ebx + 0x163]
mov ecx, dword [ebx + 0x55c]
push edx
push 0x60
push 0x3007
push 0x60
call fcn.00402a40
movzx eax, byte [ebx + 0x163]
mov ecx, dword [ebx + 0x55c]
push eax
push 0x60
push 0x3007
push 0x60
call fcn.00402a40
movzx ecx, byte [ebx + 0x163]
push ecx
mov ecx, dword [ebx + 0x55c]
push 0x60
push 0x3007
push 0x64
call fcn.00402a40
movzx edx, byte [ebx + 0x163]
mov ecx, dword [ebx + 0x55c]
push edx
push 0x60
push 0x3007
push 0x64
call fcn.00402a40
movzx eax, byte [ebx + 0x163]
movzx edx, word [ebx + 0x164]
push eax
movzx eax, byte [ebx + 0x162]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebx + 0x55c]
push edx
push eax
call fcn.00402a70
mov cx, word [ebp - 0x10]
cmp cx, word [ebx + 0x166]
je 0x449c91
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x449be8
lea edx, [ebx + 0x3250]
push edx
jmp 0x449bf4
cmp eax, 2
jne 0x449bff
lea eax, [ebx + 0x3254]
push eax
lea ecx, [ebx + 0x3244]
call fcn.004019a0
mov ecx, ebx
call fcn.00448e00
mov ecx, ebx
call fcn.00445a60
mov edi, dword [ebx + 0x55c]
add edi, 8
mov ecx, 0x29
lea esi, [ebx + 0x15c]
rep movsd dword es:[edi], dword [esi]
fld dword [ebx + 0x56c]
push ecx
mov ecx, dword [ebx + 0x55c]
fstp dword [esp]
call fcn.00402440
movzx ecx, byte [ebx + 0x163]
movzx eax, word [ebx + 0x164]
push ecx
movzx ecx, byte [ebx + 0x162]
lea edx, [ebp - 0x10]
push edx
push eax
push ecx
mov ecx, dword [ebx + 0x55c]
call fcn.00402a70
mov dx, word [ebp - 0x10]
cmp dx, word [ebx + 0x166]
je 0x449c8f
push 1
push 0xff
push 0x190
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Sensor_error_
call fcn.00401a90
mov ecx, ebx
call fcn.0041b8f0
xor edi, edi
mov ecx, dword [ebx + 0x55c]
call fcn.00402c10
movzx eax, word [ebx + 0x1b4]
mov ecx, dword [ebx + 0x1b0]
push 2
push 2
push eax
push ecx
mov ecx, ebx
call fcn.0041ec10
cmp eax, edi
jne 0x449d11
mov ecx, dword [ebx + 0x55c]
call fcn.00402520
mov edx, dword [ebx + 0x55c]
mov eax, dword [edx + 0x2ec]
push 1
push 0xff
push 0x190
push ecx
sub eax, 0x10
mov dword [ebp + 8], esp
mov esi, esp
push eax
call fcn.00401400
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [esi], eax
call fcn.0041b8f0
mov ecx, dword [ebx + 0x55c]
call fcn.00402330
mov dword [ebx + 0x4a4], edi
jmp 0x449f31
fld dword [ebx + 0xa54]
call fcn.00560260
push eax
push 3
mov ecx, ebx
call fcn.00418940
movzx ecx, word [ebx + 0x15c]
movzx esi, word [ebx + 0x15e]
mov edx, dword [ebx + 0x55c]
imul esi, ecx
mov dword [ebx + 0x158], edi
mov eax, dword [edx + 4]
lea esi, [esi + esi*2 + 0x400]
push esi
mov dword [ebx + 0x4ac], eax
mov dword [ebx + 0x4b4], edi
call fcn.005600cb
mov edi, eax
push esi
mov dword [ebx + 0x474], edi
call fcn.005600cb
push esi
mov dword [ebp + 8], eax
mov dword [ebx + 0x47c], eax
call fcn.005600cb
push esi
mov dword [ebp - 0x20], eax
mov dword [ebx + 0x478], eax
call fcn.005600cb
add esp, 0x10
mov dword [ebx + 0x480], eax
test edi, edi
je 0x449e60
cmp dword [ebp + 8], 0
je 0x449e60
cmp dword [ebp - 0x20], 0
je 0x449e60
test eax, eax
je 0x449e60
push esi
push 0
push edi
call fcn.005601e0
mov ecx, dword [ebx + 0x47c]
push esi
push 0
push ecx
call fcn.005601e0
mov edx, dword [ebx + 0x478]
push esi
push 0
push edx
call fcn.005601e0
mov eax, dword [ebx + 0x480]
push esi
push 0
push eax
call fcn.005601e0
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
add esp, 0x30
push 0
push 0
push 1
push 0
call esi
push 0
push 0
push 1
push 0
mov dword [ebx + 0x484], eax
call esi
push ebx
push 0
push 0x45f1a0
mov dword [ebx + 0x488], eax
call fcn.005616d6
push ebx
push 0
push 0x45f520
call fcn.005616d6
mov ecx, dword [ebx + 0x20]
add esp, 0x18
push 0
push 0xc8
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push str.Memory_error_
call fcn.004626b5
mov ecx, dword [ebx + 0x55c]
call fcn.00402330
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x4a4], 0
push edx
jmp 0x449f35
mov ecx, dword [ebx + 0x55c]
call fcn.00402520
mov eax, dword [ebx + 0x55c]
mov esi, dword [eax + 0x2ec]
push 1
push 0xff
push 0x190
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp + 8], esp
mov dword [ebp + 8], esp
call eax
cmp dword [esi - 4], edi
lea ecx, [esi - 4]
jl 0x449edb
cmp eax, dword [esi - 0x10]
jne 0x449edb
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x449f0d
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x449ef4
call fcn.00401170
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
push eax
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0055fb16
add esp, 0x10
mov edx, dword [ebp + 8]
add edi, 0x10
mov dword [edx], edi
mov ecx, ebx
call fcn.0041b8f0
mov ecx, dword [ebx + 0x55c]
call fcn.00402330
mov dword [ebx + 0x4a4], 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4