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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b6280
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
mov ecx, str.1.0.0.1200
call fcn.00405a20
lea ecx, [esp + 0x20]
push str.SDIS.exe
push ecx
mov dword [esp + 0x40], 0
call fcn.0047b34a
lea edx, [esp + 0x18]
push edx
mov ecx, eax
mov byte [esp + 0x44], 1
call fcn.0047f304
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x40], 2
call fcn.0047f399
mov esi, eax
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46d6a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x20]
setge bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d6ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d6f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x46d71f
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
call fcn.0046daf0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x46d857
cmp dword [ebp + 0x10], 0
je 0x46d857
push 0
push str.SDIS_MsgWnd_Class
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x46d83d
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x6c]
lea edx, [esp + 0x28]
push edx
push 0xbb8
push 2
push ecx
push ebx
push 0x46f
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x46d83d
cmp dword [esp + 0x28], 0
je 0x46d83d
lea eax, [esi + 0x70]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x1c], 1
lea eax, [ebp + 0xc]
push eax
lea ecx, [esp + 0x24]
lea edi, [esi + 0x88]
push ecx
mov dword [esp + 0x40], 3
call fcn.00432f90
mov edx, dword [edi + 0x18]
mov eax, dword [edi]
lea esi, [esp + 0x10]
lea edi, [esp + 0x20]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
call fcn.00419e90
test al, al
je 0x46d834
push ebx
push str.GetTask_succ__d
call fcn.00408b50
mov edx, str.SoftDownInstProxy
mov ecx, eax
call fcn.00408ca0
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
jne 0x46d830
call fcn.00490387
xor eax, eax
mov esi, dword [esp + 0x24]
cmp esi, dword [eax + 0x18]
jne 0x46d800
call fcn.00490387
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x18]
call fcn.00409330
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [eax]
jmp 0x46d7f2
lea esi, [esp + 0x18]
call fcn.00409330
mov eax, 0x80004005
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x80070057
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc