Function at 0x47b333
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
mov ebx, ecx
push esi
xor esi, esi
push edi
mov ecx, dword [ebx]
push 0x4a45d8
add ecx, 0x10
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
call fcn.0045e7a5
mov edi, esi
mov dword [esp + 0x2c], eax
lea esi, [eax + 0x1f0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc]
test eax, eax
je 0x47b8e0
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax]
mov ecx, eax
mov dword [esp + 0x18], eax
mov edx, dword [eax]
call dword [edx + 0xb8]
test eax, eax
je 0x47b3ba
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x260]
cmp dword [eax + 0x4dc], 0
je 0x47b3ba
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
call fcn.00432987
mov eax, dword [esi]
mov ecx, esi
inc edi
call dword [eax + 0xc]
cmp edi, eax
jne 0x47b380
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x20], eax
cmp edi, eax
je 0x47b8e0
push 0x4ad4b8
call fcn.00478ddc
push 1
push 0
push 0
or esi, 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esp + 0x44], esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x68], ecx
lea esi, [esp + 0x68]
mov ecx, dword [ebx]
mov dword [esp + 0x70], edi
lea edi, [esp + 0x7c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], 0x4a1bb4
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
mov dword [esp + 0x9c], eax
push edi
xor esi, esi
inc esi
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0xc]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0x20], eax
cmp eax, 4
jb 0x47b4c5
mov edi, eax
sar edi, 2
mov eax, esi
lock xadd dword [esp + 0xa4], eax
inc eax
cmp eax, esi
jne 0x47b48c
push dword [esp + 0xa0]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
lea eax, [esp + 0x7c]
push eax
push 0
push dword [0x4ad4f8]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x47b4c0
or eax, 0xffffffff
lock xadd dword [esp + 0xa4], eax
jne 0x47b4c0
push dword [esp + 0xa0]
call dword [sym.imp.KERNEL32.dll_SetEvent]
sub edi, 1
jne 0x47b46f
call fcn.0043d5bb
push eax
lea ecx, [esp + 0x1c]
call fcn.0043bbe8
mov ecx, dword [0x4ad468]
lea eax, [esp + 0x18]
push eax
push str.DisableInstallUpdate
mov edx, 0x496898
call fcn.0044e2fd
pop ecx
pop ecx
push 0x49045c
lea ecx, [esp + 0x1c]
call fcn.00432a00
mov ecx, dword [ebx]
neg eax
mov dword [esp + 0x14], edi
sbb al, al
mov dword [esp + 0x10], edi
inc al
mov ecx, dword [ecx + 0x234]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
or edi, 0xffffffff
push 0x1f4
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xc0]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
test eax, eax
je 0x47b7f6
cmp dword [esp + 0x30], 0
je 0x47b77b
mov eax, dword [ebx]
mov eax, dword [eax + 0x234]
cmp dword [eax + 0x238], 0
jne 0x47b527
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], 0x64
inc eax
sar esi, 2
push esi
push eax
push 0x4a4b1c
mov dword [esp + 0x20], eax
call sym.Dismx86.exe_DismMultiLanguage
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0044af44
add esp, 0x10
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x234]
add ecx, 0x234
call fcn.0043c5cb
mov ecx, dword [esp + 0x48]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov eax, dword [esp + 0x10]
xor edx, edx
div esi
mov ecx, dword [ebx]
push edi
mov ecx, dword [ecx + 0x234]
mov dword [ecx + 0x230], eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x234]
call fcn.0047ee32
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
push 0
lea ecx, [eax + 0x220]
mov eax, dword [ecx]
mov edi, dword [esi + 0x248]
call dword [eax]
push eax
lea ecx, [esi + 0x248]
call dword [edi + 8]
mov ecx, dword [esp + 0xc]
push 0x4a35e4
call fcn.0045e7a5
cmp byte [esp + 0x4c], 0
mov edi, eax
je 0x47b64f
mov eax, 0x4c7
mov dword [esp + 0x28], eax
push 1
pop esi
test edi, edi
je 0x47b524
push 0x4a4e2c
mov esi, dword [edi]
call sym.Dismx86.exe_DismMultiLanguage
push eax
mov ecx, edi
call dword [esi + 0x2c]
xor esi, esi
inc esi
jmp 0x47b524
test edi, edi
je 0x47b665
mov esi, dword [edi]
push 0x4a4e38
call sym.Dismx86.exe_DismMultiLanguage
push eax
mov ecx, edi
call dword [esi + 0x2c]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0xb8]
lea edx, [esp + 0x5c]
mov dword [esp + 0x60], eax
push edx
mov dword [esp + 0x68], edi
mov ecx, dword [eax]
push 0x47bbee
push eax
mov dword [esp + 0x5c], eax
call dword [ecx + 0x28]
mov esi, eax
cmp esi, 0x800704c7
je 0x47b766
test esi, esi
je 0x47b751
cmp esi, 0x669
je 0x47b73c
cmp esi, 0xbc2
je 0x47b73c
mov dword [esp + 0x28], esi
test edi, edi
je 0x47b6e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov eax, 0x4a4e2c
jne 0x47b6d7
mov eax, 0x4a4e5c
push eax
call sym.Dismx86.exe_DismMultiLanguage
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0xc]
and dword [esp + 0xc], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x10]
push esi
push dword [esp + 0x10]
lea eax, [esp + 0x5c]
push 0x4a4e68
push eax
call fcn.0044af44
add esp, 0x10
xor esi, esi
inc esi
push dword [eax]
push 0x496898
push esi
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [esp + 0x54]
add ecx, 0xfffffff0
call fcn.0043d912
push dword [esp + 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x47b524
push 1
pop esi
test edi, edi
je 0x47b524
push 0x4a4e50
jmp 0x47b63a
push 1
pop esi
test edi, edi
je 0x47b524
push 0x4a4e44
jmp 0x47b63a
push 1
pop esi
test edi, edi
je 0x47b524
push 0x4a4dd8
jmp 0x47b63a
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], 0x64
inc eax
sar esi, 2
push esi
push eax
push 0x4a4b1c
mov dword [esp + 0x20], eax
call sym.Dismx86.exe_DismMultiLanguage
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0044af44
add esp, 0x10
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x234]
add ecx, 0x234
call fcn.0043c5cb
mov ecx, dword [esp + 0x34]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov eax, dword [esp + 0x10]
xor edx, edx
div esi
mov ecx, dword [ebx]
push edi
mov ecx, dword [ecx + 0x234]
mov dword [ecx + 0x230], eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x234]
call fcn.0047ee32
xor esi, esi
inc esi
jmp 0x47b527
cmp dword [esp + 0xa4], 0
je 0x47b821
mov eax, dword [ebx]
mov eax, dword [eax + 0x234]
cmp dword [eax + 0x238], 0
je 0x47b527
mov dword [esp + 0xa8], esi
jmp 0x47b527
lock xadd dword [0x4ad4fc], edi
dec edi
jne 0x47b837
push ecx
mov ecx, 0x4ad4b8
call fcn.004810d1
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebx]
push 0
mov ecx, dword [ecx + 0x234]
call fcn.0047eb84
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47b86a
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.0043c2ea
and dword [esp + 0x1c], 0
jmp 0x47b888
push 0x48f610
call sym.Dismx86.exe_DismMultiLanguage
push eax
lea ecx, [esp + 0x30]
call fcn.0043c2b8
xor esi, esi
mov dword [esp + 0x1c], 2
push 0
push 0x4880b0
mov edi, eax
call sym.Dismx86.exe_DismMultiLanguage
mov ecx, dword [ebx]
push eax
push dword [edi]
mov ecx, dword [ecx + 0x234]
call fcn.00401468
cmp dword [esp + 0x1c], 0
je 0x47b8b9
mov ecx, dword [esp + 0x2c]
lea ecx, [ecx - 0x10]
call fcn.0043d912
test esi, esi
je 0x47b8c9
mov ecx, dword [esp + 0x58]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.0043d912
lea ecx, [esp + 0x78]
call fcn.0043ba36
jmp 0x47b8ef
mov ecx, dword [ebx]
push 0
mov ecx, dword [ecx + 0x234]
call fcn.0047eb84
lea ecx, [esp + 0x38]
call fcn.004303a3
lea ecx, [esp + 0x27]
call fcn.0043bc2f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret