joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6956e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.00695180
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x695751
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x695716
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret
Function at 0x69c300
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x69c3ea
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x69c37d
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0069bac0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x69c343
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x69c4b3
call 0x69c38f
pop edx
lea ecx, [edx + 0x171]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x69c44a
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0069bee0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x69c3fb
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x69c4b3
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0069bee0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x69c4ae
jmp 0x69c4b3
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x69ec00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18
call fcn.004d61c0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov byte [ecx], 0
cmp dword [ebp + 0xc], 0x80
jle 0x69ec29
mov dword [ebp + 0xc], 0x80
cmp dword [ebp + 0x14], 0
jg 0x69ec36
mov dword [ebp + 0x14], 0x400
cmp dword [ebp + 0x14], 0x400
jle 0x69ec46
mov dword [ebp + 0x14], 0x400
mov dword [ebp - 4], 0
jmp 0x69ec58
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jge 0x69ec72
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 4]
mov al, byte [edx]
mov byte [ecx], al
jmp 0x69ec4f
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0xc]
movzx edx, byte [ecx - 1]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
jmp 0x69eca0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 4], 0x80
jge 0x69ecd2
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
add ecx, dword [ebp - 0x10]
and ecx, 0xff
movzx edx, byte [ecx + 0x7a3160]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov cl, byte [ebp - 0x10]
mov byte [eax], cl
jmp 0x69ec8e
mov edx, dword [ebp + 0x14]
add edx, 7
sar edx, 3
mov dword [ebp - 0x18], edx
mov eax, 0x80
sub eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
neg ecx
and ecx, 7
mov edx, 0xff
sar edx, cl
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
and ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x7a3160]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov cl, byte [ebp - 0x10]
mov byte [eax], cl
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
test edx, edx
je 0x69ed53
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + ecx]
xor eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x7a3160]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
mov al, byte [ebp - 0x10]
mov byte [edx], al
jmp 0x69ed1c
mov ecx, dword [ebp + 8]
add ecx, 0xfc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x7f
jmp 0x69ed71
mov edx, dword [ebp - 4]
sub edx, 2
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jl 0x69eda5
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
shl ecx, 8
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
movzx eax, byte [edx - 1]
or ecx, eax
and ecx, 0xffff
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 8]
sub eax, 4
mov dword [ebp - 8], eax
jmp 0x69ed68
mov esp, ebp
pop ebp
ret
Function at 0x6aa300
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.004d61c0
push 0x78
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.004d4a00
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x6aa32f
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 8
jge 0x6aa34a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx*4 + 0x7a48c0]
mov dword [eax + edx*4], ecx
jmp 0x6aa326
mov esp, ebp
pop ebp
ret
Function at 0x6d8b40
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.004d61c0
cmp dword [ebp + 8], 0
jne 0x6d8b5a
xor eax, eax
jmp 0x6d8d41
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.005899b0
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x6d8bb5
call fcn.005316f0
push str.ecx_gen
push 0x249
push str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.00531940
add esp, 0xc
push 0
push 0xc0100
push 0x39
call fcn.00531a70
add esp, 0xc
xor eax, eax
jmp 0x6d8d41
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
and ecx, 3
jne 0x6d8bc8
mov eax, dword [ebp - 8]
jmp 0x6d8d41
mov edx, dword [ebp - 8]
push edx
call fcn.00589c10
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x6d8c0f
call fcn.005316f0
push str.ecx_gen
push 0x252
push str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.00531940
add esp, 0xc
push 0
push 0xc0100
push 0x39
call fcn.00531a70
add esp, 0xc
jmp 0x6d8d33
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00515060
add esp, 0x10
test eax, eax
jg 0x6d8c33
jmp 0x6d8d33
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
ja case.default.0x6d8c49
mov ecx, dword [ebp - 0xc]
jmp dword [ecx*4 + 0x6d8d48]
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
and eax, 0xf8
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x1f]
and eax, 0x7f
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1f], al
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x1f]
or eax, 0x40
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1f], al
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
call fcn.00649fc0
add esp, 8
jmp case.default.0x6d8c49
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
and edx, 0xfc
mov eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x37]
or edx, 0x80
mov eax, dword [ebp - 4]
mov byte [eax + 0x37], dl
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
add edx, 0xc
push edx
call fcn.0064c860
add esp, 8
jmp case.default.0x6d8c49
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.006494c0
add esp, 0x10
test eax, eax
jne 0x6d8cf7
jmp 0x6d8d33
jmp case.default.0x6d8c49
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.0064d310
add esp, 0x10
test eax, eax
jne case.default.0x6d8c49
jmp 0x6d8d33
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
or ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 8]
jmp 0x6d8d41
mov eax, dword [ebp - 8]
push eax
call fcn.00589af0
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x711050
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.004d61c0
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [ebp - 7], cl
movzx edx, byte [ebp - 7]
sar edx, 7
mov byte [ebp - 6], dl
mov dword [ebp - 4], 0
jmp 0x711087
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov cl, byte [ebp - 5]
mov byte [ebp - 7], cl
mov edx, dword [ebp + 0x10]
sub edx, 1
cmp dword [ebp - 4], edx
jge 0x7110b7
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov cl, byte [eax + 1]
mov byte [ebp - 5], cl
movzx edx, byte [ebp - 5]
sar edx, 7
movzx eax, byte [ebp - 7]
shl eax, 1
or eax, edx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], al
jmp 0x711078
movzx edx, byte [ebp - 7]
shl edx, 1
movzx eax, byte [ebp - 6]
xor ecx, ecx
sub ecx, eax
mov eax, dword [ebp + 0x10]
sub eax, 0x10
neg eax
sbb eax, eax
and eax, 0xffffff94
add eax, 0x87
and ecx, eax
xor edx, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], dl
mov esp, ebp
pop ebp
ret

Function at 0x71e32e
Capabilities:
Enumerate processes

Disassembly:
push 0x140
push 0x7ca9c0
call fcn.00729d90
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov dword [ebp - 0x1c], ebx
push ebx
call fcn.004d58c6
pop ecx
mov esi, eax
mov edi, edx
sub eax, dword [0x7dcff0]
mov ecx, edi
sbb ecx, dword [0x7dcff4]
mov dword [ebp - 0x24], ecx
js 0x71e398
jg 0x71e36d
cmp eax, 1
jbe 0x71e398
mov eax, dword [0x7dcfec]
test eax, eax
je 0x71e37d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [0x7dcfec], eax
mov dword [0x7dcff0], esi
mov dword [0x7dcff4], edi
mov eax, dword [0x7dcfec]
cmp eax, 0xffffffff
jne 0x71e3a9
or eax, eax
jmp 0x71e44f
mov dword [ebp - 0x150], 0x128
lea ecx, [ebp - 0x150]
push ecx
push eax
mov esi, dword [sym.imp.KERNEL32.dll_Process32First]
call esi
test eax, eax
jne 0x71e3cf
push 0x12
pop eax
jmp 0x71e44f
xor eax, eax
inc eax
test eax, eax
je 0x71e447
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x148], eax
jne 0x71e455
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x71e447
mov ecx, dword [ebp + 0x10]
cmp ebx, dword [ecx]
jae 0x71e440
and dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
inc ebx
mov dword [ebp - 0x20], ebx
or dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], eax
lea eax, [ebp - 0x150]
push eax
push dword [0x7dcfec]
call esi
jmp 0x71e3d2
mov dword [ebp - 0x1c], 0xea
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov eax, dword [ebp - 0x1c]
call fcn.00729dcb
ret
lea eax, [ebp - 0x150]
push eax
push dword [0x7dcfec]
call dword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x71e3d2
Function at 0x71e4b7
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x72af8e
call fcn.004dc888
sub esp, 0xb1c
push ebx
push esi
mov esi, 0x7dcf74
push edi
mov ecx, esi
mov dword [ebp - 0x24], esi
call fcn.004c9950
mov byte [ebp - 0x20], 1
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0071dfb9
test eax, eax
je 0x71e612
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x548]
push 0x3ff
push eax
call fcn.004d10a9
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 0x149], bl
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x548]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x1a]
push eax
push str._02d__02d__04d__02d:_02d:_02d._03d__s
lea eax, [ebp - 0xb28]
push 0x5dc
push eax
call fcn.004d0f27
add esp, 0x2c
lea eax, [ebp - 0x144]
mov dword [ebp - 0x148], eax
push 3
lea eax, [ebp - 0xb28]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.0040ce36
mov byte [ebp - 4], 1
push dword [ebp - 0x148]
lea ecx, [ebp - 0x44]
call fcn.0040cc6d
lea eax, [ebp - 0x144]
cmp dword [ebp - 0x148], eax
je 0x71e5aa
push dword [ebp - 0x148]
call fcn.004d2a44
pop ecx
cmp dword [0x7dcfa0], 0x10
mov eax, dword [0x7dcf8c]
jae 0x71e5bd
mov eax, 0x7dcf8c
push ebx
push 0x80
push 4
push ebx
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
push ebx
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x71e5ed
lea eax, [ebp - 0x44]
push ebx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x34]
add ecx, ecx
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.0040cdb2
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004c9965
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x71e85e
Capabilities:
Get hostname

Disassembly:
mov eax, 0x72b0a0
call fcn.004dc888
sub esp, 0x160
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
xor eax, eax
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x16c]
push eax
mov dword [ebp - 0x14], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x16c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x71e8b8
sub eax, edx
push eax
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401974
push 8
push str.COMSCORE
lea ecx, [ebp - 0x30]
call fcn.004030c3
cmp dword [ebp - 0x1c], 0x10
mov eax, dword [ebp - 0x30]
jae 0x71e8ec
lea eax, [ebp - 0x30]
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp - 0x44]
push ecx
push eax
call fcn.00412f81
lea ecx, [ebp - 0x6c]
lea eax, [ebp - 0x44]
call fcn.00412fa8
mov esi, dword [ebp - 0x44]
push 0
push 1
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], esi
call fcn.004010ac
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x71f7e3
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x72b0f5
call fcn.004dc888
sub esp, 0x12c
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [esi + 0xff8]
push str.text_xml
push eax
mov dword [ebp - 4], ebx
call fcn.004d317c
pop ecx
pop ecx
push 3
lea ecx, [ebp - 0x2c]
test eax, eax
jne 0x71f82d
push 0x7c6140
jmp 0x71f832
push 0x7c6144
call fcn.00401974
push 0x103
lea eax, [ebp - 0x137]
push ebx
push eax
mov byte [ebp - 0x138], bl
call fcn.004d4a00
add esp, 0xc
cmp dword [esi + 0x1118], ebx
jne 0x71f86a
lea ecx, [esi + 0x1108]
push str.HTTP_1.0_200_OK_r_n_r_n
call fcn.004019e8
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x2c]
jae 0x71f876
lea ecx, [ebp - 0x2c]
mov eax, dword [esi + 8]
push ebx
lea edx, [ebp - 0x138]
push edx
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_CreateUrlCacheEntryA]
test eax, eax
jne 0x71f89a
push str.WinInetRequest::CacheURLInfo._Unable_to_create_URL_cache_entry._r_n
jmp 0x71f944
push 0x7c61a4
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], ebx
call fcn.004d41b3
add esp, 0xc
cmp dword [ebp - 0x10], ebx
jne 0x71f8c4
push str.WinInetRequest::CacheURLInfo._Unable_to_open_cache_file._r_n
jmp 0x71f944
push dword [ebp - 0x10]
mov edi, dword [esi + 8]
mov eax, dword [esi]
push edi
push 1
push eax
call fcn.004d4351
add esp, 0x10
cmp eax, edi
je 0x71f8fe
mov esi, dword [0x7d92f0]
push str.WinInetRequest::CacheURLInfo._Error_writing_cache_file._r_n
push 0xbfffffff
call fcn.0072062c
push dword [ebp - 0x10]
call fcn.004d4438
add esp, 0xc
jmp 0x71f956
push dword [ebp - 0x10]
call fcn.004d4438
lea eax, [esi + 0x1108]
xor edx, edx
xor edi, edi
cmp dword [eax + 0x14], 0x10
pop ecx
mov ecx, dword [esi + 0x1118]
jb 0x71f91f
mov eax, dword [eax]
push ebx
push ebx
push ecx
push eax
push 1
push ebx
xor eax, eax
push eax
push edx
push edi
lea eax, [ebp - 0x138]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_CommitUrlCacheEntryA]
test eax, eax
jne 0x71f956
push str.WinInetRequest::CacheURLInfo._Unable_to_commit_URL_cache_entry._r_n
mov esi, dword [0x7d92f0]
push 0xbfffffff
call fcn.0072062c
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004010ac
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x72045c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2808
call fcn.004d61c0
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
test eax, eax
je 0x7204d6
lea eax, [ebp - 0x2808]
push eax
push 0x2800
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
cmp eax, 1
jne 0x7204d6
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x7c4b08
lea eax, [ebp - 0x2808]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0xc]
movzx edx, ax
shr eax, 0x10
mov edi, eax
mov eax, dword [ecx + 8]
movzx ecx, ax
shr eax, 0x10
mov dword [esi], eax
mov dword [esi + 8], edi
mov dword [esi + 4], ecx
mov dword [esi + 0xc], edx
xor eax, eax
pop edi
jmp 0x7204d9
push 2
pop eax
leave
ret 4

