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

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x7d3ee8], 0
jne 0x6c3d7b
call fcn.006c3d20
mov eax, edi
dec eax
test eax, eax
jl 0x6c3da3
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7d3ae8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6c3d85
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x6c6a98
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.0x6c6b32.0
jmp dword [ecx*4 + 0x6c6acb]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x6c6afd
sub dl, 8
je 0x6c6b0c
jmp case.0x6c6b32.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6c6764
jmp case.0x6c6b32.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6c67b8
jmp case.0x6c6b32.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x6c6b32.0
movzx ecx, byte [ecx + 0x6c6b39]
jmp dword [ecx*4 + 0x6c6b4a]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6c6858
jmp case.0x6c6b32.0
cmp dl, 3
jne 0x6c6b77
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6c68b0
jmp case.0x6c6b32.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6c686c
jmp case.0x6c6b32.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6c68f4
jmp case.0x6c6b32.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x6c6ba2
sub dl, 8
je 0x6c6bae
jmp case.0x6c6b32.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6c6920
jmp case.0x6c6b32.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6c6984
jmp case.0x6c6b32.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x6c6bcd
sub dl, 8
je 0x6c6bd9
jmp case.0x6c6b32.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6c6a34
jmp case.0x6c6b32.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6c6a5c
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 0x6c6c7b
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.006c5cac
test eax, eax
je 0x6c6c7b
mov eax, ebx
call fcn.006c6c84
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 0x6c6c14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x6c6c84
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 0x6c6cb5
dec al
je 0x6c6cf0
dec al
je 0x6c6d2d
dec al
je 0x6c6d96
jmp 0x6c6e20
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x6c6e20
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 0x6c6cc5
jmp 0x6c6e20
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6c6e20
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 0x6c6d00
jmp 0x6c6e20
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6c6e20
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 0x6c6d5c
xor ebp, ebp
jmp 0x6c6d6c
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 0x6c6d75
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 0x6c6d3d
jmp 0x6c6e20
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6c6e20
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 0x6c6def
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.006c3dac
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 0x6c6daa
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x6ce998
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x6ce9c6
mov eax, ebx
call fcn.006cf454
cmp dword [ebx + 0x40], 0
je 0x6ce9bf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x6cea37
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x6cea29
cmp dword [ebx + 8], 0
je 0x6ce9e8
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 0x6ce9fa
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x6cea29
cmp dword [ebx + 8], 0
je 0x6ce9db
cmp eax, 3
je 0x6cea0d
dec eax
jne 0x6ce9db
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 0x6ce9db
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x6ce9db
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x6cea55
cmp dword [ebx + 0x14], 0xcc
je 0x6cea55
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.006cea60
pop ebx
ret
Function at 0x7089e4
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 0x708bae
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x708b83
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x40
call fcn.00407794
lea eax, [ebp - 0x244]
xor ecx, ecx
mov edx, 0x200
call fcn.00407794
lea eax, [ebp - 0x344]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00407794
lea eax, [ebp - 0x444]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00407794
lea eax, [ebp - 0x1444]
xor ecx, ecx
mov edx, 0x1000
call fcn.00407794
lea eax, [ebp - 0x1c44]
xor ecx, ecx
mov edx, 0x800
call fcn.00407794
mov eax, edi
xor ecx, ecx
mov edx, 0x3c
call fcn.00407794
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 0x708b0b
sub ebx, 4
mov ebx, dword [ebx]
push edi
push 0x90000000
push ebx
mov eax, esi
call fcn.0040a80c
push eax
call sub.wininet.dll_InternetCrackUrlW
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x244]
mov ecx, pe_nt_image_headers32
call fcn.0040a8c8
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x708b71
lea eax, [ebp - 0x1c84]
lea edx, [ebp - 0x44]
mov ecx, 0x20
call fcn.0040a8c8
push dword [ebp - 0x1c84]
push 0x708bc8
mov eax, dword [ebp - 4]
push dword [eax]
push 0x708bdc
mov eax, dword [ebp - 4]
mov edx, 4
call fcn.0040ab00
jmp 0x708b79
mov eax, dword [ebp - 4]
call fcn.00409bec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x708b95
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x708bb5
lea eax, [ebp - 0x1c84]
call fcn.00409bec
ret
Function at 0x79bc34
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.00409cd0
xor eax, eax
push ebp
push 0x79be5c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x79be22
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x7d3f74
mov edx, dword [ebp - 4]
call fcn.00409fcc
xor ecx, ecx
mov dl, 1
mov eax, dword [0x6a1ab4]
call fcn.006247f0
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x79bda0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.0066a0ac
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x148], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x164], ebx
mov dword [eax + 0x160], 0x79bab0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x15c], ebx
mov dword [eax + 0x158], 0x79bac8
mov eax, dword [ebp - 0x14]
call fcn.006a5ef0
add eax, 0xa8
mov ecx, dword [0x7cc084]
mov edx, 0x79be78
call fcn.0040aa78
xor eax, eax
push ebp
push 0x79bd83
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x79bd2b
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.006a34d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x79bd35
mov eax, dword [ebp - 0x14]
call fcn.006a5ee4
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x54]
mov edx, eax
lea eax, [ebp - 8]
call fcn.0040a874
mov eax, dword [ebp - 0x14]
call fcn.006a5ee4
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0xc]
mov edx, 0x79bf78
call fcn.00654928
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79bd8a
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xa0]
call fcn.00407e64
ret

Function at 0x79e7f0
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 0x79e871
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 0x7cc0c0
call sub.advapi32.dll_AllocateAndInitializeSid
call fcn.0042c1c4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.advapi32.dll_CheckTokenMembership
test eax, eax
je 0x79e850
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
jmp 0x79e854
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79e878
cmp dword [ebp - 8], 0
je 0x79e870
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
ret

Function at 0x79e920
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.0040a80c
push eax
mov eax, ebx
call fcn.0040a80c
push eax
push 0x79e94c
push 0
call fcn.004f4264
pop esi
pop ebx
ret
Function at 0x79e958
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 0x79eb14
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x40
call fcn.00407794
lea eax, [ebp - 0x244]
xor ecx, ecx
mov edx, 0x200
call fcn.00407794
lea eax, [ebp - 0x344]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00407794
lea eax, [ebp - 0x444]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00407794
lea eax, [ebp - 0x1444]
xor ecx, ecx
mov edx, 0x1000
call fcn.00407794
lea eax, [ebp - 0x1c44]
xor ecx, ecx
mov edx, 0x800
call fcn.00407794
lea eax, [ebp - 0x1c80]
xor ecx, ecx
mov edx, 0x3c
call fcn.00407794
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 0x79ea99
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x1c80]
push eax
push 0x90000000
push ebx
mov eax, edi
call fcn.0040a80c
push eax
call sub.wininet.dll_InternetCrackUrlW
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x244]
mov ecx, pe_nt_image_headers32
call fcn.0040a8c8
mov eax, esi
lea edx, [ebp - 0x1444]
mov ecx, 0x800
call fcn.0040a8c8
lea eax, [ebp - 0x1c84]
lea edx, [ebp - 0x1c44]
mov ecx, 0x400
call fcn.0040a8c8
mov edx, dword [ebp - 0x1c84]
mov eax, esi
call fcn.0040aa20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79eb1b
lea eax, [ebp - 0x1c84]
call fcn.00409bec
ret
Function at 0x79f234
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 0x79f3f0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x40
call fcn.00407794
lea eax, [ebp - 0x244]
xor ecx, ecx
mov edx, 0x200
call fcn.00407794
lea eax, [ebp - 0x344]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00407794
lea eax, [ebp - 0x444]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00407794
lea eax, [ebp - 0x1444]
xor ecx, ecx
mov edx, 0x1000
call fcn.00407794
lea eax, [ebp - 0x1c44]
xor ecx, ecx
mov edx, 0x800
call fcn.00407794
lea eax, [ebp - 0x1c80]
xor ecx, ecx
mov edx, 0x3c
call fcn.00407794
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 0x79f375
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x1c80]
push eax
push 0x90000000
push ebx
mov eax, edi
call fcn.0040a80c
push eax
call sub.wininet.dll_InternetCrackUrlW
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x244]
mov ecx, pe_nt_image_headers32
call fcn.0040a8c8
mov eax, esi
lea edx, [ebp - 0x1444]
mov ecx, 0x800
call fcn.0040a8c8
lea eax, [ebp - 0x1c84]
lea edx, [ebp - 0x1c44]
mov ecx, 0x400
call fcn.0040a8c8
mov edx, dword [ebp - 0x1c84]
mov eax, esi
call fcn.0040aa20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79f3f7
lea eax, [ebp - 0x1c84]
call fcn.00409bec
ret
Function at 0x7a0044
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 0x7a00ff
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x7a00e0
push dword fs:[edx]
mov dword fs:[edx], esp
test ebx, ebx
je 0x7a00ca
xor edx, edx
push ebp
push 0x7a00c3
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 0x7a00b5
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 0x7a00d6
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 0x7a00f1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7a0106
ret
Function at 0x7a18e4
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.00407794
lea eax, [ebp - 0x240]
xor ecx, ecx
mov edx, 0x200
call fcn.00407794
lea eax, [ebp - 0x340]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00407794
lea eax, [ebp - 0x440]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00407794
lea eax, [ebp - 0x1440]
xor ecx, ecx
mov edx, 0x1000
call fcn.00407794
lea eax, [ebp - 0x1c40]
xor ecx, ecx
mov edx, 0x800
call fcn.00407794
lea eax, [ebp - 0x1c7c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00407794
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 0x7a1a0c
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x1c7c]
push eax
push 0x90000000
push ebx
mov eax, esi
call fcn.0040a80c
push eax
call sub.wininet.dll_InternetCrackUrlW
mov eax, edi
lea edx, [ebp - 0x40]
mov ecx, 0x20
call fcn.0040a8c8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7a429c
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x7a42a4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x5c], eax
xor eax, eax
push ebp
push 0x7a4482
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x7a43f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x5c]
call fcn.00409bec
lea edx, [ebp - 0x64]
mov eax, 0x7a449c
call fcn.00537380
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x18]
call fcn.0043acb0
push 0
push 0
push 0x7a44e0
push 0x7a4504
push 0x7a4518
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00434fb4
add esp, 0x1c
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x28]
call fcn.0043ad98
push 0x20
push 0x7a453c
push 0x7a4550
push 0x7a458c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00434fb4
add esp, 0x18
lea edx, [ebp - 0x84]
lea eax, [ebp - 0x38]
call fcn.0043ad98
push 0x7a459c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00434fb4
add esp, 0xc
lea edx, [ebp - 0x98]
lea eax, [ebp - 0x88]
call fcn.0043a7a4
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 4]
mov ecx, 0x7a45a8
call fcn.0040d870
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 0x7a43eb
push 0x7a45b8
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00434fb4
add esp, 0xc
lea edx, [ebp - 0xac]
lea eax, [ebp - 0x9c]
call fcn.0043a0ac
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x5c]
call fcn.004229f4
lea eax, [ebp - 0x58]
call fcn.00434eb8
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x58]
call fcn.0043ad98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7a4407
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7a4489
lea eax, [ebp - 0xac]
call fcn.00434ecc
lea eax, [ebp - 0x9c]
call fcn.00409bec
lea eax, [ebp - 0x98]
call fcn.00434ecc
lea eax, [ebp - 0x88]
call fcn.0040d82c
lea eax, [ebp - 0x84]
mov edx, dword [0x4012f0]
mov ecx, 2
call fcn.0040b17c
lea eax, [ebp - 0x64]
call fcn.0040d82c
lea eax, [ebp - 0x58]
call fcn.00434ecc
lea eax, [ebp - 0x48]
mov edx, dword [0x401300]
mov ecx, 4
call fcn.0040b17c
lea eax, [ebp - 4]
call fcn.0040d82c
ret

