joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475090
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x87c
mov eax, dword [0x4de880]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x87c], ecx
mov dword [ebp - 0x874], 0
lea eax, [ebp - 0x874]
push eax
lea ecx, [ebp - 0x870]
call fcn.00403fb0
mov dword [ebp - 0x2c], 0x400
mov dword [ebp - 0x86c], 0x400
mov dword [ebp - 0xc], 0
mov byte [ebp - 5], 0
lea ecx, [ebp - 0x48]
call fcn.00404240
lea ecx, [ebp - 0x28]
call fcn.00404240
lea ecx, [ebp - 0x64]
call fcn.00404240
lea ecx, [ebp - 0x874]
push ecx
push 0xf003f
push 0
lea ecx, [ebp + 0xc]
call fcn.00401050
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x475245
lea eax, [ebp - 0x86c]
push eax
lea ecx, [ebp - 0x868]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
lea ecx, [ebp + 0x28]
call fcn.00401050
push eax
mov eax, dword [ebp - 0x874]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x475245
cmp dword [ebp - 0xc], 4
je 0x475187
push 0
lea ecx, [ebp + 0x44]
call fcn.0040dca0
movzx ecx, word [eax]
cmp ecx, 0x30
jl 0x4751fd
push 0
lea ecx, [ebp + 0x44]
call fcn.0040dca0
movzx edx, word [eax]
cmp edx, 0x39
jg 0x4751fd
mov dword [ebp - 0x86c], 4
lea ecx, [ebp + 0x44]
call fcn.00401050
push eax
call fcn.00440c1a
add esp, 4
mov dword [ebp - 0x878], eax
push 0
lea ecx, [ebp + 0x44]
call fcn.0040dca0
movzx eax, word [eax]
cmp eax, 0x30
jl 0x4751d3
push 0
lea ecx, [ebp + 0x44]
call fcn.0040dca0
movzx ecx, word [eax]
cmp ecx, 0x39
jg 0x4751d3
mov dword [ebp - 0xc], 4
push 4
lea edx, [ebp - 0x878]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
lea ecx, [ebp + 0x28]
call fcn.00401050
push eax
mov ecx, dword [ebp - 0x874]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x68], eax
jmp 0x475245
lea ecx, [ebp + 0x44]
call fcn.00401050
push eax
call fcn.0043fc6b
add esp, 4
shl eax, 1
mov dword [ebp - 0x86c], eax
mov edx, dword [ebp - 0x86c]
push edx
lea ecx, [ebp + 0x44]
call fcn.00401050
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
lea ecx, [ebp + 0x28]
call fcn.00401050
push eax
mov ecx, dword [ebp - 0x874]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x64]
call fcn.00401e40
lea ecx, [ebp - 0x28]
call fcn.00401e40
lea ecx, [ebp - 0x48]
call fcn.00401e40
lea ecx, [ebp - 0x870]
call fcn.00403fe0
lea ecx, [ebp + 0xc]
call fcn.00401030
lea ecx, [ebp + 0x28]
call fcn.00401030
lea ecx, [ebp + 0x44]
call fcn.00401030
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f9e9
mov esp, ebp
pop ebp
ret 0x58
Function at 0x475600
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4de880]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], 0
call fcn.00404760
mov dword [ebp - 0x224], eax
mov word [ebp - 0x218], 0
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.0043ff60
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea ecx, [ebp - 8]
push ecx
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4756a3
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.Cookies
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4756ce
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4ba1e4
mov ecx, dword [ebp + 8]
call fcn.00401600
mov ecx, dword [ebp - 0x22c]
or ecx, 1
mov dword [ebp - 0x22c], ecx
mov eax, dword [ebp + 8]
jmp 0x4756ef
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401600
mov eax, dword [ebp - 0x22c]
or eax, 1
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043f9e9
mov esp, ebp
pop ebp
ret 4
Function at 0x475700
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7e06
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4de880]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401600
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0xffffffff
mov ecx, dword [0x4c43f8]
push ecx
push 0x4b9fd0
lea ecx, [ebp - 0x2c]
call fcn.004142f0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x4757c5
mov edx, dword [0x4c43f8]
push edx
mov eax, dword [ebp - 0x30]
add eax, 1
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00404030
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00401030
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.00474ac0
movzx edx, al
test edx, edx
je 0x4757c5
lea ecx, [ebp - 0x2c]
call fcn.00401050
push eax
call fcn.004839f0
add esp, 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x475800
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edx, dword [ebp - 0x54]
mov byte [edx + 0xc], 1
mov byte [ebp - 0x4d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401030
mov al, byte [ebp - 0x4d]
jmp 0x475816
mov byte [ebp - 0x4e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401030
mov al, byte [ebp - 0x4e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f9e9
mov esp, ebp
pop ebp
ret 4
Function at 0x477000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 1
jmp 0x47703a
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jge 0x477098
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
push eax
call fcn.00474c10
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x47708d
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [eax + edx*4]
push edx
call fcn.00401600
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
call fcn.00476020
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
jmp 0x477096
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x477031
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x478670
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab17e
mov eax, dword fs:[0]
push eax
sub esp, 0x8c8
mov eax, dword [0x4de880]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c0], ecx
mov dword [ebp - 0x8bc], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00404240
mov byte [ebp - 4], 1
push 0x400
push 0
lea eax, [ebp - 0x82c]
push eax
call fcn.0043ff60
add esp, 0xc
push 0x4ba138
lea ecx, [ebp - 0x848]
call fcn.00401600
mov byte [ebp - 4], 2
push 0x4ba13c
lea ecx, [ebp - 0x864]
call fcn.00401600
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x848]
push ecx
lea edx, [ebp - 0x864]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x880]
push ecx
call fcn.004840e0
add esp, 0x10
mov dword [ebp - 0x8c4], eax
mov edx, dword [ebp - 0x8c4]
mov dword [ebp - 0x8c8], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x8c8]
push eax
lea ecx, [ebp + 0xc]
call fcn.00401640
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x880]
call fcn.00401030
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x864]
call fcn.00401030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x848]
call fcn.00401030
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x89c]
push edx
call fcn.00484560
add esp, 8
mov dword [ebp - 0x8cc], eax
mov eax, dword [ebp - 0x8cc]
mov dword [ebp - 0x8d0], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x8d0]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004061d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x89c]
call fcn.00401e40
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x8c0]
call fcn.004776e0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x8b8]
push ecx
call fcn.00483e20
add esp, 8
mov dword [ebp - 0x8d4], eax
push 0x400
lea edx, [ebp - 0x82c]
push edx
mov ecx, dword [ebp - 0x8d4]
call fcn.00401050
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x8b8]
call fcn.00401030
lea eax, [ebp - 0x82c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401600
mov ecx, dword [ebp - 0x8bc]
or ecx, 1
mov dword [ebp - 0x8bc], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401e40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401030
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f9e9
mov esp, ebp
pop ebp
ret 0x20
Function at 0x478860
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab1cf
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x4de880]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x470], ecx
mov dword [ebp - 0x46c], 0
mov dword [ebp - 4], 0
push 0x400
push 0
lea eax, [ebp - 0x414]
push eax
call fcn.0043ff60
add esp, 0xc
push 0x4b5f02
lea ecx, [ebp - 0x430]
call fcn.004021a0
mov byte [ebp - 4], 1
push 0x4ba12c
lea ecx, [ebp - 0x44c]
call fcn.004021a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x430]
push ecx
lea edx, [ebp - 0x44c]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x468]
push ecx
call fcn.00484d90
add esp, 0x10
mov dword [ebp - 0x474], eax
mov edx, dword [ebp - 0x474]
mov dword [ebp - 0x478], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x478]
push eax
lea ecx, [ebp + 0xc]
call fcn.004061d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x468]
call fcn.00401e40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44c]
call fcn.00401e40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x430]
call fcn.00401e40
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x470]
call fcn.004776e0
push 0x400
lea edx, [ebp - 0x414]
push edx
lea ecx, [ebp + 0xc]
call fcn.00401df0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp + 8]
call fcn.004021a0
mov ecx, dword [ebp - 0x46c]
or ecx, 1
mov dword [ebp - 0x46c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401e40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f9e9
mov esp, ebp
pop ebp
ret 0x20
Function at 0x47c0f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004072f0
cmp dword [ebp + 0xc], 0
jne 0x47c109
jmp 0x47c184
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 1
jmp 0x47c133
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jge 0x47c17a
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
push eax
call fcn.00474c40
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x47c178
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov edx, dword [eax + edx*4]
push edx
call fcn.00401600
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
call fcn.0047ab20
jmp 0x47c12a
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], 0
mov esp, ebp
pop ebp
ret 8
Function at 0x480420
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00413540
mov edx, dword [ebp + 8]
neg edx
sbb edx, edx
and edx, 8
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x80]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
cmp dword [edx + 0x94], 0
jne 0x480481
mov eax, dword [ebp - 4]
mov dword [eax + 0x94], 1
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x480360
call fcn.0042c195
mov esp, ebp
pop ebp
ret 8

