Function at 0x408cb0
Capabilities:
Accept command line arguments
Check if file exists
Get token privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce6a2
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x5080f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0xec], 0
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x54], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x1c], vtable.asw::sfx::sfx_proxy_parser::factory.0
mov dword [ebp - 0x104], eax
mov ecx, esi
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], 7
mov word [ebp - 0x104], ax
mov byte [ebp - 4], 5
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408d70
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x104]
call fcn.004123e0
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043e570
mov edx, eax
or edi, 0xffffffff
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [edx], 0
mov dword [edx + 4], 0
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x50], ecx
test edx, edx
je 0x408e02
mov eax, edi
lock xadd dword [edx + 4], eax
jne 0x408e02
mov eax, dword [edx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0x18]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x408e02
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x408e44
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x408e44
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0x18]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x408e44
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x18]
call esi
lea ecx, [ebp - 0x104]
call fcn.004127e0
jmp 0x408eaa
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0x4e9188
push eax
lea ecx, [ebp - 0x1c]
call fcn.00449040
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [edx], 0
mov dword [edx + 4], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x30], ecx
test edx, edx
je 0x408f24
mov eax, edi
lock xadd dword [edx + 4], eax
jne 0x408f24
mov eax, dword [edx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0x18]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x408f24
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xe8], ecx
test ecx, ecx
je 0x408f6e
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x408f6e
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0xe8]
call esi
mov eax, edi
mov edi, dword [ebp - 0xe8]
lock xadd dword [edi + 8], eax
jne 0x408f6e
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
push 0x34
lea eax, [ebp - 0xe4]
push 0
push eax
call fcn.004a08b0
xorps xmm0, xmm0
mov byte [ebp - 0xcc], 0
add esp, 0xc
mov dword [ebp - 0xb8], 0
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb4], 0
push 1
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0040a5c0
sub esp, 8
lea ecx, [ebp - 0xe4]
mov eax, esp
mov dword [eax], str.track_guid
mov dword [eax + 4], 0xa
call fcn.0040a5a0
test al, al
je 0x409011
sub esp, 8
lea ecx, [ebp - 0xe4]
mov eax, esp
mov dword [eax], str.track_guid
mov dword [eax + 4], 0xa
call fcn.0040abb0
push eax
lea ecx, [ebp - 0x104]
call fcn.00412740
mov ecx, eax
mov eax, 1
jmp 0x40903f
lea eax, [ebp - 0x2c]
push eax
call fcn.0043ada0
add esp, 4
lea edx, [ebp - 0x118]
lea ecx, [ebp - 0xb0]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x118], xmm0
call fcn.00411c90
mov ecx, eax
mov eax, 2
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x6c], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x5c], xmm0
xor edx, edx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
mov dword [ebp - 4], 0xd
test al, 2
je 0x40909a
and eax, 0xfffffffd
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x18], eax
call fcn.004127e0
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xe
test al, 1
je 0x4090b3
and eax, 0xfffffffe
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x18], eax
call fcn.004127e0
mov esi, dword [ebp - 0x34]
push ecx
push 1
lea ecx, [ebp - 0xe4]
mov eax, dword [esi]
mov edi, dword [eax + 0x30]
lea eax, [ebp - 0x120]
push eax
call fcn.0040a320
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4090df
mov eax, dword [eax]
push ecx
push eax
mov ecx, edi
call dword [0x4d9444]
mov ecx, esi
call edi
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xe
call fcn.004127e0
mov edi, dword [ebp - 0x34]
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
lea ecx, [ebp - 0x98]
call fcn.00408a80
mov byte [ebp - 4], 0x10
mov edi, dword [ebp - 0x34]
cmp dword [ebp - 0x84], 8
push dword [ebp - 0x88]
mov eax, dword [edi]
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
mov ecx, esi
push eax
call dword [0x4d9444]
mov ecx, edi
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x194]
movq qword [ebp - 0x78], xmm0
call fcn.004355e0
mov edx, eax
sub esp, 8
mov byte [ebp - 4], 0x11
mov eax, esp
lea ecx, [ebp - 0x78]
mov dword [eax], 0x4e8d44
mov dword [eax + 4], 0xd
call fcn.00437d50
add esp, 8
lea ecx, [ebp - 0x194]
call fcn.004127e0
mov ecx, dword [ebp - 0x74]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x78]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x409247
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x4091c4
mov esi, dword [esi]
test eax, eax
jne 0x4091dc
push eax
mov edx, 0x4e8d60
mov ecx, esi
call fcn.0040eee0
add esp, 4
test eax, eax
je 0x409247
mov esi, dword [ebp - 0x34]
mov eax, dword [esi]
mov dword [ebp - 0x104], 0
mov edi, dword [eax + 0x20]
xor eax, eax
mov dword [ebp - 0xf4], 0
push eax
push 0x4e8d60
lea ecx, [ebp - 0x104]
mov dword [ebp - 0xf0], 7
mov word [ebp - 0x104], ax
mov byte [ebp - 4], 0x13
call fcn.004123e0
push 0
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0x15
push eax
push dword [ebp - 0x78]
mov ecx, edi
call dword [0x4d9444]
mov ecx, esi
call edi
lea ecx, [ebp - 0x104]
call fcn.004127e0
mov edx, dword [0x513440]
test edx, edx
jne 0x409264
push 0x513440
call fcn.004b07b9
mov edx, dword [0x513440]
add esp, 4
mov dword [ebp - 0x104], 0
mov ecx, edx
mov dword [ebp - 0xf4], 0
xor eax, eax
mov dword [ebp - 0xf0], 7
mov word [ebp - 0x104], ax
mov byte [ebp - 4], 0x13
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409294
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x104]
call fcn.004123e0
mov byte [ebp - 4], 0x17
call fcn.00412a30
add eax, 0x50
lea ecx, [ebp - 0xb0]
push eax
call fcn.00412740
push ecx
lea edx, [ebp - 0xb0]
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x138]
call fcn.0040b640
add esp, 4
mov esi, eax
push ecx
mov edx, 0x23
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x1c4]
call fcn.004356e0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x1ac]
call fcn.0040b7a0
add esp, 4
mov esi, eax
mov dword [ebp - 0x120], 0
mov dword [ebp - 4], 0x1d
xor eax, eax
mov word [ebp - 0x120], ax
xor ecx, ecx
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x18]
or eax, 0x10
mov dword [ebp - 0x110], 0
mov dword [ebp - 0xec], eax
mov dword [ebp - 0x10c], 7
mov eax, dword [esi + 0x10]
add eax, 4
add eax, 2
setb cl
neg ecx
or ecx, eax
push ecx
lea ecx, [ebp - 0x120]
call fcn.0040edc0
cmp dword [esi + 0x14], 8
lea eax, [ebp - 0x120]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x10]
jb 0x40938b
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.0040b710
sub esp, 8
lea ecx, [ebp - 0x24]
mov eax, esp
mov dword [eax], str.Logs
mov dword [eax + 4], 4
call fcn.0040b710
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 4], 0x1b
call fcn.004127e0
lea ecx, [ebp - 0x1c4]
call fcn.004127e0
lea ecx, [ebp - 0x138]
call fcn.004127e0
lea ecx, [ebp - 0xb0]
call fcn.004127e0
lea ecx, [ebp - 0x4c]
call fcn.004127e0
movups xmm0, xmmword [ebp - 0x120]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x110]
movq qword [ebp - 0x3c], xmm0
xor eax, eax
mov dword [ebp - 0x110], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x10c], 7
mov word [ebp - 0x120], ax
call fcn.004127e0
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x13
call fcn.004127e0
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x409454
test al, 0x10
jne 0x40945e
xor edx, edx
lea ecx, [ebp - 0x4c]
call fcn.00436030
push 8
push str._sfx.log
lea ecx, [ebp - 0x4c]
call fcn.0040b4c0
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
cmovae eax, dword [ebp - 0x4c]
mov dword [ebp - 0xec], eax
movlpd qword [ebp - 0x24], xmm0
call fcn.00411780
mov byte [ebp - 4], 0x20
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x4094b9
mov eax, dword [edi]
push 0
push 0
push 0x400000
mov esi, dword [eax + 0x2c]
mov ecx, esi
push dword [ebp - 0xec]
call dword [0x4d9444]
mov ecx, edi
call esi
mov byte [ebp - 4], 0x13
or edi, 0xffffffff
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x409502
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x409502
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0x18]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x409502
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x18]
call esi
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movlpd qword [ebp - 0x24], xmm0
call fcn.00411780
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x409531
mov eax, dword [eax]
push 7
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x24]
call esi
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x409577
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x409577
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0x18]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x409577
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x18]
call esi
lea eax, [ebp - 0x24]
push eax
call fcn.0043bae0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5135d0]
cmp eax, dword [ecx + 4]
jle 0x4095db
push 0x5135d0
call fcn.0048528a
add esp, 4
cmp dword [0x5135d0], 0xffffffff
jne 0x4095db
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xec], eax
call fcn.0043b010
push 0x4d8820
call fcn.0048500f
push 0x5135d0
call fcn.00485240
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x40961e
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x40961e
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x20]
call esi
mov ecx, dword [ebp - 0x20]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x40961e
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x20]
call esi
cmp dword [0x5135e8], 8
lea ecx, [ebp - 0xb0]
mov eax, 0x5135d4
cmovae eax, dword [0x5135d4]
mov dword [ebp - 0xec], eax
call fcn.004355e0
lea edx, [ebp - 0xb0]
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x24]
call fcn.00436c50
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x13
call fcn.004127e0
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x24]
call fcn.00410430
mov esi, eax
mov byte [ebp - 4], 0x25
cmp dword [esi + 0x14], 8
jb 0x409680
mov esi, dword [esi]
lea ecx, [ebp - 0x114]
call fcn.00412370
lea ecx, [ebp - 0x24]
movq xmm0, qword [eax]
movq qword [ebp - 0x104], xmm0
xorps xmm0, xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], 0x43443839
mov dword [ebp - 0xf4], 0x30303930
mov dword [ebp - 0xf0], 0x7f
movlpd qword [ebp - 0x24], xmm0
call fcn.00411780
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4096f3
push dword [ebp - 0xec]
lea eax, [ebp - 0x104]
push esi
push str._Starting_SFX___s___System__s__
push eax
push 2
call fcn.0040d600
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x409735
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x409735
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0x18]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x409735
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x18]
call esi
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0x13
call fcn.004127e0
cmp dword [ebp - 0x84], 8
lea esi, [ebp - 0x98]
lea ecx, [ebp - 0x114]
cmovae esi, dword [ebp - 0x98]
call fcn.00412370
lea ecx, [ebp - 0x24]
movq xmm0, qword [eax]
movq qword [ebp - 0x104], xmm0
xorps xmm0, xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], 0x43443839
mov dword [ebp - 0xf4], 0x30303930
mov dword [ebp - 0xf0], 0x80
movlpd qword [ebp - 0x24], xmm0
call fcn.00411780
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4097c5
push esi
push str.____launched_by:_s
lea eax, [ebp - 0x104]
push eax
push 2
call fcn.0040d700
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x409807
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x409807
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0x18]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x409807
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x18]
call esi
mov esi, dword [ebp - 0x34]
mov eax, dword [esi]
mov dword [ebp - 0x104], 0
mov eax, dword [eax]
mov dword [ebp - 0xe8], eax
push 9
push str.sfx_start
lea ecx, [ebp - 0x104]
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0xf
mov byte [ebp - 0x104], 0
mov byte [ebp - 4], 0x13
call fcn.00410270
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0x29
mov ecx, dword [ebp - 0xe8]
push eax
call dword [0x4d9444]
mov ecx, esi
call dword [ebp - 0xe8]
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0xf0]
cmp edx, 0x10
jb 0x4098ac
mov ecx, dword [ebp - 0x104]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4098a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a080
push edx
push ecx
call fcn.00484d63
add esp, 8
mov ecx, 1
call fcn.0043b870
test al, al
je 0x40a085
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe8], 0
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40a12d
mov eax, dword [ebp - 0xe8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x2a
push ecx
push 0
push 0
push 0x19
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 3
mov edx, 8
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00485139
add esp, 4
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push esi
push 0x19
push dword [ebp - 0xe8]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x40a106
mov eax, dword [esi]
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x40a106
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
movzx eax, byte [eax]
dec eax
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
push esi
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
call fcn.00485360
add esp, 4
mov byte [ebp - 4], 0x13
cmp byte [ebp - 0x24], 0
jne 0x4099ae
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xec], eax
call fcn.0040c7f0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
cmp eax, 0x3000
jb 0x40a134
lea eax, [ebp - 0x6c]
mov dword [ebp - 0xec], 0x4e9180
push eax
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x34]
movlpd qword [ebp - 0x80], xmm0
push eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0xec]
call fcn.0044c660
mov byte [ebp - 4], 0x2b
mov esi, dword [ebp - 0x80]
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x513440]
test eax, eax
jne 0x409a15
push 0x513440
call fcn.004b07b9
mov eax, dword [0x513440]
add esp, 4
push dword [ebp - 0x108]
mov ecx, dword [ebp - 0x1c]
push eax
call dword [0x4d9444]
mov ecx, esi
call dword [ebp - 0x1c]
mov esi, eax
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x108], esi
call fcn.00412370
lea ecx, [ebp - 0x24]
movq xmm0, qword [eax]
movq qword [ebp - 0x104], xmm0
xorps xmm0, xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], 0x43443839
mov dword [ebp - 0xf4], 0x30303930
mov dword [ebp - 0xf0], 0x92
movlpd qword [ebp - 0x24], xmm0
call fcn.00411780
mov byte [ebp - 4], 0x2c
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x409a9f
push esi
push esi
push str._Ending_SFX___d___x__
lea eax, [ebp - 0x104]
push eax
push ecx
call fcn.0040d8d0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xe8], ecx
test ecx, ecx
je 0x409aed
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x409aed
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0xe8]
call esi
mov ecx, dword [ebp - 0xe8]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x409aed
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0xe8]
call esi
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xe8], ecx
test ecx, ecx
je 0x409b3b
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x409b3b
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0xe8]
call esi
mov ecx, dword [ebp - 0xe8]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x409b3b
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0xe8]
call esi
lea ecx, [ebp - 0x78]
call fcn.0040b200
lea ecx, [ebp - 0x98]
call fcn.004127e0
lea ecx, [ebp - 0x6c]
call fcn.004127e0
lea ecx, [ebp - 0xbc]
call fcn.0040b200
lea ecx, [ebp - 0xc8]
call fcn.0040ac70
cmp byte [ebp - 0xcc], 0
je 0x409b80
lea ecx, [ebp - 0xe4]
call fcn.004127e0
lea ecx, [ebp - 0x4c]
call fcn.004127e0
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xe8], ecx
test ecx, ecx
je 0x409bd6
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x409bd6
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0xe8]
call esi
mov ecx, dword [ebp - 0xe8]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x409bd6
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0xe8]
call esi
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0xe8], ecx
test ecx, ecx
je 0x409c23
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x409c23
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0xe8]
call esi
mov eax, dword [ebp - 0xe8]
lock xadd dword [eax + 8], edi
dec edi
jne 0x409c23
mov edx, dword [eax]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0xe8]
call esi
mov eax, dword [ebp - 0x108]
jmp 0x409d3e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00484d55
mov esp, ebp
pop ebp
ret 8
call fcn.004a949f
call fcn.0043b620
mov dword [ebp - 0xec], eax
call fcn.0043b5b0
mov dword [ebp - 0x108], eax
call fcn.0043b540
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0x43443839
mov dword [ebp - 0x24], 0x30303930
mov dword [ebp - 0x20], 0x86
call fcn.00412370
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.004123a0
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040b930
add esp, 0xc
push ecx
lea ecx, [ebp - 0x168]
call fcn.0044c5f0
push 0x5055ac
mov eax, ecx
push eax
call fcn.004a0209
push esi
call fcn.00485360
add esp, 4
mov byte [ebp - 4], 0x13
cmp byte [ebp - 0x24], 0
jne 0x40a12d
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xec], eax
call fcn.0040c7f0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x28], 0x43443839
mov dword [ebp - 0x24], 0x30303930
mov dword [ebp - 0x20], 0x8c
call fcn.00412370
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.004123a0
lea eax, [ebp - 0x1c]
push eax
call fcn.0040ba90
add esp, 4
lea ecx, [ebp - 0x17c]
call fcn.0044c650
push 0x50559c
mov eax, ecx
push eax
call fcn.004a0209
int3