Function at 0x7a45d4
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.00407794
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, ebx
movzx eax, word [ebp - 0x24]
call fcn.004233a0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7a739c
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 0x7a7458
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x7a73cb
mov eax, dword [ebp - 8]
call fcn.00409bec
jmp 0x7a7442
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a014
xor eax, eax
push ebp
push 0x7a742d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, ebx
call fcn.0040a80c
mov edi, eax
push edi
call sub.kernel32.dll_ExpandEnvironmentStringsW
mov esi, eax
test esi, esi
jle 0x7a741b
mov edx, esi
dec edx
mov eax, dword [ebp - 8]
call fcn.0040a9a0
push esi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040a80c
push eax
push edi
call sub.kernel32.dll_ExpandEnvironmentStringsW
jmp 0x7a7423
mov eax, dword [ebp - 8]
call fcn.00409bec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7a7442
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7a745f
lea eax, [ebp - 4]
call fcn.00409bec
ret

Function at 0x7a7468
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 0x7a751a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00409bec
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.004235d4
push dword [ebp - 0x14]
push 0x7a7534
lea ecx, [ebp - 0x18]
movzx eax, word [ebp - 8]
mov edx, 4
call fcn.004235d4
push dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040ab00
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00409fcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7a7521
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00409c4c
lea eax, [ebp - 4]
call fcn.00409bec
ret