joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6a7cd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x77aef0], 0
jne 0x6a7ce7
call fcn.006a7c8c
mov eax, edi
dec eax
test eax, eax
jl 0x6a7d0f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x77aaf0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6a7cf1
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x6aaa04
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x6aaa9e.0
jmp dword [ecx*4 + 0x6aaa37]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x6aaa69
sub dl, 8
je 0x6aaa78
jmp case.0x6aaa9e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6aa6d0
jmp case.0x6aaa9e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6aa724
jmp case.0x6aaa9e.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x6aaa9e.0
movzx ecx, byte [ecx + 0x6aaaa5]
jmp dword [ecx*4 + 0x6aaab6]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6aa7c4
jmp case.0x6aaa9e.0
cmp dl, 3
jne 0x6aaae3
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6aa81c
jmp case.0x6aaa9e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6aa7d8
jmp case.0x6aaa9e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6aa860
jmp case.0x6aaa9e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x6aab0e
sub dl, 8
je 0x6aab1a
jmp case.0x6aaa9e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6aa88c
jmp case.0x6aaa9e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6aa8f0
jmp case.0x6aaa9e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x6aab39
sub dl, 8
je 0x6aab45
jmp case.0x6aaa9e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6aa9a0
jmp case.0x6aaa9e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6aa9c8
mov ecx, dword [eax + 0x468]
mov edx, dword [ebx + 0x1c]
dec edx
imul ecx, edx
mov esi, ecx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add ecx, dword [eax + 0x44c]
mov dword [ebp - 0x10], ecx
mov esi, edx
test esi, esi
jb 0x6aabe7
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.006a9c18
test eax, eax
je 0x6aabe7
mov eax, ebx
call fcn.006aabf0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x6aab80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x6aabf0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x6aac21
dec al
je 0x6aac5c
dec al
je 0x6aac99
dec al
je 0x6aad02
jmp 0x6aad8c
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x6aad8c
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x6aac31
jmp 0x6aad8c
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6aad8c
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov ecx, eax
xor cl, 1
and ecx, 0x7f
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ecx, byte [ecx + esi]
movzx edx, al
mov edx, dword [ebx + edx*4 + 0x40]
add cl, byte [edx + esi]
and cl, 0xff
mov byte [edx + esi], cl
inc esi
dec edi
jne 0x6aac6c
jmp 0x6aad8c
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6aad8c
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x6aacc8
xor ebp, ebp
jmp 0x6aacd8
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x6aace1
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x6aaca9
jmp 0x6aad8c
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6aad8c
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x6aad5b
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.006a7d18
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x6aad16
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x6b28ec
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x6b291a
mov eax, ebx
call fcn.006b33a8
cmp dword [ebx + 0x40], 0
je 0x6b2913
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x6b298b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x6b297d
cmp dword [ebx + 8], 0
je 0x6b293c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x6b294e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x6b297d
cmp dword [ebx + 8], 0
je 0x6b292f
cmp eax, 3
je 0x6b2961
dec eax
jne 0x6b292f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x6b292f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x6b292f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x6b29a9
cmp dword [ebx + 0x14], 0xcc
je 0x6b29a9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.006b29b4
pop ebx
ret
Function at 0x6c4a50
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff37c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c84], ecx
mov dword [ebp - 4], edx
mov esi, eax
lea edi, [ebp - 0x1c80]
xor eax, eax
push ebp
push 0x6c4c1a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x6c4bef
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x40
call fcn.004078c0
lea eax, [ebp - 0x244]
xor ecx, ecx
mov edx, 0x200
call fcn.004078c0
lea eax, [ebp - 0x344]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.004078c0
lea eax, [ebp - 0x444]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.004078c0
lea eax, [ebp - 0x1444]
xor ecx, ecx
mov edx, 0x1000
call fcn.004078c0
lea eax, [ebp - 0x1c44]
xor ecx, ecx
mov edx, 0x800
call fcn.004078c0
mov eax, edi
xor ecx, ecx
mov edx, 0x3c
call fcn.004078c0
mov dword [edi], 0x3c
lea eax, [ebp - 0x44]
mov dword [edi + 4], eax
mov dword [edi + 8], 0x40
lea eax, [ebp - 0x244]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0x200
lea eax, [ebp - 0x344]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], pe_nt_image_headers32
lea eax, [ebp - 0x444]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], pe_nt_image_headers32
lea eax, [ebp - 0x1444]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 0x1000
lea eax, [ebp - 0x1c44]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], 0x800
mov ebx, esi
test ebx, ebx
je 0x6c4b77
sub ebx, 4
mov ebx, dword [ebx]
push edi
push 0x90000000
push ebx
mov eax, esi
call fcn.0040a90c
push eax
call sub.wininet.dll_InternetCrackUrlW
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x244]
mov ecx, pe_nt_image_headers32
call fcn.0040a9c8
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x6c4bdd
lea eax, [ebp - 0x1c84]
lea edx, [ebp - 0x44]
mov ecx, 0x20
call fcn.0040a9c8
push dword [ebp - 0x1c84]
push 0x6c4c34
mov eax, dword [ebp - 4]
push dword [eax]
push 0x6c4c48
mov eax, dword [ebp - 4]
mov edx, 4
call fcn.0040ac00
jmp 0x6c4be5
mov eax, dword [ebp - 4]
call fcn.00409d4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6c4c01
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c4c21
lea eax, [ebp - 0x1c84]
call fcn.00409d4c
ret
Function at 0x6c6950
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00409e30
xor eax, eax
push ebp
push 0x6c6b72
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x6c6b38
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x77af1c
mov edx, dword [ebp - 4]
call fcn.0040a12c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x685b40]
call fcn.0060ba34
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x6c6ab6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.0064ddb4
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x148], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x164], ebx
mov dword [eax + 0x160], 0x6c67dc
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x15c], ebx
mov dword [eax + 0x158], 0x6c67f4
mov eax, dword [ebp - 0x14]
call fcn.00689ec0
add eax, 0xa8
mov edx, 0x6c6b8c
call fcn.0040a12c
xor eax, eax
push ebp
push 0x6c6a99
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x6c6a41
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0068754c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6c6a4b
mov eax, dword [ebp - 0x14]
call fcn.00689eb4
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x54]
mov edx, eax
lea eax, [ebp - 8]
call fcn.0040a974
mov eax, dword [ebp - 0x14]
call fcn.00689eb4
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0xc]
mov edx, 0x6c6c74
call fcn.006382d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c6aa0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xa0]
call fcn.00407f90
ret