Function at 0x481d50
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 4
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x20000005
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x481d8e
or eax, 0xffffffff
jmp 0x481d91
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x481f50
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x1000
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
je 0x482015
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406350
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
movzx ecx, byte [0x4e3d78]
test ecx, ecx
je 0x481fc2
xor eax, eax
jmp 0x482017
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx]
cdq
idiv dword [ecx]
test edx, edx
jne 0x481ff1
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx]
cdq
idiv dword [ecx]
push eax
push 0x469
push 0x401
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x482010
cmp dword [ebp - 0xc], 0
jne 0x481f7f
mov eax, dword [ebp - 8]
jmp 0x482017
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x482200
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
call fcn.00481eb0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.00482150
movzx edx, al
test edx, edx
je 0x4822f4
mov ecx, dword [ebp - 0xc]
call fcn.00481e20
mov dword [ebp - 8], 0x4bae08
mov dword [ebp - 4], 0
push 1
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x14]
neg ecx
sbb ecx, ecx
and ecx, 0x801000
or ecx, 0x400000
or ecx, 0x4000000
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0x1c]
push eax
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
je 0x4822f4
cmp dword [ebp + 0x18], 0
je 0x4822a7
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0043fbe0
add esp, 4
mov dword [ebp - 0x10], eax
jmp 0x4822ae
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.0043fc6b
add esp, 4
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x4822f4
push 0
mov ecx, dword [ebp - 0xc]
call fcn.00481f20
mov ecx, dword [ebp - 0xc]
call fcn.00481e20
xor al, al
jmp 0x482307
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 8], 0
setne dl
push edx
mov ecx, dword [ebp - 0xc]
call fcn.00481f20
mov esp, ebp
pop ebp
ret 0x18

