Function at 0x4045c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x429bf0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x434bf4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
call fcn.00408a78
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40460a
push 0x80004005
call fcn.00402e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x4c], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push str.GoEpson.DLL_Start_r_n
mov eax, 0x43951c
call fcn.00405f10
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
movzx edx, word [esp + 0x38]
movzx ecx, word [esp + 0x34]
push eax
movzx eax, word [esp + 0x3a]
push edx
movzx edx, word [esp + 0x3a]
push eax
movzx eax, word [esp + 0x3a]
push ecx
movzx ecx, word [esp + 0x3c]
push edx
push eax
push ecx
lea edx, [esp + 0x30]
push str._04d__02d__02d__02d:_02d:_02d_CommandLine_s_r_n
push edx
call fcn.00403360
mov eax, dword [esp + 0x38]
add esp, 0x24
push eax
mov eax, 0x43951c
call fcn.00405f10
add esp, 4
lea ecx, [esp + 0x14]
call fcn.004035b0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
movzx eax, byte [ebp + 8]
push esi
push ecx
push edx
push str.NULL
push edi
push eax
lea ecx, [esp + 0x2c]
push str.GE_GetURLEx2W_Category_d_PrinterName_s_Additional_s_Lang_d_Country_d_WSI_d_r_n
push ecx
call fcn.00403360
mov edx, dword [esp + 0x34]
push edx
mov eax, 0x43951c
call fcn.00405f10
add esp, 0x24
call fcn.00408a78
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4046e6
push 0x80004005
call fcn.00402e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x48], 1
call fcn.00408a78
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404715
push 0x80004005
call fcn.00402e70
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 + 0x48], 2
call fcn.00408a78
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404744
push 0x80004005
call fcn.00402e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x48], 3
call fcn.00408a78
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404773
push 0x80004005
call fcn.00402e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x48], 4
call fcn.00408a78
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4047a2
push 0x80004005
call fcn.00402e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 5
call fcn.00404bc0
add esp, 4
lea ebx, [esp + 0x24]
lea edi, [esp + 0x28]
call fcn.00404e30
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
lea edx, [esp + 0x24]
push str.OSV_sPSI4_sOATR_s
push edx
call fcn.00403360
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
add esp, 0x14
or ecx, eax
jge 0x404818
push 0
lea ecx, [esp + 0x1c]
call fcn.00403250
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebx - 8]
mov eax, 1
sub eax, dword [ebx - 4]
or ecx, eax
jge 0x40483a
push 0
lea ecx, [esp + 0x20]
call fcn.00403250
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push esi
push eax
mov eax, dword [ebp + 8]
push ecx
push 1
push edx
push edi
push eax
mov ecx, ebx
call fcn.004038f0
mov esi, eax
lea eax, [edi - 0x10]
add esp, 0x1c
mov byte [esp + 0x48], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40487b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x48], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40489c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4048c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4048e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40490b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404933
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10