Function at 0x40123a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x408170
push 0xffffffffffffffff
push 0x498404
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c6dd4]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov ebp, ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4a310a
mov dword [esp + 0xe4], 0
call fcn.004012d5
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str..FileToEmail.cpp
mov byte [esp + 0xe8], 1
call fcn.004012d5
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.CreateMsConfigFile
mov byte [esp + 0xec], 2
call fcn.004012d5
lea ecx, [esp + 0x58]
mov byte [esp + 0xe8], 0
call fcn.0040130c
push 0x4a36ec
lea ecx, [esp + 0x20]
mov byte [esp + 0xe0], 3
call fcn.004012d5
mov ebx, dword [esp + 0xe4]
mov esi, dword [esp + 0xe8]
push str.MsCfgInfo
push ebx
push str._s_s.nfo
push esi
mov byte [esp + 0xec], 4
call fcn.0040105f
add esp, 0x10
lea ecx, [esp + 0x5c]
call fcn.00419801
mov eax, dword [esi]
push 0
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xe4], 5
call fcn.0041988d
test eax, eax
je 0x40829c
mov eax, dword [esp + 0x1c]
push eax
push str.MsCfgInfo
push ebx
push str._s_s_s.txt
push esi
call fcn.0040105f
add esp, 0x14
push 1
push 0x4a36ec
lea ecx, [esp + 0x24]
call fcn.004010ff
mov eax, dword [esi]
push 0
push eax
lea ecx, [esp + 0x64]
call fcn.0041988d
test eax, eax
jne 0x408261
call fcn.004141fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4082b6
push 0x80004005
call fcn.004013ed
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
mov byte [esp + 0xe0], 6
call fcn.00401145
mov edi, dword [esp + 0x2c]
cmp dword [edi - 0xc], 0
jne 0x4083a0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Cant_get_Program_Files_Directory
call fcn.004012d5
lea ecx, [esp + 0x54]
call fcn.0040104b
lea eax, [edi - 0x10]
mov byte [esp + 0xdc], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408328
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xdc], 4
call fcn.00419825
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xdc], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408361
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xdc], 0
call fcn.004013f2
lea eax, [ebx - 0x10]
mov dword [esp + 0xdc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408399
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x40894b
call fcn.004141fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4083ba
push 0x80004005
call fcn.004013ed
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
push str.Common_FilesMicrosoft_SharedMSInfomsinfo32.exe
push edi
lea ecx, [esp + 0x38]
push 0x4a3058
push ecx
mov byte [esp + 0xec], 7
call fcn.0040105f
add esp, 0x10
lea ecx, [esp + 0x78]
call fcn.00419801
mov ebx, dword [esp + 0x30]
push 0
push ebx
lea ecx, [esp + 0x80]
mov byte [esp + 0xe4], 8
call fcn.0041988d
test eax, eax
jne 0x4084e4
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.MsInfo32.exe_doesnt_exist
call fcn.004012d5
lea ecx, [esp + 0x54]
call fcn.0040104b
lea ecx, [esp + 0x78]
mov byte [esp + 0xdc], 7
call fcn.00419825
lea eax, [ebx - 0x10]
mov byte [esp + 0xdc], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408467
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0xdc], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40848b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xdc], 4
call fcn.00419825
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xdc], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4084c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xdc], 0
call fcn.004013f2
mov eax, dword [esp + 0xe4]
add eax, 0xfffffff0
jmp 0x408375
call fcn.004141fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4084fe
push 0x80004005
call fcn.004013ed
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esi]
push ecx
push ebx
lea edx, [esp + 0x1c]
push str.cmd__C____s___nfo___s___categories
push edx
mov byte [esp + 0xec], 9
call fcn.0040105f
add esp, 0x10
cmp byte [ebp + 0xa8], 0
jne 0x408543
push str.SystemSummary
lea ecx, [esp + 0x18]
call fcn.0040126c
xor esi, esi
call fcn.004141fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40855f
push 0x80004005
call fcn.004013ed
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0xdc], 0xa
call fcn.004141fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x408591
push 0x80004005
call fcn.004013ed
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xdc], 0xb
mov bl, 0xc
jmp 0x4085b0
add esi, 1
push esi
lea ecx, [esp + 0x28]
push 0x4a36b0
push ecx
call fcn.0040105f
mov edx, dword [esp + 0x30]
add esp, 0xc
push str.ERROR
push edx
push str.MsInfo
lea eax, [esp + 0x44]
push eax
mov ecx, ebp
call fcn.00419143
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe0], bl
call fcn.00401339
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0xdc], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40861a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
call fcn.0040115e
lea ecx, [esp + 0x18]
call fcn.004012f8
mov edi, dword [esp + 0x18]
push str.ERROR
push edi
call fcn.00451abe
add esp, 8
test eax, eax
setne al
test al, al
je 0x408659
mov eax, dword [edi - 0xc]
test eax, eax
je 0x408659
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.004010ff
push str.ERROR
push edi
call fcn.00451abe
add esp, 8
test eax, eax
setne al
test al, al
jne 0x4085b0
push 1
push 0x4a37fc
lea ecx, [esp + 0x1c]
call fcn.004010ff
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 0xc]
add eax, 1
push eax
call fcn.004121b7
mov edi, eax
mov edx, edi
add esp, 4
mov dword [esp + 0x20], edi
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x4086a3
push 0x44
lea ecx, [esp + 0x94]
push 0
push ecx
call fcn.00451640
add esp, 0xc
xor eax, eax
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x94]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push 0
mov dword [esp + 0xb8], 0x44
mov word [esp + 0xe8], 0
mov dword [esp + 0xe4], 1
mov dword [esp + 0x5c], 0x103
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
call fcn.004141fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x408739
push 0x80004005
call fcn.004013ed
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0xdc], 0xd
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
push ecx
push edx
call ebp
push 0x1f4
call ebx
lea eax, [esp + 0x28]
push str.In_CreateMsConfigInfo___function__sleep__
push eax
call fcn.0040105f
mov edi, dword [esp + 0x30]
add esp, 8
push 0xffffffffffffffff
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x7c], esp
mov esi, esp
push eax
call fcn.00401140
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esi], eax
call fcn.0040104b
cmp dword [esp + 0x34], 0x103
je 0x40875d
mov ecx, dword [esp + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x40]
push edx
call esi
mov eax, dword [esp + 0x20]
push eax
call fcn.004121bc
add edi, 0xfffffff0
add esp, 4
mov byte [esp + 0xdc], 0xb
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4087f8
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xdc], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408820
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0xdc], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408848
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xdc], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408870
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xdc], 7
call fcn.00419825
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0xdc], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4088a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0xdc], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4088d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xdc], 4
call fcn.00419825
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xdc], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40890a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xdc], 0
call fcn.004013f2
mov eax, dword [esp + 0xe4]
add eax, 0xfffffff0
mov dword [esp + 0xdc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408949
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret 8