joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002060
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x1002e040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
mov dword [ebp - 0x288], esi
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002090
sub ecx, edi
sar ecx, 1
jne 0x100020ac
push edx
push str.There_is_currently_no_matching_version__Lowest_Supported_Version:__s
jmp 0x10002213
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100020d6
call fcn.10001370
push esi
test eax, eax
jne 0x100020cc
push str.Runtime_path_not_exist__path:__s_
jmp 0x10002213
push str.Runtime_path_not_exist__path:__s__r_nSolution:_Enter_the_application_URL_in_the_browser_to_run_the_application.
jmp 0x10002213
movups xmm0, xmmword [str.VCRUNTIME140_1.dll]
mov eax, dword [0x100234d4]
lea edi, [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov esi, 1
movzx eax, word [0x100234d8]
movups xmmword [ebp - 0x7c], xmm0
mov word [ebp - 0x58], ax
xor eax, eax
movups xmm0, xmmword [0x100234c4]
mov word [ebp - 0x56], ax
movzx eax, word [0x100234fc]
movups xmmword [ebp - 0x6c], xmm0
mov word [ebp - 0x34], ax
xor eax, eax
movups xmm0, xmmword [str.VCRUNTIME140.dll]
mov dword [ebp - 0x32], eax
mov word [ebp - 0x2e], ax
movzx eax, word [0x10023518]
movups xmmword [ebp - 0x54], xmm0
mov word [ebp - 0x14], ax
movups xmm0, xmmword [0x100234ec]
mov dword [ebp - 0xa], 0
mov word [ebp - 6], 0
movups xmmword [ebp - 0x44], xmm0
movups xmm0, xmmword [str.msvcp140.dll]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [0x10023510]
movq qword [ebp - 0x1c], xmm0
xorps xmm0, xmm0
movq qword [ebp - 0x12], xmm0
nop
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10002204
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
inc esi
add edi, 0x28
cmp esi, 3
jb 0x10002170
push 0x208
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.10009740
mov esi, dword [ebp - 0x288]
lea eax, [ebp - 0x284]
push esi
push 0x104
push eax
call fcn.1000ce58
push str.pbvm.dll
lea eax, [ebp - 0x284]
push 0x104
push eax
call fcn.1000cde3
add esp, 0x24
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100021fc
call fcn.10001370
test eax, eax
je 0x100021fc
lea eax, [ebp - 0x284]
push eax
push str.The_pbvm.dll_file_not_exist__path:__s__r_nSolution:_Enter_the_application_URL_in_the_browser_to_run_the_application.
jmp 0x10002213
push esi
push str.Load_library_failed__dll_name:_pbvm.dll__runtime_path:_s
jmp 0x10002213
lea eax, [esi + esi*4]
lea ecx, [ebp - 0x7c]
lea eax, [ecx + eax*8]
push eax
push str.The_program_cant_start_because__s_is_missing_from_your_computer.
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.10007493
mov esp, ebp
pop ebp
ret
Function at 0x10003550
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], 0
cmp dword [eax + 0x14], 7
push edi
mov dword [ebp - 4], esi
jbe 0x10003570
mov eax, dword [eax]
push 0x10023a94
push eax
call fcn.1000d014
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1000369d
push 2
push 0
push ebx
call fcn.1000eb6b
push ebx
call fcn.1000f199
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp - 8], esi
call fcn.1000eb6b
add esp, 0x1c
test esi, esi
jne 0x100035c2
push ebx
call fcn.1000e50a
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.10007485
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0xc], edi
call fcn.10009740
push ebx
push esi
push 1
push edi
call fcn.1000e774
add esp, 0x20
test eax, eax
jne 0x10003601
push edi
call fcn.1000748e
push ebx
call fcn.1000e50a
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0xfde9
call edi
mov esi, eax
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10007485
mov ecx, eax
lea eax, [esi*2 + 2]
push eax
push 0
push ecx
mov dword [ebp + 8], ecx
call fcn.10009740
add esp, 0x10
push esi
push dword [ebp + 8]
mov esi, dword [ebp - 0xc]
push dword [ebp - 8]
push esi
push 0
push 0xfde9
call edi
mov edi, dword [ebp + 8]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003665
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 4]
push edi
call fcn.10006270
push esi
call fcn.1000748e
push edi
call fcn.1000748e
push ebx
call fcn.1000e50a
mov esi, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 8], 1
push esi
mov ecx, esi
mov dword [esi + 0x18], 0
call fcn.100038e0
mov al, byte [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10007e29
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10007e68
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10007e68
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10007e68
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10007e68
cmp dword [ecx + 0x74], 0xe
jbe 0x10007e68
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x10016265
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100160db

Function at 0x100222a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100222cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100222cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x403218
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x41c014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4032b0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403290
xor eax, eax
push ebp
push 0x403289
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4032cc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403290
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x41c014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x41c014], ax
mov esp, ebp
pop ebp
ret

Function at 0x403ba4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x41f038], 0
je 0x403c05
cmp word [0x41f20c], 0xd7b2
jne 0x403bcd
cmp dword [0x41f214], 0
jbe 0x403bcd
mov eax, 0x41f208
call dword [0x41f224]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x41c060
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403c2c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41c020], 0
jne 0x403c21
push 0
push 0x41c058
push 0x41c060
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403d60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040286c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x41f039], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403d28
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x404b68
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x404bce
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403f18
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f74
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404bb8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404bd5
lea eax, [ebp - 0x10]
call fcn.00403dac
ret

Function at 0x4058e0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebx
push esi
mov ebx, eax
push 0x80
mov eax, ebx
call fcn.00404154
mov esi, eax
push esi
call sub.kernel32.dll_SetFileAttributesA
push esi
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
pop esi
pop ebx
ret
Function at 0x40592c
Capabilities:
Get disk size

Disassembly:
push ebx
add esp, 0xfffffff4
xor ebx, ebx
mov dword [esp + 8], ebx
test al, al
jbe 0x405954
add al, 0x40
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0x5c
mov byte [esp + 3], 0
mov eax, esp
mov dword [esp + 8], eax
push 0
push edx
push ecx
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExA
add esp, 0xc
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404154
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x405b15
test al, 0x10
jne 0x405b19
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4066e8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00406588
dec esi
jne 0x40670a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4084b8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x28]
mov edi, dword [ebx + 0x38]
sub edi, dword [ebx + 0x70]
sub edi, dword [ebx + 0x68]
jmp 0x4084e7
mov eax, dword [ebx + 0x28]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x68]
ja 0x408566
push esi
mov eax, dword [ebx + 0x34]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00407154
add esp, 0xc
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x58], ebp
mov eax, dword [ebx + 0x48]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x408534
mov cx, word [esp]
sub cx, si
jmp 0x408536
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x40851d
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x40855c
mov cx, word [esp]
sub cx, si
jmp 0x40855e
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x408545
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4085c3
mov edx, dword [ebx + 0x34]
mov ecx, edi
add edx, dword [ebx + 0x68]
mov eax, ebp
add edx, dword [ebx + 0x70]
call fcn.004081a8
add dword [ebx + 0x70], eax
cmp dword [ebx + 0x70], 3
jb 0x4085ae
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x68]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x44], eax
mov ecx, dword [ebx + 0x54]
shl eax, cl
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x68]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x50]
mov dword [ebx + 0x44], eax
cmp dword [ebx + 0x70], 0x106
jae 0x4085c3
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4084c2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40ce48
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call sub.kernel32.dll_GetCurrentThread
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_QueryPerformanceFrequency
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x48]
push eax
call sub.kernel32.dll_GetThreadPriority
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x7fffffff
je 0x40ceb0
push 0xf
mov eax, dword [ebp - 0x48]
push eax
call sub.kernel32.dll_SetThreadPriority
xor eax, eax
push ebp
push 0x40cf50
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x40ced4
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
call fcn.0040ce44
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
sbb edx, dword [ebp - 4]
cmp edx, 0
jne 0x40ceec
cmp eax, 0x32
jb 0x40cec0
jmp 0x40ceee
jl 0x40cec0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
jmp 0x40cf10
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
call fcn.0040ce44
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
sbb edx, dword [ebp - 4]
cmp edx, 0
jne 0x40cf2a
cmp eax, 0x3e8
jb 0x40cefc
jmp 0x40cf2c
jl 0x40cefc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf57
cmp dword [ebp - 0x44], 0x7fffffff
je 0x40cf4f
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.kernel32.dll_SetThreadPriority
ret
Function at 0x40d328
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40d491
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403e44
mov eax, dword [ebp - 0x10]
call fcn.0040d048
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x40d37a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004041f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0040d928
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40d44f
xor eax, eax
push ebp
push 0x40d448
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0040d14c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0040d4c0
test al, al
je 0x40d426
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403e9c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x40d426
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404154
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x40d420
mov eax, dword [ebp - 0x14]
call fcn.00404154
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403edc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0040d328
dec ebx
cmp ebx, 0xffffffff
jne 0x40d3d9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d44f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0040d14c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404154
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0040d138
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d498
lea eax, [ebp - 0x3c]
call fcn.00403dac
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403dd0
ret

Function at 0x40d4c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402f54
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
pop esi
pop ebx
ret
Function at 0x40dc00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40dd17
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.0040d14c
xor eax, eax
push ebp
push 0x40dcf2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0040d4c0
test al, al
je 0x40dcd6
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040dae0
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403e9c
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x40dcd6
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404154
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueA
test eax, eax
jne 0x40dcd2
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404154
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00403edc
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040dae0
pop ecx
inc edi
dec ebx
jne 0x40dc87
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dcf9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0040d14c
ret
Function at 0x40dd28
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40df69
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
call fcn.0040d14c
xor eax, eax
push ebp
push 0x40df3f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0040d4c0
test al, al
je 0x40df23
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403e9c
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x40df23
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404154
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x40df17
mov eax, dword [ebp - 0x14]
call fcn.00404154
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00403edc
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0040d928
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x40df17
xor eax, eax
push ebp
push 0x40df10
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.0040d14c
xor eax, eax
push ebp
push 0x40def2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.00404154
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00403edc
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0040d150
mov eax, dword [ebp - 0x14]
call fcn.00404154
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00403edc
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0040d928
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x40decf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0040dc00
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0040dd28
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ded6
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x28]
jne 0x40ddb3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40df46
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.0040d14c
ret
Function at 0x40eca8
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404144
mov eax, dword [ebp - 8]
call fcn.00404144
xor eax, eax
push ebp
push 0x40ed61
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x405e48]
call fcn.00403338
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00403f54
push eax
lea eax, [ebp - 8]
call fcn.004041ac
mov edx, eax
mov eax, ebx
pop ecx
call fcn.0040697c
mov eax, dword [ebp - 8]
call fcn.00403f54
cdq
push edx
push eax
mov eax, ebx
call fcn.00406824
mov eax, ebx
call fcn.00411580
push 0x80
mov eax, dword [ebp - 4]
call fcn.00404154
mov esi, eax
push esi
call sub.kernel32.dll_SetFileAttributesA
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00406de4
mov eax, ebx
call fcn.00403368
push 6
push esi
call sub.kernel32.dll_SetFileAttributesA
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ed68
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403dd0
ret

Function at 0x40ee2c
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov esi, eax
lea edi, [ebp - 0x10]
xor eax, eax
push ebp
push 0x40eef4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403dac
push 0
push 0
push 0
push 0
push 0x40ef04
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 4], eax
push 0
push 0x80000000
push 0
push 0
mov eax, esi
call fcn.00404154
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 8], eax
jmp 0x40eeb2
cmp dword [edi], 0
je 0x40eecc
lea edx, [ebp - 0x1010]
lea eax, [ebp - 0xc]
mov ecx, dword [edi]
call fcn.00403e9c
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.00403f5c
push edi
push 0x1000
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
jne 0x40ee93
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eefb
lea eax, [ebp - 0xc]
call fcn.00403dac
ret

Function at 0x40f068
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [0x41e0a4]
cmp byte [eax], 0
je 0x40f0d6
xor eax, eax
push ebp
push 0x40f0bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, 0x40f100
call fcn.00410034
call sub.kernel32.dll_GetLastError_1
test eax, eax
jne 0x40f0b5
test bl, bl
je 0x40f0ac
push 0
push 2
call sub.user32.dll_ExitWindowsEx
jmp 0x40f0b5
push 0
push 8
call sub.user32.dll_ExitWindowsEx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40f0d2
mov bl, 1
jmp 0x40f0f0
test bl, bl
je 0x40f0e5
push 0
push 2
call sub.user32.dll_ExitWindowsEx
jmp 0x40f0ee
push 0
push 5
call sub.user32.dll_ExitWindowsEx
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret