joyce8/EMBER2024-capa huggingface dataset:
Function at 0x637560
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov eax, ebx
call fcn.00409f14
mov dword [esp], 0xf
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x637591
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.0040a09c
add esp, 0x24
pop ebx
ret

Function at 0x660820
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x660828
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6609dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x6609f8
call fcn.0040ada0
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
xor edx, edx
mov eax, dword [ebx + 0x1c]
call fcn.0065e42c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x660a0c
call fcn.006097f8
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x6608a3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x6608e4
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
xor edx, edx
mov eax, dword [ebx + 0xc]
call fcn.0065e42c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x660a74
call fcn.006097f8
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040ad48
mov eax, esi
mov edx, 0x660aa0
call fcn.0040ad48
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x6608fc
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x66096a
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x660ab4
call fcn.006097f8
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040ad48
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x660933
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x66095e
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x660ae4
call fcn.006097f8
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040ad48
mov eax, esi
mov edx, 0x660aa0
call fcn.0040ad48
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x660976
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x6609a1
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x660b10
call fcn.006097f8
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040ad48
mov eax, esi
mov edx, 0x660aa0
call fcn.0040ad48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6609e4
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00409f74
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00409f74
lea eax, [ebp - 4]
call fcn.00409f14
ret
Function at 0x692ffc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x69304d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x693034
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x693024
jmp 0x69304d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x693035
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6a8560
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x7a5f08], 0
jne 0x6a8577
call fcn.006a851c
mov eax, edi
dec eax
test eax, eax
jl 0x6a859f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7a5b08]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6a8581
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x6ab294
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.0x6ab32e.0
jmp dword [ecx*4 + 0x6ab2c7]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x6ab2f9
sub dl, 8
je 0x6ab308
jmp case.0x6ab32e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6aaf60
jmp case.0x6ab32e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6aafb4
jmp case.0x6ab32e.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x6ab32e.0
movzx ecx, byte [ecx + 0x6ab335]
jmp dword [ecx*4 + 0x6ab346]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6ab054
jmp case.0x6ab32e.0
cmp dl, 3
jne 0x6ab373
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6ab0ac
jmp case.0x6ab32e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6ab068
jmp case.0x6ab32e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6ab0f0
jmp case.0x6ab32e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x6ab39e
sub dl, 8
je 0x6ab3aa
jmp case.0x6ab32e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6ab11c
jmp case.0x6ab32e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6ab180
jmp case.0x6ab32e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x6ab3c9
sub dl, 8
je 0x6ab3d5
jmp case.0x6ab32e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6ab230
jmp case.0x6ab32e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6ab258
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 0x6ab477
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.006aa4a8
test eax, eax
je 0x6ab477
mov eax, ebx
call fcn.006ab480
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 0x6ab410
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x6ab480
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 0x6ab4b1
dec al
je 0x6ab4ec
dec al
je 0x6ab529
dec al
je 0x6ab592
jmp 0x6ab61c
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x6ab61c
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 0x6ab4c1
jmp 0x6ab61c
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6ab61c
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 0x6ab4fc
jmp 0x6ab61c
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6ab61c
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 0x6ab558
xor ebp, ebp
jmp 0x6ab568
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 0x6ab571
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 0x6ab539
jmp 0x6ab61c
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6ab61c
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 0x6ab5eb
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.006a85a8
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 0x6ab5a6
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x6b317c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x6b31aa
mov eax, ebx
call fcn.006b3c38
cmp dword [ebx + 0x40], 0
je 0x6b31a3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x6b321b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x6b320d
cmp dword [ebx + 8], 0
je 0x6b31cc
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 0x6b31de
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x6b320d
cmp dword [ebx + 8], 0
je 0x6b31bf
cmp eax, 3
je 0x6b31f1
dec eax
jne 0x6b31bf
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 0x6b31bf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x6b31bf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x6b3239
cmp dword [ebx + 0x14], 0xcc
je 0x6b3239
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.006b3244
pop ebx
ret
Function at 0x6e8c34
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 0x6e8dfe
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x6e8dd3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x40
call fcn.00407a0c
lea eax, [ebp - 0x244]
xor ecx, ecx
mov edx, 0x200
call fcn.00407a0c
lea eax, [ebp - 0x344]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00407a0c
lea eax, [ebp - 0x444]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00407a0c
lea eax, [ebp - 0x1444]
xor ecx, ecx
mov edx, 0x1000
call fcn.00407a0c
lea eax, [ebp - 0x1c44]
xor ecx, ecx
mov edx, 0x800
call fcn.00407a0c
mov eax, edi
xor ecx, ecx
mov edx, 0x3c
call fcn.00407a0c
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 0x6e8d5b
sub ebx, 4
mov ebx, dword [ebx]
push edi
push 0x90000000
push ebx
mov eax, esi
call fcn.0040ab34
push eax
call sub.wininet.dll_InternetCrackUrlW
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x244]
mov ecx, pe_nt_image_headers32
call fcn.0040abf0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x6e8dc1
lea eax, [ebp - 0x1c84]
lea edx, [ebp - 0x44]
mov ecx, 0x20
call fcn.0040abf0
push dword [ebp - 0x1c84]
push 0x6e8e18
mov eax, dword [ebp - 4]
push dword [eax]
push 0x6e8e2c
mov eax, dword [ebp - 4]
mov edx, 4
call fcn.0040ae28
jmp 0x6e8dc9
mov eax, dword [ebp - 4]
call fcn.00409f14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6e8de5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e8e05
lea eax, [ebp - 0x1c84]
call fcn.00409f14
ret

Function at 0x6e8e30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
mov ebx, ecx
cmp dl, 1
cmc
sbb edx, edx
push edx
push eax
lea eax, [ebp - 0x200]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, ebx
lea edx, [ebp - 0x200]
mov ecx, pe_nt_image_headers32
call fcn.0040abf0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x76e2e0
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.00409ff8
xor eax, eax
push ebp
push 0x76e508
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x76e4ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x7a5f94
mov edx, dword [ebp - 4]
call fcn.0040a2f4
xor ecx, ecx
mov dl, 1
mov eax, dword [0x6862d8]
call fcn.0060bdc0
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x76e44c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.0064e248
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x148], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x164], ebx
mov dword [eax + 0x160], 0x76e16c
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x15c], ebx
mov dword [eax + 0x158], 0x76e184
mov eax, dword [ebp - 0x14]
call fcn.0068a6cc
add eax, 0xa8
mov ecx, dword [0x79e130]
mov edx, 0x76e524
call fcn.0040ada0
xor eax, eax
push ebp
push 0x76e42f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x76e3d7
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.00687ce4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x76e3e1
mov eax, dword [ebp - 0x14]
call fcn.0068a6c0
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x54]
mov edx, eax
lea eax, [ebp - 8]
call fcn.0040ab9c
mov eax, dword [ebp - 0x14]
call fcn.0068a6c0
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0xc]
mov edx, 0x76e624
call fcn.006386fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x76e436
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xa0]
call fcn.00408158
ret

Function at 0x770f74
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 0x770ff5
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 0x79e16c
call sub.advapi32.dll_AllocateAndInitializeSid
call fcn.0042b5b0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.advapi32.dll_CheckTokenMembership
test eax, eax
je 0x770fd4
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
jmp 0x770fd8
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x770ffc
cmp dword [ebp - 8], 0
je 0x770ff4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
ret

