Function at 0x4137f0
Capabilities:
Check if file exists
Copy file
Create process on windows
Delete file
Enumerate files on windows
Get common file path
Get installed programs
Move file
Persist via windows service
Print debug messages
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4484b9
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x45c070]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x29c], ebx
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x45d48c
mov dword [ebp - 0x2b4], esi
call edx
add eax, 0x10
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp byte [ebp + 8], bl
jne 0x41392e
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
add eax, 0x10
mov dword [ebp - 0x2b0], eax
mov edi, 0xbc
mov byte [ebp - 4], 2
call fcn.004032e0
cmp eax, ebx
je 0x413891
push eax
mov eax, edi
lea edi, [ebp - 0x2b0]
call fcn.00403490
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x2b0]
add edi, 0xfffffff0
mov eax, edi
call fcn.00403230
lea ebx, [eax + 0x10]
mov dword [ebp - 0x2b0], ebx
mov byte [ebp - 4], 5
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4138cb
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
cmp dword [0x45f350], 0
je 0x413904
cmp dword [ebx - 4], 1
jle 0x4138f0
mov ecx, dword [ebx - 0xc]
push ecx
lea edx, [ebp - 0x2b0]
push edx
call fcn.00403590
mov ebx, dword [ebp - 0x2b0]
mov eax, dword [0x45f350]
push 0
push ebx
push 0x800f
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push esi
xor ecx, ecx
call fcn.00413710
add ebx, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41392e
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x2a4], edi
mov byte [ebp - 4], 6
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
mov ebx, 0x104
sub eax, ebx
or eax, ecx
jge 0x413973
mov ecx, ebx
lea eax, [ebp - 0x2a4]
call fcn.00403660
mov edi, dword [ebp - 0x2a4]
cmp dword [edi - 8], ebx
jge 0x413982
push 0x80070057
call fcn.004036b0
push ebx
xor eax, eax
mov dword [edi - 0xc], ebx
push edi
mov word [edi + 0x208], ax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, edi
lea edx, [eax + 2]
jmp 0x4139a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4139a0
sub eax, edx
sar eax, 1
js 0x413978
cmp eax, dword [edi - 8]
jg 0x413978
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
mov edx, str.SysWOW64_
cmp dword [0x45f3e8], ecx
jne 0x4139d1
mov edx, str.System32_
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4139d6
sub eax, edi
sar eax, 1
push eax
push edx
lea edx, [ebp - 0x2a4]
push edx
call fcn.00403a80
push 0
xor edx, edx
mov ecx, str.Time_Control_Service
call fcn.0040dff0
add esp, 4
test eax, eax
je 0x413a34
mov edi, dword [0x45f3ec]
cmp dword [edi - 0xc], 0
je 0x413a34
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x15f
push str.CInstaller::InstallAgent
mov edx, str.Installer.cpp
mov ecx, edi
call fcn.00403b50
add esp, 0xc
push 0
push str.Time_Control_Service
call fcn.0040da80
add esp, 8
test eax, eax
je 0x413a73
mov edi, dword [0x45f3ec]
cmp dword [edi - 0xc], 0
je 0x413a73
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x160
push str.CInstaller::InstallAgent
mov edx, str.Installer.cpp
mov ecx, edi
call fcn.00403b50
add esp, 0xc
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
add eax, 0x10
mov dword [ebp - 0x2c4], eax
mov byte [ebp - 4], 7
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x2b0], edi
mov byte [ebp - 4], 8
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x2b8], esi
mov byte [ebp - 4], 9
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x413aeb
mov ecx, ebx
lea eax, [ebp - 0x2b0]
call fcn.00403660
mov edi, dword [ebp - 0x2b0]
cmp dword [edi - 8], ebx
jge 0x413afa
push 0x80070057
call fcn.004036b0
push ebx
xor eax, eax
mov dword [edi - 0xc], ebx
push edi
mov word [edi + 0x208], ax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ecx, dword [0x460238]
push ecx
push 0x452848
lea edi, [ebp - 0x2c4]
call fcn.00403fb0
add esp, 8
cmp dword [0x45f3e8], 0
mov edi, str.install64.cmd
jne 0x413b3b
mov edi, str.install.cmd
lea edx, [ebp - 0x2c4]
push edx
lea eax, [ebp - 0x2a0]
push eax
mov ebx, 0x451824
call fcn.00406e80
add esp, 8
push eax
lea ecx, [ebp - 0x288]
push ecx
mov ebx, 0x45288c
mov byte [ebp - 4], 0xa
call fcn.00406e80
add esp, 8
push eax
lea edx, [ebp - 0x270]
push edx
mov ebx, edi
mov byte [ebp - 4], 0xb
call fcn.00406e80
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x413be2
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x413bcc
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x413bcc
call fcn.00403230
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x413bc1
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [ebp - 0x2b8], esi
jmp 0x413bdc
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.004036d0
mov esi, dword [ebp - 0x2b8]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413c08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x288]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413c2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x2a0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413c54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x40
lea ecx, [ebp - 0x430]
push 0
push ecx
mov dword [ebp - 0x434], 0x44
call fcn.004308f0
xor edx, edx
add esp, 0xc
mov word [ebp - 0x404], dx
cmp dword [esi - 4], 1
jle 0x413c96
mov eax, dword [esi - 0xc]
push eax
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.00403590
mov esi, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x2c4]
lea edx, [ebp - 0x3a0]
push edx
lea eax, [ebp - 0x434]
push eax
push ecx
push 0
push 0x8000020
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x413cd7
mov edx, dword [ebp - 0x3a0]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x270]
push ecx
mov ebx, 0x452894
call fcn.00406e80
add esp, 8
push eax
mov byte [ebp - 4], 0xd
call fcn.00410c60
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413d25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp + 8], 0
jne 0x413d3e
mov ecx, dword [ebp - 0x2b4]
push 2
push ecx
mov ecx, 1
call fcn.00413710
lea edx, [ebp - 0x2a4]
push edx
lea eax, [ebp - 0x270]
push eax
mov ebx, 0x452894
call fcn.00406e80
mov eax, dword [eax]
mov edi, dword [sym.imp.SHELL32.dll_SHCreateDirectory]
add esp, 8
push eax
push 0
call edi
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413d88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x46023c]
push ecx
push 0
call edi
lea edx, [ebp - 0x270]
push 0x460238
push edx
mov ebx, 0x452894
mov dword [ebp - 0x2bc], 1
call fcn.00406e80
add esp, 8
push eax
mov byte [ebp - 4], 0xe
call fcn.00411130
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp - 0x374], eax
mov dword [ebp - 0x38c], ecx
xor ecx, ecx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
mov dword [ebp - 0x37c], ecx
mov dword [ebp - 0x378], ecx
mov dword [ebp - 0x370], edx
add esp, 4
mov dword [ebp - 0x388], 0xa
mov dword [ebp - 0x384], 0x41
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413e23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x2a4]
push ecx
lea edx, [ebp - 0x288]
push edx
mov ebx, 0x452894
call fcn.00406e80
add esp, 8
mov edi, eax
lea eax, [ebp - 0x270]
push 0x460238
push eax
mov byte [ebp - 4], 0xf
call fcn.00406e80
add esp, 8
push 0xb
lea ecx, [ebp - 0x38c]
push ecx
push 0x413690
push edi
push eax
mov byte [ebp - 4], 0x10
call fcn.00411470
add esp, 0x14
test eax, eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x270]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413e9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x288]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413ec5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x460238
test bl, bl
je 0x41427c
lea ecx, [ebp - 0x288]
push ecx
mov ebx, 0x4528a0
call fcn.00406e80
add esp, 8
lea edx, [ebp - 0x26c]
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x288]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x414205
lea esp, [esp]
mov ecx, 0x452678
lea eax, [ebp - 0x240]
jmp 0x413f20
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x413f46
test dx, dx
je 0x413f42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x413f46
add eax, 4
add ecx, 4
test dx, dx
jne 0x413f20
xor eax, eax
jmp 0x413f4b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x414137
mov ecx, 0x45267c
lea eax, [ebp - 0x240]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x413f86
test dx, dx
je 0x413f82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x413f86
add eax, 4
add ecx, 4
test dx, dx
jne 0x413f60
xor eax, eax
jmp 0x413f8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x414137
lea ecx, [ebp - 0x2cc]
push 0x46023c
push ecx
mov ebx, 0x451824
call fcn.00406e80
add esp, 8
push eax
lea edx, [ebp - 0x284]
push edx
lea ebx, [ebp - 0x240]
mov byte [ebp - 4], 0x12
call fcn.00406e80
add esp, 8
mov edi, eax
lea eax, [ebp - 0x2a0]
push 0x460238
push eax
mov ebx, str.Ltprx_
mov byte [ebp - 4], 0x13
call fcn.00406e80
add esp, 8
push eax
lea ecx, [ebp - 0x270]
push ecx
lea ebx, [ebp - 0x240]
mov byte [ebp - 4], 0x14
call fcn.00406e80
mov ecx, dword [edi]
mov eax, dword [eax]
add esp, 8
push 0xb
push 0
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
test eax, eax
mov eax, dword [ebp - 0x270]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414038
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x2a0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41405e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x284]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414084
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x2cc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4140aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4140b5
xor edi, edi
jmp 0x414153
lea ecx, [ebp - 0x2d0]
push 0x46023c
push ecx
mov ebx, 0x451824
call fcn.00406e80
add esp, 8
push eax
lea edx, [ebp - 0x2c0]
push edx
lea ebx, [ebp - 0x240]
mov byte [ebp - 4], 0x15
call fcn.00406e80
mov ecx, dword [eax]
add esp, 8
call fcn.00411380
mov eax, dword [ebp - 0x2c0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414111
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x2d0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414137
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x26c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x413f10
mov edi, dword [ebp - 0x2bc]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x414212
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
mov ebx, 0x452894
call fcn.00406e80
add esp, 8
push 5
lea edx, [ebp - 0x38c]
push edx
push 0x413690
push eax
push 0x46023c
mov byte [ebp - 4], 0x16
call fcn.00411470
add esp, 0x14
test eax, eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x2bc]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4141c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x414254
lea ecx, [ebp - 0x354]
push ecx
mov ecx, str.Failed_to_delayed_move_proxy_directory
mov byte [ebp - 0x35c], 0
call fcn.004037b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x45684c
lea edx, [ebp - 0x35c]
push edx
mov dword [ebp - 0x358], eax
call fcn.00433e48
mov edx, dword [ebp - 0x288]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x46023c
call fcn.00410c60
add esp, 4
lea ecx, [ebp - 0x348]
push ecx
mov ecx, str.Failed_to_move_proxy_to_init_directory
mov byte [ebp - 0x350], 0
call fcn.004037b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x45684c
lea edx, [ebp - 0x350]
push edx
mov dword [ebp - 0x34c], eax
call fcn.00433e48
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x288]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4142d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4142d0
lea eax, [ebp - 0x2bc]
push eax
mov ebx, 0x452894
call fcn.00406e80
add esp, 8
push eax
mov byte [ebp - 4], 0x17
call fcn.00410c60
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x2bc]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4142c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x46023c
call fcn.00410c60
add esp, 4
cmp byte [ebp + 8], 0
jne 0x4142e9
mov ecx, dword [ebp - 0x2b4]
push 0
push ecx
mov ecx, 5
call fcn.00413710
xor edi, edi
mov dword [ebp - 0x280], edi
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x298], edi
mov dword [ebp - 0x294], edi
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x28c], edi
mov byte [ebp - 4], 0x19
lea eax, [edi + 1]
lea esi, [ebp - 0x280]
cmp dword [0x45f3e8], edi
je 0x414734
call fcn.0041e960
test al, al
jne 0x414347
push 0x8007000e
call fcn.004036b0
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x280]
cmp eax, edi
je 0x414360
push eax
mov ecx, str.CaptureFileMonitor.sys
call fcn.004037b0
mov byte [ebp - 4], 0x19
mov edi, dword [ebp - 0x27c]
inc edi
mov dword [ebp - 0x27c], edi
mov ebx, edi
cmp edi, dword [ebp - 0x278]
jb 0x41439d
lea eax, [edi + 1]
lea esi, [ebp - 0x280]
call fcn.0041e960
test al, al
jne 0x414397
push 0x8007000e
call fcn.004036b0
mov edi, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x280]
lea eax, [edx + ebx*4]
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x4143b9
push eax
mov ecx, 0x452990
call fcn.004037b0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x27c], edi
mov ebx, edi
cmp edi, dword [ebp - 0x278]
jb 0x4143f0
lea eax, [edi + 1]
lea esi, [ebp - 0x280]
call fcn.0041e960
test al, al
jne 0x4143ea
push 0x8007000e
call fcn.004036b0
mov edi, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x280]
lea eax, [eax + ebx*4]
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x41440c
push eax
mov ecx, str.FileMonitorInstallation.inf
call fcn.004037b0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x27c], edi
mov ebx, edi
cmp edi, dword [ebp - 0x278]
jb 0x414443
lea eax, [edi + 1]
lea esi, [ebp - 0x280]
call fcn.0041e960
test al, al
jne 0x41443d
push 0x8007000e
call fcn.004036b0
mov edi, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x280]
lea eax, [ecx + ebx*4]
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x41445f
push eax
mov ecx, str.HideAgent.dll
call fcn.004037b0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x27c], edi
mov ebx, edi
cmp edi, dword [ebp - 0x278]
jb 0x414496
lea eax, [edi + 1]
lea esi, [ebp - 0x280]
call fcn.0041e960
test al, al
jne 0x414490
push 0x8007000e
call fcn.004036b0
mov edi, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x280]
lea eax, [edx + ebx*4]
mov byte [ebp - 4], 0x1e
test eax, eax
je 0x4144b2
push eax
mov ecx, 0x452a00
call fcn.004037b0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x27c], edi
mov ebx, edi
cmp edi, dword [ebp - 0x278]
jb 0x4144e9
lea eax, [edi + 1]
lea esi, [ebp - 0x280]
call fcn.0041e960
test al, al
jne 0x4144e3
push 0x8007000e
call fcn.004036b0
mov edi, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x280]
lea eax, [eax + ebx*4]
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x414505
push eax
mov ecx, 0x452a1c
call fcn.004037b0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x27c], edi
mov ebx, edi
cmp edi, dword [ebp - 0x278]
jb 0x41453c
lea eax, [edi + 1]
lea esi, [ebp - 0x280]
call fcn.0041e960
test al, al
jne 0x414536
push 0x8007000e
call fcn.004036b0
mov edi, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x280]
lea eax, [ecx + ebx*4]
mov byte [ebp - 4], 0x20
test eax, eax
je 0x414558
push eax
mov ecx, 0x452a38
call fcn.004037b0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x27c], edi
mov ebx, edi
cmp edi, dword [ebp - 0x278]
jb 0x41458f
lea eax, [edi + 1]
lea esi, [ebp - 0x280]
call fcn.0041e960
test al, al
jne 0x414589
push 0x8007000e
call fcn.004036b0
mov edi, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x280]
lea eax, [edx + ebx*4]
mov byte [ebp - 4], 0x21
test eax, eax
je 0x4145ab
push eax
mov ecx, 0x452a50
call fcn.004037b0
mov byte [ebp - 4], 0x19
inc edi
mov eax, 1
lea esi, [ebp - 0x298]
mov dword [ebp - 0x27c], edi
call fcn.0041e960
test al, al
jne 0x4145d4
push 0x8007000e
call fcn.004036b0
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x4145ed
push eax
mov ecx, str.x64_Signed_DriversProcObsrv.inf
call fcn.004037b0
mov byte [ebp - 4], 0x19
mov ebx, dword [ebp - 0x294]
inc ebx
mov dword [ebp - 0x294], ebx
cmp ebx, dword [ebp - 0x290]
jb 0x414622
mov eax, ebx
inc eax
lea esi, [ebp - 0x298]
call fcn.0041e960
test al, al
jne 0x414622
push 0x8007000e
call fcn.004036b0
mov eax, dword [ebp - 0x298]
lea eax, [eax + ebx*4]
mov byte [ebp - 4], 0x23
test eax, eax
je 0x41463e
push eax
mov ecx, 0x452ac8
call fcn.004037b0
mov byte [ebp - 4], 0x19
mov ebx, dword [ebp - 0x294]
inc ebx
mov dword [ebp - 0x294], ebx
cmp ebx, dword [ebp - 0x290]
jb 0x414673
mov eax, ebx
inc eax
lea esi, [ebp - 0x298]
call fcn.0041e960
test al, al
jne 0x414673
push 0x8007000e
call fcn.004036b0
mov ecx, dword [ebp - 0x298]
lea eax, [ecx + ebx*4]
mov byte [ebp - 4], 0x24
test eax, eax
je 0x41468f
push eax
mov ecx, 0x452b10
call fcn.004037b0
mov byte [ebp - 4], 0x19
mov ebx, dword [ebp - 0x294]
inc ebx
mov dword [ebp - 0x294], ebx
cmp ebx, dword [ebp - 0x290]
jb 0x4146c4
mov eax, ebx
inc eax
lea esi, [ebp - 0x298]
call fcn.0041e960
test al, al
jne 0x4146c4
push 0x8007000e
call fcn.004036b0
mov edx, dword [ebp - 0x298]
lea eax, [edx + ebx*4]
mov byte [ebp - 4], 0x25
test eax, eax
je 0x4146e0
push eax
mov ecx, str.sstray64.exe
call fcn.004037b0
mov byte [ebp - 4], 0x19
mov ebx, dword [ebp - 0x294]
inc ebx
mov dword [ebp - 0x294], ebx
cmp ebx, dword [ebp - 0x290]
jb 0x414715
mov eax, ebx
inc eax
lea esi, [ebp - 0x298]
call fcn.0041e960
test al, al
jne 0x414715
push 0x8007000e
call fcn.004036b0
mov eax, dword [ebp - 0x298]
lea eax, [eax + ebx*4]
mov byte [ebp - 4], 0x26
test eax, eax
je 0x414b82
mov ecx, 0x452b48
jmp 0x414b7c
call fcn.0041e960
test al, al
jne 0x414747
push 0x8007000e
call fcn.004036b0
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x280]
cmp eax, edi
je 0x414760
push eax
mov ecx, str.x64_Signed_Driverscapturefilemonitor64.cat
call fcn.004037b0
mov byte [ebp - 4], 0x19
mov edi, dword [ebp - 0x27c]
inc edi
mov dword [ebp - 0x27c], edi
mov ebx, edi
cmp edi, dword [ebp - 0x278]
jb 0x41479d
lea eax, [edi + 1]
lea esi, [ebp - 0x280]
call fcn.0041e960
test al, al
jne 0x414797
push 0x8007000e
call fcn.004036b0
mov edi, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x280]
lea eax, [ecx + ebx*4]
mov byte [ebp - 4], 0x28
test eax, eax
je 0x4147b9
push eax
mov ecx, str.x64_Signed_DriversCaptureFileMonitor64.sys
call fcn.004037b0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x27c], edi
mov ebx, edi
cmp edi, dword [ebp - 0x278]
jb 0x4147f0
lea eax, [edi + 1]
lea esi, [ebp - 0x280]
call fcn.0041e960
test al, al
jne 0x4147ea
push 0x8007000e
call fcn.004036b0
mov edi, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x280]
lea eax, [edx + ebx*4]
mov byte [ebp - 4], 0x29
test eax, eax
je 0x41480c
push eax
mov ecx, 0x452b10
call fcn.004037b0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x27c], edi
mov ebx, edi
cmp edi, dword [ebp - 0x278]
jb 0x414843
lea eax, [edi + 1]
lea esi, [ebp - 0x280]
call fcn.0041e960
test al, al
jne 0x41483d
push 0x8007000e
call fcn.004036b0
mov edi, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x280]
lea eax, [eax + ebx*4]
mov byte [ebp - 4], 0x2a
test eax, eax
je 0x41485f
push eax
mov ecx, str.x64_Signed_DriversFileMonitorInstallation64.inf
call fcn.004037b0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x27c], edi
mov ebx, edi
cmp edi, dword [ebp - 0x278]
jb 0x414896
lea eax, [edi + 1]
lea esi, [ebp - 0x280]
call fcn.0041e960
test al, al
jne 0x414890
push 0x8007000e
call fcn.004036b0
mov edi, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x280]
lea eax, [ecx + ebx*4]
mov byte [ebp - 4], 0x2b
test eax, eax
je 0x4148b2
push eax
mov ecx, 0x452ac8
call fcn.004037b0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x27c], edi
mov ebx, edi
cmp edi, dword [ebp - 0x278]
jb 0x4148e9
lea eax, [edi + 1]
lea esi, [ebp - 0x280]
call fcn.0041e960
test al, al
jne 0x4148e3
push 0x8007000e
call fcn.004036b0
mov edi, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x280]
lea eax, [edx + ebx*4]
mov byte [ebp - 4], 0x2c
test eax, eax
je 0x414905
push eax
mov ecx, str.x64_Signed_DriversProcObsrv64.inf
call fcn.004037b0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x27c], edi
mov ebx, edi
cmp edi, dword [ebp - 0x278]
jb 0x41493c
lea eax, [edi + 1]
lea esi, [ebp - 0x280]
call fcn.0041e960
test al, al
jne 0x414936
push 0x8007000e
call fcn.004036b0
mov edi, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x280]
lea eax, [eax + ebx*4]
mov byte [ebp - 4], 0x2d
test eax, eax
je 0x414958
push eax
mov ecx, str.sstray64.exe
call fcn.004037b0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x27c], edi
mov ebx, edi
cmp edi, dword [ebp - 0x278]
jb 0x41498f
lea eax, [edi + 1]
lea esi, [ebp - 0x280]
call fcn.0041e960
test al, al
jne 0x414989
push 0x8007000e
call fcn.004036b0
mov edi, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x280]
lea eax, [ecx + ebx*4]
mov byte [ebp - 4], 0x2e
test eax, eax
je 0x4149ab
push eax
mov ecx, 0x452b48
call fcn.004037b0
mov byte [ebp - 4], 0x19
inc edi
mov eax, 1
lea esi, [ebp - 0x298]
mov dword [ebp - 0x27c], edi
call fcn.0041e960
test al, al
jne 0x4149d4
push 0x8007000e
call fcn.004036b0
mov byte [ebp - 4], 0x2f
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x4149ed
push eax
mov ecx, 0x452990
call fcn.004037b0
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x294]
inc eax
mov dword [ebp - 0x294], eax
mov ebx, eax
cmp eax, dword [ebp - 0x290]
jb 0x414a22
inc eax
lea esi, [ebp - 0x298]
call fcn.0041e960
test al, al
jne 0x414a22
push 0x8007000e
call fcn.004036b0
mov edx, dword [ebp - 0x298]
lea eax, [edx + ebx*4]
mov byte [ebp - 4], 0x30
test eax, eax
je 0x414a3e
push eax
mov ecx, str.HideAgent.dll
call fcn.004037b0
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x294]
inc eax
mov dword [ebp - 0x294], eax
mov ebx, eax
cmp eax, dword [ebp - 0x290]
jb 0x414a73
inc eax
lea esi, [ebp - 0x298]
call fcn.0041e960
test al, al
jne 0x414a73
push 0x8007000e
call fcn.004036b0
mov eax, dword [ebp - 0x298]
lea eax, [eax + ebx*4]
mov byte [ebp - 4], 0x31
test eax, eax
je 0x414a8f
push eax
mov ecx, 0x452a1c
call fcn.004037b0
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x294]
inc eax
mov dword [ebp - 0x294], eax
mov ebx, eax
cmp eax, dword [ebp - 0x290]
jb 0x414ac4
inc eax
lea esi, [ebp - 0x298]
call fcn.0041e960
test al, al
jne 0x414ac4
push 0x8007000e
call fcn.004036b0
mov ecx, dword [ebp - 0x298]
lea eax, [ecx + ebx*4]
mov byte [ebp - 4], 0x32
test eax, eax
je 0x414ae0
push eax
mov ecx, 0x452a00
call fcn.004037b0
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x294]
inc eax
mov dword [ebp - 0x294], eax
mov ebx, eax
cmp eax, dword [ebp - 0x290]
jb 0x414b15
inc eax
lea esi, [ebp - 0x298]
call fcn.0041e960
test al, al
jne 0x414b15
push 0x8007000e
call fcn.004036b0
mov edx, dword [ebp - 0x298]
lea eax, [edx + ebx*4]
mov byte [ebp - 4], 0x33
test eax, eax
je 0x414b31
push eax
mov ecx, 0x452a38
call fcn.004037b0
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x294]
inc eax
mov dword [ebp - 0x294], eax
mov ebx, eax
cmp eax, dword [ebp - 0x290]
jb 0x414b66
inc eax
lea esi, [ebp - 0x298]
call fcn.0041e960
test al, al
jne 0x414b66
push 0x8007000e
call fcn.004036b0
mov eax, dword [ebp - 0x298]
lea eax, [eax + ebx*4]
mov byte [ebp - 4], 0x34
test eax, eax
je 0x414b82
mov ecx, 0x452a50
push eax
call fcn.004037b0
mov byte [ebp - 4], 0x19
inc dword [ebp - 0x294]
xor esi, esi
mov edi, edi
cmp esi, edi
jae 0x414cd1
mov ecx, dword [ebp - 0x280]
lea eax, [ecx + esi*4]
push eax
lea edx, [ebp - 0x2d0]
push edx
mov ebx, 0x460238
call fcn.0040bd10
mov eax, dword [eax]
or dword [ebp - 0x29c], 1
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x414bd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x414bd9
mov bl, 1
jmp 0x414bdb
xor bl, bl
test byte [ebp - 0x29c], 1
je 0x414c0d
mov eax, dword [ebp - 0x2d0]
and dword [ebp - 0x29c], 0xfffffffe
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x414c3d
mov ebx, dword [0x45f3ec]
cmp dword [ebx - 0xc], 0
je 0x414c3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1e0
push str.CInstaller::InstallAgent
mov edx, str.Installer.cpp
mov ecx, ebx
call fcn.00403b50
add esp, 0xc
cmp byte [ebp + 8], 0
jne 0x414ccb
mov ecx, dword [0x45f350]
test ecx, ecx
je 0x414ccb
mov edx, esi
mov dword [ebp - 0x2a8], edx
fild dword [ebp - 0x2a8]
push 0
test edx, edx
jns 0x414c6b
fadd qword [0x454928]
fmul qword [0x454958]
mov eax, edi
mov dword [ebp - 0x2a8], eax
fild dword [ebp - 0x2a8]
test eax, eax
jns 0x414c89
fadd qword [0x454928]
fdivp st(1)
fnstcw word [ebp - 0x282]
movzx eax, word [ebp - 0x282]
or eax, 0xc00
mov dword [ebp - 0x2c0], eax
fldcw word [ebp - 0x2c0]
fistp qword [ebp - 0x2ac]
mov edx, dword [ebp - 0x2ac]
add edx, 5
push edx
push 0x800d
fldcw word [ebp - 0x282]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
inc esi
jmp 0x414b90
xor eax, eax
mov dword [ebp - 0x2a0], eax
lea esp, [esp]
cmp eax, dword [ebp - 0x294]
jae 0x414fc1
mov ecx, dword [ebp - 0x298]
lea esi, [ecx + eax*4]
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, dword [0x45d48c]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 0x35
test edi, edi
je 0x414d45
test edi, 0xffff0000
jne 0x414d49
movzx edi, di
call fcn.004032e0
test eax, eax
je 0x414d6e
push eax
mov eax, edi
lea edi, [ebp - 0x29c]
call fcn.00403490
jmp 0x414d6e
xor eax, eax
jmp 0x414d5f
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414d50
sub eax, edx
sar eax, 1
push edi
lea ecx, [ebp - 0x29c]
push ecx
mov ebx, eax
call fcn.004036d0
lea edx, [ebp - 0x29c]
push edx
lea eax, [ebp - 0x2c0]
push eax
lea ebx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x36
call fcn.0040bd10
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x2c0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414db9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x29c]
push ecx
lea edx, [ebp - 0x338]
push edx
lea ebx, [ebp - 0x2a4]
call fcn.0040bd10
add esp, 8
mov edi, eax
lea eax, [ebp - 0x2cc]
push esi
push eax
mov ebx, 0x460238
mov byte [ebp - 4], 0x37
call fcn.0040bd10
mov ecx, dword [edi]
mov eax, dword [eax]
add esp, 8
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
mov eax, dword [ebp - 0x2cc]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414e25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x36
mov eax, dword [ebp - 0x338]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414e4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x414f08
mov edi, dword [0x45f3ec]
cmp dword [edi - 0xc], 0
je 0x414e7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1f1
push str.CInstaller::InstallAgent
mov edx, str.Installer.cpp
mov ecx, edi
call fcn.00403b50
add esp, 0xc
lea ecx, [ebp - 0x270]
push esi
push ecx
mov ebx, 0x460238
call fcn.0040bd10
add esp, 8
mov byte [ebp - 4], 0x38
mov edx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x2a4]
push edx
push eax
push str._to__s_s
lea edi, [ebp - 0x270]
call fcn.00402cc0
mov edx, dword [0x45f3ec]
add esp, 0xc
cmp dword [edx - 0xc], 0
je 0x414ee2
mov ecx, dword [ebp - 0x270]
push 0x1f4
push str.CInstaller::InstallAgent
push str.Installer.cpp
call fcn.00403d90
add esp, 0xc
mov byte [ebp - 4], 0x36
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414f08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp + 8], 0
jne 0x414f8a
mov ecx, dword [0x45f350]
test ecx, ecx
je 0x414f8a
mov edx, dword [ebp - 0x2a0]
fild dword [ebp - 0x2a0]
push 0
test edx, edx
jns 0x414f30
fadd qword [0x454928]
mov eax, dword [ebp - 0x294]
fadd st(0), st(0)
fild dword [ebp - 0x294]
test eax, eax
jns 0x414f48
fadd qword [0x454928]
fdivp st(1)
fnstcw word [ebp - 0x282]
movzx eax, word [ebp - 0x282]
or eax, 0xc00
mov dword [ebp - 0x2a8], eax
fldcw word [ebp - 0x2a8]
fistp qword [ebp - 0x2ac]
mov edx, dword [ebp - 0x2ac]
add edx, 8
push edx
push 0x800d
fldcw word [ebp - 0x282]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x29c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414fb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc dword [ebp - 0x2a0]
mov eax, dword [ebp - 0x2a0]
jmp 0x414ce0
cmp byte [ebp + 8], 0
jne 0x4150a5
mov eax, dword [0x45f350]
test eax, eax
je 0x414ffb
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0xa
push 0x800d
push eax
call esi
mov eax, dword [0x45f350]
test eax, eax
je 0x414ffb
push 0
push 3
push 0x800e
push eax
call esi
mov ecx, dword [ebp - 0x2b4]
mov eax, dword [ecx + 0x78]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4150a5
mov eax, dword [0x45d48c]
lea edx, [ebp - 0x314]
mov dword [ebp - 0x2a8], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
mov byte [ebp - 0x31c], 1
call edx
add eax, 0x10
mov dword [ebp - 0x314], eax
mov eax, str.Agent_install_terminated
mov byte [ebp - 4], 0x39
test eax, 0xffff0000
jne 0x41506e
mov ecx, eax
movzx edi, cx
call fcn.004032e0
test eax, eax
je 0x415084
push eax
mov eax, edi
lea edi, [ebp - 0x314]
call fcn.00403490
jmp 0x415084
push str.Agent_install_terminated
lea edx, [ebp - 0x314]
push edx
mov ebx, 0x18
call fcn.004036d0
mov byte [ebp - 4], 0x19
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x318], eax
push 0x45684c
lea eax, [ebp - 0x31c]
push eax
call fcn.00433e48
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 0x3a
mov edi, dword [0x460238]
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi - 4], 0
lea ecx, [edi - 4]
jl 0x4150ee
cmp eax, dword [edi - 0x10]
jne 0x4150ee
lea esi, [edi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x415127
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x415107
call fcn.00403620
mov eax, dword [edi - 0xc]
mov dword [esi + 4], eax
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [esi + 0x10]
push eax
call fcn.0042d7c7
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x29c], esi
mov byte [ebp - 4], 0x3b
cmp dword [0x45f3e8], 0
je 0x4151c8
mov ebx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov edi, str.x64_Signed_Drivers_
mov dword [ebp - 0x270], edi
mov dword [ebp - 0x288], ebx
add ebx, 0x13
mov ecx, 1
sub ecx, dword [esi - 4]
sub edi, esi
sub eax, ebx
sar edi, 1
or eax, ecx
jge 0x415180
mov ecx, ebx
lea eax, [ebp - 0x29c]
call fcn.00403660
mov esi, dword [ebp - 0x29c]
cmp edi, dword [ebp - 0x288]
ja 0x415191
lea ecx, [esi + edi*2]
mov dword [ebp - 0x270], ecx
mov edx, dword [ebp - 0x270]
mov eax, dword [ebp - 0x288]
push 0x26
push edx
lea ecx, [esi + eax*2]
push 0x26
push ecx
call fcn.0042d7c7
add esp, 0x10
test ebx, ebx
js 0x413978
cmp ebx, dword [esi - 8]
jg 0x413978
xor edx, edx
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], dx
push esi
push str._F__LM__SW__SA__PATH___sFileDrv_
lea edi, [ebp - 0x284]
call fcn.00403fb0
mov edi, dword [ebp - 0x284]
mov ebx, dword [edi - 0xc]
mov eax, dword [edi - 8]
dec ebx
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
add esp, 8
or eax, ecx
jge 0x41520a
mov ecx, ebx
lea eax, [ebp - 0x284]
call fcn.00403660
mov edi, dword [ebp - 0x284]
test ebx, ebx
js 0x413978
cmp ebx, dword [edi - 8]
jg 0x413978
mov dword [edi - 0xc], ebx
xor eax, eax
mov word [edi + ebx*2], ax
mov esi, dword [edi - 0xc]
mov eax, dword [edi - 8]
mov ebx, 0x452d64
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x288], esi
inc esi
mov ecx, 1
sub ecx, dword [edi - 4]
sub ebx, edi
sub eax, esi
sar ebx, 1
or eax, ecx
jge 0x415261
mov ecx, esi
lea eax, [ebp - 0x284]
call fcn.00403660
mov edi, dword [ebp - 0x284]
cmp ebx, dword [ebp - 0x288]
ja 0x415272
lea ecx, [edi + ebx*2]
mov dword [ebp - 0x270], ecx
mov edx, dword [ebp - 0x270]
mov eax, dword [ebp - 0x288]
push 2
push edx
lea ecx, [edi + eax*2]
push 2
push ecx
call fcn.0042d7c7
xor ebx, ebx
add esp, 0x10
cmp esi, ebx
jl 0x413978
cmp esi, dword [edi - 8]
jg 0x413978
xor edx, edx
mov dword [edi - 0xc], esi
push 2
mov word [edi + esi*2], dx
call dword [sym.imp.ADVAPI32.dll_ImpersonateSelf]
test eax, eax
je 0x415507
lea eax, [ebp - 0x270]
push eax
push ebx
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x415501
mov edx, dword [ebp - 0x270]
lea ecx, [ebp - 0x2a0]
push ecx
push 1
push 2
push ebx
push 0x2000000
push edx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x4155f3
push 0x44
lea eax, [ebp - 0x3ec]
push ebx
push eax
call fcn.004308f0
mov ecx, dword [ebp - 0x2a0]
add esp, 0xc
push ebx
xor eax, eax
push ecx
lea edx, [ebp - 0x288]
push edx
mov dword [ebp - 0x3ec], 0x44
mov dword [ebp - 0x3e4], 0x452d68
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x288], ebx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x415413
mov eax, dword [ebp - 0x2a0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x270]
push ecx
call esi
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [0x45d48c]
lea edx, [ebp - 0x320]
mov dword [ebp - 0x2a8], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
mov byte [ebp - 0x328], bl
call edx
add eax, 0x10
mov dword [ebp - 0x320], eax
mov eax, str.Failed_to_CreateEnvironmentBlock
mov byte [ebp - 4], 0x3c
test eax, 0xffff0000
jne 0x4153dc
mov ecx, eax
movzx edi, cx
call fcn.004032e0
cmp eax, ebx
je 0x4153f2
push eax
mov eax, edi
lea edi, [ebp - 0x320]
call fcn.00403490
jmp 0x4153f2
push str.Failed_to_CreateEnvironmentBlock
lea edx, [ebp - 0x320]
push edx
mov ebx, 0x20
call fcn.004036d0
mov byte [ebp - 4], 0x3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x324], eax
push 0x45684c
lea eax, [ebp - 0x328]
push eax
call fcn.00433e48
cmp dword [0x45f3e8], ebx
mov ebx, 0x452dcc
jne 0x415425
mov ebx, 0x452dec
lea ecx, [ebp - 0x2a8]
push 0x460238
push ecx
call fcn.00406e80
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0x3d
cmp dword [edi - 4], 1
jle 0x41545b
mov edx, dword [edi - 0xc]
push edx
lea eax, [ebp - 0x284]
push eax
call fcn.00403590
mov edi, dword [ebp - 0x284]
mov eax, dword [esi]
lea ecx, [ebp - 0x2e0]
push ecx
mov ecx, dword [ebp - 0x288]
lea edx, [ebp - 0x3ec]
push edx
mov edx, dword [ebp - 0x2a0]
push 0
push ecx
push 0x428
push 0
push 0
push 0
push edi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov byte [ebp - 4], 0x3b
mov eax, dword [ebp - 0x2a8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4154b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4155be
mov eax, dword [ebp - 0x2dc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4154d1
push eax
call esi
mov ecx, dword [ebp - 0x2a0]
push ecx
call esi
mov edx, dword [ebp - 0x270]
push edx
call esi
mov eax, dword [ebp - 0x2e0]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x288]
push ecx
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
cmp byte [ebp + 8], 0
jne 0x4156bb
mov eax, dword [0x45f350]
cmp eax, ebx
je 0x41553f
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0x19
push 0x800d
push eax
call esi
mov eax, dword [0x45f350]
cmp eax, ebx
je 0x41553f
push ebx
push 5
push 0x800e
push eax
call esi
mov edx, dword [ebp - 0x2b4]
mov eax, dword [edx + 0x78]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4156bb
mov edx, dword [0x45d48c]
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x2a8], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
mov byte [ebp - 0x334], 1
call eax
add eax, 0x10
mov dword [ebp - 0x32c], eax
mov ecx, str.Agent_install_terminated
mov byte [ebp - 4], 0x3f
test ecx, 0xffff0000
jne 0x415684
mov edx, ecx
movzx edi, dx
call fcn.004032e0
cmp eax, ebx
je 0x41569a
push eax
mov eax, edi
lea edi, [ebp - 0x32c]
call fcn.00403490
jmp 0x41569a
lea edx, [ebp - 0x33c]
push edx
mov ecx, str.Failed_to_install_file_driver
mov byte [ebp - 0x344], 0
call fcn.004037b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x340], eax
push 0x45684c
lea eax, [ebp - 0x344]
push eax
call fcn.00433e48
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 0x2a8], ecx
mov ecx, 0x45d48c
mov byte [ebp - 0x304], bl
call eax
add eax, 0x10
mov dword [ebp - 0x2fc], eax
mov ecx, str.Failed_to_DuplicateTokenEx
mov byte [ebp - 4], 0x3e
test ecx, 0xffff0000
jne 0x41564d
mov edx, ecx
movzx edi, dx
call fcn.004032e0
cmp eax, ebx
je 0x415663
push eax
mov eax, edi
lea edi, [ebp - 0x2fc]
call fcn.00403490
jmp 0x415663
push str.Failed_to_DuplicateTokenEx
lea eax, [ebp - 0x2fc]
push eax
mov ebx, 0x1a
call fcn.004036d0
mov byte [ebp - 4], 0x3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x45684c
lea ecx, [ebp - 0x304]
push ecx
mov dword [ebp - 0x300], eax
call fcn.00433e48
push str.Agent_install_terminated
lea eax, [ebp - 0x32c]
push eax
mov ebx, 0x18
call fcn.004036d0
mov byte [ebp - 4], 0x3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x45684c
lea ecx, [ebp - 0x334]
push ecx
mov dword [ebp - 0x330], eax
call fcn.00433e48
mov dword [ebp - 0x2dc], ebx
mov dword [ebp - 0x2d8], ebx
mov dword [ebp - 0x2d4], ebx
mov byte [ebp - 4], 0x40
mov eax, str.AE900510D23BBD11317C86B1A980FE1E91C8419F
cmp dword [0x45f3e8], ebx
jne 0x4156e3
mov eax, str.2F89A14A9AE620E7F994682401311C26CB4788FD
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
lea edi, [ebp - 0x284]
call fcn.00403fb0
mov eax, dword [0x45d530]
mov ecx, dword [ebp - 0x284]
add esp, 8
lea edx, [ebp - 0x270]
push edx
push eax
push ebx
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x270], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x415760
mov edi, dword [ebp - 0x270]
mov dword [ebp - 0x2dc], edi
cmp edi, ebx
je 0x415760
push 4
lea edx, [ebp - 0x2a8]
push edx
push 4
push ebx
push str.SystemComponent
push edi
mov dword [ebp - 0x2a8], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2dc], ebx
cmp dword [0x45f370], ebx
je 0x415772
call fcn.00405a30
call fcn.004058d0
cmp dword [0x45f3e8], ebx
mov ebx, str.sstray64.exe
jne 0x415784
mov ebx, 0x452a38
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x2a8]
push ecx
call fcn.00406e80
add esp, 8
mov byte [ebp - 4], 0x41
mov eax, dword [eax]
push eax
mov ecx, str.Time_Control_Service
push 0
mov edx, ecx
call fcn.0040d8b0
mov esi, eax
mov byte [ebp - 4], 0x40
mov eax, dword [ebp - 0x2a8]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4157da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x41587a
cmp esi, 0x431
je 0x41587a
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 0x2a8], ecx
mov ecx, 0x45d48c
mov byte [ebp - 0x2ec], 0
call eax
add eax, 0x10
mov dword [ebp - 0x2e4], eax
mov ecx, str.Failed_to_install_agent_service
mov byte [ebp - 4], 0x42
test ecx, 0xffff0000
jne 0x415849
mov edx, ecx
movzx edi, dx
call fcn.004032e0
test eax, eax
je 0x41585f
push eax
mov eax, edi
lea edi, [ebp - 0x2e4]
call fcn.00403490
jmp 0x41585f
push str.Failed_to_install_agent_service
lea eax, [ebp - 0x2e4]
push eax
mov ebx, 0x1f
call fcn.004036d0
push 0x45684c
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 0x40
push ecx
mov dword [ebp - 0x2e8], esi
call fcn.00433e48
mov bl, byte [ebp + 8]
test bl, bl
jne 0x415961
mov eax, dword [0x45f350]
test eax, eax
je 0x4158b5
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x23
push 0x800d
push eax
call edi
mov eax, dword [0x45f350]
test eax, eax
je 0x4158b5
push 0
push 0
push 0x800e
push eax
call edi
mov edx, dword [ebp - 0x2b4]
mov eax, dword [edx + 0x78]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x415961
mov edx, dword [0x45d48c]
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x2a8], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
mov byte [ebp - 0x2f8], 1
call eax
add eax, 0x10
mov dword [ebp - 0x2f0], eax
mov ecx, str.Agent_install_terminated
mov byte [ebp - 4], 0x43
test ecx, 0xffff0000
jne 0x41592a
mov edx, ecx
movzx edi, dx
call fcn.004032e0
test eax, eax
je 0x415940
push eax
mov eax, edi
lea edi, [ebp - 0x2f0]
call fcn.00403490
jmp 0x415940
push str.Agent_install_terminated
lea eax, [ebp - 0x2f0]
push eax
mov ebx, 0x18
call fcn.004036d0
mov byte [ebp - 4], 0x40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x45684c
lea ecx, [ebp - 0x2f8]
push ecx
mov dword [ebp - 0x2f4], eax
call fcn.00433e48
call fcn.0040dbb0
mov esi, eax
test esi, esi
je 0x415a06
cmp esi, 0x420
je 0x415a06
mov eax, dword [0x45d48c]
lea edx, [ebp - 0x308]
mov dword [ebp - 0x2a8], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
mov byte [ebp - 0x310], 0
call edx
add eax, 0x10
mov dword [ebp - 0x308], eax
mov eax, str.Failed_to_start_agent_service
mov byte [ebp - 4], 0x44
test eax, 0xffff0000
jne 0x4159d5
mov ecx, eax
movzx edi, cx
call fcn.004032e0
test eax, eax
je 0x4159eb
push eax
mov eax, edi
lea edi, [ebp - 0x308]
call fcn.00403490
jmp 0x4159eb
push str.Failed_to_start_agent_service
lea edx, [ebp - 0x308]
push edx
mov ebx, 0x1d
call fcn.004036d0
push 0x45684c
lea eax, [ebp - 0x310]
mov byte [ebp - 4], 0x40
push eax
mov dword [ebp - 0x30c], esi
call fcn.00433e48
test bl, bl
jne 0x415a1d
mov ecx, dword [ebp - 0x2b4]
push 8
push ecx
mov ecx, 0x5a
call fcn.00413710
cmp dword [0x45f3e8], 0
mov eax, str.sstray64.exe
jne 0x415a30
mov eax, 0x452a38
push eax
push str.SYSTEMCurrentControlSetServices_sParameters
lea edi, [ebp - 0x284]
call fcn.00403fb0
mov esi, dword [ebp - 0x284]
add esp, 8
lea edx, [ebp - 0x270]
push edx
push 0x20006
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x270], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415a97
mov ecx, dword [ebp - 0x2dc]
test ecx, ecx
je 0x415a83
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x270]
mov dword [ebp - 0x2dc], ecx
test eax, eax
je 0x415b28
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x270], edi
mov byte [ebp - 4], 0x45
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
je 0x415b08
call ebx
push eax
push str.Failed_to_write_registry__error__d
lea edi, [ebp - 0x270]
call fcn.00403fb0
add esp, 8
lea ecx, [ebp - 0x360]
push ecx
mov ecx, dword [ebp - 0x270]
mov byte [ebp - 0x368], 0
call fcn.004037b0
call ebx
push 0x45684c
lea edx, [ebp - 0x368]
push edx
mov dword [ebp - 0x364], eax
call fcn.00433e48
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x40
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415b28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x2a8]
push ecx
call fcn.00415e70
add esp, 4
mov byte [ebp - 4], 0x46
mov edi, dword [eax]
xor eax, eax
test edi, edi
setne al
test eax, eax
jne 0x415b52
push 0x80004005
call fcn.004036b0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push edi
mov edi, dword [ebp - 0x2dc]
push 1
push 0
push str.Version
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0x40
mov eax, dword [ebp - 0x2a8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415b9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp + 8], 0
jne 0x415bb4
mov ecx, dword [ebp - 0x2b4]
push 0
push ecx
mov ecx, 0x64
call fcn.00413710
test edi, edi
je 0x415bbf
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0x3a
mov eax, dword [ebp - 0x29c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415be5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x19
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415c05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x298]
push ecx
call fcn.0041dc40
lea edx, [ebp - 0x280]
push edx
call fcn.0041dc40
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2b8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415c43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2b0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415c69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415c8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2a4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415cb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415cde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x415d80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0042d4af
mov esp, ebp
pop ebp
ret 4