Function at 0x4019b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40e0eb
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x415060]
xor eax, esp
mov dword [esp + 0x1f0], eax
push ebx
push esi
push edi
mov eax, dword [0x415060]
xor eax, esp
push eax
lea eax, [esp + 0x208]
mov dword fs:[0], eax
mov edi, ecx
call sub.mfc90.dll_Ordinal_4993
mov eax, dword [edi + 0x88]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [edi + 0x20]
push 1
push 0x80
push eax
call esi
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0x20]
push eax
push 0
push 0x80
push ecx
call esi
lea ecx, [edi + 0x8c]
call sub.mfc90.dll_Ordinal_8361
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 4]
push 0x41356b
push str.params_Localpath
push str.Settings
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call sub.mfc90.dll_Ordinal_3414
lea esi, [edi + 0x124]
push eax
mov ecx, esi
mov dword [esp + 0x214], 0
call dword [sym.imp.mfc90.dll_Ordinal_817]
or ebx, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x210], ebx
call dword [sym.imp.mfc90.dll_Ordinal_601]
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 4]
push 0x41356b
push str.params_LastUpdatePath
push str.Settings
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call sub.mfc90.dll_Ordinal_3414
lea ecx, [edi + 0x7c]
push eax
mov dword [esp + 0x214], 1
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x10]
mov dword [esp + 0x210], ebx
call dword [sym.imp.mfc90.dll_Ordinal_601]
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 4]
push 0x41356b
push str.params_LastAddPath
push str.Settings
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call sub.mfc90.dll_Ordinal_3414
push eax
lea ecx, [edi + 0x80]
mov dword [esp + 0x214], 2
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x10]
mov dword [esp + 0x210], ebx
call dword [sym.imp.mfc90.dll_Ordinal_601]
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 4]
push 0x41356b
push str.params_FtpURL
push str.Settings
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call sub.mfc90.dll_Ordinal_3414
push eax
lea ecx, [edi + 0x238]
mov dword [esp + 0x214], 3
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x10]
mov dword [esp + 0x210], ebx
call dword [sym.imp.mfc90.dll_Ordinal_601]
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 4]
push 0x41356b
push str.params_FtpLOGIN
push str.Settings
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call sub.mfc90.dll_Ordinal_3414
push eax
lea ecx, [edi + 0x240]
mov dword [esp + 0x214], 4
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x10]
mov dword [esp + 0x210], ebx
call dword [sym.imp.mfc90.dll_Ordinal_601]
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 4]
push 0x41356b
push str.params_FtpPASSWORD
push str.Settings
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call sub.mfc90.dll_Ordinal_3414
push eax
lea ecx, [edi + 0x244]
mov dword [esp + 0x214], 5
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x10]
mov dword [esp + 0x210], ebx
call dword [sym.imp.mfc90.dll_Ordinal_601]
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 4]
push 0x15
push str.params_FtpPORT
push str.Settings
mov ecx, eax
call sub.mfc90.dll_Ordinal_3413
mov dword [edi + 0x23c], eax
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 4]
push 0
push str.params_FtpAutoUpload
push str.Settings
mov ecx, eax
call sub.mfc90.dll_Ordinal_3413
push 0x5c
mov ecx, esi
mov dword [edi + 0x234], eax
call dword [sym.imp.mfc90.dll_Ordinal_5963]
mov edx, dword [esi]
mov ecx, dword [edx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_5997]
lea ecx, [edi + 0x128]
push eax
mov dword [esp + 0x214], 6
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x10]
mov dword [esp + 0x210], ebx
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
mov edx, dword [edi + 0x128]
sub eax, dword [edx - 0xc]
mov ecx, esi
dec eax
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_4392]
push eax
lea ecx, [edi + 0x12c]
mov dword [esp + 0x214], 7
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x10]
mov dword [esp + 0x210], ebx
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 1
push 0
push 0
push str.UPDATE_files_.image_.image
push 6
push 0
push str.image
push 1
lea ecx, [esp + 0x3c]
call sub.mfc90.dll_Ordinal_405
lea ecx, [esp + 0x1c]
mov dword [esp + 0x210], 8
call sub.mfc90.dll_Ordinal_3351
push 0
lea ecx, [edi + 0x7c]
mov dword [eax + 0x30], str.Load_Update_File
call dword [sym.imp.mfc90.dll_Ordinal_2691]
lea ecx, [esp + 0x1c]
mov esi, eax
call sub.mfc90.dll_Ordinal_3351
lea ecx, [esp + 0x1c]
mov dword [eax + 0x2c], esi
call sub.mfc90.dll_Ordinal_2209
cmp eax, 1
je 0x401d34
push 0
call dword [sym.imp.MSVCR90.dll_exit]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call sub.mfc90.dll_Ordinal_3390
lea esi, [edi + 0x74]
push eax
mov ecx, esi
mov byte [esp + 0x214], 9
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x10]
mov byte [esp + 0x210], 8
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x20]
call sub.mfc90.dll_Ordinal_3009
lea ecx, [edi + 0x78]
push eax
mov byte [esp + 0x214], 0xa
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x10]
mov byte [esp + 0x210], 8
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
mov ecx, dword [edi + 0x78]
sub eax, dword [ecx - 0xc]
lea edx, [esp + 0x18]
dec eax
push eax
push edx
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_4392]
push eax
lea ecx, [edi + 0x7c]
mov byte [esp + 0x214], 0xb
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x210], 0xc
mov eax, dword [edi + 0x78]
push eax
lea ecx, [esp + 0x18]
push str.T4C_Update_Tools____s
push ecx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
mov ecx, edi
call sub.mfc90.dll_Ordinal_6559
mov eax, dword [edi + 0x154]
push 0x21
push 0
push 0x1036
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0
push 0
push str.Physique_Source_File
lea esi, [edi + 0x134]
push 0
mov ecx, esi
call sub.mfc90.dll_Ordinal_4248
push ebx
push 0x15e
push 0
push str.Source_File
push 1
mov ecx, esi
call sub.mfc90.dll_Ordinal_4248
push ebx
push 0xe6
push 0
push str.Target_File
push 2
mov ecx, esi
call sub.mfc90.dll_Ordinal_4248
push ebx
push 0x3c
push 0
push str.CrC_32
push 3
mov ecx, esi
call sub.mfc90.dll_Ordinal_4248
push ebx
push 0x3c
push 0
push str.Size
push 4
mov ecx, esi
call sub.mfc90.dll_Ordinal_4248
mov ecx, dword [edi + 0x1fc]
push 0x21
push 0
push 0x1036
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0x104
push 0
push str.File_Name
push 0
lea ecx, [edi + 0x1dc]
call sub.mfc90.dll_Ordinal_4248
call fcn.00402f50
push 0
mov ecx, edi
call sub.mfc90.dll_Ordinal_6740
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x210], ebx
call sub.mfc90.dll_Ordinal_664
mov eax, 1
mov ecx, dword [esp + 0x208]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1f0]
xor ecx, esp
call fcn.0040d1a8
mov esp, ebp
pop ebp
ret