Function at 0x7710a4
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.0040ab34
push eax
mov eax, ebx
call fcn.0040ab34
push eax
push 0x7710d0
push 0
call sub.shell32.dll_ShellExecuteW
pop esi
pop ebx
ret
Function at 0x7710dc
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff37c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c84], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x771298
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x40
call fcn.00407a0c
lea eax, [ebp - 0x244]
xor ecx, ecx
mov edx, 0x200
call fcn.00407a0c
lea eax, [ebp - 0x344]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00407a0c
lea eax, [ebp - 0x444]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00407a0c
lea eax, [ebp - 0x1444]
xor ecx, ecx
mov edx, 0x1000
call fcn.00407a0c
lea eax, [ebp - 0x1c44]
xor ecx, ecx
mov edx, 0x800
call fcn.00407a0c
lea eax, [ebp - 0x1c80]
xor ecx, ecx
mov edx, 0x3c
call fcn.00407a0c
mov dword [ebp - 0x1c80], 0x3c
lea eax, [ebp - 0x44]
mov dword [ebp - 0x1c7c], eax
mov dword [ebp - 0x1c78], 0x40
lea eax, [ebp - 0x244]
mov dword [ebp - 0x1c70], eax
mov dword [ebp - 0x1c6c], 0x200
lea eax, [ebp - 0x344]
mov dword [ebp - 0x1c64], eax
mov dword [ebp - 0x1c60], pe_nt_image_headers32
lea eax, [ebp - 0x444]
mov dword [ebp - 0x1c5c], eax
mov dword [ebp - 0x1c58], pe_nt_image_headers32
lea eax, [ebp - 0x1444]
mov dword [ebp - 0x1c54], eax
mov dword [ebp - 0x1c50], 0x1000
lea eax, [ebp - 0x1c44]
mov dword [ebp - 0x1c4c], eax
mov dword [ebp - 0x1c48], 0x800
mov ebx, edi
test ebx, ebx
je 0x77121d
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x1c80]
push eax
push 0x90000000
push ebx
mov eax, edi
call fcn.0040ab34
push eax
call sub.wininet.dll_InternetCrackUrlW
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x244]
mov ecx, pe_nt_image_headers32
call fcn.0040abf0
mov eax, esi
lea edx, [ebp - 0x1444]
mov ecx, 0x800
call fcn.0040abf0
lea eax, [ebp - 0x1c84]
lea edx, [ebp - 0x1c44]
mov ecx, 0x400
call fcn.0040abf0
mov edx, dword [ebp - 0x1c84]
mov eax, esi
call fcn.0040ad48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x77129f
lea eax, [ebp - 0x1c84]
call fcn.00409f14
ret
Function at 0x771890
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff37c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c84], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x771a4c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x40
call fcn.00407a0c
lea eax, [ebp - 0x244]
xor ecx, ecx
mov edx, 0x200
call fcn.00407a0c
lea eax, [ebp - 0x344]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00407a0c
lea eax, [ebp - 0x444]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00407a0c
lea eax, [ebp - 0x1444]
xor ecx, ecx
mov edx, 0x1000
call fcn.00407a0c
lea eax, [ebp - 0x1c44]
xor ecx, ecx
mov edx, 0x800
call fcn.00407a0c
lea eax, [ebp - 0x1c80]
xor ecx, ecx
mov edx, 0x3c
call fcn.00407a0c
mov dword [ebp - 0x1c80], 0x3c
lea eax, [ebp - 0x44]
mov dword [ebp - 0x1c7c], eax
mov dword [ebp - 0x1c78], 0x40
lea eax, [ebp - 0x244]
mov dword [ebp - 0x1c70], eax
mov dword [ebp - 0x1c6c], 0x200
lea eax, [ebp - 0x344]
mov dword [ebp - 0x1c64], eax
mov dword [ebp - 0x1c60], pe_nt_image_headers32
lea eax, [ebp - 0x444]
mov dword [ebp - 0x1c5c], eax
mov dword [ebp - 0x1c58], pe_nt_image_headers32
lea eax, [ebp - 0x1444]
mov dword [ebp - 0x1c54], eax
mov dword [ebp - 0x1c50], 0x1000
lea eax, [ebp - 0x1c44]
mov dword [ebp - 0x1c4c], eax
mov dword [ebp - 0x1c48], 0x800
mov ebx, edi
test ebx, ebx
je 0x7719d1
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x1c80]
push eax
push 0x90000000
push ebx
mov eax, edi
call fcn.0040ab34
push eax
call sub.wininet.dll_InternetCrackUrlW
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x244]
mov ecx, pe_nt_image_headers32
call fcn.0040abf0
mov eax, esi
lea edx, [ebp - 0x1444]
mov ecx, 0x800
call fcn.0040abf0
lea eax, [ebp - 0x1c84]
lea edx, [ebp - 0x1c44]
mov ecx, 0x400
call fcn.0040abf0
mov edx, dword [ebp - 0x1c84]
mov eax, esi
call fcn.0040ad48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x771a53
lea eax, [ebp - 0x1c84]
call fcn.00409f14
ret
Function at 0x7725e0
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x77269b
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x77267c
push dword fs:[edx]
mov dword fs:[edx], esp
test ebx, ebx
je 0x772666
xor edx, edx
push ebp
push 0x77265f
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 8], 4
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push ebx
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
jne 0x772651
xor eax, eax
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 4], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x772672
ret
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 4], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x77268d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7726a2
ret
Function at 0x773b70
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.00407a0c
lea eax, [ebp - 0x240]
xor ecx, ecx
mov edx, 0x200
call fcn.00407a0c
lea eax, [ebp - 0x340]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00407a0c
lea eax, [ebp - 0x440]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00407a0c
lea eax, [ebp - 0x1440]
xor ecx, ecx
mov edx, 0x1000
call fcn.00407a0c
lea eax, [ebp - 0x1c40]
xor ecx, ecx
mov edx, 0x800
call fcn.00407a0c
lea eax, [ebp - 0x1c7c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00407a0c
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 0x773c98
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x1c7c]
push eax
push 0x90000000
push ebx
mov eax, esi
call fcn.0040ab34
push eax
call sub.wininet.dll_InternetCrackUrlW
mov eax, edi
lea edx, [ebp - 0x40]
mov ecx, 0x20
call fcn.0040abf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret