Function at 0x489900
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e024b
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
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 edi, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [eax + 0x10], ebx
jne 0x489944
cmp dword [edi + 0x10], ebx
je 0x489d3a
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x254]
push edx
push ebx
push ebx
push 2
push ebx
push 6
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x250], ebx
call sub.WINSPOOL.DRV_EnumPrintersA
mov eax, dword [ebp - 0x254]
cmp eax, ebx
je 0x489bac
push eax
push 0x40
mov dword [ebp - 0x25c], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [ebp - 0x258], esi
cmp esi, ebx
jne 0x4899cc
push 1
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x24c], str.bad_allocation
call fcn.004b7a22
push 0x511300
lea ecx, [ebp - 0x268]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.004b7be9
mov ecx, dword [ebp - 0x254]
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x254]
push eax
push ecx
push esi
push 2
push ebx
push 6
mov dword [ebp - 4], ebx
call sub.WINSPOOL.DRV_EnumPrintersA
test eax, eax
je 0x489b9e
mov dword [ebp - 0x24c], ebx
cmp dword [ebp - 0x250], ebx
jbe 0x489b9e
add esi, 8
mov dword [ebp - 0x248], esi
mov edx, dword [ebp - 0x248]
mov ecx, dword [edx - 4]
cmp ecx, ebx
je 0x489ac4
mov eax, ecx
mov dword [ebp - 0x230], 0xf
mov dword [ebp - 0x234], ebx
mov byte [ebp - 0x244], bl
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x489a40
sub eax, esi
push eax
push ecx
lea ecx, [ebp - 0x244]
call fcn.004076f0
mov eax, dword [ebp - 0x244]
mov esi, 0x10
cmp dword [ebp - 0x230], esi
jae 0x489a6f
lea eax, [ebp - 0x244]
mov ecx, dword [ebp - 0x234]
push ecx
push ebx
push eax
mov ecx, edi
call fcn.004549e0
cmp eax, 0xffffffff
jne 0x489c9e
mov ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], esi
jb 0x489a94
mov eax, dword [edi]
jmp 0x489a96
mov eax, edi
push ecx
push ebx
push eax
lea ecx, [ebp - 0x244]
call fcn.004549e0
cmp eax, 0xffffffff
jne 0x489c9e
cmp dword [ebp - 0x230], esi
jb 0x489ac4
mov edx, dword [ebp - 0x244]
push edx
call fcn.00406ca9
add esp, 4
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x489b78
mov eax, ecx
mov dword [ebp - 0x230], 0xf
mov dword [ebp - 0x234], ebx
mov byte [ebp - 0x244], bl
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x489af0
sub eax, esi
push eax
push ecx
lea ecx, [ebp - 0x244]
call fcn.004076f0
mov eax, dword [ebp - 0x234]
mov esi, 0x10
cmp eax, ebx
je 0x489b3c
mov ecx, dword [ebp - 0x244]
cmp dword [ebp - 0x230], esi
jae 0x489b29
lea ecx, [ebp - 0x244]
push eax
push ebx
push ecx
mov ecx, edi
call fcn.004549e0
cmp eax, 0xffffffff
jne 0x489cdc
mov ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], esi
jb 0x489b48
mov eax, dword [edi]
jmp 0x489b4a
mov eax, edi
push ecx
push ebx
push eax
lea ecx, [ebp - 0x244]
call fcn.004549e0
cmp eax, 0xffffffff
jne 0x489cdc
cmp dword [ebp - 0x230], esi
jb 0x489b78
mov ecx, dword [ebp - 0x244]
push ecx
call fcn.00406ca9
add esp, 4
mov eax, dword [ebp - 0x24c]
add dword [ebp - 0x248], 0x54
inc eax
mov dword [ebp - 0x24c], eax
cmp eax, dword [ebp - 0x250]
jb 0x489a12
mov esi, dword [ebp - 0x258]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, 0x64
push 0x104
mov byte [ebp - 0x18], al
lea eax, [ebp - 0x228]
push eax
push ebx
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], 0x646e6977
mov dword [ebp - 0x1c], 0x73776f
mov dword [ebp - 0x17], 0x63697665
mov word [ebp - 0x13], 0x65
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
dec eax
cmp eax, 0x101
ja 0x489d3a
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x124]
push 0x103
push ecx
call fcn.0040f8c1
add esp, 0xc
test eax, eax
jne 0x489d3a
lea edx, [ebp - 0x258]
push edx
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x124]
push ecx
mov byte [ebp - 0x21], bl
mov word [ebp - 0x248], 0x2c
mov dword [ebp - 0x258], ebx
call fcn.004ba45a
add esp, 0xc
cmp eax, ebx
je 0x489d3a
push eax
lea ecx, [ebp - 0x244]
call fcn.00443420
mov eax, dword [ebp - 0x244]
mov esi, 0x10
cmp dword [ebp - 0x230], esi
jae 0x489c72
lea eax, [ebp - 0x244]
mov edx, dword [ebp - 0x234]
push edx
push ebx
push eax
mov ecx, edi
call fcn.004549e0
cmp eax, 0xffffffff
jne 0x489d58
mov ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], esi
jb 0x489d1a
mov eax, dword [edi]
jmp 0x489d1c
cmp dword [ebp - 0x230], esi
jb 0x489cb5
mov edx, dword [ebp - 0x244]
push edx
call fcn.00406ca9
add esp, 4
mov eax, dword [ebp - 0x258]
push eax
mov dword [ebp - 0x230], 0xf
mov dword [ebp - 0x234], ebx
mov byte [ebp - 0x244], bl
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, 1
jmp 0x489d3c
cmp dword [ebp - 0x230], esi
jb 0x489cf3
mov ecx, dword [ebp - 0x244]
push ecx
call fcn.00406ca9
add esp, 4
mov edx, dword [ebp - 0x258]
push edx
mov dword [ebp - 0x230], 0xf
mov dword [ebp - 0x234], ebx
mov byte [ebp - 0x244], bl
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, 1
jmp 0x489d3c
mov eax, edi
push ecx
push ebx
push eax
lea ecx, [ebp - 0x244]
call fcn.004549e0
cmp eax, 0xffffffff
jne 0x489d58
lea ecx, [ebp - 0x244]
call fcn.004355a0
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 - 0x244]
call fcn.004355a0
mov al, 1
jmp 0x489d3c