Function at 0x488e50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e016b
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x522638]
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 eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
cmp dword [eax + 0x10], edi
jne 0x488e94
cmp dword [ebx + 0x10], edi
je 0x4892aa
lea ecx, [ebp - 0x468]
push ecx
lea edx, [ebp - 0x46c]
push edx
push edi
push edi
push 2
push edi
push 6
mov dword [ebp - 0x46c], edi
mov dword [ebp - 0x468], edi
call sub.WINSPOOL.DRV_EnumPrintersW
mov eax, dword [ebp - 0x46c]
cmp eax, edi
je 0x489105
push eax
push 0x40
mov dword [ebp - 0x474], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [ebp - 0x470], esi
cmp esi, edi
jne 0x488f1c
push 1
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x460], str.bad_allocation
call fcn.004b7a22
push 0x511300
lea ecx, [ebp - 0x480]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.004b7be9
mov ecx, dword [ebp - 0x46c]
lea edx, [ebp - 0x468]
push edx
lea eax, [ebp - 0x46c]
push eax
push ecx
push esi
push 2
push edi
push 6
mov dword [ebp - 4], edi
call sub.WINSPOOL.DRV_EnumPrintersW
test eax, eax
je 0x4890f7
mov dword [ebp - 0x464], edi
cmp dword [ebp - 0x468], edi
jbe 0x4890f7
add esi, 8
mov dword [ebp - 0x460], esi
mov edx, dword [ebp - 0x460]
mov edx, dword [edx - 4]
cmp edx, edi
je 0x489015
xor eax, eax
mov word [ebp - 0x45c], ax
mov eax, edx
mov dword [ebp - 0x448], 7
mov dword [ebp - 0x44c], edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x488f91
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x45c]
call fcn.00405fe0
mov esi, dword [ebp - 0x448]
mov edi, dword [ebp - 0x45c]
mov eax, edi
cmp esi, 8
jae 0x488fc6
lea eax, [ebp - 0x45c]
mov ecx, dword [ebp - 0x44c]
push ecx
push 0
push eax
mov ecx, ebx
call fcn.0040a060
cmp eax, 0xffffffff
jne 0x489212
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
jb 0x488fed
mov eax, dword [ebx]
jmp 0x488fef
mov eax, ebx
push ecx
push 0
push eax
lea ecx, [ebp - 0x45c]
call fcn.0040a060
cmp eax, 0xffffffff
jne 0x489212
cmp esi, 8
jb 0x489015
push edi
call fcn.00406ca9
add esp, 4
mov edx, dword [ebp - 0x460]
mov edx, dword [edx]
test edx, edx
je 0x4890cf
xor eax, eax
mov word [ebp - 0x45c], ax
mov eax, edx
mov dword [ebp - 0x448], 7
mov dword [ebp - 0x44c], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x489047
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x45c]
call fcn.00405fe0
mov eax, dword [ebp - 0x44c]
mov esi, dword [ebp - 0x448]
mov edi, dword [ebp - 0x45c]
test eax, eax
je 0x48909a
mov ecx, edi
cmp esi, 8
jae 0x489086
lea ecx, [ebp - 0x45c]
push eax
push 0
push ecx
mov ecx, ebx
call fcn.0040a060
cmp eax, 0xffffffff
jne 0x48924e
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
jb 0x4890a7
mov eax, dword [ebx]
jmp 0x4890a9
mov eax, ebx
push ecx
push 0
push eax
lea ecx, [ebp - 0x45c]
call fcn.0040a060
cmp eax, 0xffffffff
jne 0x48924e
cmp esi, 8
jb 0x4890cf
push edi
call fcn.00406ca9
add esp, 4
mov eax, dword [ebp - 0x464]
add dword [ebp - 0x460], 0x54
inc eax
xor edi, edi
mov dword [ebp - 0x464], eax
cmp eax, dword [ebp - 0x468]
jb 0x488f62
mov esi, dword [ebp - 0x470]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x104
lea edx, [ebp - 0x440]
push edx
xor ecx, ecx
push edi
lea eax, [ebp - 0x20]
mov word [ebp - 0x14], cx
push eax
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 0x30], 0x690077
mov dword [ebp - 0x2c], 0x64006e
mov dword [ebp - 0x28], 0x77006f
mov dword [ebp - 0x24], 0x73
mov dword [ebp - 0x20], 0x650064
mov dword [ebp - 0x1c], 0x690076
mov dword [ebp - 0x18], 0x650063
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
dec eax
cmp eax, 0x101
ja 0x4892aa
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 0x238]
push 0x103
push eax
call fcn.00402be9
add esp, 0xc
test eax, eax
jne 0x4892aa
xor ecx, ecx
mov word [ebp - 0x32], cx
lea ecx, [ebp - 0x470]
push ecx
lea edx, [ebp - 0x464]
push edx
lea eax, [ebp - 0x238]
push eax
mov dword [ebp - 0x464], 0x2c
mov dword [ebp - 0x470], edi
call fcn.004ba37c
add esp, 0xc
cmp eax, edi
je 0x4892aa
push eax
lea ecx, [ebp - 0x45c]
call fcn.00408720
mov eax, dword [ebp - 0x45c]
mov esi, 8
cmp dword [ebp - 0x448], esi
jae 0x4891e6
lea eax, [ebp - 0x45c]
mov ecx, dword [ebp - 0x44c]
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0040a060
cmp eax, 0xffffffff
jne 0x4892c8
mov ecx, dword [ebx + 0x10]
cmp dword [ebx + 0x14], esi
jb 0x48928a
mov eax, dword [ebx]
jmp 0x48928c
cmp esi, 8
jb 0x489220
push edi
call fcn.00406ca9
add esp, 4
mov edx, dword [ebp - 0x470]
xor ecx, ecx
push edx
mov dword [ebp - 0x448], 7
mov dword [ebp - 0x44c], 0
mov word [ebp - 0x45c], cx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, 1
jmp 0x4892ac
cmp esi, 8
jb 0x48925c
push edi
call fcn.00406ca9
add esp, 4
mov ecx, dword [ebp - 0x470]
xor eax, eax
push ecx
mov dword [ebp - 0x448], 7
mov dword [ebp - 0x44c], 0
mov word [ebp - 0x45c], ax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, 1
jmp 0x4892ac
mov eax, ebx
push ecx
push edi
push eax
lea ecx, [ebp - 0x45c]
call fcn.0040a060
cmp eax, 0xffffffff
jne 0x4892c8
lea ecx, [ebp - 0x45c]
call fcn.00409f90
xor al, al
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.00401306
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x45c]
call fcn.00409f90
mov al, 1
jmp 0x4892ac