joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4375e0
Capabilities:
Get disk size

Disassembly:
push ebx
push esi
add esp, 0xffffffdc
mov esi, edx
xor ebx, ebx
push esp
push 0x28
push eax
call fcn.00405d60
lea eax, [esp + 8]
push eax
push esi
push 0
call fcn.00405d58
test eax, eax
jne 0x43760e
mov eax, dword [esp]
push eax
call sub.KERNEL32.DLL_GetDiskFreeSpaceA
jmp 0x43766a
mov dword [esp + 0x14], 1
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 2
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push 0x10
lea eax, [esp + 0x20]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call fcn.00405d30
call sub.KERNEL32.DLL_GetStdHandle
test eax, eax
je 0x43765f
mov eax, dword [esp]
push eax
call sub.KERNEL32.DLL_GetDiskFreeSpaceA
jmp 0x43766a
mov bl, 1
mov eax, dword [esp]
push eax
call sub.KERNEL32.DLL_GetDiskFreeSpaceA
mov eax, ebx
add esp, 0x24
pop esi
pop ebx
ret

Function at 0x4376b8
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x124], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x437819
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x14], 1
lea eax, [ebp - 4]
push eax
push 0x43782c
push 0x80000002
call sub.advapi32.dll_AdjustTokenPrivileges
test eax, eax
jne 0x4377fb
lea eax, [ebp - 8]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
call fcn.00405d78
test eax, eax
je 0x437736
lea eax, [ebp - 8]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
test eax, eax
jne 0x4377f2
lea eax, [ebp - 0x124]
mov edx, edi
call fcn.00404074
mov ecx, dword [ebp - 0x124]
lea eax, [ebp - 0x120]
mov edx, 0x437858
call fcn.00404188
mov eax, dword [ebp - 0x120]
call fcn.0040433c
push eax
lea eax, [ebp - 0x119]
push eax
call sub.KERNEL32.DLL_TlsSetValue
lea eax, [ebp - 0x119]
push eax
call sub.KERNEL32.DLL_Sleep
push eax
lea eax, [ebp - 0x119]
push eax
push 1
push 0
push 0x437860
mov eax, dword [ebp - 8]
push eax
call sub.oleaut32.dll_SysReAllocStringLen
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push 0x43786c
mov eax, dword [ebp - 8]
push eax
call sub.oleaut32.dll_SysReAllocStringLen
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push 0x437874
mov eax, dword [ebp - 8]
push eax
call sub.oleaut32.dll_SysReAllocStringLen
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x437884
mov eax, dword [ebp - 8]
push eax
call sub.oleaut32.dll_SysReAllocStringLen
mov eax, dword [ebp - 8]
push eax
call fcn.00405d70
mov bl, 1
mov eax, dword [ebp - 4]
push eax
call fcn.00405d70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437820
lea eax, [ebp - 0x124]
mov edx, 2
call fcn.00403ea0
ret
Function at 0x439818
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
lea ebx, [eax + 0x20]
lea ecx, [eax + 0x18]
mov dword [ebx], 0
mov dword [ecx], 0
ret

Function at 0x439838
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
movzx eax, byte [eax + 2]
ret

Function at 0x439848
Capabilities:
Check for peb beingdebugged flag
Get common file path

