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

Disassembly:
sub esp, 0x70
mov eax, dword [0x60b3c4]
xor eax, esp
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x78]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x80]
mov dword [esp + 0x14], ecx
push edi
test esi, esi
je 0x478198
test ecx, ecx
je 0x478198
cmp word [esi + 0x40], 0
jne 0x478302
push 0x60fab8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp word [esi + 0x40], 0
jne 0x4782f3
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4781d5
mov edi, dword [esi + 0x28]
lea ecx, [esp + 0x1c]
mov ebx, dword [esi + 8]
push ecx
push eax
push 0
mov dword [esp + 0x28], 0x30
call dword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
jne 0x4781ad
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x30]
push dword [0x6139c4]
call dword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
jne 0x4781ad
push 0x60fab8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0050fd4b
add esp, 0x70
ret
movups xmm0, xmmword [esp + 0x1c]
movups xmmword [esi], xmm0
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [esp + 0x3c]
movups xmmword [esi + 0x20], xmm0
mov eax, dword [esi + 8]
mov dword [esi + 0x34], eax
mov dword [esi + 0x28], edi
mov dword [esi + 8], ebx
jmp 0x4781ef
mov eax, dword [0x6139c8]
xor ecx, ecx
cmp dword [esi + 0x3c], ecx
push dword [esi + 0x38]
cmovne eax, ecx
push eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esi + 0x1c], eax
mov eax, dword [0x6139c4]
and dword [esi + 4], 0xffffbfff
mov edi, dword [esi + 0x28]
mov dword [esi + 0x14], eax
test edi, edi
jne 0x47821c
push esi
push str.ATL:_p
lea edi, [esi + 0x42]
push 0x25
push edi
call sym.Uninstaller.exe_swprintf_s
add esp, 0x10
mov dword [esi + 0x28], edi
movups xmm0, xmmword [esi]
lea eax, [esp + 0x4c]
push eax
movups xmmword [esp + 0x50], xmm0
push edi
movups xmm0, xmmword [esi + 0x10]
push dword [esi + 0x14]
movups xmmword [esp + 0x68], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [esp + 0x78], xmm0
call dword [sym.imp.USER32.dll_GetClassInfoExW]
mov word [esi + 0x40], ax
test ax, ax
jne 0x4782f3
push esi
call dword [sym.imp.USER32.dll_RegisterClassExW]
movzx ebx, ax
test bx, bx
je 0x4782ef
mov ecx, dword [0x60fad8]
mov edx, dword [0x60fadc]
cmp ecx, edx
jne 0x4782d3
mov ebp, dword [0x60fad4]
lea eax, [esp + 0x14]
cmp eax, ebp
jb 0x478298
lea eax, [edx*2]
add eax, ebp
lea edi, [esp + 0x14]
cmp edi, eax
jb 0x478324
test edx, edx
jne 0x4782a1
lea edi, [edx + 1]
jmp 0x4782b0
lea edi, [ecx + ecx]
test edi, edi
js 0x4782ef
cmp edi, 0x3fffffff
ja 0x4782ef
push 2
push edi
push ebp
call fcn.0053dfeb
add esp, 0xc
test eax, eax
je 0x4782ef
mov ecx, dword [0x60fad8]
mov dword [0x60fadc], edi
mov dword [0x60fad4], eax
jmp 0x4782d8
mov eax, dword [0x60fad4]
lea eax, [eax + ecx*2]
test eax, eax
je 0x4782e8
mov word [eax], bx
mov ecx, dword [0x60fad8]
inc ecx
mov dword [0x60fad8], ecx
mov word [esi + 0x40], bx
push 0x60fab8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0x30], 0
je 0x47830d
mov eax, dword [esi + 0x34]
mov dword [ecx], eax
mov ax, word [esi + 0x40]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050fd4b
add esp, 0x70
ret
push 0x80004005
call fcn.0041e1c0
int3