Function at 0x421bd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59baf8
mov eax, dword fs:[0]
push eax
mov eax, 0x10868
call fcn.0056e430
mov eax, dword [0x608554]
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 + 0xc]
mov esi, dword [ebp + 8]
push ecx
push str.CBaseDirectPrintersSilent::GetScopeIPAddress
lea ecx, [ebp - 0x10848]
mov dword [ebp - 0x10868], eax
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x421c6c
test byte [ecx + 0x1c], 1
je 0x421c6c
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5c8808
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x21
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
test esi, esi
jne 0x421cbc
mov byte [ebp - 0x10844], 1
cmp ecx, 0x608f30
je 0x4221b9
test byte [ecx + 0x1c], 1
je 0x4221b9
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5c8808
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
lea ecx, [esi + 0x22]
call fcn.00401840
add esp, 0xc
jmp 0x4221b9
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00571c00
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0x810]
add esp, 0xc
mov ecx, dword [ecx + 0x1c]
push eax
push str.SILENTPATH
call fcn.004f65f0
push 0xfffe
lea eax, [ebp - 0x10810]
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x7fff
lea eax, [ebp - 0x10810]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x4221ec
mov eax, dword [ecx]
push 2
push 0x7fff
call dword [eax]
mov dword [ebp - 0x10860], eax
test eax, eax
je 0x4221f6
cmp dword [eax + 8], 0x7fff
lea edi, [eax + 0x10]
mov dword [ebp - 0x10874], edi
jl 0x4221fb
xor eax, eax
mov dword [edi - 0xc], 0x7fff
mov word [edi + 0xfffe], ax
mov edx, 0x7fff
lea eax, [ebp - 0x10810]
mov ecx, edi
push 0x7fff
push eax
call fcn.00403ed0
add esp, 8
mov byte [ebp - 4], 1
xor esi, esi
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x422205
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1084c], eax
lea ecx, [ebp - 0x1085c]
mov byte [ebp - 4], 2
call fcn.00475e00
mov byte [ebp - 4], 3
mov ecx, dword [edi - 0xc]
nop
test esi, esi
js 0x42212a
cmp esi, ecx
jge 0x42212a
lea eax, [edi + esi*2]
push 0
push eax
call fcn.00570b1c
add esp, 8
test eax, eax
je 0x42212a
sub eax, edi
sar eax, 1
mov dword [ebp - 0x10870], eax
test eax, eax
jle 0x42212a
xor edx, edx
add eax, 1
mov dword [ebp - 0x1086c], eax
cmovns edx, eax
mov eax, closesocket
sub eax, esi
cmp eax, edx
jl 0x4221e2
mov ecx, dword [edi - 0xc]
lea eax, [edx + esi]
sub ecx, esi
cmp eax, dword [edi - 0xc]
mov eax, dword [edi - 0xc]
cmovle ecx, edx
xor ebx, ebx
cmp esi, eax
cmovle ebx, ecx
test esi, esi
jne 0x421e4b
cmp ebx, eax
jne 0x421e4b
mov ecx, dword [ebp - 0x10860]
call fcn.00403af0
add eax, 0x10
mov dword [ebp - 0x10854], eax
jmp 0x421e7e
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x421e5b
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x421e67
call fcn.00550b4e
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push ebx
lea eax, [edi + esi*2]
push eax
lea ecx, [ebp - 0x10854]
call fcn.00403d50
mov eax, dword [ebp - 0x10854]
mov byte [ebp - 4], 4
lea esi, [eax - 0x10]
mov ecx, dword [ebp - 0x1084c]
lea ebx, [ecx - 0x10]
cmp esi, ebx
je 0x421ee2
cmp dword [ebx + 0xc], 0
jl 0x421ed3
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x421ed3
mov ecx, esi
call fcn.00403af0
mov dword [ebp - 0x10850], eax
lea edx, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421ec8
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10850]
add eax, 0x10
mov dword [ebp - 0x1084c], eax
jmp 0x421ee2
push dword [eax - 0xc]
lea ecx, [ebp - 0x1084c]
push eax
call fcn.00403bb0
mov byte [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x421efb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1084c]
cmp dword [eax - 0xc], 1
jl 0x42212a
push ecx
mov esi, esp
lea ecx, [eax - 0x10]
mov dword [ebp - 0x10850], esi
call fcn.00403af0
add eax, 0x10
lea ecx, [ebp - 0x1085c]
mov dword [esi], eax
lea eax, [ebp - 0x10864]
push eax
call fcn.00476bd0
mov byte [ebp - 4], 5
mov edx, dword [eax]
mov esi, dword [ebp - 0x1084c]
add esi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x421f97
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x421f88
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x421f88
call fcn.00403af0
mov dword [ebp - 0x10850], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x421f7d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10850]
add eax, 0x10
mov dword [ebp - 0x1084c], eax
jmp 0x421f97
push dword [edx - 0xc]
lea ecx, [ebp - 0x1084c]
push edx
call fcn.00403bb0
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0x10864]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x421fb9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1084c]
cmp dword [eax - 0xc], 1
jg 0x421fd8
lea ecx, [eax - 0x10]
call fcn.00403af0
lea esi, [eax + 0x10]
mov dword [ebp - 0x10858], esi
jmp 0x42200e
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x421fe8
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x421ff4
call fcn.00550b4e
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push 1
push dword [ebp - 0x1084c]
lea ecx, [ebp - 0x10858]
call fcn.00403d50
mov esi, dword [ebp - 0x10858]
lea ebx, [esi - 0x10]
mov byte [ebp - 4], 6
mov ecx, dword [ebx]
test ecx, ecx
je 0x422024
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x422038
call fcn.00550b4e
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x4221ec
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10850], eax
mov eax, 0x5c8ba0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10850]
test eax, 0xffff0000
jne 0x422069
movzx eax, ax
push eax
call fcn.00403020
jmp 0x422073
push 0x5c8ba0
call fcn.004255c0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10850]
test eax, eax
je 0x4221ec
mov ecx, eax
mov dx, word [esi]
cmp dx, word [ecx]
jne 0x4220ad
test dx, dx
je 0x4220a9
mov dx, word [esi + 2]
cmp dx, word [ecx + 2]
jne 0x4220ad
add esi, 4
add ecx, 4
test dx, dx
jne 0x422087
xor esi, esi
jmp 0x4220b2
sbb esi, esi
or esi, 1
lea edx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4220ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x4220e3
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x4220fe
mov ebx, dword [ebp - 0x10868]
lea eax, [ebp - 0x1084c]
push eax
mov ecx, ebx
push dword [ebx + 8]
call fcn.0055b5b5
mov eax, dword [ebp - 0x1086c]
mov esi, eax
test eax, eax
js 0x4221fb
mov ecx, dword [edi - 0xc]
cmp dword [ebp - 0x10870], ecx
jge 0x4221fb
movzx eax, word [edi + eax*2]
test ax, ax
jne 0x421dc0
mov byte [ebp - 0x10844], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x422171
test byte [ecx + 0x1c], 1
je 0x422171
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5c8808
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x23
call fcn.00401840
add esp, 0xc
lea ecx, [ebp - 0x1085c]
call fcn.00475ed0
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x1084c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4221a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x4221b9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x10848]
call fcn.0040a570
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.0056d977
mov esp, ebp
pop ebp
ret 8
push 0x80070216
call fcn.004013a0
push 0x80004005
call fcn.004013a0
call fcn.00403ec0
push 0x80070057
call fcn.004013a0
push 0x80004005
call fcn.004013a0
int3