Function at 0x403d50
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab1c1
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4fb128]
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 ecx, dword [0x4fe848]
mov ebx, dword [ebp + 8]
call fcn.00415f60
test al, al
je 0x403e54
lea ecx, [ebp - 0x168]
call fcn.00411a00
lea eax, [ebp - 0x188]
push eax
mov dword [ebp - 4], 0
call fcn.0040ee50
add esp, 4
mov edi, eax
mov esi, dword [0x4fe848]
push 0x84
push str.int___cdecl_ParseCommandParams_wchar_t__
push str.PortChange.cpp
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 1
call fcn.0040ff10
push eax
push ebx
push str.ParseCommandParams___lpstrCmdLine__:__s
call fcn.004037d0
add esp, 8
lea ecx, [ebp - 0x168]
push eax
call fcn.00412110
push eax
lea ecx, [ebp - 0x168]
call fcn.00414400
push eax
push edi
mov ecx, esi
call fcn.004159a0
mov dword [ebp - method.log4cxx::helpers::ObjectPtrT_class_log4cxx::Level_.virtual_0], vtable.log4cxx::helpers::ObjectPtrT_class_log4cxx::Level_.0
mov ecx, dword [ebp - 0x184]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x403e33
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0
call fcn.0040e920
lea ecx, [ebp - 0x168]
mov dword [ebp - 4], 0xffffffff
call fcn.00411f20
push ebx
push str.ParseCommandParams___lpstrCmdLine__:__s
call fcn.0040e8a0
push eax
call fcn.00408330
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x16c], 7
mov dword [ebp - 0x170], 0
mov word [ebp - 0x180], ax
cmp word [ebx], ax
jne 0x403e96
xor ecx, ecx
jmp 0x403eaf
mov ecx, ebx
lea edx, [ecx + 2]
jmp 0x403ea0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403ea0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x180]
call fcn.00407850
mov ecx, dword [0x4fe848]
mov dword [ebp - 4], 3
call fcn.00415f60
test al, al
je 0x403f90
lea ecx, [ebp - 0x168]
call fcn.00411a00
lea eax, [ebp - 0x188]
push eax
mov byte [ebp - 4], 4
call fcn.0040ee50
add esp, 4
mov edi, eax
mov esi, dword [0x4fe848]
push 0x8d
push str.int___cdecl_ParseCommandParams_wchar_t__
push str.PortChange.cpp
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 5
call fcn.0040ff10
push eax
push ebx
push str.Command_line_parameter_:__s
call fcn.004037d0
add esp, 8
lea ecx, [ebp - 0x168]
push eax
call fcn.00412110
push eax
lea ecx, [ebp - 0x168]
call fcn.00414400
push eax
push edi
mov ecx, esi
call fcn.004159a0
mov dword [ebp - method.log4cxx::helpers::ObjectPtrT_class_log4cxx::Level_.virtual_0], vtable.log4cxx::helpers::ObjectPtrT_class_log4cxx::Level_.0
mov ecx, dword [ebp - 0x184]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x403f72
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 4
call fcn.0040e920
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 3
call fcn.00411f20
push ebx
push str.Command_line_parameter_:__s
call fcn.0040e8a0
push eax
call fcn.00408330
add esp, 0xc
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0
mov eax, dword [0x4fae9c]
mov ecx, 0x4fae9c
mov byte [ebp - 4], 8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18c], eax
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], eax
mov word [ebp - 0x88], ax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], eax
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], eax
mov word [ebp - 0xb8], ax
push 0xc
push str.PrinterName:
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x134], 7
mov dword [ebp - 0x138], eax
mov word [ebp - 0x148], ax
call fcn.00407850
push 0xc
xor eax, eax
push str.NewPortName:
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x104], 7
mov dword [ebp - 0x108], 0
mov word [ebp - 0x118], ax
call fcn.00407850
push 0xd
xor eax, eax
push str.NewIPAddress:
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0xec], 7
mov dword [ebp - 0xf0], 0
mov word [ebp - 0x100], ax
call fcn.00407850
xor eax, eax
mov byte [ebp - 4], 0x12
mov dword [ebp - 0xd4], 7
mov dword [ebp - 0xd8], 0
mov word [ebp - 0xe8], ax
push 0xc
push str.NewHostName:
lea ecx, [ebp - 0xe8]
call fcn.00407850
push 7
xor eax, eax
push str.IOType:
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x11c], 7
mov dword [ebp - 0x120], 0
mov word [ebp - 0x130], ax
call fcn.00407850
push 8
xor eax, eax
push str.OEMNAME:
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0xbc], 7
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
call fcn.00407850
push 1
xor eax, eax
push 0x4c2f14
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407850
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x180]
push eax
mov byte [ebp - 4], 0x16
call fcn.004066b0
add esp, 0xc
cmp dword [ebp - 0x14], 8
mov byte [ebp - 4], 0x15
jb 0x4041ef
push dword [ebp - 0x28]
call fcn.0047164a
add esp, 4
mov ecx, dword [ebp - 0x198]
mov ebx, dword [ebp - 0x19c]
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
xor edi, edi
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x1ac], eax
test eax, eax
jle 0x4049fa
lea eax, [edi + edi*2]
cmp dword [ebx + eax*8 + 0x14], 8
lea ebx, [ebx + eax*8]
jb 0x404235
mov eax, dword [ebx]
jmp 0x404237
mov eax, ebx
push eax
lea eax, [ebp - 0x18c]
push 0x4c29fc
push eax
call fcn.00401470
mov esi, dword [ebp - 0x18c]
add esp, 0xc
push esi
push edi
push 0x4c2f18
call fcn.0040e8a0
push eax
call fcn.00408330
add esp, 0x10
cmp dword [ebp - 0x134], 8
jb 0x404280
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x4043de
jmp 0x404286
lea eax, [ebp - 0x148]
cmp dword [esi - 0xc], 0
jl 0x4043de
push eax
push esi
call fcn.00473739
add esp, 8
test eax, eax
je 0x4043de
sub eax, esi
sar eax, 1
jne 0x4043de
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004069a0
mov edi, eax
lea eax, [ebp - 0x70]
add esp, 0xc
cmp eax, edi
je 0x404336
cmp dword [ebp - 0x5c], 8
jb 0x4042da
push dword [ebp - 0x70]
call fcn.0047164a
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
cmp dword [edi + 0x14], 8
jae 0x40430c
mov eax, dword [edi + 0x10]
inc eax
je 0x404317
add eax, eax
push eax
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.004718e0
add esp, 0xc
jmp 0x404317
mov eax, dword [edi]
mov dword [ebp - 0x70], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x14], 8
jb 0x404347
push dword [ebp - 0x28]
call fcn.0047164a
add esp, 4
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406870
mov edi, eax
lea eax, [ebp - 0x70]
add esp, 8
cmp eax, edi
je 0x4043cd
cmp dword [ebp - 0x5c], 8
jb 0x404371
push dword [ebp - 0x70]
call fcn.0047164a
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
cmp dword [edi + 0x14], 8
jae 0x4043a3
mov eax, dword [edi + 0x10]
inc eax
je 0x4043ae
add eax, eax
push eax
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.004718e0
add esp, 0xc
jmp 0x4043ae
mov eax, dword [edi]
mov dword [ebp - 0x70], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x14], 8
jb 0x4043de
push dword [ebp - 0x28]
call fcn.0047164a
add esp, 4
cmp dword [ebp - 0x104], 8
jb 0x4043f7
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x404555
jmp 0x4043fd
lea eax, [ebp - 0x118]
cmp dword [esi - 0xc], 0
jl 0x404555
push eax
push esi
call fcn.00473739
add esp, 8
test eax, eax
je 0x404555
sub eax, esi
sar eax, 1
jne 0x404555
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004069a0
mov edi, eax
lea eax, [ebp - 0x58]
add esp, 0xc
cmp eax, edi
je 0x4044ad
cmp dword [ebp - 0x44], 8
jb 0x404451
push dword [ebp - 0x58]
call fcn.0047164a
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp dword [edi + 0x14], 8
jae 0x404483
mov eax, dword [edi + 0x10]
inc eax
je 0x40448e
add eax, eax
push eax
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.004718e0
add esp, 0xc
jmp 0x40448e
mov eax, dword [edi]
mov dword [ebp - 0x58], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x14], 8
jb 0x4044be
push dword [ebp - 0x28]
call fcn.0047164a
add esp, 4
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406870
mov edi, eax
lea eax, [ebp - 0x58]
add esp, 8
cmp eax, edi
je 0x404544
cmp dword [ebp - 0x44], 8
jb 0x4044e8
push dword [ebp - 0x58]
call fcn.0047164a
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp dword [edi + 0x14], 8
jae 0x40451a
mov eax, dword [edi + 0x10]
inc eax
je 0x404525
add eax, eax
push eax
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.004718e0
add esp, 0xc
jmp 0x404525
mov eax, dword [edi]
mov dword [ebp - 0x58], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x14], 8
jb 0x404555
push dword [ebp - 0x28]
call fcn.0047164a
add esp, 4
cmp dword [ebp - 0xec], 8
jb 0x40456e
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x404669
jmp 0x404574
lea eax, [ebp - 0x100]
cmp dword [esi - 0xc], 0
jl 0x404669
push eax
push esi
call fcn.00473739
add esp, 8
test eax, eax
je 0x404669
sub eax, esi
sar eax, 1
jne 0x404669
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004069a0
mov edi, eax
lea eax, [ebp - 0x88]
add esp, 0xc
cmp eax, edi
je 0x4045f1
cmp dword [ebp - 0x74], 8
jb 0x4045ce
push dword [ebp - 0x88]
call fcn.0047164a
add esp, 4
xor eax, eax
push edi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.00407130
cmp dword [ebp - 0x14], 8
jb 0x404602
push dword [ebp - 0x28]
call fcn.0047164a
add esp, 4
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406870
mov edi, eax
lea eax, [ebp - 0x88]
add esp, 8
cmp eax, edi
je 0x404658
cmp dword [ebp - 0x74], 8
jb 0x404635
push dword [ebp - 0x88]
call fcn.0047164a
add esp, 4
xor eax, eax
push edi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.00407130
cmp dword [ebp - 0x14], 8
jb 0x404669
push dword [ebp - 0x28]
call fcn.0047164a
add esp, 4
cmp dword [ebp - 0xd4], 8
jb 0x404682
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x40478f
jmp 0x404688
lea eax, [ebp - 0xe8]
cmp dword [esi - 0xc], 0
jl 0x40478f
push eax
push esi
call fcn.00473739
add esp, 8
test eax, eax
je 0x40478f
sub eax, esi
sar eax, 1
jne 0x40478f
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004069a0
mov edi, eax
lea eax, [ebp - 0xa0]
add esp, 0xc
cmp eax, edi
je 0x40470e
cmp dword [ebp - 0x8c], 8
jb 0x4046e5
push dword [ebp - 0xa0]
call fcn.0047164a
add esp, 4
xor eax, eax
push edi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
call fcn.00407130
cmp dword [ebp - 0x14], 8
jb 0x40471f
push dword [ebp - 0x28]
call fcn.0047164a
add esp, 4
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406870
mov edi, eax
lea eax, [ebp - 0xa0]
add esp, 8
cmp eax, edi
je 0x40477e
cmp dword [ebp - 0x8c], 8
jb 0x404755
push dword [ebp - 0xa0]
call fcn.0047164a
add esp, 4
xor eax, eax
push edi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
call fcn.00407130
cmp dword [ebp - 0x14], 8
jb 0x40478f
push dword [ebp - 0x28]
call fcn.0047164a
add esp, 4
cmp dword [ebp - 0x11c], 8
jb 0x4047a8
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x4048e0
jmp 0x4047ae
lea eax, [ebp - 0x130]
cmp dword [esi - 0xc], 0
jl 0x4048e0
push eax
push esi
call fcn.00473739
add esp, 8
test eax, eax
je 0x4048e0
sub eax, esi
sar eax, 1
jne 0x4048e0
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004069a0
mov edi, eax
lea eax, [ebp - 0x40]
add esp, 0xc
cmp eax, edi
je 0x40481f
cmp dword [ebp - 0x2c], 8
jb 0x404802
push dword [ebp - 0x40]
call fcn.0047164a
add esp, 4
xor eax, eax
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00407130
cmp dword [ebp - 0x14], 8
jb 0x404830
push dword [ebp - 0x28]
call fcn.0047164a
add esp, 4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406870
mov edi, eax
lea eax, [ebp - 0x40]
add esp, 8
cmp eax, edi
je 0x404877
cmp dword [ebp - 0x2c], 8
jb 0x40485a
push dword [ebp - 0x40]
call fcn.0047164a
add esp, 4
xor eax, eax
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00407130
cmp dword [ebp - 0x14], 8
jb 0x404888
push dword [ebp - 0x28]
call fcn.0047164a
add esp, 4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406630
mov edi, eax
lea eax, [ebp - 0x40]
add esp, 8
cmp eax, edi
je 0x4048cf
cmp dword [ebp - 0x2c], 8
jb 0x4048b2
push dword [ebp - 0x40]
call fcn.0047164a
add esp, 4
xor eax, eax
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00407130
cmp dword [ebp - 0x14], 8
jb 0x4048e0
push dword [ebp - 0x28]
call fcn.0047164a
add esp, 4
cmp dword [ebp - 0xbc], 8
jb 0x4048f9
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x4049db
jmp 0x4048ff
lea eax, [ebp - 0xd0]
cmp dword [esi - 0xc], 0
jl 0x4049db
push eax
push esi
call fcn.00473739
add esp, 8
test eax, eax
je 0x4049db
sub eax, esi
sar eax, 1
jne 0x4049db
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004069a0
mov esi, eax
lea eax, [ebp - 0xb8]
add esp, 0xc
cmp eax, esi
je 0x404985
cmp dword [ebp - 0xa4], 8
jb 0x40495c
push dword [ebp - 0xb8]
call fcn.0047164a
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
call fcn.00407130
lea ecx, [ebp - 0x28]
call fcn.00420470
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406870
add esp, 8
lea ecx, [ebp - 0xb8]
push eax
call fcn.004027c0
lea ecx, [ebp - 0x28]
call fcn.00420470
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406630
add esp, 8
lea ecx, [ebp - 0xb8]
push eax
call fcn.004027c0
lea ecx, [ebp - 0x28]
call fcn.00420470
mov edi, dword [ebp - 0x190]
mov ebx, dword [ebp - 0x19c]
inc edi
mov dword [ebp - 0x190], edi
cmp edi, dword [ebp - 0x1ac]
jl 0x404224
push 0xe2
push str.__d_After_tokanising_Input_parameters_:
call fcn.0040e8a0
push eax
call fcn.00408330
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.004073e0
push eax
push str.strPrinterName_s
call fcn.0040e8a0
push eax
call fcn.00408330
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.004073e0
push eax
push str.strNewPortName_s
call fcn.0040e8a0
push eax
call fcn.00408330
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.004073e0
push eax
push str.strNewIPAddress_s
call fcn.0040e8a0
push eax
call fcn.00408330
add esp, 0xc
lea ecx, [ebp - 0xa0]
call fcn.004073e0
push eax
push str.strNewHostName_s
call fcn.0040e8a0
push eax
call fcn.00408330
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.004073e0
push eax
push str.strIOType_s
call fcn.0040e8a0
push eax
call fcn.00408330
add esp, 0xc
lea ecx, [ebp - 0xb8]
call fcn.004073e0
push eax
push str.strOEMName_s
call fcn.0040e8a0
push eax
call fcn.00408330
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.00407c30
test eax, eax
je 0x404aea
lea ecx, [ebp - 0x70]
call fcn.004073e0
push eax
push 0x4c29fc
push 0x4fe854
call fcn.00401470
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.00407c30
test eax, eax
je 0x404b11
lea ecx, [ebp - 0x58]
call fcn.004073e0
push eax
push 0x4c29fc
push 0x4fe7f4
call fcn.00401470
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.00407c30
test eax, eax
je 0x404b3e
lea ecx, [ebp - 0x88]
call fcn.004073e0
push eax
push 0x4c29fc
push 0x4fe7f8
call fcn.00401470
add esp, 0xc
lea ecx, [ebp - 0xa0]
call fcn.00407c30
test eax, eax
je 0x404b6b
lea ecx, [ebp - 0xa0]
call fcn.004073e0
push eax
push 0x4c29fc
push 0x4fe850
call fcn.00401470
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.00407c30
test eax, eax
je 0x404b92
lea ecx, [ebp - 0x40]
call fcn.004073e0
push eax
push 0x4c29fc
push 0x4fe800
call fcn.00401470
add esp, 0xc
lea ecx, [ebp - 0xb8]
call fcn.00407c30
test eax, eax
je 0x404bbf
lea ecx, [ebp - 0xb8]
call fcn.004073e0
push eax
push 0x4c29fc
push 0x4fe840
call fcn.00401470
add esp, 0xc
mov ecx, 0x4fe840
call fcn.00401510
test eax, eax
jg 0x404bdf
push str.SAMSUNG
push 0x4fe840
call fcn.00401470
add esp, 8
push 0x10a
push str.__d_Input_parameters_:
call fcn.0040e8a0
push eax
call fcn.00408330
add esp, 0xc
push dword [0x4fe854]
push str.g_strPrinterName_s
call fcn.0040e8a0
push eax
call fcn.00408330
add esp, 0xc
push dword [0x4fe7f4]
push str.g_strNewPortName_s
call fcn.0040e8a0
push eax
call fcn.00408330
add esp, 0xc
push dword [0x4fe7f8]
push str.g_strNewIPAddress_s
call fcn.0040e8a0
push eax
call fcn.00408330
add esp, 0xc
push dword [0x4fe850]
push str.g_strNewHostName_s
call fcn.0040e8a0
push eax
call fcn.00408330
add esp, 0xc
push dword [0x4fe800]
push str.g_strIOType_s
call fcn.0040e8a0
push eax
call fcn.00408330
add esp, 0xc
push dword [0x4fe840]
push str.g_strOEMName_s
call fcn.0040e8a0
push eax
call fcn.00408330
add esp, 0xc
lea ecx, [ebp - 0xd0]
call fcn.00420470
lea ecx, [ebp - 0x130]
call fcn.00420470
lea ecx, [ebp - 0xe8]
call fcn.00420470
lea ecx, [ebp - 0x100]
call fcn.00420470
lea ecx, [ebp - 0x118]
call fcn.00420470
lea ecx, [ebp - 0x148]
call fcn.00420470
lea ecx, [ebp - 0xb8]
call fcn.00420470
lea ecx, [ebp - 0x40]
call fcn.00420470
lea ecx, [ebp - 0xa0]
call fcn.00420470
lea ecx, [ebp - 0x88]
call fcn.00420470
lea ecx, [ebp - 0x58]
call fcn.00420470
lea ecx, [ebp - 0x70]
call fcn.00420470
lea ecx, [ebp - 0x18c]
call fcn.00401110
lea ecx, [ebp - 0x1a8]
call fcn.004075a0
lea ecx, [ebp - 0x19c]
call fcn.004075a0
lea ecx, [ebp - 0x180]
call fcn.00420470
mov eax, 1
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.0047232c
mov esp, ebp
pop ebp
ret