Function at 0x45e5c0
Capabilities:
Contain obfuscated stackstrings
Create directory
Parse pe header
Persist via windows service
Resolve function by parsing pe exports
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563352
mov eax, dword fs:[0]
push eax
sub esp, 0x93c
mov eax, dword [0x5b3680]
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 edi, ecx
mov dword [ebp - 0x948], edi
mov dword [edi], vtable.CRCServer.0
mov dword [edi + 8], 0xffffffff
lea ebx, [edi + 0x1c]
mov dword [ebp - 0x93c], ebx
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e62b
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 1
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [ebp - 4], 2
lea esi, [edi + 0x34]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e67a
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 4
lea esi, [edi + 0x38]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e6ad
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 6
lea esi, [edi + 0x3c]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e6e0
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 8
lea esi, [edi + 0x40]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e713
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xa
lea esi, [edi + 0x44]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e746
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xc
lea esi, [edi + 0x48]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e779
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xe
lea esi, [edi + 0x4c]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e7ac
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x10
lea esi, [edi + 0x50]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e7df
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x12
lea esi, [edi + 0x54]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e812
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x14
lea esi, [edi + 0x58]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e845
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x16
lea esi, [edi + 0x5c]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e878
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x18
lea esi, [edi + 0x60]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e8ab
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1a
lea esi, [edi + 0x64]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e8de
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1c
lea esi, [edi + 0x68]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e911
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1e
lea esi, [edi + 0x6c]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e944
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x20
lea esi, [edi + 0x70]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e977
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x22
lea esi, [edi + 0x74]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e9aa
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x24
lea esi, [edi + 0x78]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45e9dd
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x26
lea esi, [edi + 0x7c]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45ea10
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x28
lea esi, [edi + 0x80]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45ea46
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x2a
lea esi, [edi + 0x84]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45ea7c
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x2c
lea esi, [edi + 0x88]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45eab2
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x2e
lea esi, [edi + 0x8c]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45eae8
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x30
lea esi, [edi + 0x90]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45eb1e
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x32
lea esi, [edi + 0x94]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45eb54
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x34
lea esi, [edi + 0x98]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45eb8a
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x36
lea esi, [edi + 0x9c]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45ebc0
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x38
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
lea ecx, [edi + 0xb0]
mov dword [ecx], 0
push 0
call fcn.004fb820
mov byte [ebp - 4], 0x39
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
lea esi, [edi + 0xdc]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45ec67
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x3b
mov dword [edi + 0xe4], 0
lea esi, [edi + 0x108]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45eca7
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x3d
lea esi, [edi + 0x10c]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45ecdd
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x3f
lea eax, [edi + 0x110]
mov dword [ebp - 0x93c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 0x40
mov word [eax + 0x24], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x10], 0
mov byte [ebp - 4], 0x41
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov byte [ebp - 4], 0x42
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x14c], 0
mov byte [ebp - 4], 0x43
mov dword [edi + 0x150], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x158], 0
mov byte [ebp - 4], 0x44
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0
mov byte [ebp - 4], 0x45
lea esi, [edi + 0x16c]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45ede5
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x47
mov dword [edi + 0x170], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0
mov byte [ebp - 4], 0x48
lea esi, [edi + 0x17c]
mov dword [ebp - 0x93c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45ee3d
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x4a
lea ecx, [edi + 0x188]
call fcn.0045a9f0
mov byte [ebp - 4], 0x4b
lea ecx, [edi + 0xfa8]
mov dword [ebp - 0x93c], ecx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
xor eax, eax
mov word [ecx], ax
mov byte [ebp - 4], 0x4c
push eax
push 0x581a44
call fcn.00413ad0
mov byte [ebp - 4], 0x4d
lea ecx, [edi + 0xfc0]
mov dword [ebp - 0x93c], ecx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
xor eax, eax
mov word [ecx], ax
mov byte [ebp - 4], 0x4e
push eax
push 0x581a44
call fcn.00413ad0
mov byte [ebp - 4], 0x4f
lea ecx, [edi + 0xfd8]
mov dword [ebp - 0x93c], ecx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
xor eax, eax
mov word [ecx], ax
mov byte [ebp - 4], 0x50
push eax
push 0x581a44
call fcn.00413ad0
mov byte [ebp - 4], 0x51
lea ecx, [edi + 0xff0]
mov dword [ebp - 0x93c], ecx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
xor eax, eax
mov word [ecx], ax
mov byte [ebp - 4], 0x52
push eax
push 0x581a44
call fcn.00413ad0
mov byte [ebp - 4], 0x53
mov dword [edi + 0x1408], 0
lea esi, [edi + 0x1410]
mov dword [ebp - 0x93c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00474f80
mov dword [esi], eax
mov byte [ebp - 4], 0x58
mov dword [edi + 0x1418], 0
mov dword [edi + 0x141c], 0
mov dword [edi + 0x1420], 0
mov byte [ebp - 4], 0x59
lea ecx, [edi + 0x1424]
mov dword [ecx], 0
push str.PROCVECMTXAGZ
call fcn.004fb820
mov byte [ebp - 4], 0x5a
lea ecx, [edi + 0x1428]
mov dword [ecx], 0
push str.BWSITESMTXAGZ
call fcn.004fb820
mov byte [ebp - 4], 0x5b
lea ecx, [edi + 0x142c]
mov dword [ecx], 0
push str.BWPRCMTXAGZ
call fcn.004fb820
mov byte [ebp - 4], 0x5c
lea ecx, [edi + 0x1430]
mov dword [ecx], 0
push 0
call fcn.004fb820
mov byte [ebp - 4], 0x5d
lea ecx, [edi + 0x1434]
mov dword [ecx], 0
push str.SERVUSERSMTXAGZ
call fcn.004fb820
mov byte [ebp - 4], 0x5e
mov dword [edi + 0x1438], 0
mov dword [edi + 0x143c], 0
mov dword [edi + 0x1440], 0
mov byte [ebp - 4], 0x5f
mov dword [edi + 0x2464], 0
mov dword [edi + 0x246c], 0
mov dword [edi + 0x180], 0
push 0x11c
push 0
lea eax, [ebp - 0x938]
push eax
call fcn.00531bd0
add esp, 0xc
mov dword [ebp - 0x938], 0x11c
lea eax, [ebp - 0x938]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45f07a
mov al, byte [ebp - 0x81e]
cmp al, 3
je 0x45f070
cmp al, 2
jne 0x45f07a
mov dword [edi + 0x180], 1
mov dword [0x5ba1b0], edi
lea ecx, [ebp - 0x93c]
call fcn.00482490
mov byte [ebp - 4], 0x60
push eax
mov ecx, ebx
call fcn.00416320
mov byte [ebp - 4], 0x5f
mov edx, dword [ebp - 0x93c]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45f0bd
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push 0xc
push str.rcserver.log
lea ecx, [edi + 0x1c]
call fcn.00443ec0
lea ecx, [ebp - 0x940]
call fcn.00482350
mov byte [ebp - 4], 0x62
mov edx, 0x581a44
mov eax, dword [ebp - 0x940]
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x45f10e
test si, si
je 0x45f10a
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x45f10e
add ecx, 4
add edx, 4
test si, si
jne 0x45f0e8
xor ecx, ecx
jmp 0x45f113
sbb ecx, ecx
or ecx, 1
test ecx, ecx
setne cl
test cl, cl
je 0x45f3ff
push 0x584178
push eax
push 0x58bcd4
lea eax, [edi + 0x38]
push eax
call fcn.00415d20
push 0x584154
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x3c]
push eax
call fcn.00415d20
push 0x58414c
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x40]
push eax
call fcn.00415d20
push 0x584144
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x44]
push eax
call fcn.00415d20
add esp, 0x40
push 0x58413c
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x4c]
push eax
call fcn.00415d20
push 0x584134
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x48]
push eax
call fcn.00415d20
push 0x58412c
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x50]
push eax
call fcn.00415d20
push 0x584124
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x54]
push eax
call fcn.00415d20
add esp, 0x40
push 0x58411c
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x5c]
push eax
call fcn.00415d20
push 0x584114
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x58]
push eax
call fcn.00415d20
push 0x58410c
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x90]
push eax
call fcn.00415d20
push 0x584104
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x94]
push eax
call fcn.00415d20
add esp, 0x40
push 0x5840fc
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x60]
push eax
call fcn.00415d20
push 0x5840f4
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x64]
push eax
call fcn.00415d20
push 0x5840ec
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x68]
push eax
call fcn.00415d20
push 0x5840e4
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x6c]
push eax
call fcn.00415d20
add esp, 0x40
push 0x5840dc
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x70]
push eax
call fcn.00415d20
push 0x5840d4
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x74]
push eax
call fcn.00415d20
push 0x5840cc
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x78]
push eax
call fcn.00415d20
push 0x5840c4
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x7c]
push eax
call fcn.00415d20
add esp, 0x40
push 0x5840bc
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x80]
push eax
call fcn.00415d20
push 0x5840b4
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x84]
push eax
call fcn.00415d20
push 0x5840ac
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x34]
push eax
call fcn.00415d20
push 0x5840a4
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x88]
push eax
call fcn.00415d20
add esp, 0x40
push 0x58409c
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x8c]
push eax
call fcn.00415d20
push 0x584094
push dword [ebp - 0x940]
push 0x58bcd4
lea eax, [edi + 0x9c]
push eax
call fcn.00415d20
push 0x58408c
push dword [ebp - 0x940]
push 0x58bcd4
lea esi, [edi + 0x98]
push esi
call fcn.00415d20
add esp, 0x30
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ecx
lea esi, [edi + 0x188]
push esi
mov ecx, edi
call fcn.004691e0
test eax, eax
jne 0x45f421
mov ecx, edi
call fcn.004614b0
push esi
mov ecx, edi
call fcn.00469480
mov dword [0x5b4c50], 1
lea esi, [edi + 0x1008]
push 0x400
push 0
push esi
call fcn.00531bd0
add esp, 0xc
lea eax, [edi + 0x1408]
push eax
push esi
mov ecx, edi
call fcn.004698d0
push str.sstray.exe
push str.SYSTEMCurrentControlSetServices_sParameters
push 0x400
lea eax, [ebp - 0x818]
push eax
call fcn.0052df5e
add esp, 0x10
push 0
lea eax, [ebp - 0x944]
push eax
push 0
push 3
push 0
push 0
push 0
lea eax, [ebp - 0x818]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x45f4a3
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x45f53b
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45f4bf
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x93c], eax
mov byte [ebp - 4], 0x64
push 0x4e
push 7
push 5
push str._u._u._u
lea eax, [ebp - 0x93c]
push eax
call fcn.00415d20
add esp, 0x14
mov esi, dword [ebp - 0x93c]
mov eax, dword [esi - 0xc]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push str.Version
push dword [ebp - 0x944]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x944]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0x62
add esi, 0xfffffff0
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45f53b
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov byte [edi + 0xc8], 1
lea esi, [edi + 0xd8]
mov dword [esi], 0
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x93c], eax
test eax, eax
je 0x45f5a0
mov byte [ebp - 4], 0x66
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x93c]
mov dword [ebp - 4], 0x62
jmp 0x45f5a0
xor eax, eax
mov dword [edi + 0xf4], eax
mov word [edi + 0xf8], ax
mov dword [edi + 0x100], eax
mov word [edi + 0x104], ax
mov byte [ebp - 4], 0x5f
mov esi, dword [ebp - 0x940]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x45f5dd
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
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.005295e2
mov esp, ebp
pop ebp
ret