Function at 0x6c8b80
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x6c8c01
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x77300c
call sub.advapi32.dll_AllocateAndInitializeSid
call fcn.0042cfe4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.advapi32.dll_CheckTokenMembership
test eax, eax
je 0x6c8be0
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
jmp 0x6c8be4
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c8c08
cmp dword [ebp - 8], 0
je 0x6c8c00
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
ret

Function at 0x6c8cb0
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push 0
mov eax, esi
call fcn.0040a90c
push eax
mov eax, ebx
call fcn.0040a90c
push eax
push 0x6c8cdc
push 0
call sub.shell32.dll_ShellExecuteW
pop esi
pop ebx
ret
Function at 0x6c8ce8
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6c8dda
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
push 0x6c8de8
call sub.wininet.dll_InternetOpenW
mov esi, eax
push 0
push 0x200
push 0
push 0
mov eax, ebx
call fcn.0040a90c
push eax
push esi
call sub.wininet.dll_InternetOpenUrlW
mov ebx, eax
test ebx, ebx
jne 0x6c8d4c
mov eax, edi
mov edx, 0x6c8df8
call fcn.0040a12c
jmp 0x6c8dbe
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x201
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40e]
push eax
push 0x13
push ebx
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
jne 0x6c8d81
mov eax, edi
mov edx, 0x6c8df8
call fcn.0040a12c
jmp 0x6c8db8
lea eax, [ebp - 4]
lea edx, [ebp - 0x40e]
mov ecx, 0x201
call fcn.0040a9c8
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.0040a12c
mov eax, dword [edi]
mov edx, 0x6c8e20
call fcn.0040acb0
jne 0x6c8db8
mov eax, edi
mov edx, 0x6c8e34
call fcn.0040a12c
push ebx
call sub.wininet.dll_InternetCloseHandle
push esi
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c8de1
lea eax, [ebp - 4]
call fcn.00409d4c
ret

