Function at 0x484870
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e18ab
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x5246a8]
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 0x4848b4
cmp dword [ebx + 0x10], edi
je 0x484cca
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 0x484b25
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 0x48493c
push 1
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x460], str.bad_allocation
call fcn.004b6b82
push 0x5127c0
lea ecx, [ebp - 0x480]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.004b6d49
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 0x484b17
mov dword [ebp - 0x464], edi
cmp dword [ebp - 0x468], edi
jbe 0x484b17
add esi, 8
mov dword [ebp - 0x460], esi
mov edx, dword [ebp - 0x460]
mov edx, dword [edx - 4]
cmp edx, edi
je 0x484a35
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 0x4849b1
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x45c]
call fcn.00406040
mov esi, dword [ebp - 0x448]
mov edi, dword [ebp - 0x45c]
mov eax, edi
cmp esi, 8
jae 0x4849e6
lea eax, [ebp - 0x45c]
mov ecx, dword [ebp - 0x44c]
push ecx
push 0
push eax
mov ecx, ebx
call fcn.0040a0c0
cmp eax, 0xffffffff
jne 0x484c32
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
jb 0x484a0d
mov eax, dword [ebx]
jmp 0x484a0f
mov eax, ebx
push ecx
push 0
push eax
lea ecx, [ebp - 0x45c]
call fcn.0040a0c0
cmp eax, 0xffffffff
jne 0x484c32
cmp esi, 8
jb 0x484a35
push edi
call fcn.00406d09
add esp, 4
mov edx, dword [ebp - 0x460]
mov edx, dword [edx]
test edx, edx
je 0x484aef
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 0x484a67
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x45c]
call fcn.00406040
mov eax, dword [ebp - 0x44c]
mov esi, dword [ebp - 0x448]
mov edi, dword [ebp - 0x45c]
test eax, eax
je 0x484aba
mov ecx, edi
cmp esi, 8
jae 0x484aa6
lea ecx, [ebp - 0x45c]
push eax
push 0
push ecx
mov ecx, ebx
call fcn.0040a0c0
cmp eax, 0xffffffff
jne 0x484c6e
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
jb 0x484ac7
mov eax, dword [ebx]
jmp 0x484ac9
mov eax, ebx
push ecx
push 0
push eax
lea ecx, [ebp - 0x45c]
call fcn.0040a0c0
cmp eax, 0xffffffff
jne 0x484c6e
cmp esi, 8
jb 0x484aef
push edi
call fcn.00406d09
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 0x484982
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 0x484cca
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 0x238]
push 0x103
push eax
call fcn.00402c29
add esp, 0xc
test eax, eax
jne 0x484cca
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.004b9ba0
add esp, 0xc
cmp eax, edi
je 0x484cca
push eax
lea ecx, [ebp - 0x45c]
call fcn.00408780
mov eax, dword [ebp - 0x45c]
mov esi, 8
cmp dword [ebp - 0x448], esi
jae 0x484c06
lea eax, [ebp - 0x45c]
mov ecx, dword [ebp - 0x44c]
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0040a0c0
cmp eax, 0xffffffff
jne 0x484ce8
mov ecx, dword [ebx + 0x10]
cmp dword [ebx + 0x14], esi
jb 0x484caa
mov eax, dword [ebx]
jmp 0x484cac
cmp esi, 8
jb 0x484c40
push edi
call fcn.00406d09
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 0x484ccc
cmp esi, 8
jb 0x484c7c
push edi
call fcn.00406d09
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 0x484ccc
mov eax, ebx
push ecx
push edi
push eax
lea ecx, [ebp - 0x45c]
call fcn.0040a0c0
cmp eax, 0xffffffff
jne 0x484ce8
lea ecx, [ebp - 0x45c]
call fcn.00409ff0
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.00409ff0
mov al, 1
jmp 0x484ccc