joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cd30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ef71
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x580280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x90
call fcn.0040ce10
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.0040cdf0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0040cdd0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0040cdb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x410500
Capabilities:
Create thread
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x224], ecx
call fcn.004058c0
mov ecx, eax
call fcn.00447800
mov dword [ebp - 0x21c], eax
mov byte [ebp - 0x218], 0
push 0x103
push 0
lea eax, [ebp - 0x217]
push eax
call fcn.00486c20
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
call fcn.0044a710
add esp, 8
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.00486c20
add esp, 0xc
push 0x54ab78
lea ecx, [ebp - 0x218]
push ecx
call fcn.00486b20
add esp, 8
lea edx, [ebp - 0x218]
push edx
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0x54ab88
push 0x54ab98
push 0x54aba8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x54abb4
mov ecx, dword [ebp - 0x224]
add ecx, 0x864
call fcn.00405fd0
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x224]
add ecx, 0x864
call fcn.00404280
push 0x54abbc
mov ecx, dword [ebp - 0x224]
add ecx, 0x864
call fcn.00404280
push 0
push 0
mov edx, dword [ebp - 0x224]
push edx
push 0x4115c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], 0x103
cmp dword [ebp - 4], 0x103
jne 0x410649
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x410622
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret
Function at 0x410cf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53dbc6
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
call fcn.004058c0
mov ecx, eax
call fcn.00447840
push eax
lea ecx, [ebp - 0x238]
call fcn.00401280
mov dword [ebp - 4], 0
push 0x54ac8c
lea ecx, [ebp - 0x238]
call fcn.004078c0
mov eax, dword [ebp - 0x23c]
mov ecx, dword [eax + 4]
push ecx
push 0x54ac9c
lea edx, [ebp - 0x21c]
push edx
call fcn.00487ebf
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.004078c0
lea ecx, [ebp - 0x238]
call fcn.004012c0
push eax
push 0x104
mov ecx, dword [ebp - 0x23c]
add ecx, 8
push ecx
push str.00.png
push 0x54acbc
push 0x54acd0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x238]
call fcn.004012c0
push eax
push 0x104
mov edx, dword [ebp - 0x23c]
add edx, 0x210
push edx
push 0x54acec
push str.TwoHis
push 0x54ad00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x238]
call fcn.004012c0
push eax
push 0x104
mov eax, dword [ebp - 0x23c]
add eax, 0x418
push eax
push 0x54ad1c
push str.ThreeHis
push 0x54ad34
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x238]
call fcn.004012c0
push eax
push 0x104
mov ecx, dword [ebp - 0x23c]
add ecx, 0x620
push ecx
push 0x54ad50
push str.FourHis
push 0x54ad64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00406040
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret
Function at 0x413e70
Capabilities:
Create thread
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x224], ecx
call fcn.004058c0
mov ecx, eax
call fcn.00447800
mov dword [ebp - 0x21c], eax
mov byte [ebp - 0x218], 0
push 0x103
push 0
lea eax, [ebp - 0x217]
push eax
call fcn.00486c20
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
call fcn.0044a710
add esp, 8
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.00486c20
add esp, 0xc
push 0x54b024
lea ecx, [ebp - 0x218]
push ecx
call fcn.00486b20
add esp, 8
lea edx, [ebp - 0x218]
push edx
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0x54b034
push 0x54b044
push 0x54b054
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x54b060
mov ecx, dword [ebp - 0x224]
add ecx, 0x64
call fcn.00405fd0
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x224]
add ecx, 0x64
call fcn.00404280
push 0x54b068
mov ecx, dword [ebp - 0x224]
add ecx, 0x64
call fcn.00404280
push 0
push 0
mov edx, dword [ebp - 0x224]
push edx
push 0x414a20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], 0x103
cmp dword [ebp - 4], 0x103
jne 0x413fb0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x413f89
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret
Function at 0x415760
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x18]
call fcn.00416270
test eax, eax
jne 0x415783
xor eax, eax
jmp 0x4158c1
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + 8]
push ecx
call fcn.0047b469
add esp, 4
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
jmp 0x4157b6
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx + 8]
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx + 8]
cmp edx, dword [ebp + 8]
jae 0x415866
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1c]
cmp dword [ecx + 4], 0
je 0x4157e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00415410
test eax, eax
jne 0x41581b
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0047b474
add esp, 4
xor eax, eax
jmp 0x4158c1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x1c]
cmp dword [edx + 4], 0
je 0x415861
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx]
jae 0x415850
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx]
sub edx, dword [ebp - 8]
mov dword [ebp - 0x24], edx
jmp 0x415857
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4157a7
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
sub ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
je 0x4158aa
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x20]
call fcn.00415410
test eax, eax
jne 0x4158aa
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0047b474
add esp, 4
xor eax, eax
jmp 0x4158c1
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0047b474
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4160a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
push 1
push 0x54b340
push 0x54b35c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
add edx, 0x10
push edx
push 0x2800
push str.UpdateSpeed
push 0x54b388
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 4]
add edx, 0x10
push edx
push 1
push 0x54b39c
push 0x54b3a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
add edx, 0x10
push edx
push 0xa
push str.RestrictDataTime
push str.UpdateSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret

Function at 0x416210
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00416370
test eax, eax
jne 0x416229
xor eax, eax
jmp 0x416262
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
push 0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x20000005
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x416260
mov eax, dword [ebp - 4]
jmp 0x416262
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4167b0
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x4167e3
mov ecx, dword [ebp - 4]
call fcn.00416e30
xor eax, eax
jmp 0x41686a
push 0
push 0
push 3
push 0
push 0
push 0x50
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x41681d
mov ecx, dword [ebp - 4]
call fcn.00416e30
xor eax, eax
jmp 0x41686a
push 0
push closesocket
push 0
push 0
push 0
mov eax, dword [ebp - 4]
add eax, 0x23c
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x214
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x416865
mov ecx, dword [ebp - 4]
call fcn.00416e30
xor eax, eax
jmp 0x41686a
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x416870
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00487780
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x40], 0x28
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 2
push 0
push 0
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4168f1
xor eax, eax
jmp 0x41695f
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0x400
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jge 0x416947
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WININET.dll_InternetWriteFile]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
jmp 0x41690c
push 2
push 0
push 0
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WININET.dll_HttpEndRequestW]
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x416f70
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x54b82c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x416f96
xor eax, eax
jmp 0x41705c
push str.GetNativeSystemInfo
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push 0x54b85c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push str.Wow64DisableWow64FsRedirection
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x54b88c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push str.GetSystemWow64DirectoryW
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push 0x54b8c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x417027
xor eax, eax
jmp 0x41705c
push 0x54b8e4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
push str.Wow64RevertWow64FsRedirection
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x41ef80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ef71
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x580280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0041f000
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0041f020
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.0041f040
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x90
call fcn.0041f060
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x421c60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f00b
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x438], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00487d3d
add esp, 4
mov dword [ebp - 0x42c], eax
xor ecx, ecx
mov word [ebp - 0x424], cx
push 0x206
push 0
lea edx, [ebp - 0x422]
push edx
call fcn.00486c20
add esp, 0xc
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.00486c20
add esp, 0xc
cmp dword [ebp - 0x42c], 0
je 0x421d12
push 0x54ca38
call fcn.004058c0
mov ecx, eax
call fcn.00447800
push eax
push str.__s_s_
lea edx, [ebp - 0x21c]
push edx
call fcn.00487ebf
add esp, 0x10
jmp 0x421d28
push 0x104
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.00486c20
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
push 0xf013f
push 0
push 0x54ca70
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x421d4e
xor al, al
jmp 0x421e33
lea edx, [ebp - 0x428]
push edx
push 0xf003f
push 0
push 0x54cac4
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x421d9c
push 0
lea ecx, [ebp - 0x428]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x54cacc
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x421e31
push 0x54cad0
lea ecx, [ebp - 0x430]
call fcn.00421fb0
mov dword [ebp - 4], 0
push str.RunDateByServiceAuto
lea ecx, [ebp - 0x430]
call fcn.00421e50
lea eax, [ebp - 0x21c]
push eax
call fcn.00486c9a
add esp, 4
shl eax, 1
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 1
push 0
lea ecx, [ebp - 0x430]
call fcn.00405cf0
push eax
mov edx, dword [ebp - 0x428]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x431], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x430]
call fcn.00402890
mov al, byte [ebp - 0x431]
jmp 0x421e33
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret 4

Function at 0x4230f0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfac
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xfac], ecx
push 0x7d0
lea eax, [ebp - 0xfa8]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x54cc00
lea ecx, [ebp - 0xfa8]
push ecx
call fcn.00486ab7
add esp, 8
lea edx, [ebp - 0xfa8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423144
xor eax, eax
jmp 0x423149
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret
Function at 0x4237a0
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x440], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 4]
push eax
push 9
push 0
push 0x54cde8
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4237fd
xor eax, eax
jmp 0x42392c
xor ecx, ecx
mov word [ebp - 0x220], cx
push 0x206
push 0
lea edx, [ebp - 0x21e]
push edx
call fcn.00486c20
add esp, 0xc
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 0x224], 0
jmp 0x42383e
mov eax, dword [ebp - 0x224]
add eax, 1
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x42391f
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x42391a
mov dword [ebp - 0x230], 0x104
xor edx, edx
mov word [ebp - 0x438], dx
push 0x206
push 0
lea eax, [ebp - 0x436]
push eax
call fcn.00486c20
add esp, 0xc
mov dword [ebp - 0x228], 1
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x228]
push eax
push 0
push 0x54ce54
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x423910
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x438]
push eax
call fcn.004127e0
add esp, 8
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
je 0x423910
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42382f
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret 4
Function at 0x4241c0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f24f
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.00486c20
add esp, 0xc
push 0
push 0x19
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4242c2
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.00401280
mov dword [ebp - 4], 0
push 0x54cef4
lea ecx, [ebp - 0x238]
call fcn.004078c0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x238]
call fcn.004078c0
push 0x54cf94
lea ecx, [ebp - 0x238]
call fcn.004078c0
lea ecx, [ebp - 0x238]
call fcn.004012c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4242b0
mov dword [ebp - 0x258], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00406040
mov eax, dword [ebp - 0x258]
jmp 0x424373
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00406040
push 0
push 0x10
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x424371
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x254]
call fcn.00401280
mov dword [ebp - 4], 1
push 0x54d048
lea ecx, [ebp - 0x254]
call fcn.004078c0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x254]
call fcn.004078c0
push 0x54d04c
lea ecx, [ebp - 0x254]
call fcn.004078c0
lea ecx, [ebp - 0x254]
call fcn.004012c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42435f
mov dword [ebp - 0x25c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00406040
mov eax, dword [ebp - 0x25c]
jmp 0x424373
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00406040
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret 4