Function at 0x401000
Capabilities:
Accept command line arguments
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40247b
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x404018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push ebx
mov dword [ebp - 0x538], eax
mov dword [ebp - 0x558], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_2087]
test eax, eax
jne 0x401070
push str.Fatal_Error:_MFC_initialization_failed_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
lea eax, [ebx + 1]
jmp 0x4013d1
push str.FileUpdate.dll
lea ecx, [ebp - 0x550]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x550]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
je 0x4011cc
push str.CheckFileUpdate
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x548], eax
cmp eax, ebx
je 0x4011cc
push 0x104
lea edx, [ebp - 0x114]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x114]
push 0x5c
push eax
call dword [sym.imp.MSVCR100.dll__mbsrchr]
add esp, 8
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x534]
mov byte [eax + 1], bl
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea edx, [ebp - 0x540]
push edx
mov edi, str.LbUpdateInfo.ini
mov ebx, eax
mov byte [ebp - 4], 1
call fcn.004013f0
mov eax, dword [eax]
add esp, 4
push eax
push 0x400
lea eax, [ebp - 0x514]
push eax
push str.1.0.0
push str.CurVersion
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x540]
call dword [sym.imp.mfc100.dll_Ordinal_901]
xor ebx, ebx
lea ecx, [ebp - 0x534]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea eax, [ebp - 0x514]
mov dword [ebp - 0x51c], 0xf
mov dword [ebp - 0x520], ebx
mov byte [ebp - 0x530], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401168
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x514]
lea esi, [ebp - 0x530]
call fcn.00401980
mov edx, esi
mov byte [ebp - 4], 2
call fcn.00401500
test al, al
je 0x4011a0
push ebx
push ebx
push 0x403254
call dword [sym.imp.mfc100.dll_Ordinal_1982]
lea ecx, [ebp - 0x530]
push ecx
call dword [ebp - 0x548]
add esp, 4
mov byte [ebp - 4], bl
cmp dword [ebp - 0x51c], 0x10
jb 0x4011cc
mov edx, dword [ebp - 0x530]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, dword [ebp - 0x538]
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x53c]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov bl, 3
push 0x5c
lea ecx, [ebp - 0x53c]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_11744]
inc eax
push eax
lea ecx, [ebp - 0x538]
push ecx
lea ecx, [ebp - 0x53c]
call dword [sym.imp.mfc100.dll_Ordinal_7487]
push eax
lea ecx, [ebp - 0x53c]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x538]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea edx, [ebp - 0x54c]
push edx
mov edi, str.Luban_Blanking.exe
lea ebx, [ebp - 0x53c]
call fcn.004013f0
add esp, 4
lea ecx, [ebp - 0x544]
call dword [sym.imp.mfc100.dll_Ordinal_316]
cmp dword [ebp + 8], 2
mov byte [ebp - 4], 6
jne 0x40136b
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0x534]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 7
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x548]
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea ecx, [ebp - 0x538]
push ecx
mov edi, eax
mov byte [ebp - 4], 8
call fcn.00401480
lea edx, [ebp - 0x540]
push edx
mov edi, 0x40327c
mov ebx, eax
mov byte [ebp - 4], 9
call fcn.004013f0
add esp, 8
lea ecx, [ebp - 0x538]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x548]
mov byte [ebp - 4], 0xc
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [ebp - 0x540]
push 0x403295
push eax
lea ecx, [ebp - 0x534]
call dword [sym.imp.mfc100.dll_Ordinal_11627]
lea ecx, [ebp - 0x534]
call dword [sym.imp.mfc100.dll_Ordinal_13131]
push edi
lea ecx, [ebp - 0x534]
call dword [sym.imp.mfc100.dll_Ordinal_13124]
lea ecx, [ebp - 0x554]
push ecx
lea edi, [ebp - 0x534]
call fcn.00401480
lea edx, [ebp - 0x55c]
push edx
mov edi, 0x40327c
mov ebx, eax
mov byte [ebp - 4], 0xd
call fcn.004013f0
add esp, 8
push eax
lea ecx, [ebp - 0x544]
mov byte [ebp - 4], 0xe
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x55c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x554]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x540]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x534]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x40137c
push str._LBSTEELLAUNCH
lea ecx, [ebp - 0x544]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov eax, dword [ebp - 0x544]
mov ecx, dword [ebp - 0x54c]
push 1
push 0
push eax
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x544]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x54c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x53c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x550]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [ebp - 0x558]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401a4e
mov esp, ebp
pop ebp
ret