Disassembly:
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
movzx eax, byte [eax + 2]
test eax, eax
je 0x439862
call sub.KERNEL32.DLL_GetTempPathA
pop edx
jmp 0x43985f
ret
Function at 0x43af78
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040432c
mov ebx, dword [0x443464]
mov edi, dword [0x443420]
xor eax, eax
push ebp
push 0x43b1ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a85c
fstp qword [ebp - 0x10]
wait
cmp dword [ebp - 4], 0
jne 0x43afe0
call fcn.0040ae50
fstp qword [ebp - 0x18]
wait
call fcn.0040adf0
fadd qword [ebp - 0x18]
fstp qword [ebp - 0x10]
wait
mov eax, edi
mov edx, 0x43b204
call fcn.00403ed0
lea eax, [edi + 4]
mov edx, 0x43b210
call fcn.00403ed0
lea eax, [edi + 8]
mov edx, 0x43b21c
call fcn.00403ed0
lea eax, [edi + 0xc]
mov edx, 0x43b228
call fcn.00403ed0
lea eax, [edi + 0x10]
mov edx, 0x43b234
call fcn.00403ed0
lea eax, [edi + 0x14]
mov edx, 0x43b240
call fcn.00403ed0
lea eax, [edi + 0x18]
mov edx, 0x43b24c
call fcn.00403ed0
mov eax, ebx
mov edx, 0x43b258
call fcn.00403ed0
lea eax, [ebx + 4]
mov edx, 0x43b264
call fcn.00403ed0
lea eax, [ebx + 8]
mov edx, 0x43b270
call fcn.00403ed0
lea eax, [ebx + 0xc]
mov edx, 0x43b27c
call fcn.00403ed0
lea eax, [ebx + 0x10]
mov edx, 0x43b288
call fcn.00403ed0
lea eax, [ebx + 0x14]
mov edx, 0x43b294
call fcn.00403ed0
lea eax, [ebx + 0x18]
mov edx, 0x43b2a0
call fcn.00403ed0
lea eax, [ebx + 0x1c]
mov edx, 0x43b2ac
call fcn.00403ed0
lea eax, [ebx + 0x20]
mov edx, 0x43b2b8
call fcn.00403ed0
lea eax, [ebx + 0x24]
mov edx, 0x43b2c4
call fcn.00403ed0
lea eax, [ebx + 0x28]
mov edx, 0x43b2d0
call fcn.00403ed0
lea eax, [ebx + 0x2c]
mov edx, 0x43b2dc
call fcn.00403ed0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea edx, [ebp - 8]
mov eax, 0x43b2e8
call fcn.0040ba60
mov eax, dword [0x4436cc]
push eax
call sub.KERNEL32.DLL_GetCommandLineA
mov eax, dword [0x4436cc]
mov eax, dword [eax]
mov ecx, 0xffffffc4
cdq
idiv ecx
mov ebx, eax
test ebx, ebx
jle 0x43b162
cmp ebx, 9
jle 0x43b139
push dword [ebp - 8]
push 0x43b30c
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00409504
push dword [ebp - 0x1c]
push 0x43b318
lea eax, [ebp - 8]
mov edx, 4
call fcn.004041fc
jmp 0x43b1bb
push dword [ebp - 8]
push 0x43b324
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00409504
push dword [ebp - 0x20]
push 0x43b318
lea eax, [ebp - 8]
mov edx, 4
call fcn.004041fc
jmp 0x43b1bb
cmp ebx, 0xfffffff7
jge 0x43b192
push dword [ebp - 8]
push 0x43b330
lea edx, [ebp - 0x24]
mov eax, ebx
neg eax
call fcn.00409504
push dword [ebp - 0x24]
push 0x43b318
lea eax, [ebp - 8]
mov edx, 4
call fcn.004041fc
jmp 0x43b1bb
push dword [ebp - 8]
push 0x43b33c
lea edx, [ebp - 0x28]
mov eax, ebx
neg eax
call fcn.00409504
push dword [ebp - 0x28]
push 0x43b318
lea eax, [ebp - 8]
mov edx, 4
call fcn.004041fc
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.00403ed0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b1f4
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00403ea0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403ea0
ret
Function at 0x43b7a4
Capabilities:
Reference l3 dns server
Reference opendns dns server

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43b8ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0x248
mov eax, 0x248
call fcn.004026ac
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43b8cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_OffsetRect
cmp eax, 0x6f
jne 0x43b81e
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004026ec
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_OffsetRect
test eax, eax
je 0x43b81e
call fcn.00403904
jmp 0x43b8d4
mov eax, dword [ebp - 8]
cmp byte [eax + 0x110], 0
jne 0x43b834
call fcn.00403904
jmp 0x43b8d4
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
add edx, 0x110
mov ecx, 0x10
call fcn.004040ec
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x10c]
test ebx, ebx
je 0x43b883
lea eax, [ebp - 0x14]
lea edx, [ebx + 4]
mov ecx, 0x10
call fcn.004040ec
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x43b862
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b8d4
mov eax, dword [ebp - 8]
call fcn.004026cc
mov edx, 0x43b904
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x43b918
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x43b930
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x43b940
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b8f6
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403ea0
ret
Function at 0x42de68
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov al, byte [ecx]
and dword [esp + 0x14], 0
push ebx
push ebp
mov byte [edx], al
lea eax, [edx + 1]
push esi
mov dword [esp + 0x18], eax
push edi
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
call fcn.0042de11
test eax, eax
je 0x42dfc1
lea ecx, [esp + 0x18]
jmp loc.0045b589
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x1c], edx
test ebp, ebp
je 0x42de98
sub edx, dword [esp + 0x14]
pop edi
mov eax, edx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42e15e
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, edi
shr ebx, 2
and edi, 3
mov esi, ecx
test ebx, ebx
je 0x42e190
mov al, byte [esp + 0x14]
mov edx, dword [esi]
add al, bl
movzx ecx, al
mov eax, dword [esp + 0x10]
ror edx, cl
xor edx, eax
sub edx, ebx
mov dword [esi], edx
add esi, 4
dec ebx
jne 0x42e171
jmp 0x42e194
mov eax, dword [esp + 0x10]
test edi, edi
je 0x42e19e
xor byte [esi], al
inc esi
dec edi
jne 0x42e198
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x4018f0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00402640
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00402640
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x401950
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x40739c]
test esi, esi
jle 0x401a50
mov eax, dword [0x4073a0]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x401980
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x4019ff
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401970
mov dword [esp], ebx
call fcn.004022c0
mov edi, eax
test eax, eax
je 0x401a77
mov eax, dword [0x4073a0]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.004023d0
mov edx, dword [0x4073a0]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401a57
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x4019f8
sub eax, 4
and eax, 0xfffffffb
jne 0x401a06
add dword [0x40739c], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add ebx, dword [0x4073a0]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x4019f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.004018f0
xor esi, esi
jmp 0x40198a
mov eax, dword [0x4073a0]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.004018f0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.004018f0
lea esi, [esi]
nop
Function at 0x401f30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4073b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4073b0]
sub esp, 4
test ebx, ebx
je 0x401f85
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x401f7e
test esi, esi
je 0x401f7e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401f60
mov dword [esp], 0x4073b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x402010
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 0x402029
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x402064
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402060
lea ebx, [ebx]
cmp esi, eax
jae 0x402064
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402050
cmp esi, eax
jb 0x40206a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402460
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x218
mov eax, dword [0x45a9a0]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x230]
push ebx
mov ebx, dword [esp + 0x228]
push ebp
mov ebp, dword [esp + 0x230]
push esi
mov esi, dword [esp + 0x228]
push edi
mov edi, dword [esp + 0x230]
push 0
mov dword [esp + 0x1c], eax
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0x10]
push ecx
push 0x44dcfc
push 1
push 0
push 0x44dd0c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x402579
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x50]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push ebp
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push ebx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x44dd4c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40256d
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov eax, dword [esp + 0x10]
push 0
je 0x40252e
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
jmp 0x402537
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push esi
push eax
call edx
push 0x104
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push edi
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042cd95
add esp, 0x218
ret 0x18
Function at 0x402a30
Capabilities:
Create http request

