Function at 0x47a398
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 0x49ff78
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.0045d768
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 0x47a93f
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax]
mov ecx, eax
mov dword [esp + 0x1c], eax
mov edx, dword [eax]
call dword [edx + 0xb8]
test eax, eax
je 0x47a41f
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x260]
cmp dword [eax + 0x4dc], 0
je 0x47a41f
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00431d83
mov eax, dword [esi]
mov ecx, esi
inc edi
call dword [eax + 0xc]
cmp edi, eax
jne 0x47a3e5
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], eax
cmp edi, eax
je 0x47a93f
push 0x4ab540
call fcn.00477d7c
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], 0x4a1458
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x20], 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 + 0x24]
sub eax, dword [esp + 0x10]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0x24], eax
cmp eax, 4
jb 0x47a52a
mov edi, eax
sar edi, 2
mov eax, esi
lock xadd dword [esp + 0xa4], eax
inc eax
cmp eax, esi
jne 0x47a4f1
push dword [esp + 0xa0]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
lea eax, [esp + 0x7c]
push eax
push 0
push dword [0x4ab580]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x47a525
or eax, 0xffffffff
lock xadd dword [esp + 0xa4], eax
jne 0x47a525
push dword [esp + 0xa0]
call dword [sym.imp.KERNEL32.dll_SetEvent]
sub edi, 1
jne 0x47a4d4
call fcn.0043c5cd
push eax
lea ecx, [esp + 0x20]
call fcn.0043ac50
mov ecx, dword [0x4ab4f0]
lea eax, [esp + 0x1c]
push eax
push str.DisableInstallUpdate
mov edx, 0x494758
call fcn.0044d2be
pop ecx
pop ecx
push 0x48e394
lea ecx, [esp + 0x20]
call fcn.00431dfc
mov ecx, dword [ebx]
neg eax
mov dword [esp + 0x18], edi
sbb al, al
mov dword [esp + 0x14], 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 + 0x30]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
test eax, eax
je 0x47a855
cmp dword [esp + 0x30], 0
je 0x47a7da
mov eax, dword [ebx]
mov eax, dword [eax + 0x234]
cmp dword [eax + 0x238], 0
jne 0x47a58c
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], 0x64
inc eax
sar esi, 2
push esi
push eax
push 0x4a04a8
mov dword [esp + 0x24], eax
call sym.Dismx86.exe_DismMultiLanguage
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00449eea
add esp, 0x10
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x234]
add ecx, 0x234
call fcn.0043b599
mov ecx, dword [esp + 0x48]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov eax, dword [esp + 0x14]
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.0047de71
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x10], 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 + 0x10]
push 0x4a2e88
call fcn.0045d768
cmp byte [esp + 0x4c], 0
mov edi, eax
je 0x47a6a4
mov eax, 0x4c7
mov dword [esp + 0x28], eax
push 1
pop esi
test edi, edi
je 0x47a589
push 0x4a07d4
jmp 0x47a7c5
test edi, edi
je 0x47a6ba
mov esi, dword [edi]
push 0x4a07e0
call sym.Dismx86.exe_DismMultiLanguage
push eax
mov ecx, edi
call dword [esi + 0x2c]
mov ecx, dword [esp + 0x10]
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 0x47ac49
push eax
mov dword [esp + 0x5c], eax
call dword [ecx + 0x28]
mov esi, eax
cmp esi, 0x800704c7
je 0x47a7b5
test esi, esi
je 0x47a7a3
cmp esi, 0x669
je 0x47a791
cmp esi, 0xbc2
je 0x47a791
mov dword [esp + 0x28], esi
test edi, edi
je 0x47a73a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov eax, 0x4a07d4
jne 0x47a72c
mov eax, 0x4a0804
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 + 0x10]
and dword [esp + 0x10], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x10]
push esi
push dword [esp + 0x14]
lea eax, [esp + 0x5c]
push 0x4a0810
push eax
call fcn.00449eea
add esp, 0x10
xor esi, esi
inc esi
push dword [eax]
push 0x494758
push esi
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [esp + 0x54]
add ecx, 0xfffffff0
call fcn.0043c924
push dword [esp + 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x47a589
push 1
pop esi
test edi, edi
je 0x47a589
push 0x4a07f8
jmp 0x47a7c5
push 1
pop esi
test edi, edi
je 0x47a589
push 0x4a07ec
jmp 0x47a7c5
push 1
pop esi
test edi, edi
je 0x47a589
push 0x4a0780
mov esi, dword [edi]
call sym.Dismx86.exe_DismMultiLanguage
push eax
mov ecx, edi
call dword [esi + 0x2c]
xor esi, esi
inc esi
jmp 0x47a589
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], 0x64
inc eax
sar esi, 2
push esi
push eax
push 0x4a04a8
mov dword [esp + 0x24], eax
call sym.Dismx86.exe_DismMultiLanguage
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00449eea
add esp, 0x10
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x234]
add ecx, 0x234
call fcn.0043b599
mov ecx, dword [esp + 0x34]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov eax, dword [esp + 0x14]
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.0047de71
xor esi, esi
inc esi
jmp 0x47a58c
cmp dword [esp + 0xa4], 0
je 0x47a880
mov eax, dword [ebx]
mov eax, dword [eax + 0x234]
cmp dword [eax + 0x238], 0
je 0x47a58c
mov dword [esp + 0xa8], esi
jmp 0x47a58c
lock xadd dword [0x4ab584], edi
dec edi
jne 0x47a896
push ecx
mov ecx, 0x4ab540
call fcn.004800bc
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebx]
push 0
mov ecx, dword [ecx + 0x234]
call fcn.0047dbc3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47a8c9
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.0043b4b9
and dword [esp + 0x20], 0
jmp 0x47a8e7
push 0x48d430
call sym.Dismx86.exe_DismMultiLanguage
push eax
lea ecx, [esp + 0x30]
call fcn.0043b487
xor esi, esi
mov dword [esp + 0x20], 2
push 0
push 0x486080
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 + 0x20], 0
je 0x47a918
mov ecx, dword [esp + 0x2c]
lea ecx, [ecx - 0x10]
call fcn.0043c924
test esi, esi
je 0x47a928
mov ecx, dword [esp + 0x58]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0043c924
lea ecx, [esp + 0x78]
call fcn.0043aa7b
jmp 0x47a94e
mov ecx, dword [ebx]
push 0
mov ecx, dword [ecx + 0x234]
call fcn.0047dbc3
lea ecx, [esp + 0x38]
call fcn.00430403
call fcn.0043ac97
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret