Function at 0x41e230
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440bb0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x6038
call fcn.0043ec10
mov eax, dword [0x45115c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x6038], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x6030], eax
mov eax, dword [ebp + 0x18]
push 0x104
mov dword [ebp - 0x603c], ebx
mov dword [ebp - 0x6034], ecx
mov dword [ebp - 0x6040], edx
mov dword [ebp - 0x6044], eax
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_265]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
push str.._security
push 0x104
mov esi, eax
push esi
push 0x4445b0
push str.XMS_URL
push str.Server
mov dword [esi], 0
call edi
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e2e0
sub eax, edx
push eax
push esi
mov ecx, ebx
call fcn.00407010
mov ebx, dword [sym.imp.mfc100.dll_Ordinal_265]
push 0x104
call ebx
add esp, 4
push str.._security
push 0x104
mov esi, eax
push esi
push 0x4445b0
push str.MIACCOUNT
push str.Server
mov dword [esi], 0
call edi
mov eax, esi
lea edx, [eax + 1]
jmp 0x41e330
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e330
mov ecx, dword [ebp - 0x6030]
sub eax, edx
push eax
push esi
call fcn.00407010
push 0x104
call ebx
add esp, 4
push str.._security
push 0x104
mov esi, eax
push esi
push 0x4445b0
push str.CAMERA_OTP
push str.Server
mov dword [esi], 0
call edi
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e380
mov ecx, dword [ebp - 0x6044]
sub eax, edx
push eax
push esi
call fcn.00407010
push 0x104
call ebx
add esp, 4
push str..config.ini
push 0x104
mov esi, eax
push esi
push 0x4445b0
push str.FACTORY
push str.CONFIG
mov dword [esi], 0
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_atoi]
push esi
call ebx
mov ecx, dword [ebp - 0x6034]
push 0x104
mov dword [ecx], eax
call dword [sym.imp.mfc100.dll_Ordinal_265]
add esp, 8
push str..config.ini
push 0x104
mov esi, eax
push esi
push 0x4445b0
push str.RUNINUP
push str.CONFIG
mov dword [esi], 0
call edi
push esi
call ebx
mov edx, dword [ebp - 0x6040]
mov ecx, dword [ebp - 0x603c]
add esp, 4
mov dword [edx], eax
cmp dword [ecx + 0x10], 0x19
jae 0x41e481
push 0x1000
lea edx, [ebp - 0x1014]
push 0
push edx
call fcn.0043e300
push 0xfff
lea eax, [ebp - 0x1014]
push str.Failure_To_CheckXMSURLconfig
push eax
mov dword [ebp - 0x1018], 0x9e
call dword [sym.imp.MSVCR100.dll_strncpy]
push 0x1004
lea ecx, [ebp - 0x1018]
push ecx
lea edx, [ebp - 0x4024]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0x24
push 0x44aba0
lea eax, [ebp - 0x4024]
push eax
call fcn.0043ebfc
mov ecx, dword [ebp - 0x6030]
cmp dword [ecx + 0x10], 5
jae 0x41e4ed
push 0x1000
lea edx, [ebp - 0x1014]
push 0
push edx
call fcn.0043e300
push 0xfff
lea eax, [ebp - 0x1014]
push str.Failure_To_CheckMIAccount
push eax
mov dword [ebp - 0x1018], 0xa3
call dword [sym.imp.MSVCR100.dll_strncpy]
push 0x1004
lea ecx, [ebp - 0x1018]
push ecx
lea edx, [ebp - 0x602c]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0x24
push 0x44aba0
lea eax, [ebp - 0x602c]
push eax
call fcn.0043ebfc
mov ecx, dword [ebp - 0x6034]
mov ecx, dword [ecx]
cmp ecx, 1
je 0x41e55f
cmp ecx, 2
je 0x41e55f
push 0x1000
lea edx, [ebp - 0x1014]
push 0
push edx
call fcn.0043e300
push 0xfff
lea eax, [ebp - 0x1014]
push str.Failure_To_CheckFactoryType
push eax
mov dword [ebp - 0x1018], 0xa4
call dword [sym.imp.MSVCR100.dll_strncpy]
push 0x1004
lea ecx, [ebp - 0x1018]
push ecx
lea edx, [ebp - 0x5028]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0x24
push 0x44aba0
lea eax, [ebp - 0x5028]
push eax
call fcn.0043ebfc
cmp eax, 1
je 0x41e647
cmp eax, 2
je 0x41e647
push 0x1000
lea ecx, [ebp - 0x1014]
push 0
push ecx
call fcn.0043e300
push 0xfff
lea edx, [ebp - 0x1014]
push str.Failure_To_CheckOperationType
push edx
mov dword [ebp - 0x1018], 0xa4
call dword [sym.imp.MSVCR100.dll_strncpy]
push 0x1004
lea eax, [ebp - 0x1018]
push eax
lea ecx, [ebp - 0x201c]
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0x24
push 0x44aba0
lea edx, [ebp - 0x201c]
push edx
call fcn.0043ebfc
mov esi, dword [ebp - 0x6048]
mov ebx, dword [ebp - 0x6038]
push 0
lea edi, [esi + 4]
push str.Check_StationCofig
call fcn.004197d0
push edi
push str.Check_StationCofig:_s
push 0x1437
push str.RuninExcute.cpp
call fcn.004029e0
mov eax, dword [ebx + 0xf6c]
add esp, 0x10
push 5
push 0
push 0xbd2
push eax
mov byte [ebx + 0xf78], 0
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1004
lea ecx, [ebp - 0x3020]
push esi
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push 0x44aba0
lea edx, [ebp - 0x3020]
push edx
call fcn.0043ebfc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043dda2
mov esp, ebp
pop ebp
ret 0x14