Function at 0x6c8fc4
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6c911b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
push 0x6c912c
call sub.wininet.dll_InternetOpenW
mov esi, eax
push 0
push 0x200
push 0
push 0
mov eax, ebx
call fcn.0040a90c
push eax
push esi
call sub.wininet.dll_InternetOpenUrlW
mov ebx, eax
test ebx, ebx
jne 0x6c902b
mov eax, edi
mov edx, 0x6c913c
call fcn.0040a12c
jmp 0x6c90ff
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x201
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40e]
push eax
push 0x13
push ebx
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
jne 0x6c9063
mov eax, edi
mov edx, 0x6c9264
call fcn.0040a12c
jmp 0x6c90f9
lea eax, [ebp - 4]
lea edx, [ebp - 0x40e]
mov ecx, 0x201
call fcn.0040a9c8
mov eax, dword [ebp - 4]
mov edx, 0x6c92a4
call fcn.0040acb0
jne 0x6c9093
mov eax, edi
mov edx, 0x6c92a4
call fcn.0040a12c
jmp 0x6c90f9
mov eax, dword [ebp - 4]
mov edx, 0x6c92b8
call fcn.0040acb0
jne 0x6c90b0
mov eax, edi
mov edx, 0x6c92cc
call fcn.0040a12c
jmp 0x6c90f9
mov eax, dword [ebp - 4]
mov edx, 0x6c9354
call fcn.0040acb0
jne 0x6c90cd
mov eax, edi
mov edx, 0x6c9368
call fcn.0040a12c
jmp 0x6c90f9
mov eax, dword [ebp - 4]
mov edx, 0x6c9398
call fcn.0040acb0
jne 0x6c90ea
mov eax, edi
mov edx, 0x6c93ac
call fcn.0040a12c
jmp 0x6c90f9
mov eax, edi
mov ecx, 0x6c93f0
mov edx, dword [ebp - 4]
call fcn.0040ab78
push ebx
call sub.wininet.dll_InternetCloseHandle
push esi
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c9122
lea eax, [ebp - 4]
call fcn.00409d4c
ret
Function at 0x6ca214
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff384
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x40
call fcn.004078c0
lea eax, [ebp - 0x240]
xor ecx, ecx
mov edx, 0x200
call fcn.004078c0
lea eax, [ebp - 0x340]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.004078c0
lea eax, [ebp - 0x440]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.004078c0
lea eax, [ebp - 0x1440]
xor ecx, ecx
mov edx, 0x1000
call fcn.004078c0
lea eax, [ebp - 0x1c40]
xor ecx, ecx
mov edx, 0x800
call fcn.004078c0
lea eax, [ebp - 0x1c7c]
xor ecx, ecx
mov edx, 0x3c
call fcn.004078c0
mov dword [ebp - 0x1c7c], 0x3c
lea eax, [ebp - 0x40]
mov dword [ebp - 0x1c78], eax
mov dword [ebp - 0x1c74], 0x40
lea eax, [ebp - 0x240]
mov dword [ebp - 0x1c6c], eax
mov dword [ebp - 0x1c68], 0x200
lea eax, [ebp - 0x340]
mov dword [ebp - 0x1c60], eax
mov dword [ebp - 0x1c5c], pe_nt_image_headers32
lea eax, [ebp - 0x440]
mov dword [ebp - 0x1c58], eax
mov dword [ebp - 0x1c54], pe_nt_image_headers32
lea eax, [ebp - 0x1440]
mov dword [ebp - 0x1c50], eax
mov dword [ebp - 0x1c4c], 0x1000
lea eax, [ebp - 0x1c40]
mov dword [ebp - 0x1c48], eax
mov dword [ebp - 0x1c44], 0x800
mov ebx, esi
test ebx, ebx
je 0x6ca33c
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x1c7c]
push eax
push 0x90000000
push ebx
mov eax, esi
call fcn.0040a90c
push eax
call sub.wininet.dll_InternetCrackUrlW
mov eax, edi
lea edx, [ebp - 0x40]
mov ecx, 0x20
call fcn.0040a9c8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6ca36c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f4
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
push 0
push 0
push 0
push 0
push 0
call sub.wininet.dll_InternetOpenW
mov ebx, eax
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.0040a90c
push eax
push ebx
call sub.wininet.dll_InternetOpenUrlW
mov esi, eax
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x401
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x80a]
push eax
push 1
push esi
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
je 0x6ca3e0
mov eax, edi
lea edx, [ebp - 0x80a]
mov ecx, 0x401
call fcn.0040a9c8
jmp 0x6ca3e7
mov eax, edi
call fcn.00409d4c
push esi
call sub.wininet.dll_InternetCloseHandle
push ebx
call sub.wininet.dll_InternetCloseHandle
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6cbab4
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x6cbabc
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x5c], eax
xor eax, eax
push ebp
push 0x6cbc9a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x6cbc0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x5c]
call fcn.00409d4c
lea edx, [ebp - 0x64]
mov eax, 0x6cbcb4
call fcn.0052af30
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x18]
call fcn.0043ba74
push 0
push 0
push 0x6cbcf8
push 0x6cbd1c
push 0x6cbd30
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00435d14
add esp, 0x1c
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x28]
call fcn.0043bb5c
push 0x20
push 0x6cbd54
push 0x6cbd68
push 0x6cbda4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00435d14
add esp, 0x18
lea edx, [ebp - 0x84]
lea eax, [ebp - 0x38]
call fcn.0043bb5c
push 0x6cbdb4
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00435d14
add esp, 0xc
lea edx, [ebp - 0x98]
lea eax, [ebp - 0x88]
call fcn.0043b568
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 4]
mov ecx, 0x6cbdc0
call fcn.0040da54
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
jne 0x6cbc03
push 0x6cbdd0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00435d14
add esp, 0xc
lea edx, [ebp - 0xac]
lea eax, [ebp - 0x9c]
call fcn.0043ae78
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x5c]
call fcn.00423810
lea eax, [ebp - 0x58]
call fcn.00435c18
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x58]
call fcn.0043bb5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6cbc1f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6cbca1
lea eax, [ebp - 0xac]
call fcn.00435c2c
lea eax, [ebp - 0x9c]
call fcn.00409d4c
lea eax, [ebp - 0x98]
call fcn.00435c2c
lea eax, [ebp - 0x88]
call fcn.0040da10
lea eax, [ebp - 0x84]
mov edx, dword [0x4012f0]
mov ecx, 2
call fcn.0040b27c
lea eax, [ebp - 0x64]
call fcn.0040da10
lea eax, [ebp - 0x58]
call fcn.00435c2c
lea eax, [ebp - 0x48]
mov edx, dword [0x401300]
mov ecx, 4
call fcn.0040b27c
lea eax, [ebp - 4]
call fcn.0040da10
ret