Function at 0x482a10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push 0x44
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.0043ff60
add esp, 0xc
push 0x10
push 0
lea ecx, [ebp - 0x10]
push ecx
call fcn.0043ff60
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne al
mov esp, ebp
pop ebp
ret

Function at 0x482cd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x482d0b
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x482cdf
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jbe 0x482d23
jmp 0x482d25
jmp 0x482cdf
mov esp, ebp
pop ebp
ret
Function at 0x482d30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x482d7b
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x482d7b
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x482d7d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x482d90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 1], 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x482dd3
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 9], al
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x482de0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4de880]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.0043ff60
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x482ec7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x230], eax
jne 0x482e5e
jmp 0x482eb0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x482e8b
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x482e89
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x240], eax
jmp 0x482ec7
jmp 0x482eb0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x214]
push edx
call fcn.00482aa0
add esp, 8
test eax, eax
je 0x482eb0
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x240], eax
jmp 0x482ec7
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x482e4e
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f9e9
mov esp, ebp
pop ebp
ret
Function at 0x483000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x48305e
push 0
push 0
push 2
push 0
push 2
push 0x40000000
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x48305e
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x483060
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x483070
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
pop ebp
ret

Function at 0x483090
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x4830a5
xor al, al
jmp 0x4830cc
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret 8

Function at 0x4830e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x4830f5
xor al, al
jmp 0x48312b
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0043fc6b
add esp, 4
lea edx, [eax + eax + 1]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret 8

Function at 0x483140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x483155
xor eax, eax
jmp 0x483189
mov dword [ebp - 8], 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x483186
xor eax, eax
jmp 0x483189
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4