Function at 0x1002ac00
Capabilities:
Create thread
Initialize winsock library
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102f4f8e
mov eax, dword fs:[0]
push eax
sub esp, 0x60c
mov eax, dword [case.0x100be6e1.80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x618], esi
lea edi, [esi + 0x17dc]
mov esi, 8
push 0x80
call fcn.102b2ed0
add esp, 4
mov dword [edi], eax
lea edi, [edi + 4]
sub esi, 1
jne 0x1002ac40
mov esi, dword [ebp - 0x618]
mov dword [esi + 0x1214], 0
mov dword [esi + 0xce4], 0
mov dword [esi + 0xce8], 0
push dword [0x103c8e80]
call fcn.102b2eb3
push str.X_ray_detector_library
call fcn.102bdbe0
add esp, 8
mov dword [0x103c8e80], eax
push 0
call fcn.100e5b6e
test eax, eax
jne 0x1002acb7
push eax
push 0x10
push str.Windows_sockets_initialization_failed.
call fcn.100d2df0
xor eax, eax
jmp 0x1002b5f8
call fcn.10025b80
push 0x54
lea eax, [esi + 0x1568]
mov dword [esi + 0xce0], 0
push 0
push eax
mov dword [esi + 0x120c], 0
mov dword [esi + 0xc38], 0
mov dword [esi + 0x11e8], 0
mov dword [esi + 0x11e4], 0
mov dword [esi + 0x1168], 0
mov dword [esi + 0x115c], 0
mov dword [esi + 0x1150], 0
mov dword [esi + 0x1140], 0
mov dword [esi + 0x1144], 0
mov dword [esi + 0x114c], 0
mov dword [esi + 0x1130], 0
mov dword [esi + 0x1134], 0
mov dword [esi + 0x111c], 0
mov dword [esi + 0x1120], 0
mov dword [esi + 0x1124], 0
mov dword [esi + 0x1128], 0
mov dword [esi + 0x112c], 0
mov dword [esi + 0xd38], 0
mov dword [esi + 0xd3c], 0
mov dword [esi + 0xd40], 0
mov dword [esi + 0xd44], 0
mov dword [esi + 0xd48], 0
mov dword [esi + 0xc18], 0
mov dword [esi + 0xd4c], 1
mov dword [esi + 0xd50], 0
mov dword [esi + 0xd54], 0
mov dword [esi + 0xfb4], 0
mov dword [esi + 0xfbc], 1
mov dword [esi + 0xfc8], 0
mov dword [esi + 0xca4], 0
mov dword [esi + 0xcac], 0
mov dword [esi + 0xc90], 0
mov dword [esi + 0x1164], 0
mov dword [esi + 0x1218], 0
mov dword [esi + 0x1558], 0
mov dword [esi + 0x155c], 0
mov dword [esi + 0x1560], 0
mov dword [esi + 0x1564], 0
call fcn.10296750
add esp, 0xc
call fcn.100c3b5c
push 0x100
lea ecx, [ebp - 0x110]
push ecx
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x110]
push 0x2e
push eax
call fcn.102a1020
add esp, 8
lea edi, [esi + 0xe0]
mov ecx, edi
mov dword [eax + 1], 0x494e49
lea eax, [ebp - 0x110]
push eax
call fcn.10008060
push 0x1031f298
mov ecx, edi
call fcn.10008160
push 0
push str.ComPort
mov ecx, edi
call fcn.10007e40
push 1
push str.ComPortBaud
mov ecx, edi
mov dword [esi + 0x744], eax
call fcn.10007e40
push 0
push str.IniFileWithIP
mov ecx, edi
mov dword [esi + 0x748], eax
call fcn.10007e40
push 0
push str.CalibDirWithIP
mov ecx, edi
mov dword [esi + 0x94c], eax
call fcn.10007e40
push 0
push str.CalibDirWithINIT
mov ecx, edi
mov dword [esi + 0x944], eax
call fcn.10007e40
push 0
push str.MultiDetector
mov ecx, edi
mov dword [esi + 0x948], eax
call fcn.10007e40
push 0
push str.DefaultDetector
mov ecx, edi
mov dword [esi + 0x950], eax
call fcn.10007e40
push 0
push 0x1031f30c
mov ecx, edi
mov dword [esi + 0xbf8], eax
call fcn.10007e40
mov dword [esi + 0x954], eax
mov ecx, edi
push str.AP_SSID
lea eax, [esi + 0xacc]
push eax
push 0x1031f318
call fcn.10007ec0
push str.192.168.1.80
lea eax, [esi + 0x6c0]
mov ecx, edi
push eax
push str.IPAddrM1
call fcn.10007ec0
push str.192.168.1.81
lea eax, [esi + 0x6e8]
mov ecx, edi
push eax
push str.IPAddrM2
call fcn.10007ec0
push str.192.168.1.82
lea eax, [esi + 0x710]
mov ecx, edi
push eax
push str.IPAddrM3
call fcn.10007ec0
push 1
push str.IniTypeM1
mov ecx, edi
call fcn.10007e40
push 1
push str.IniTypeM2
mov ecx, edi
mov dword [esi + 0x738], eax
call fcn.10007e40
push 1
push str.IniTypeM3
mov ecx, edi
mov dword [esi + 0x73c], eax
call fcn.10007e40
push 0
push str.SaveCutImage
mov ecx, edi
mov dword [esi + 0x740], eax
call fcn.10007e40
mov dword [esi + 0xc38], eax
mov ecx, edi
push str.c:_temp
lea eax, [esi + 0xfdc]
push eax
push str.TempCopyFolder
call fcn.10007ec0
push 0xffff
push str.TempCopyPoints1
mov ecx, edi
call fcn.10007e40
mov dword [esi + 0x10dc], eax
push 0xffff
push str.TempCopyPoints2
mov ecx, edi
call fcn.10007e40
push 0xffff
push str.TempCopyPoints3
mov ecx, edi
mov dword [esi + 0x10e0], eax
call fcn.10007e40
push 0xffff
push str.TempCopyPoints4
mov ecx, edi
mov dword [esi + 0x10e4], eax
call fcn.10007e40
push 0xffff
push str.TempCopyPoints5
mov ecx, edi
mov dword [esi + 0x10e8], eax
call fcn.10007e40
push 0xffff
push str.TempCopyPoints6
mov ecx, edi
mov dword [esi + 0x10ec], eax
call fcn.10007e40
push 0xffff
push str.TempCopyPoints7
mov ecx, edi
mov dword [esi + 0x10f0], eax
call fcn.10007e40
push 0xffff
push str.TempCopyPoints8
mov ecx, edi
mov dword [esi + 0x10f4], eax
call fcn.10007e40
push 0xffff
push str.TempCopyPoints9
mov ecx, edi
mov dword [esi + 0x10f8], eax
call fcn.10007e40
push 0xffff
push str.TempCopyPoints10
mov ecx, edi
mov dword [esi + 0x10fc], eax
call fcn.10007e40
push 0xffff
push str.TempCopyPoints11
mov ecx, edi
mov dword [esi + 0x1100], eax
call fcn.10007e40
push 0xffff
push str.TempCopyPoints12
mov ecx, edi
mov dword [esi + 0x1104], eax
call fcn.10007e40
push 0xffff
push str.TempCopyPoints13
mov ecx, edi
mov dword [esi + 0x1108], eax
call fcn.10007e40
push 0xffff
push str.TempCopyPoints14
mov ecx, edi
mov dword [esi + 0x110c], eax
call fcn.10007e40
push 0xffff
push str.TempCopyPoints15
mov ecx, edi
mov dword [esi + 0x1110], eax
call fcn.10007e40
push 0xffff
push str.TempCopyPoints16
mov ecx, edi
mov dword [esi + 0x1114], eax
call fcn.10007e40
push 0
push str.LevelShift
mov ecx, edi
mov dword [esi + 0x1118], eax
call fcn.10007e40
mov dword [esi + 0x1148], eax
push 0
push str.EngineeringMode
mov ecx, edi
call fcn.10007e40
xor ecx, ecx
mov dword [esi + 0xd38], eax
cmp eax, 1
lea eax, [ebp - 0x110]
push 1
sete cl
push 1
mov dword [0x103ca040], ecx
mov ecx, esi
push eax
call fcn.1002c7c0
cmp dword [esi + 0x94c], 0
je 0x1002b295
push 0x103c94c8
call fcn.100be9f0
add esp, 4
mov dword [ebp - 0x618], eax
call fcn.100c3b5c
push 0x100
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x210]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x210]
push 0x2e
push eax
call fcn.102a1020
mov ecx, dword [ebp - 0x618]
mov byte [eax], 0
mov eax, ecx
shr eax, 0x18
push eax
shr ecx, 0x10
movzx eax, cl
push eax
lea eax, [ebp - 0x310]
push str.__2.2d__2.2d
push eax
call fcn.100029e0
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x510]
push str.Load_Setting_File_:__s_s.ini
push eax
call fcn.100029e0
add esp, 0x28
lea eax, [ebp - 0x510]
push eax
call sym.VADAV.dll_VD_LogMsg
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x610]
push str._s_s.ini
push eax
call fcn.100029e0
add esp, 0x10
lea eax, [ebp - 0x610]
mov ecx, 0x103c8e30
jmp 0x1002b29d
lea eax, [ebp - 0x110]
mov ecx, esi
push 1
push 1
push eax
call fcn.1002c7c0
push 0xe0
call fcn.100c00c1
add esp, 4
mov dword [ebp - 0x618], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1002b2d0
mov ecx, eax
call fcn.100b99e0
mov ecx, eax
jmp 0x1002b2d2
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [0x103c914c], ecx
mov eax, dword [ecx]
push 0
push 0x73
call dword [eax + 0x164]
call fcn.100c32b9
mov ecx, eax
test ecx, ecx
je 0x1002b613
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x614], eax
mov dword [ebp - 4], 2
xor ecx, ecx
nop dword [eax]
nop word [eax + eax]
mov al, byte [ecx + 0x103c91c8]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x411], al
test al, al
jne 0x1002b320
lea eax, [ebp - 0x410]
push 0x5c
push eax
call fcn.102a1020
movups xmm0, xmmword [str.RIMPL_VADAV.dll]
movups xmmword [eax + 1], xmm0
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x614]
push 0x1031f534
push eax
call fcn.10002d90
add esp, 0x14
cmp dword [0x103c9ad4], 0
je 0x1002b37d
mov dword [0x103c9abc], 1
jmp 0x1002b3a6
cmp dword [0x103c9adc], 0
mov dword [0x103c9ad4], 0
je 0x1002b39c
mov dword [0x103c9abc], 2
jmp 0x1002b3b0
mov dword [0x103c9abc], 0
mov dword [0x103c9adc], 0
push 0x1031b50e
push dword [ebp - 0x614]
call fcn.102b2edb
add esp, 8
test eax, eax
je 0x1002b3df
push 0x103c978c
push dword [ebp - 0x614]
call fcn.1001f610
add esp, 8
mov dword [0x103c9ac0], eax
push 0x20
mov dword [esi + 0xc7c], 0
mov dword [esi + 0xc80], 0
mov dword [esi + 0xc84], 0
mov dword [esi + 0xc88], 0
mov dword [esi + 0x1154], 0
mov dword [esi + 0x1158], 0
call dword [sym.imp.VCOMP140.DLL_omp_set_num_threads]
push 1
call dword [sym.imp.VCOMP140.DLL_omp_set_dynamic]
add esp, 8
push str.ICMP.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x17bc], eax
test eax, eax
je 0x1002b5ce
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IcmpCreateFile
push eax
call edi
push str.IcmpCreateFile
mov dword [0x103c8e0c], eax
push dword [esi + 0x17bc]
call edi
push str.IcmpCreateFile
mov dword [0x103c8e10], eax
push dword [esi + 0x17bc]
call edi
push str.IcmpCreateFile
mov dword [0x103c8e14], eax
push dword [esi + 0x17bc]
call edi
push str.IcmpCloseHandle
mov dword [0x103c8e18], eax
push dword [esi + 0x17bc]
call edi
push str.IcmpSendEcho
mov dword [0x103c8e1c], eax
push dword [esi + 0x17bc]
call edi
cmp dword [0x103c8e0c], 0
mov dword [0x103c8e20], eax
je 0x1002b5c2
cmp dword [0x103c8e1c], 0
je 0x1002b5c2
test eax, eax
je 0x1002b5c2
lea edi, [esi + 0x15bc]
push edi
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [esi + 0x17d8], eax
test eax, eax
jne 0x1002b5bc
mov eax, 0x101
cmp ax, word [edi]
jne 0x1002b5bc
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x1002c550
push 0
push 0
call edi
push 0
push 0
push 0
push 0x1002b620
push 0
push 0
mov dword [0x103c9a74], eax
call edi
push 0
push 0
push 0
push 0x10029900
push 0
push 0
mov dword [0x103c9a78], eax
call edi
push 0
push 0
push 0
push 0x1002a220
push 0
push 0
mov dword [0x103c9a94], eax
call edi
push 0
push 0
push 0
push 0x10029980
push 0
push 0
mov dword [0x103c9a84], eax
call edi
push 0
push 0
push 0
push 0x10029dd0
push 0
push 0
mov dword [0x103c9a88], eax
call edi
push 0
push 0
push 0
push 0x1002a710
push 0
push 0
mov dword [0x103c9a8c], eax
call edi
push str.InitInstance
mov dword [0x103c9a90], eax
call fcn.10025e80
add esp, 4
mov ecx, esi
call fcn.100e33c2
mov esi, eax
jmp 0x1002b5d1
call dword [sym.imp.WS2_32.dll_WSACleanup]
push dword [esi + 0x17bc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x614]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002b5f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10291e04
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002bc0
int3