Function at 0x72062c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8034
call fcn.004d61c0
cmp byte [esi], 0
je 0x72070e
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x1c]
ja 0x72070e
push edi
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x8034]
push 0x8000
push eax
call fcn.004d10a9
add esp, 0x10
cmp byte [esi + 2], 0
mov dword [ebp - 0x14], eax
jne 0x72068a
lea eax, [ebp - 0x8034]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp byte [esi + 1], 0
je 0x720706
cmp byte [esi + 3], 0
je 0x7206e9
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 2]
push eax
movzx eax, word [ebp - 4]
push eax
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0x10]
push 0x64
pop ecx
cdq
idiv ecx
movzx eax, word [ebp - 0xa]
push edx
push eax
movzx eax, word [ebp - 0xe]
push eax
push str._02d__02d__02d__02d:_02d:_02d._03d:
lea eax, [ebp - 0x34]
push 0x20
push eax
call fcn.004d0f27
push eax
lea eax, [ebp - 0x34]
push eax
push dword [esi + 0x20]
call fcn.004d2810
add esp, 0x34
push dword [ebp - 0x14]
lea eax, [ebp - 0x8034]
push eax
push dword [esi + 0x20]
call fcn.004d2810
push dword [esi + 0x20]
call fcn.004d1ef1
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
leave
ret
Function at 0x720d3b
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
push esi
push edi
mov esi, 0x100
push esi
push dword [ebp + 8]
lea ebx, [ebp - 8]
lea edi, [ebp - 0x114]
call fcn.00720cf8
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov cl, byte [ebp + eax - 0x115]
cmp cl, 0x3a
je 0x720d80
cmp cl, 0x5c
je 0x720d80
mov byte [ebp + eax - 0x114], 0x5c
inc eax
mov dword [ebp - 8], eax
mov ecx, esi
sub ecx, eax
push ecx
push 0x7c411c
lea edi, [ebp + eax - 0x114]
lea ebx, [ebp - 8]
call fcn.00720cf8
pop ecx
pop ecx
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x720dc2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x720e76
lea eax, [ebp - 0x114]
dec eax
mov dword [ebp - 0x10], eax
push esi
push dword [ebp + 8]
lea ebx, [ebp - 8]
lea edi, [ebp - 0x114]
call fcn.00720cf8
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
mov cl, byte [ecx + eax]
cmp cl, 0x3a
je 0x720dff
cmp cl, 0x5c
je 0x720dff
mov byte [ebp + eax - 0x114], 0x5c
inc eax
mov dword [ebp - 8], eax
mov ecx, esi
sub ecx, eax
push ecx
lea ecx, [ebp - 0x228]
push ecx
lea edi, [ebp + eax - 0x114]
lea ebx, [ebp - 8]
call fcn.00720cf8
cmp byte [ebp - 0x228], 0x2e
pop ecx
pop ecx
jne 0x720e40
cmp byte [ebp - 0x227], 0
je 0x720e51
cmp byte [ebp - 0x227], 0x2e
jne 0x720e40
cmp byte [ebp - 0x226], 0
je 0x720e51
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x720e7b
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x720dcc
xor esi, esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x720e6b

Function at 0x721dd4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push 0x94
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.004d4a00
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x94], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 6
sbb eax, eax
inc eax
leave
ret