Function at 0x42b2b0
Capabilities:
Accept command line arguments
Extract resource via kernel32 functions
Get geographical location
Identify system language via api
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588f4c
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x100c
call fcn.0055d880
mov eax, dword [0x5eb770]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
push edi
mov ebx, ecx
push 0x5bbf24
push edi
lea ecx, [ebp - 0xf94]
mov dword [ebp - 0xfa0], ebx
call fcn.0044ca70
add esp, 0xc
mov dword [ebp - 4], edi
test byte [0x60aea0], 1
mov dword [ebp - 0xfac], edi
mov dword [ebp - 0xfa8], edi
jne 0x42b33e
or dword [0x60aea0], 1
mov byte [ebp - 4], 1
call fcn.00458180
push 0x58b2e0
call fcn.005597b9
add esp, 4
mov byte [ebp - 4], 0
mov ecx, 0x60ac68
call fcn.00458d10
test eax, eax
je 0x42b3ff
mov eax, dword [ebx + 0x48]
push eax
lea ecx, [ebp - 0xf80]
call fcn.00403340
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xf80]
cmp dword [eax - 0xc], edi
jl 0x42b38d
push 0x5bbf60
push eax
call fcn.00556fbe
add esp, 8
cmp eax, edi
je 0x42b38d
sub eax, dword [ebp - 0xf80]
sar eax, 1
cmp eax, 0xffffffff
jne 0x42b3c3
mov eax, dword [ebp - 0xf80]
cmp dword [eax - 0xc], edi
jl 0x42b3b7
push 0x5bbf68
push eax
call fcn.00556fbe
add esp, 8
cmp eax, edi
je 0x42b3b7
sub eax, dword [ebp - 0xf80]
sar eax, 1
cmp eax, 0xffffffff
jne 0x42b3c3
mov dword [ebp - 0xfa8], 0x69
jmp 0x42b3d9
call fcn.00412320
cmp eax, 0x424
jne 0x42b3d9
mov dword [ebp - 0xfa8], 0x6a
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xf80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b3ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.IsWow64Process
push str.kernel32
mov dword [ebx + 0x8c0], edi
mov dword [ebp - 0xf7c], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, edi
je 0x42b438
lea ecx, [ebp - 0xf7c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0xf7c], edi
je 0x42b44a
mov dword [ebp - 0xfac], 0x10
call fcn.00417be0
mov dword [ebx + 0x5d0], eax
cmp eax, edi
jne 0x42b4b2
call fcn.00417590
test eax, eax
je 0x42b4b2
call fcn.004178d0
test eax, eax
je 0x42b4b2
push edi
push str.return___08x
lea edx, [ebp - 0xf94]
push 2
push edx
call fcn.0044cd10
add esp, 0x10
lea ecx, [ebp - 0xf94]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055649d
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x900]
push 0
push eax
call fcn.0055ca80
add esp, 0xc
push ebx
lea esi, [ebp - 0x900]
mov edi, str.Uninst.ini
call fcn.00430bd0
mov ecx, esi
test ecx, ecx
je 0x42b515
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42b4e4
sub eax, edx
sar eax, 1
cmp eax, 0x104
jae 0x42b515
lea edx, [ebp - 0x900]
push edx
lea eax, [ebx + 0x69c]
push 0x104
push eax
call fcn.005579b2
add esp, 0xc
cmp dword [ebp - 0xfac], 0
jne 0x42b5e1
call fcn.00430a70
mov esi, eax
test esi, esi
jne 0x42b5db
call fcn.00430a30
mov esi, eax
test esi, esi
jne 0x42b5db
mov edx, dword [ebx]
mov eax, dword [edx + 0x110]
push 1
push str.h_PrinterDriver_Installer
mov ecx, ebx
call eax
test eax, eax
je 0x42b55c
mov esi, 2
test esi, esi
je 0x42b5db
mov edx, dword [ebx]
mov eax, dword [edx + 0x110]
push 1
push str.h_iWEMC_DRM_PrinterDriver_Installer
mov ecx, ebx
call eax
test eax, eax
je 0x42b5db
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x2e6]
push edx
mov word [ebp - 0x2e8], cx
call fcn.0055ca80
add esp, 0xc
lea eax, [ebx + 0x69c]
push eax
push 0x104
lea ecx, [ebp - 0x2e8]
push ecx
push 0x5bbf70
push str.CheckiWEMC_DRM
push str.Profiles
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x5bbf14
lea edx, [ebp - 0x2e8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffffe
add esi, 2
mov dword [ebp - 0xfac], esi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x4ee]
push ecx
mov word [ebp - 0x4f0], ax
call fcn.0055ca80
add esp, 0xc
lea edx, [ebx + 0x69c]
push edx
push 0x104
lea eax, [ebx + 0x1c0]
push eax
push str.UninsUI.dll
push str.ResourceModule
push str.ModuleInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x6f6]
push ecx
mov word [ebp - 0x6f8], ax
call fcn.0055ca80
add esp, 0xc
push ebx
lea esi, [ebp - 0x6f8]
mov edi, str.UninstLocale.ini
mov dword [ebp - 0xf98], 0
call fcn.00430bd0
mov eax, esi
lea ecx, [ebx + 0x8d8]
lea edx, [eax + 2]
jmp 0x42b670
mov si, word [eax]
add eax, 2
test si, si
jne 0x42b670
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x6f8]
push edx
call fcn.004039c0
xor eax, eax
lea ecx, [ebp - 0x6f8]
push ecx
push 0x10
lea edx, [ebp - 0x34]
push edx
push eax
push str.CurrentLocaleID
push str.Locale
mov word [ebp - 0x34], ax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebx + 0x1c0]
lea esi, [ebx + 0x8d4]
mov dword [ebp - 0xf9c], esi
test eax, eax
je 0x42b6f1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42b6e2
sub eax, edx
sar eax, 1
push eax
lea eax, [ebx + 0x1c0]
push eax
mov ecx, esi
call fcn.004039c0
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x42c01c
push 0x5b7bf4
push eax
call fcn.00556fbe
add esp, 8
test eax, eax
je 0x42c01c
sub eax, dword [esi]
sar eax, 1
js 0x42c01c
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x2e6]
push ecx
mov word [ebp - 0x2e8], ax
call fcn.0055ca80
add esp, 0xc
push ebx
lea esi, [ebp - 0x2e8]
mov edi, 0x5b69a4
call fcn.00430bd0
mov edx, esi
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov eax, esi
push eax
lea ecx, [ebp - 0xf7c]
call fcn.00403340
push 0xa
lea ecx, [ebp - 0x101c]
mov byte [ebp - 4], 3
call fcn.00472792
push 0xa
lea ecx, [ebp - 0xff4]
mov byte [ebp - 4], 4
call fcn.00472792
lea ecx, [ebp - 0xfd0]
mov byte [ebp - 4], 5
call fcn.004702f8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xf9c]
push ecx
lea edx, [ebp - 0xf7c]
push edx
lea eax, [ebp - 0xf84]
push eax
call fcn.0040a2c0
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [eax]
push 0
push eax
lea ecx, [ebp - 0xfd0]
call fcn.0047039f
mov esi, eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xf84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b800
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0xf9c]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jg 0x42b813
or ebx, 0xffffffff
jmp 0x42b82d
push 0x2a
push eax
call fcn.005571b9
add esp, 8
test eax, eax
jne 0x42b827
or ebx, 0xffffffff
jmp 0x42b82d
sub eax, dword [edi]
sar eax, 1
mov ebx, eax
test esi, esi
jne 0x42b910
push str.Resource_
lea ecx, [ebp - 0xfb4]
mov dword [ebp - 0xf98], 1
call fcn.00403340
push eax
lea ecx, [ebp - 0xf7c]
push ecx
lea edx, [ebp - 0xfa4]
push edx
mov byte [ebp - 4], 8
call fcn.0040a2c0
push edi
push eax
lea eax, [ebp - 0xf84]
push eax
mov byte [ebp - 4], 9
call fcn.0040a2c0
add esp, 0x18
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
push esi
push eax
lea ecx, [ebp - 0xfd0]
call fcn.0047039f
mov esi, eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xf84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b8b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xfa4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b8dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xfb4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b903
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x42bb28
jmp 0x42b910
lea ecx, [ebp - 0xfd0]
call fcn.0046ff4a
mov edx, dword [ebp - 0xfd0]
mov dword [ebp - 0xfb4], eax
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [ebp - 0xfd0]
call eax
test eax, eax
jne 0x42bb1b
lea ecx, [ebp - 0xfa4]
push ecx
lea ecx, [ebp - 0xfd0]
call fcn.004705e2
mov eax, dword [eax]
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov eax, dword [ebp - 0xfa4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b97f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x42bb1b
push 0xa
push 0x12f7
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42bb14
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42bb14
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
movzx esi, word [eax]
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42bb41
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xf8c], eax
push esi
lea ecx, [ebp - 0xf8c]
push 0x5bc03c
push ecx
mov byte [ebp - 4], 0xb
call fcn.0040a740
add esp, 0xc
lea edx, [ebp - 0xf80]
push edx
lea ecx, [ebp - 0xfd0]
call fcn.0047067b
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xf80]
cmp dword [eax - 0xc], 0
jg 0x42ba1d
or eax, 0xffffffff
jmp 0x42ba39
push 0x2e
push eax
call fcn.005571b9
add esp, 8
test eax, eax
jne 0x42ba31
or eax, 0xffffffff
jmp 0x42ba39
sub eax, dword [ebp - 0xf80]
sar eax, 1
cmp eax, ebx
jle 0x42bac8
sub eax, ebx
push eax
push ebx
lea eax, [ebp - 0xf84]
push eax
lea ecx, [ebp - 0xf80]
call fcn.0040a110
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xf8c]
push ecx
lea ecx, [ebp - 0x101c]
call fcn.004729c0
lea edx, [ebp - 0xf80]
push edx
mov ecx, eax
call fcn.00404890
lea ecx, [ebp - 0xf84]
call fcn.004034c0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xff4]
call fcn.004729c0
lea ecx, [ebp - 0xf80]
push ecx
mov ecx, eax
call fcn.00404890
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xf84]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42bac8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xf80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42baee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xf8c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bb14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0xfb4], 0
jne 0x42b910
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42bb4b
push 0x80004005
call fcn.004025a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xf88], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xf9c]
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.00404900
add eax, 0x10
add esp, 4
mov dword [ebp - 0xf80], eax
push str.en_US
push 0x5b7bf4
lea ecx, [ebp - 0xf80]
mov byte [ebp - 4], 0xf
call fcn.0040f7d0
lea edx, [ebp - 0xf88]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x101c]
call fcn.00472858
test eax, eax
je 0x42bbc8
lea ecx, [ebp - 0xf88]
push ecx
lea ecx, [ebp - 0xf80]
call fcn.00404890
jmp 0x42bf6a
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42bbe2
push 0x80004005
call fcn.004025a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xf84], eax
push edi
lea ecx, [ebp - 0xf84]
push 0x5bc03c
push ecx
mov byte [ebp - 4], 0x10
call fcn.0040a740
mov eax, dword [ebp - 0xf84]
add esp, 0xc
lea edx, [ebp - 0xf88]
push edx
push eax
lea ecx, [ebp - 0x101c]
call fcn.00472858
test eax, eax
je 0x42bc41
lea ecx, [ebp - 0xf88]
push ecx
lea ecx, [ebp - 0xf80]
call fcn.00404890
jmp 0x42bf44
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor esi, esi
test eax, eax
je 0x42bc60
push str.GetUserPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
xor edx, edx
push 0xa8
push edx
lea eax, [ebp - 0xde]
push eax
mov word [ebp - 0xe0], dx
call fcn.0055ca80
add esp, 0xc
push 0x55
lea ecx, [ebp - 0xe0]
push ecx
test esi, esi
je 0x42be12
push 0x6d
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edx, [ebp - 0xe0]
push edx
lea ecx, [ebp - 0xfa4]
call fcn.00403340
lea ecx, [ebp - 0xfa4]
mov byte [ebp - 4], 0x11
call fcn.004034c0
mov ecx, dword [ebp - 0xfa4]
lea eax, [ebp - 0xf88]
push eax
push ecx
lea ecx, [ebp - 0xff4]
call fcn.00472858
test eax, eax
je 0x42bced
lea edx, [ebp - 0xf88]
push edx
lea ecx, [ebp - 0xf80]
call fcn.00404890
jmp 0x42bde3
lea eax, [ebp - 0xfb4]
push eax
xor edi, edi
push edi
lea ecx, [ebp - 0xf9c]
push ecx
push 8
mov dword [ebp - 0xfb4], edi
mov dword [ebp - 0xf9c], edi
call esi
mov eax, dword [ebp - 0xfb4]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00461caa
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x42bde3
lea eax, [ebp - 0xfb4]
push eax
push ebx
lea ecx, [ebp - 0xf9c]
push ecx
push 8
call esi
test eax, eax
je 0x42bdda
mov esi, ebx
cmp dword [ebp - 0xf9c], edi
jbe 0x42bdda
push esi
lea ecx, [ebp - 0xf8c]
call fcn.00403340
lea ecx, [ebp - 0xf8c]
mov byte [ebp - 4], 0x12
call fcn.004034c0
mov eax, dword [ebp - 0xf8c]
lea edx, [ebp - 0xf88]
push edx
push eax
lea ecx, [ebp - 0xff4]
call fcn.00472858
test eax, eax
jne 0x42bdbd
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0xf8c]
lea esi, [esi + eax*2 + 2]
mov byte [ebp - 4], 0x11
call fcn.004037a0
inc edi
cmp edi, dword [ebp - 0xf9c]
jb 0x42bd60
jmp 0x42bdda
lea ecx, [ebp - 0xf88]
push ecx
lea ecx, [ebp - 0xf80]
call fcn.00404890
lea ecx, [ebp - 0xf8c]
call fcn.004037a0
push ebx
call fcn.00461cb5
add esp, 4
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0xfa4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42bf44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42bf44
push 0x59
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [ebp - 0xfe8]
neg eax
sbb eax, eax
mov dword [ebp - 0xfa4], eax
je 0x42bf44
mov bl, 0x13
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42bb41
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xf9c], eax
mov byte [ebp - 4], bl
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42bb41
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xf8c], eax
lea ecx, [ebp - 0xf8c]
push ecx
lea edx, [ebp - 0xf9c]
push edx
lea eax, [ebp - 0xfa4]
push eax
lea ecx, [ebp - 0xff4]
mov byte [ebp - 4], 0x14
call fcn.00472885
mov ecx, dword [ebp - 0xf9c]
push 2
push ecx
lea edx, [ebp - 0xe0]
push edx
call fcn.0055943e
add esp, 0xc
test eax, eax
je 0x42bf1c
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xf8c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bee7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0xf9c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bf0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0xfa4], 0
jne 0x42be33
jmp 0x42bf44
lea ecx, [ebp - 0xf8c]
push ecx
lea ecx, [ebp - 0xf80]
call fcn.00404890
lea ecx, [ebp - 0xf8c]
call fcn.004037a0
lea ecx, [ebp - 0xf9c]
call fcn.004037a0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0xf84]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42bf6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0xf80]
mov eax, dword [ebp - 0xfa0]
push esi
add eax, 0x1c0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bfa3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xf88]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bfc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xfd0]
mov byte [ebp - 4], 5
call fcn.0047032a
lea ecx, [ebp - 0xff4]
mov byte [ebp - 4], 4
call fcn.0047284d
lea ecx, [ebp - 0x101c]
mov byte [ebp - 4], 3
call fcn.0047284d
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xf7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c01c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0xfa0]
push ebx
lea esi, [ebp - 0x4f0]
mov edi, 0x5b69a4
call fcn.00430bd0
mov ecx, esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push ecx
call esi
cmp dword [ebp - 0xf98], 0
je 0x42c091
lea eax, [ebp - 0x4f0]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x42c050
mov edx, dword [str.Resource_]
mov ecx, dword [0x5bbee8]
mov dword [eax], edx
mov edx, dword [0x5bbeec]
mov dword [eax + 4], ecx
mov ecx, dword [0x5bbef0]
mov dword [eax + 8], edx
mov edx, dword [0x5bbef4]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
lea eax, [ebp - 0x4f0]
push eax
call esi
lea eax, [ebx + 0x1c0]
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c0a0
lea edi, [ebp - 0x4f0]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x42c0b6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x4f0]
mov ecx, ebx
call fcn.00430b20
test eax, eax
je 0x42c0e9
mov dword [ebp - 0xfac], eax
cmp dword [ebp - 0xfa8], 0x69
jne 0x42c1e5
push 0x5b69a4
lea ecx, [ebp - 0xf84]
call fcn.00403340
push 0x5b69a4
lea ecx, [ebp - 0xf7c]
mov byte [ebp - 4], 0x15
call fcn.00403340
push 0xa8c
mov byte [ebp - 4], 0x16
call fcn.00461d28
test eax, eax
je 0x42c13d
push 0xa8c
push eax
lea ecx, [ebp - 0xf84]
call fcn.004035f0
push 5
call fcn.00461d28
test eax, eax
je 0x42c156
push 5
push eax
lea ecx, [ebp - 0xf7c]
call fcn.004035f0
mov ecx, dword [ebp - 0xf7c]
mov edx, dword [ebp - 0xf84]
push 0x10
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push str.return___08x
lea eax, [ebp - 0xf94]
push 2
push eax
mov dword [ebx + 0x13c], 1
call fcn.0044cd10
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0xf7c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c1b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xf84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b482
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42b482
cmp dword [ebp - 0xfac], 0
jne 0x42c207
lea edi, [ebx + 0x5dc]
call fcn.00454010
test eax, eax
je 0x42c207
mov dword [ebp - 0xfac], 0x30
mov ecx, str.conime.exe
call fcn.00415630
test eax, eax
jne 0x42c21d
lea edi, [eax + 1]
call fcn.004158c0
push 0x120
mov byte [ebp - 4], 0x17
call fcn.00461c7b
add esp, 4
mov dword [ebp - 0xf98], eax
mov byte [ebp - 4], 0x18
test eax, eax
je 0x42c244
push eax
call fcn.00441b10
jmp 0x42c246
xor eax, eax
mov byte [ebp - 4], 0x17
push eax
mov ecx, ebx
mov dword [ebx + 0x130], eax
call fcn.004708b7
push 0x14
call fcn.00461c7b
mov ecx, eax
add esp, 4
mov dword [ebp - 0xf98], ecx
mov byte [ebp - 4], 0x19
test ecx, ecx
je 0x42c28e
mov eax, dword [ebx + 0x130]
add eax, 0x8c
cmp dword [eax + 0x14], 8
jb 0x42c285
mov eax, dword [eax]
push eax
push ecx
call fcn.004101b0
jmp 0x42c290
xor eax, eax
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x130]
mov dword [ebx + 0x134], eax
cmp byte [ecx + 0x64], 0
je 0x42c40e
mov edx, ecx
mov byte [ebp - 4], 0x1d
cmp dword [edx + 0x80], 0
push 8
je 0x42c301
call fcn.00461c7b
mov ecx, eax
add esp, 4
mov dword [ebp - 0xf98], ecx
mov byte [ebp - 4], 0x1e
test ecx, ecx
je 0x42c2f7
mov eax, dword [ebx + 0x130]
add eax, 0x70
cmp dword [eax + 0x14], 8
jb 0x42c2e7
mov eax, dword [eax]
push ecx
mov ecx, eax
call fcn.0040cfd0
mov dword [ebx + 0x138], eax
jmp 0x42c348
xor eax, eax
mov dword [ebx + 0x138], eax
jmp 0x42c348
call fcn.00461c7b
mov esi, eax
add esp, 4
test esi, esi
je 0x42c340
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42c329
push 0x80004005
call fcn.004025a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esi], 0
jmp 0x42c342
xor esi, esi
mov dword [ebx + 0x138], esi
mov dword [ebp - 4], 0
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42c369
push 0x80004005
call fcn.004025a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xf7c], eax
push 0x3b
mov byte [ebp - 4], 0x24
call fcn.00461d28
test eax, eax
je 0x42c398
push 0x3b
push eax
lea ecx, [ebp - 0xf7c]
call fcn.004035f0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
jne 0x42c3a6
xor ecx, ecx
jmp 0x42c3bf
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x42c3b0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x42c3b0
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xf7c]
call fcn.0040fb30
mov esi, dword [ebp - 0xf7c]
mov edi, dword [ebx + 0x138]
push esi
call fcn.0040d0d0
mov edi, dword [ebx + 0x138]
push 0x5b69a4
call fcn.0040d0d0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c40e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x130]
mov edi, dword [eax + 0x60]
mov esi, 1
cmp edi, esi
je 0x42c58c
test edi, edi
je 0x42c58c
push ebx
call fcn.00430cd0
mov dword [ebx + 0x13c], esi
jmp 0x42b482
cmp dword [eax + 0xd4], 0
je 0x42c5e4
test byte [0x60aea0], 1
jne 0x42c5be
or dword [0x60aea0], esi
mov byte [ebp - 4], 0x25
call fcn.00458180
push 0x58b2e0
call fcn.005597b9
add esp, 4
mov byte [ebp - 4], 0
mov ecx, dword [ebx + 0x130]
xor eax, eax
cmp dword [0x60ac78], eax
sete al
add ecx, 0xc4
push eax
call fcn.0045a530
add esp, 4
mov dword [ebx + 0x5d4], eax
mov eax, dword [ebx + 0x130]
cmp byte [eax + 0x64], 0
je 0x42c6a9
cmp byte [eax + 0x67], 0
je 0x42c60a
push ecx
mov ecx, esp
mov dword [ebp - 0xf98], esp
push str.Delete_Printer_Name
jmp 0x42c634
cmp byte [eax + 0x68], 0
je 0x42c620
push ecx
mov ecx, esp
mov dword [ebp - 0xf98], esp
push str.Delete_Driver_Name
jmp 0x42c634
cmp byte [eax + 0x65], 0
je 0x42c644
push ecx
mov ecx, esp
mov dword [ebp - 0xf98], esp
push 0x5b69a4
call fcn.00403340
mov ecx, dword [ebx + 0x134]
call fcn.00410290
mov eax, dword [ebx + 0x134]
mov ecx, dword [eax + 0x10]
cmp ecx, 1
je 0x42c67e
test ecx, ecx
je 0x42c67e
cmp ecx, 2
jne 0x42c667
mov edx, dword [ebx + 0x130]
cmp byte [edx + 0x65], 0
jne 0x42c67e
push ecx
mov ecx, ebx
call fcn.00430ee0
mov dword [ebx + 0x13c], 1
jmp 0x42b482
mov ecx, dword [ebx + 0x130]
cmp byte [ecx + 0x65], 0
jne 0x42c6e1
cmp byte [ecx + 0x67], 0
jne 0x42c6e1
cmp byte [ecx + 0x68], 0
jne 0x42c6e1
cmp dword [ecx + 0xb8], 0
je 0x42c6a9
mov dword [ebx + 0x188], 1
mov edi, dword [ebp - 0xfac]
cmp edi, 0x20
je 0x42c6c7
cmp edi, 0x21
je 0x42c6c7
cmp dword [ebp - 0xfa8], 0x6a
jne 0x42c6c7
mov edi, 0x6a
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42c73c
push 0x80004005
call fcn.004025a0
lea esi, [ebp - 0xf98]
call fcn.00429fa0
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov eax, dword [ebp - 0xf98]
setne byte [ebp - 0xfad]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c71b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xfad], 0
je 0x42c69f
mov ecx, dword [ebx + 0x134]
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0x188], eax
jmp 0x42c6a9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xf88], eax
mov byte [ebp - 4], 0x26
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42c76c
push 0x80004005
call fcn.004025a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0xf80], esi
mov byte [ebp - 4], 0x27
test edi, edi
je 0x42c80f
lea eax, [edi - 2]
cmp eax, 0x68
ja case.0x42c799.3
movzx ecx, byte [eax + 0x42ced4]
jmp dword [ecx*4 + 0x42ceb8]
mov ecx, 0x48
jmp 0x42c7cc
push 0x10
push 5
mov ecx, 0x44
jmp 0x42c7d0
mov ecx, 0x9ca
jmp 0x42c7cc
mov ecx, 0x9cb
jmp 0x42c7cc
mov ecx, 0xa8d
jmp 0x42c7cc
mov ecx, 0x96
push 0x30
push 3
push ebx
call fcn.0042fa90
mov dword [ebx + 0x13c], 1
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x26
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c800
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xf88]
jmp 0x42c1c0
call fcn.004548c0
test eax, eax
jne 0x42c849
push 0x30
push 3
push ebx
lea ecx, [eax + 9]
call fcn.0042fa90
push 0
push str.return___08x
lea ecx, [ebp - 0xf94]
push 2
push ecx
mov dword [ebx + 0x13c], 1
call fcn.0044cd10
add esp, 0x10
jmp 0x42c7e0
mov ecx, ebx
mov byte [ebp - 4], 0x28
call fcn.0042d010
test eax, eax
jne 0x42c895
mov dword [ebx + 0x13c], 1
push 0
push str.return___08x
push 2
lea ecx, [ebp - 0xf94]
push ecx
call fcn.0044cd10
add esp, 0x10
lea ecx, [ebp - 0xf80]
call fcn.004037a0
lea ecx, [ebp - 0xf88]
call fcn.004037a0
jmp 0x42b482
mov dword [ebp - 4], 0x27
call fcn.00412320
cmp eax, 4
je 0x42c8d1
push 0x30
push 3
push ebx
mov ecx, 0x84
call fcn.0042fa90
push 0
push str.return___08x
push 2
lea edx, [ebp - 0xf94]
mov dword [ebx + 0x13c], 1
push edx
jmp 0x42c872
call fcn.00413af0
mov eax, dword [ebx + 0x130]
mov dword [ebx + 0x8bc], 1
mov cl, byte [eax + 0x64]
xor edx, edx
test cl, cl
sete dl
mov dword [0x60a334], edx
mov cl, byte [eax + 0x64]
test cl, cl
je 0x42c903
cmp byte [eax + 0x6a], 0
jne 0x42c928
call fcn.0041bc50
cmp eax, 1
jne 0x42c928
push 0
push str.return___08x
mov dword [ebx + 0x13c], eax
push 2
lea eax, [ebp - 0xf94]
push eax
jmp 0x42c872
mov ecx, dword [ebx + 0x130]
cmp byte [ecx + 0x64], 0
je 0x42ccc7
push 0x678
mov byte [ebp - 4], 0x2c
call fcn.00461c7b
add esp, 4
mov dword [ebp - 0xf98], eax
mov byte [ebp - 4], 0x2d
test eax, eax
je 0x42c967
push eax
call fcn.004314b0
mov esi, eax
mov dword [ebp - 0xf84], eax
jmp 0x42c96f
xor esi, esi
mov dword [ebp - 0xf84], esi
mov edi, 0x27
mov dword [ebp - 4], edi
mov byte [ebp - 4], 0x30
mov edx, dword [esi]
mov eax, dword [edx + 0x160]
push 0
push 0x66
mov ecx, esi
call eax
test eax, eax
je 0x42c858
mov dword [ebp - 4], edi
lea ecx, [esi + 0x94]
mov dword [ebx + 0x20], esi
call fcn.00418870
test eax, eax
mov eax, dword [ebx + 0x130]
jle 0x42ca06
cmp byte [eax + 0x65], 0
jne 0x42c9cd
cmp byte [eax + 0x67], 0
jne 0x42c9cd
cmp byte [eax + 0x68], 0
jne 0x42c9cd
cmp dword [eax + 0xb8], 0
je 0x42cb58
call fcn.00429f80
mov edx, dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x3ea
push 0x111
push edx
call edi
call fcn.00429f80
mov eax, dword [eax + 0x20]
push 0
push 0x3eb
push 0x111
push eax
call edi
jmp 0x42cb58
mov ecx, dword [eax + 0xb8]
test ecx, ecx
je 0x42cae4
cmp dword [ebx + 0xe8], 1
jne 0x42cae4
lea ecx, [ebp - 0xf98]
call fcn.00404860
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x2e6]
mov byte [ebp - 4], 0x32
push edx
mov word [ebp - 0x2e8], cx
call fcn.0055ca80
mov eax, dword [ebx + 0x130]
add eax, 0xa8
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x42ca61
mov eax, dword [eax]
lea ecx, [ebp - 0x2e8]
push ecx
lea edx, [ebp - 0xf98]
push edx
push eax
mov eax, dword [ebx + 0x20]
push eax
call fcn.00432cd0
test eax, eax
je 0x42caa3
call fcn.00429f80
mov ecx, dword [eax + 0x20]
push 0
push 0x3eb
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xf98]
jmp 0x42cb53
lea ecx, [ebp - 0xf7c]
call fcn.00404860
push 0x37
lea ecx, [ebp - 0xf7c]
mov byte [ebp - 4], 0x33
call fcn.00403520
mov edx, dword [ebp - 0xf7c]
mov edi, dword [ebx + 0x138]
push edx
call fcn.0040d0d0
lea ecx, [ebp - 0xf7c]
call fcn.004037a0
lea ecx, [ebp - 0xf98]
jmp 0x42cb53
cmp byte [eax + 0x65], 0
jne 0x42cb1f
cmp byte [eax + 0x67], 0
jne 0x42cb1f
cmp byte [eax + 0x68], 0
jne 0x42cb1f
test ecx, ecx
jne 0x42cb1f
lea ecx, [ebp - 0xf7c]
call fcn.00404860
push 0x37
lea ecx, [ebp - 0xf7c]
mov byte [ebp - 4], 0x35
call fcn.00403520
mov eax, dword [ebp - 0xf7c]
push eax
jmp 0x42cb42
lea ecx, [ebp - 0xf7c]
call fcn.00404860
push 0x37
lea ecx, [ebp - 0xf7c]
mov byte [ebp - 4], 0x34
call fcn.00403520
mov ecx, dword [ebp - 0xf7c]
push ecx
mov edi, dword [ebx + 0x138]
call fcn.0040d0d0
lea ecx, [ebp - 0xf7c]
call fcn.004037a0
mov byte [ebp - 4], 0x36
mov edx, dword [ebx + 0x130]
cmp byte [edx + 0x66], 0
je 0x42cbcb
cmp dword [ebx + 0xe8], 2
jne 0x42cb8e
call fcn.00429f80
mov eax, dword [eax + 0x20]
push 0
push 0x3ed
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42cbcb
lea ecx, [ebp - 0xf7c]
call fcn.00404860
push 0x3a
lea ecx, [ebp - 0xf7c]
mov byte [ebp - 4], 0x37
call fcn.00403520
mov ecx, dword [ebp - 0xf7c]
mov edi, dword [ebx + 0x138]
push ecx
call fcn.0040d0d0
lea ecx, [ebp - 0xf7c]
mov byte [ebp - 4], 0x36
call fcn.004037a0
call fcn.00429f80
mov edx, dword [eax + 0x20]
push 0
push 0
push 2
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov dword [ebp - 4], 0x27
jmp 0x42c862
lea edx, [ebp - 0xf78]
push edx
mov byte [ebp - 4], 0x39
call fcn.004314b0
lea eax, [ebp - 0xf78]
mov byte [ebp - 4], 0x3a
mov ecx, eax
mov dword [ebx + 0x20], eax
call fcn.00464faf
lea ecx, [ebp - 0xf78]
push ecx
mov byte [ebp - 4], 0x39
call fcn.0042cf40
mov dword [ebp - 4], 0x27
jmp 0x42c862