Function at 0x6cbdec
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov ebx, eax
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x24
call fcn.004078c0
lea eax, [ebp - 0x24]
push eax
call sub.KERNEL32.DLL_GetSystemInfo_1
mov edx, ebx
movzx eax, word [ebp - 0x24]
call fcn.004241bc
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6ce4f8
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6ce5b4
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x6ce527
mov eax, dword [ebp - 8]
call fcn.00409d4c
jmp 0x6ce59e
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a174
xor eax, eax
push ebp
push 0x6ce589
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, ebx
call fcn.0040a90c
mov edi, eax
push edi
call sub.KERNEL32.DLL_ExpandEnvironmentStringsW
mov esi, eax
test esi, esi
jle 0x6ce577
mov edx, esi
dec edx
mov eax, dword [ebp - 8]
call fcn.0040aaa0
push esi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040a90c
push eax
push edi
call sub.KERNEL32.DLL_ExpandEnvironmentStringsW
jmp 0x6ce57f
mov eax, dword [ebp - 8]
call fcn.00409d4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6ce59e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ce5bb
lea eax, [ebp - 4]
call fcn.00409d4c
ret

Function at 0x6ce5c4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x6ce676
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00409d4c
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push esi
call sub.KERNEL32.DLL_GetVolumeInformationW
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, ax
mov edx, 4
call fcn.004243f0
push dword [ebp - 0x14]
push 0x6ce690
lea ecx, [ebp - 0x18]
movzx eax, word [ebp - 8]
mov edx, 4
call fcn.004243f0
push dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040ac00
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a12c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ce67d
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00409dac
lea eax, [ebp - 4]
call fcn.00409d4c
ret