Disassembly:
sub esp, 0x208
mov eax, dword [0x45a9a0]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
mov ebx, dword [esp + 0x214]
push ebp
push esi
push edi
mov edi, dword [esp + 0x21c]
push 0x1ff
xor ebp, ebp
lea eax, [esp + 0x19]
push ebp
push eax
mov byte [esp + 0x20], 0
call fcn.0042c9b0
add esp, 0xc
push ebp
push ebp
push ebp
push ebp
push str.totalvaccine_down
mov dword [esp + 0x24], 0x200
mov dword [ebx], ebp
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
je 0x402ae7
mov eax, dword [edi]
push 0
push 0x84000000
push 0
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
je 0x402ade
push 0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push 5
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x402ad7
lea eax, [esp + 0x14]
push eax
call fcn.0042dbf8
add esp, 4
mov dword [ebx], eax
mov ebp, 1
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, ebp
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042cd95
add esp, 0x208
ret 8

Function at 0x402d60
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x54
push esi
push 0x44
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0042c9b0
mov esi, dword [esp + 0x68]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov ecx, 1
sub eax, 0x10
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x4c], ecx
mov word [esp + 0x50], cx
sub ecx, dword [eax + 0xc]
add esp, 0xc
or ecx, dword [eax + 8]
jge 0x402db7
push 0
mov ecx, esi
call fcn.004018c0
mov esi, dword [esi]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0x200
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
pop esi
add esp, 0x54
ret 4
Function at 0x404880
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4422e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x45a9a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, ecx
push 0x44713c
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
call fcn.004042a0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARE_totalvaccine
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x48], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x404a76
lea edx, [ebx + 0x84]
push edx
lea ecx, [esp + 0x14]
call fcn.00403150
mov eax, dword [esp + 0x10]
mov edx, dword [eax - 8]
mov esi, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
or edx, ecx
jge 0x404932
push 0
lea ecx, [esp + 0x14]
call fcn.004018c0
mov eax, dword [esp + 0x10]
add esi, 1
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
mov eax, dword [esp + 0x1c]
push 1
push 0
push str.code1
push eax
call esi
push 1
push 0x447244
lea ecx, [esp + 0x18]
call fcn.00401b00
mov eax, dword [esp + 0x10]
mov edx, dword [eax - 8]
mov edi, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
or edx, ecx
jge 0x404982
push 0
lea ecx, [esp + 0x14]
call fcn.004018c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add edi, 1
push edi
push eax
push 1
push 0
push str.installmode
push ecx
call esi
push 1
push 0x447244
lea ecx, [esp + 0x18]
call fcn.00401b00
mov eax, dword [esp + 0x10]
mov edx, dword [eax - 8]
mov edi, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
or edx, ecx
jge 0x4049cc
push 0
lea ecx, [esp + 0x14]
call fcn.004018c0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add edi, 1
push edi
push eax
push 1
push 0
push str.Reboot
push edx
call esi
add ebx, 0x88
push ebx
lea ecx, [esp + 0x14]
call fcn.00403150
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 8]
mov edi, dword [edx - 0xc]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x404a16
push 0
lea ecx, [esp + 0x14]
call fcn.004018c0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add edi, 1
push edi
push edx
push 1
push 0
push str.totalvaccine_nic
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404a5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x40d1a5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40d1de
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040d168
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004080e3
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x40eee3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40ef26
call fcn.00412b39
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x40ef26
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x40ef41
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040ea9a
test ebx, ebx
mov esi, eax
je 0x40ef3f
test edi, edi
je 0x40ef3f
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41218b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00412b39
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x4121c2
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00411d9d
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x415046
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x41506f
call fcn.00412b39
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x415092
push eax
push dword [esi + 4]
call fcn.00414fd1
push esi
push eax
mov ecx, 0x45e270
call fcn.00414cab
mov eax, esi
pop esi
pop ebp
ret 0x18