joyce8/EMBER2024-capa huggingface dataset:
Function at 0x68f8a0
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.0068f340
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x68f911
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 0x68f8d6
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret
Function at 0x6964c0
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 0x6965c6
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x69653d
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.00695c80
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 0x696503
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x69668f
call 0x69654f
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 0x696626
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.006960a0
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 0x6965d7
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x69668f
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.006960a0
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 0x69668a
jmp 0x69668f
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 0x698dc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18
call fcn.004d28e0
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 0x698de9
mov dword [ebp + 0xc], 0x80
cmp dword [ebp + 0x14], 0
jg 0x698df6
mov dword [ebp + 0x14], 0x400
cmp dword [ebp + 0x14], 0x400
jle 0x698e06
mov dword [ebp + 0x14], 0x400
mov dword [ebp - 4], 0
jmp 0x698e18
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jge 0x698e32
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 0x698e0f
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 0x698e60
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 0x698e92
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 + 0x79b468]
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 0x698e4e
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 + 0x79b468]
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 0x698f13
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 + 0x79b468]
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 0x698edc
mov ecx, dword [ebp + 8]
add ecx, 0xfc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x7f
jmp 0x698f31
mov edx, dword [ebp - 4]
sub edx, 2
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jl 0x698f65
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 0x698f28
mov esp, ebp
pop ebp
ret
Function at 0x6a44c0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.004d28e0
push 0x78
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.004d1020
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x6a44ef
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 8
jge 0x6a450a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx*4 + 0x79cbc8]
mov dword [eax + edx*4], ecx
jmp 0x6a44e6
mov esp, ebp
pop ebp
ret
Function at 0x6d1ba0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.004d28e0
cmp dword [ebp + 8], 0
jne 0x6d1bba
xor eax, eax
jmp 0x6d1da1
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.0059d500
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x6d1c15
call fcn.0052db80
push str.ecx_gen
push 0x238
push str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.0052ddd0
add esp, 0xc
push 0
push 0xc0100
push 0x39
call fcn.0052df00
add esp, 0xc
xor eax, eax
jmp 0x6d1da1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
and ecx, 3
jne 0x6d1c28
mov eax, dword [ebp - 8]
jmp 0x6d1da1
mov edx, dword [ebp - 8]
push edx
call fcn.0059d760
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x6d1c6f
call fcn.0052db80
push str.ecx_gen
push 0x241
push str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.0052ddd0
add esp, 0xc
push 0
push 0xc0100
push 0x39
call fcn.0052df00
add esp, 0xc
jmp 0x6d1d93
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.004fe260
add esp, 0x10
test eax, eax
jg 0x6d1c93
jmp 0x6d1d93
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
ja case.default.0x6d1ca9
mov ecx, dword [ebp - 0xc]
jmp dword [ecx*4 + 0x6d1da8]
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.00644230
add esp, 8
jmp case.default.0x6d1ca9
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.00646ad0
add esp, 8
jmp case.default.0x6d1ca9
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.00643730
add esp, 0x10
test eax, eax
jne 0x6d1d57
jmp 0x6d1d93
jmp case.default.0x6d1ca9
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.00647580
add esp, 0x10
test eax, eax
jne case.default.0x6d1ca9
jmp 0x6d1d93
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 0x6d1da1
mov eax, dword [ebp - 8]
push eax
call fcn.0059d640
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x709640
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.004d28e0
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 0x709677
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 0x7096a7
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 0x709668
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 0x714d4a
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x714d72
call fcn.004d1bbc
and dword [eax], 0
call fcn.004d1ba9
mov dword [eax], 0x16
call fcn.004ddff6
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x714d8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004d1bcf
pop ecx
jmp 0x714d6d
test byte [ebp + 0xc], 0x80
je 0x714d9a
and eax, 0xfffffffe
jmp 0x714d9d
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x714d80
xor eax, eax
pop ebp
ret
Function at 0x715fd8
Capabilities:
Enumerate processes

Disassembly:
push 0x140
push 0x7c17a0
call fcn.007219f0
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov dword [ebp - 0x1c], ebx
push ebx
call fcn.004d1fe6
pop ecx
mov esi, eax
mov edi, edx
sub eax, dword [0x7d2fc8]
mov ecx, edi
sbb ecx, dword [0x7d2fcc]
mov dword [ebp - 0x24], ecx
js 0x716042
jg 0x716017
cmp eax, 1
jbe 0x716042
mov eax, dword [0x7d2fc4]
test eax, eax
je 0x716027
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [0x7d2fc4], eax
mov dword [0x7d2fc8], esi
mov dword [0x7d2fcc], edi
mov eax, dword [0x7d2fc4]
cmp eax, 0xffffffff
jne 0x716053
or eax, eax
jmp 0x7160f9
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 0x716079
push 0x12
pop eax
jmp 0x7160f9
xor eax, eax
inc eax
test eax, eax
je 0x7160f1
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x148], eax
jne 0x7160ff
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x7160f1
mov ecx, dword [ebp + 0x10]
cmp ebx, dword [ecx]
jae 0x7160ea
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 [0x7d2fc4]
call esi
jmp 0x71607c
mov dword [ebp - 0x1c], 0xea
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov eax, dword [ebp - 0x1c]
call fcn.00721a2b
ret
lea eax, [ebp - 0x150]
push eax
push dword [0x7d2fc4]
call dword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x71607c
Function at 0x716161
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x722bee
call fcn.004d8f88
sub esp, 0xb1c
push ebx
push esi
mov esi, 0x7d2f4c
push edi
mov ecx, esi
mov dword [ebp - 0x24], esi
call fcn.004c5f6a
mov byte [ebp - 0x20], 1
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00715c63
test eax, eax
je 0x7162bc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x548]
push 0x3ff
push eax
call fcn.004cd6c9
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.004cd547
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 0x716254
push dword [ebp - 0x148]
call fcn.004cf064
pop ecx
cmp dword [0x7d2f78], 0x10
mov eax, dword [0x7d2f64]
jae 0x716267
mov eax, 0x7d2f64
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 0x716297
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.004c5f7f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x716508
Capabilities:
Get hostname

Disassembly:
mov eax, 0x722d00
call fcn.004d8f88
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], pe_nt_image_headers32
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 0x716562
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 0x716596
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 0x71748d
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x722d55
call fcn.004d8f88
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.004cf79c
pop ecx
pop ecx
push 3
lea ecx, [ebp - 0x2c]
test eax, eax
jne 0x7174d7
push 0x7bcf20
jmp 0x7174dc
push 0x7bcf24
call fcn.00401974
push 0x103
lea eax, [ebp - 0x137]
push ebx
push eax
mov byte [ebp - 0x138], bl
call fcn.004d1020
add esp, 0xc
cmp dword [esi + 0x1118], ebx
jne 0x717514
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 0x717520
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 0x717544
push str.WinInetRequest::CacheURLInfo._Unable_to_create_URL_cache_entry._r_n
jmp 0x7175ee
push 0x7bcf84
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], ebx
call fcn.004d07d3
add esp, 0xc
cmp dword [ebp - 0x10], ebx
jne 0x71756e
push str.WinInetRequest::CacheURLInfo._Unable_to_open_cache_file._r_n
jmp 0x7175ee
push dword [ebp - 0x10]
mov edi, dword [esi + 8]
mov eax, dword [esi]
push edi
push 1
push eax
call fcn.004d0971
add esp, 0x10
cmp eax, edi
je 0x7175a8
mov esi, dword [0x7cf2c8]
push str.WinInetRequest::CacheURLInfo._Error_writing_cache_file._r_n
push 0xbfffffff
call fcn.007182d6
push dword [ebp - 0x10]
call fcn.004d0a58
add esp, 0xc
jmp 0x717600
push dword [ebp - 0x10]
call fcn.004d0a58
lea eax, [esi + 0x1108]
xor edx, edx
xor edi, edi
cmp dword [eax + 0x14], 0x10
pop ecx
mov ecx, dword [esi + 0x1118]
jb 0x7175c9
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 0x717600
push str.WinInetRequest::CacheURLInfo._Unable_to_commit_URL_cache_entry._r_n
mov esi, dword [0x7cf2c8]
push 0xbfffffff
call fcn.007182d6
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 0x718106
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2808
call fcn.004d28e0
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
test eax, eax
je 0x718180
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 0x718180
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x7bb918
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 0x718183
push 2
pop eax
leave
ret 4

Function at 0x7182d6
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8034
call fcn.004d28e0
cmp byte [esi], 0
je 0x7183b8
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x1c]
ja 0x7183b8
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.004cd6c9
add esp, 0x10
cmp byte [esi + 2], 0
mov dword [ebp - 0x14], eax
jne 0x718334
lea eax, [ebp - 0x8034]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp byte [esi + 1], 0
je 0x7183b0
cmp byte [esi + 3], 0
je 0x718393
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.004cd547
push eax
lea eax, [ebp - 0x34]
push eax
push dword [esi + 0x20]
call fcn.004cee30
add esp, 0x34
push dword [ebp - 0x14]
lea eax, [ebp - 0x8034]
push eax
push dword [esi + 0x20]
call fcn.004cee30
push dword [esi + 0x20]
call fcn.004ce511
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
leave
ret
Function at 0x7189e5
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
push esi
push edi
mov esi, pe_nt_image_headers32
push esi
push dword [ebp + 8]
lea ebx, [ebp - 8]
lea edi, [ebp - 0x114]
call fcn.007189a2
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov cl, byte [ebp + eax - 0x115]
cmp cl, 0x3a
je 0x718a2a
cmp cl, 0x5c
je 0x718a2a
mov byte [ebp + eax - 0x114], 0x5c
inc eax
mov dword [ebp - 8], eax
mov ecx, esi
sub ecx, eax
push ecx
push 0x7baf5c
lea edi, [ebp + eax - 0x114]
lea ebx, [ebp - 8]
call fcn.007189a2
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 0x718a6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x718b20
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.007189a2
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
mov cl, byte [ecx + eax]
cmp cl, 0x3a
je 0x718aa9
cmp cl, 0x5c
je 0x718aa9
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.007189a2
cmp byte [ebp - 0x228], 0x2e
pop ecx
pop ecx
jne 0x718aea
cmp byte [ebp - 0x227], 0
je 0x718afb
cmp byte [ebp - 0x227], 0x2e
jne 0x718aea
cmp byte [ebp - 0x226], 0
je 0x718afb
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x718b25
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x718a76
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 0x718b15

Function at 0x719a7e
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.004d1020
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