Function at 0x474660
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cef0d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x5c7c
call fcn.004ab4d0
mov eax, dword [0x51c080]
xor eax, esp
mov dword [esp + 0x5c78], eax
push ebx
push esi
push edi
mov eax, dword [0x51c080]
xor eax, esp
push eax
lea eax, [esp + 0x5c90]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
xor eax, eax
mov ebx, edx
mov dword [esp + 0x14], eax
mov edi, str.mode
mov esi, str.SEInst_InstallingSearchPrinter
mov dword [esp + 0x18], ecx
mov dword [ebx + 0x60e0], eax
call fcn.00442f80
xor esi, esi
mov edi, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x5c98], esi
mov edx, dword [ebx + 4]
mov eax, dword [edx + 4]
push eax
mov ecx, ebx
call fcn.00475dd0
cmp edi, 0xf
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
mov dword [ebx + 0xc], 0xffffffff
mov dword [ebx + 0x60e0], 1
jne 0x474784
mov edi, str.startip
mov esi, str.SEInst_InstallingSearchPrinter
call fcn.00442f80
mov edi, str.endip
mov dword [esp + 0x1c], eax
call fcn.00442f80
cmp dword [esp + 0x1c], 0
je 0x474747
cmp dword [esp + 0x1c], 0xffffffff
jne 0x474750
test eax, eax
je 0x474775
cmp eax, 0xffffffff
je 0x474775
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push eax
lea edx, [ebx + 0x5834]
push edx
call fcn.00477a40
jmp 0x474a68
mov dword [ebx + 0x60e0], 0
jmp 0x474a68
cmp edi, 0xf0
jne 0x474797
lea ecx, [ebx + 0x58d0]
jmp 0x474a56
cmp edi, 0xfffff
jne 0x4748dc
push str.FALSE
sub esp, 0x1c
mov edx, str.network
mov eax, esp
mov dword [esp + 0x38], esp
call fcn.00411be0
mov byte [esp + 0x5cb8], 1
push 0x52c1fc
mov byte [esp + 0x5cbc], 0
lea esi, [esp + 0x58]
call fcn.00411540
mov byte [esp + 0x5c9c], 2
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x4747f0
mov eax, dword [eax + 4]
jmp 0x4747f3
add eax, 4
push eax
call fcn.004a9af1
add esp, 8
mov esi, eax
mov byte [esp + 0x5c98], 0
cmp dword [esp + 0x4c], edi
jb 0x474819
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004993dd
add esp, 4
xor eax, eax
cmp esi, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], eax
mov word [esp + 0x38], ax
je 0x474851
push 0x4f6d04
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
lea ecx, [ebx + 0x5834]
lea edx, [esp + 0x20]
call fcn.004776c0
push str.FALSE
sub esp, 0x1c
mov edx, 0x4f6d38
mov eax, esp
mov dword [esp + 0x38], esp
call fcn.00411be0
mov byte [esp + 0x5cb8], 3
push 0x52c1fc
mov byte [esp + 0x5cbc], 0
lea esi, [esp + 0x58]
call fcn.00411540
mov byte [esp + 0x5c9c], 4
cmp dword [eax + 0x18], edi
jb 0x474899
mov eax, dword [eax + 4]
jmp 0x47489c
add eax, 4
push eax
call fcn.004a9af1
add esp, 8
mov esi, eax
mov byte [esp + 0x5c98], 0
cmp dword [esp + 0x4c], edi
jb 0x4748c2
mov edx, dword [esp + 0x38]
push edx
call fcn.004993dd
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], eax
mov word [esp + 0x38], ax
cmp esi, eax
jmp 0x474a3c
test edi, 0xf000
je 0x47494a
push str.FALSE
sub esp, 0x1c
mov edx, str.network
mov eax, esp
mov dword [esp + 0x3c], esp
call fcn.00411be0
mov byte [esp + 0x5cb8], 5
push 0x52c1fc
mov byte [esp + 0x5cbc], 0
lea esi, [esp + 0x58]
call fcn.00411540
mov byte [esp + 0x5c9c], 6
cmp dword [eax + 0x18], 8
mov dword [esp + 0x18], 1
jb 0x474935
mov eax, dword [eax + 4]
jmp 0x474938
add eax, 4
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
mov byte [esp + 0x13], 1
jne 0x47494f
mov byte [esp + 0x13], 0
mov dword [esp + 0x5c98], 0
test byte [esp + 0x14], 1
je 0x47496f
and dword [esp + 0x14], 0xfffffffe
lea esi, [esp + 0x34]
call fcn.00411bb0
cmp byte [esp + 0x13], 0
je 0x4749a7
push str._Search_Network_
mov ecx, 0x527b30
call fcn.00449000
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx + 0x5834]
mov edx, dword [edx]
add esp, 4
push eax
mov eax, dword [esp + 0x34]
lea ecx, [ebx + 0x5834]
push eax
lea eax, [esp + 0x28]
push eax
call edx
test edi, 0xf00
je 0x474a12
push str.FALSE
sub esp, 0x1c
mov edx, 0x4f6d38
mov eax, esp
mov dword [esp + 0x38], esp
call fcn.00411be0
mov byte [esp + 0x5cb8], 7
push 0x52c1fc
mov byte [esp + 0x5cbc], 0
lea esi, [esp + 0x58]
call fcn.00411540
mov byte [esp + 0x5c9c], 8
or dword [esp + 0x18], 2
cmp dword [eax + 0x18], 8
jb 0x4749fd
mov eax, dword [eax + 4]
jmp 0x474a00
add eax, 4
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
mov byte [esp + 0x13], 1
jne 0x474a17
mov byte [esp + 0x13], 0
mov dword [esp + 0x5c98], 0
test byte [esp + 0x14], 2
je 0x474a37
and dword [esp + 0x14], 0xfffffffd
lea esi, [esp + 0x34]
call fcn.00411bb0
cmp byte [esp + 0x13], 0
je 0x474a68
push str._Search_USB_
mov ecx, 0x527b30
call fcn.00449000
lea ecx, [ebx + 0x58b0]
add esp, 4
mov edx, dword [esp + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax]
push 0
push edx
lea edx, [esp + 0x28]
push edx
call eax
xor edi, edi
push 0x200
lea ecx, [esp + 0x5a88]
push edi
push ecx
mov dword [esp + 0x28], edi
call fcn.004ab450
add esp, 0xc
push 0x200
lea edx, [esp + 0x5888]
push edi
push edx
call fcn.004ab450
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x34], esp
push 3
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0x4dc4d8
mov word [esi + 4], di
call fcn.004102a0
mov byte [esp + 0x5cb4], 9
push 0x52c1fc
mov byte [esp + 0x5cb8], 0
lea esi, [esp + 0x54]
call fcn.00411c20
mov byte [esp + 0x5c98], 0xa
cmp dword [eax + 0x18], 8
jb 0x474aeb
mov eax, dword [eax + 4]
jmp 0x474aee
add eax, 4
push 0xff
push eax
lea eax, [esp + 0x5a8c]
push 0x100
push eax
call fcn.004a9be0
add esp, 0x10
mov byte [esp + 0x5c98], 0
cmp dword [esp + 0x4c], 8
jb 0x474b25
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004993dd
add esp, 4
sub esp, 0x1c
mov esi, esp
mov eax, 7
mov dword [esp + 0x34], esp
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], edi
mov word [esp + 0x54], di
push 3
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], edi
push 0x4e7788
mov word [esi + 4], di
call fcn.004102a0
mov byte [esp + 0x5cb4], 0xb
push 0x52c1fc
mov byte [esp + 0x5cb8], 0
lea esi, [esp + 0x54]
call fcn.00411c20
mov byte [esp + 0x5c98], 0xc
cmp dword [eax + 0x18], 8
jb 0x474b87
mov eax, dword [eax + 4]
jmp 0x474b8a
add eax, 4
push 0xff
push eax
lea edx, [esp + 0x588c]
push 0x100
push edx
call fcn.004a9be0
add esp, 0x10
mov byte [esp + 0x5c98], 0
cmp dword [esp + 0x4c], 8
jb 0x474bc1
mov eax, dword [esp + 0x38]
push eax
call fcn.004993dd
add esp, 4
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
cmp esi, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], edi
mov word [esp + 0x38], di
jbe 0x474be7
call fcn.004aa300
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x24], eax
mov edi, eax
jbe 0x474bf8
call fcn.004aa300
mov eax, dword [esp + 0x28]
cmp esi, edi
je 0x474d60
cmp esi, eax
jb 0x474c09
call fcn.004aa300
mov ecx, dword [esp + 0x1c]
mov dword [esi], ecx
cmp esi, dword [esp + 0x28]
jb 0x474c1a
call fcn.004aa300
lea eax, [esp + 0x5a84]
mov byte [esi + 4], 1
lea edx, [eax + 2]
jmp 0x474c30
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474c30
sub eax, edx
sar eax, 1
je 0x474c67
cmp esi, dword [esp + 0x28]
jb 0x474c4c
call fcn.004aa300
lea edx, [esi + 0x2406]
push edx
lea eax, [esp + 0x5a88]
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x474ca8
lea eax, [esp + 0x5884]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474c71
sub eax, edx
sar eax, 1
je 0x474cb7
cmp esi, dword [esp + 0x28]
jb 0x474c8d
call fcn.004aa300
lea ecx, [esi + 0x2606]
push ecx
lea edx, [esp + 0x5888]
push edx
call fcn.004a9af1
add esp, 8
test eax, eax
je 0x474cb7
cmp esi, dword [esp + 0x28]
jb 0x474cb3
call fcn.004aa300
mov byte [esi + 4], 0
cmp esi, dword [esp + 0x28]
jb 0x474cc2
call fcn.004aa300
cmp byte [esi + 4], 0
je 0x474d01
cmp esi, dword [esp + 0x28]
jb 0x474ce9
call fcn.004aa300
cmp esi, dword [esp + 0x28]
jb 0x474ce9
call fcn.004aa300
cmp esi, dword [esp + 0x28]
jb 0x474ce9
call fcn.004aa300
lea eax, [esi + 0x1406]
push eax
lea ecx, [esi + 0x406]
push ecx
mov eax, ebx
call fcn.00476b20
mov byte [esi + 4], al
cmp esi, dword [esp + 0x28]
jb 0x474d17
call fcn.004aa300
cmp esi, dword [esp + 0x28]
jb 0x474d17
call fcn.004aa300
mov edx, dword [esi]
push 0x5824
lea eax, [esp + 0x64]
push esi
push eax
mov dword [esp + 0x68], edx
call fcn.004ab500
add esp, 0xc
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.0040f010
mov eax, dword [esp + 0x28]
add dword [esp + 0x1c], 1
cmp esi, eax
jb 0x474d55
call fcn.004aa300
mov eax, dword [esp + 0x28]
add esi, 0x5824
jmp 0x474be7
cmp dword [ebx + 8], 0
je 0x474d79
mov edi, ebx
call fcn.004750c0
mov dword [ebx + 0x60e0], 2
jmp 0x474d83
mov dword [ebx + 0x60e0], 0
mov ebx, dword [ebx + 8]
mov dword [esp + 0x5c98], 0xffffffff
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
je 0x474da4
push eax
call fcn.004993dd
add esp, 4
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov eax, ebx
mov ecx, dword [esp + 0x5c90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5c78]
xor ecx, esp
call fcn.004a998e
mov esp, ebp
pop ebp
ret 4