joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101c806c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x24]
push esi
push edi
test ecx, ecx
jne 0x101c80b5
push 0x1001edb8
push 0x3a
lea eax, [ebp - 0x218]
push eax
call fcn.10161ac8
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x103495b0
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.102f72b2
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 0x3fff
jbe 0x101c80ca
push 0x1001ed68
push 0x1d
jmp 0x101c8088
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x101c80d7
mov eax, dword [esi]
jmp 0x101c80d9
mov eax, esi
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x101c8124
cmp dword [ebx + 0x20], 8
jb 0x101c80fa
mov ebx, dword [ebx + 0xc]
jmp 0x101c80fd
add ebx, 0xc
cmp dword [edi + 0x18], 8
jb 0x101c8105
mov esi, dword [esi]
push ebx
push dword [ebp + 0xc]
push esi
push 0x1001ed10
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.101b70ff
add esp, 0x18
jmp 0x101c8097
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x101c812b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x24]
push esi
push edi
test ecx, ecx
jne 0x101c8174
push 0x1001ee58
lea eax, [ebp - 0x220]
push 0x3a
push eax
call fcn.10161ac8
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x103495b0
lea eax, [ebp - 0x114]
lea edi, [ebp - 0x114]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.102f72b2
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 8
push 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea esi, [edi + 4]
jb 0x101c818d
mov eax, dword [esi]
jmp 0x101c818f
mov eax, esi
lea edx, [ebp - 8]
push edx
push dword [ebp + 0xc]
lea edx, [ebp - 4]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x101c81e6
cmp eax, 2
je 0x101c81f0
cmp eax, 0xea
je 0x101c81f0
cmp dword [edi + 0x18], 8
jb 0x101c81bc
mov esi, dword [esi]
cmp dword [ebx + 0x20], 8
jb 0x101c81c7
mov ecx, dword [ebx + 0xc]
jmp 0x101c81ca
lea ecx, [ebx + 0xc]
push esi
push ecx
push 0x1001ee18
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.101b70ff
add esp, 0x14
jmp 0x101c8156
cmp dword [ebp - 4], 4
jne 0x101c81f0
mov al, 1
jmp 0x101c81f2
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x101c81f9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x24]
xor edx, edx
push edi
cmp ecx, edx
jne 0x101c8256
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x101c821e
mov eax, dword [eax + 4]
jmp 0x101c8221
add eax, 4
push eax
push 0x1001ef10
lea eax, [ebp - 0x220]
push 0x3a
push eax
call fcn.10161ac8
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x103495b0
lea eax, [ebp - 0x114]
lea edi, [ebp - 0x114]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.102f72b2
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x18], 8
lea eax, [ebx + 4]
mov dword [ebp - 4], 3
mov dword [ebp - 8], edx
mov dword [ebp + 8], eax
jb 0x101c8271
mov eax, dword [eax]
lea edi, [ebp - 8]
push edi
push edx
lea edi, [ebp - 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edx
push eax
push ecx
call edi
cmp eax, 2
je 0x101c831f
cmp dword [ebp - 4], 3
jne 0x101c831f
test eax, eax
je 0x101c82d2
cmp dword [esi + 0x20], 8
jb 0x101c82a7
mov esi, dword [esi + 0xc]
jmp 0x101c82aa
add esi, 0xc
cmp dword [ebx + 0x18], 8
mov eax, dword [ebp + 8]
jb 0x101c82b5
mov eax, dword [eax]
push esi
push eax
push 0x1001eeb8
lea eax, [ebp - 0x220]
push 0x2b
push eax
call fcn.10161ac8
add esp, 0x14
jmp 0x101c8238
push dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.101df8c1
cmp dword [ebx + 0x18], 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
jb 0x101c82ed
mov eax, dword [eax]
lea edx, [ebp - 8]
push edx
push ecx
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push dword [esi + 0x24]
call edi
test eax, eax
je 0x101c831b
cmp dword [esi + 0x20], 8
jb 0x101c830d
mov esi, dword [esi + 0xc]
jmp 0x101c8310
add esi, 0xc
cmp dword [ebx + 0x18], 8
mov eax, dword [ebp + 8]
jb 0x101c82b5
jmp 0x101c82b3
mov al, 1
jmp 0x101c8321
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x101c84f0
Capabilities:
Set registry value

Disassembly:
push 0x260
mov eax, 0x1033f1a9
call fcn.102f781d
mov edi, dword [ebp + 8]
and dword [ebp - 0x34], 0
cmp byte [ebp + 0x10], 0
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x38], edi
je 0x101c852b
push esi
lea eax, [ebp - 0x54]
push eax
call fcn.101d9b52
and dword [ebp - 4], 0
mov dword [ebp - 0x34], 1
jmp 0x101c852d
mov eax, esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.10162deb
test byte [ebp - 0x34], 1
mov dword [ebp - 4], 2
je 0x101c854f
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.10161215
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.1016c8e9
cmp dword [ebx + 0x24], 0
pop ecx
pop ecx
mov byte [ebp - 0x2d], al
jne 0x101c85a7
test al, al
mov eax, 0x1001f1d0
jne 0x101c8572
mov eax, 0x1001f1c8
push eax
push 0x1001f168
lea eax, [ebp - 0x26c]
push 0x3a
push eax
call fcn.10161ac8
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x103495b0
lea eax, [ebp - 0x160]
lea edi, [ebp - 0x160]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.102f72b2
cmp dword [edi + 0x14], 0x3fff
jbe 0x101c85e6
mov ecx, 0x1001f1d0
test al, al
jne 0x101c85be
mov ecx, 0x1001f1c8
cmp dword [ebx + 0x20], 8
jb 0x101c85c9
mov eax, dword [ebx + 0xc]
jmp 0x101c85cc
lea eax, [ebx + 0xc]
push eax
push ecx
push 0x1001f100
lea eax, [ebp - 0x26c]
push 0x1d
push eax
call fcn.10161ac8
add esp, 0x14
jmp 0x101c8589
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x101c85f4
mov edx, 0x1001b510
jmp 0x101c8602
cmp dword [esi + 0x18], 8
jb 0x101c85ff
mov edx, dword [esi + 4]
jmp 0x101c8602
lea edx, [esi + 4]
cmp dword [edi + 0x18], 8
jb 0x101c860f
add edi, 4
mov ecx, dword [edi]
jmp 0x101c8614
add edi, 4
mov ecx, edi
lea eax, [eax + eax + 2]
push eax
xor eax, eax
cmp byte [ebp - 0x2d], al
push edx
setne al
inc eax
push eax
push 0
push ecx
push dword [ebx + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x101c868d
cmp byte [ebp - 0x2d], 0
mov edx, 0x1001f1d0
jne 0x101c8644
mov edx, 0x1001f1c8
cmp dword [ebx + 0x20], 8
jb 0x101c864f
mov ebx, dword [ebx + 0xc]
jmp 0x101c8652
add ebx, 0xc
cmp dword [esi + 0x18], 8
jb 0x101c865d
mov esi, dword [esi + 4]
jmp 0x101c8660
add esi, 4
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x18], 8
jb 0x101c866d
mov ecx, dword [edi]
jmp 0x101c866f
mov ecx, edi
push ebx
push esi
push ecx
push edx
push 0x1001f098
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.101b70ff
add esp, 0x1c
jmp 0x101c8589
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10161215
call fcn.102f78a0
ret 0xc
Function at 0x101c89f1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ecx + 0x24]
xor edx, edx
push esi
push edi
cmp ecx, edx
jne 0x101c8a4f
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x101c8a17
mov eax, dword [eax + 4]
jmp 0x101c8a1a
add eax, 4
push eax
push 0x1001ef10
lea eax, [ebp - 0x224]
push 0x3a
push eax
call fcn.10161ac8
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x103495b0
lea eax, [ebp - 0x118]
lea edi, [ebp - 0x118]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.102f72b2
mov esi, dword [ebp + 8]
cmp dword [esi + 0x18], 8
mov dword [ebp - 4], 1
mov dword [ebp - 8], edx
lea ebx, [esi + 4]
jb 0x101c8a69
mov eax, dword [ebx]
jmp 0x101c8a6b
mov eax, ebx
lea edi, [ebp - 8]
push edi
push edx
lea edi, [ebp - 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edx
push eax
push ecx
call edi
cmp eax, 2
je 0x101c8b41
cmp dword [ebp - 4], 1
je 0x101c8a98
cmp dword [ebp - 4], 2
jne 0x101c8b41
test eax, eax
je 0x101c8ad1
cmp dword [esi + 0x18], 8
jb 0x101c8aa4
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x20], 8
jb 0x101c8ab2
mov ecx, dword [ecx + 0xc]
jmp 0x101c8ab5
add ecx, 0xc
push ebx
push ecx
push 0x1001ee18
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.101b70ff
add esp, 0x14
jmp 0x101c8a31
mov ecx, dword [ebp + 0xc]
call fcn.10168611
mov eax, dword [ebp - 8]
test eax, eax
jne 0x101c8ae4
mov al, 1
jmp 0x101c8b43
mov ecx, dword [ebp + 0xc]
shr eax, 1
push 0
dec eax
push eax
call fcn.101bbc74
cmp dword [esi + 0x18], 8
jb 0x101c8aff
mov eax, dword [ebx]
mov dword [ebp + 8], eax
jmp 0x101c8b02
mov dword [ebp + 8], ebx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push 0
call fcn.1016c4dd
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push 0
push dword [ebp + 8]
push dword [eax + 0x24]
call edi
test eax, eax
jne 0x101c8a9c
mov ecx, dword [ebp + 0xc]
push eax
call fcn.1016c4dd
mov ecx, dword [ebp - 8]
shr ecx, 1
xor edx, edx
mov word [eax + ecx*2 - 2], dx
jmp 0x101c8ae0
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x101c8d03
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x458
mov eax, 0x1033f2bb
call fcn.102f781d
mov eax, dword [ebp + 8]
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x34], eax
cmp dword [edi + 0x24], esi
jne 0x101c8d55
push 0x1001f4f8
lea eax, [ebp - 0x358]
push 0x3a
push eax
call fcn.10161ac8
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x140]
rep movsd dword es:[edi], dword [esi]
push 0x103495b0
lea eax, [ebp - 0x140]
push eax
call fcn.102f72b2
call fcn.101c7eb6
push esi
lea ecx, [ebp - 0x2c]
mov ebx, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], 7
call fcn.101610ee
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 4], esi
call fcn.1017108a
jmp 0x101c8dca
push esi
push 0xff
lea ecx, [ebp - 0x2c]
dec ebx
mov dword [ebp - 0x30], 0x100
call fcn.101bbc74
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x30]
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.1016c4dd
push eax
push ebx
push dword [edi + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, esi
jne 0x101c8de1
push esi
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.101bbc74
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
push eax
call fcn.10167a6e
cmp ebx, esi
jne 0x101c8d7c
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10161215
call fcn.102f78a0
ret 4
cmp dword [edi + 0x20], 8
jb 0x101c8dec
mov edi, dword [edi + 0xc]
jmp 0x101c8def
add edi, 0xc
push edi
push 0x1001f4a0
push eax
lea eax, [ebp - 0x464]
push eax
call fcn.101b70ff
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x24c]
rep movsd dword es:[edi], dword [esi]
push 0x103495b0
lea eax, [ebp - 0x24c]
jmp 0x101c8d4f
Function at 0x101c8e22
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x458
mov eax, 0x1033f2bb
call fcn.102f781d
mov eax, dword [ebp + 8]
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x34], eax
cmp dword [edi + 0x24], esi
jne 0x101c8e74
push 0x1001f5b0
lea eax, [ebp - 0x358]
push 0x3a
push eax
call fcn.10161ac8
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x140]
rep movsd dword es:[edi], dword [esi]
push 0x103495b0
lea eax, [ebp - 0x140]
push eax
call fcn.102f72b2
call fcn.101c7f49
push esi
lea ecx, [ebp - 0x2c]
mov ebx, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], 7
call fcn.101610ee
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 4], esi
call fcn.1017108a
jmp 0x101c8ee9
push esi
push 0x3fff
lea ecx, [ebp - 0x2c]
dec ebx
mov dword [ebp - 0x30], 0x4000
call fcn.101bbc74
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x30]
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.1016c4dd
push eax
push ebx
push dword [edi + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, esi
jne 0x101c8f00
push esi
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.101bbc74
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
push eax
call fcn.10167a6e
cmp ebx, esi
jne 0x101c8e9b
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10161215
call fcn.102f78a0
ret 4
cmp dword [edi + 0x20], 8
jb 0x101c8f0b
mov edi, dword [edi + 0xc]
jmp 0x101c8f0e
add edi, 0xc
push edi
push 0x1001f560
push eax
lea eax, [ebp - 0x464]
push eax
call fcn.101b70ff
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x24c]
rep movsd dword es:[edi], dword [esi]
push 0x103495b0
lea eax, [ebp - 0x24c]
jmp 0x101c8e6e
Function at 0x101c8f41
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x268
mov eax, 0x1033f2f3
call fcn.102f781d
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x101c8f96
push 0x1001f618
lea eax, [ebp - 0x274]
push 0x3a
push eax
call fcn.10161ac8
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x103495b0
lea eax, [ebp - 0x168]
lea edi, [ebp - 0x168]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.102f72b2
cmp dword [esi + 0x18], 8
lea ecx, [esi + 4]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], ecx
jb 0x101c8fb2
mov ecx, dword [ecx]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 0x34]
push edx
push 0
lea edx, [ebp - 0x38]
push edx
push 0
push ecx
push eax
call ebx
cmp eax, 2
je 0x101c9099
cmp dword [ebp - 0x38], 7
jne 0x101c9099
test eax, eax
je 0x101c9014
cmp dword [esi + 0x18], 8
mov ecx, dword [ebp - 0x30]
jb 0x101c8fea
mov ecx, dword [ecx]
cmp dword [edi + 0x20], 8
jb 0x101c8ff5
mov edi, dword [edi + 0xc]
jmp 0x101c8ff8
add edi, 0xc
push ecx
push edi
push 0x1001ee18
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.101b70ff
add esp, 0x14
jmp 0x101c8f78
add dword [ebp - 0x34], 2
push dword [ebp - 0x34]
lea ecx, [ebp - 0x5c]
call fcn.101df934
and dword [ebp - 4], 0
cmp dword [esi + 0x18], 8
mov eax, dword [ebp - 0x30]
jb 0x101c9032
mov eax, dword [eax]
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x38]
push ecx
push 0
push eax
push dword [edi + 0x24]
call ebx
test eax, eax
jne 0x101c8fdf
mov eax, dword [ebp - 0x5c]
xor esi, esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.10161547
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.10167a6e
mov eax, dword [ebp - 0x18]
push 0
push 1
lea ecx, [ebp - 0x2c]
lea esi, [esi + eax + 1]
mov byte [ebp - 4], 0
call fcn.10161215
mov eax, dword [ebp - 0x5c]
lea eax, [eax + esi*2]
cmp byte [eax], 0
jne 0x101c904e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.101df8a9
mov al, 1
jmp 0x101c909b
xor al, al
call fcn.102f78a0
ret 8

Function at 0x101c942e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
mov esi, ecx
call fcn.101c9416
test al, al
je 0x101c9478
push 0x1001f7f8
lea eax, [ebp - 0x218]
push 0x53
push eax
call fcn.10161ac8
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x103495b0
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.102f72b2
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x101c9487
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x18]
push eax
xor edi, edi
push edi
push dword [ebp + 8]
push dword [esi + 0x10]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
cmp eax, edi
jne 0x101c94bd
push 0x1001f7dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.101b70ff
jmp 0x101c9457
pop edi
mov dword [esi + 0x14], 0x103
pop esi
leave
ret 4
Function at 0x101c9b72
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0x24]
sub esp, 0x21c
push esi
cmp edx, 0xffffffff
jne 0x101c9bb8
push 0x1001fa2c
lea eax, [ebp - 0x21c]
push 0x15
push eax
call fcn.10161ac8
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x103495b0
lea eax, [ebp - 0x110]
lea edi, [ebp - 0x110]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.102f72b2
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 8
jb 0x101c9bca
mov ecx, dword [eax + 4]
jmp 0x101c9bcd
lea ecx, [eax + 4]
mov eax, dword [eax + 0x14]
push 0
lea esi, [ebp - 4]
push esi
add eax, eax
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x101c9bff
push 0x1001fa14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.101b70ff
jmp 0x101c9b97
pop esi
leave
ret 4

Function at 0x101c9c04
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x24], 0xffffffff
jne 0x101c9c4b
push 0x1001fa58
lea eax, [ebp - 0x21c]
push 0x15
push eax
call fcn.10161ac8
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x103495b0
lea eax, [ebp - 0x110]
lea edi, [ebp - 0x110]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.102f72b2
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 0x10
jb 0x101c9c5d
mov esi, dword [eax + 4]
jmp 0x101c9c60
lea esi, [eax + 4]
push 0
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x101c9c96
push 0x1001fa14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.101b70ff
jmp 0x101c9c2a
pop edi
pop esi
leave
ret 4

Function at 0x101c9c9c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x24]
sub esp, 0x218
cmp eax, 0xffffffff
jne 0x101c9ce1
push 0x1001fa8c
lea eax, [ebp - 0x218]
push 0x15
push eax
call fcn.10161ac8
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x103495b0
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.102f72b2
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x101c9d11
push 0x1001fab8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.101b70ff
jmp 0x101c9cc0
leave
ret 0xc
Function at 0x101c9f2e
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x101c9f49
mov eax, dword [esi]
jmp 0x101c9f4b
mov eax, esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x101c9f9e
cmp dword [edi + 0x18], 8
jb 0x101c9f61
mov esi, dword [esi]
push dword [ebp + 0xc]
push esi
push 0x1001fb78
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.101b70ff
add esp, 0x14
push 0x43
pop ecx
mov esi, eax
push 0x103495b0
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.102f72b2
pop edi
pop esi
leave
ret 8

Function at 0x101c9ff3
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x101ca00e
mov eax, dword [esi]
jmp 0x101ca010
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x101ca08e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 5
jne 0x101ca04d
push 0x80
push edi
call fcn.101c9f2e
cmp dword [edi + 0x18], 8
jb 0x101ca03e
mov eax, dword [esi]
jmp 0x101ca040
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x101ca08d
call ebx
test eax, eax
je 0x101ca08d
cmp dword [edi + 0x18], 8
jb 0x101ca059
mov esi, dword [esi]
push esi
push 0x1001fc2c
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.101b70ff
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x103495b0
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.102f72b2
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x101ca196
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x18], 8
push esi
push edi
jb 0x101ca1b2
add ebx, 4
mov edi, dword [ebx]
jmp 0x101ca1b7
add ebx, 4
mov edi, ebx
mov esi, dword [ebp + 8]
cmp dword [esi + 0x18], 8
jb 0x101ca1c7
add esi, 4
mov eax, dword [esi]
jmp 0x101ca1cc
add esi, 4
mov eax, esi
xor ecx, ecx
cmp byte [ebp + 0x10], cl
sete cl
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push eax
mov dword [ebp + 0x10], ecx
call edi
test eax, eax
jne 0x101ca27c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x101ca22b
push 0x80
push dword [ebp + 0xc]
call fcn.101c9f2e
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x101ca20f
mov ecx, dword [ebx]
jmp 0x101ca211
mov ecx, ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x101ca21e
mov eax, dword [esi]
jmp 0x101ca220
mov eax, esi
push dword [ebp + 0x10]
push ecx
push eax
call edi
test eax, eax
jne 0x101ca27c
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x101ca236
mov ebx, dword [ebx]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x101ca241
mov esi, dword [esi]
push ebx
push esi
push 0x1001fc7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.101b70ff
add esp, 0x14
push 0x43
pop ecx
mov esi, eax
push 0x103495b0
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.102f72b2
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x101cb814
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, esi
call fcn.10168611
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, edi
jne 0x101cb87f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x101cb8b1
push ebx
push 0x10020100
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.101b70ff
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x103495b0
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.102f72b2
jle 0x101cb8b1
push edi
push eax
mov ecx, esi
call fcn.101bbc74
mov eax, dword [esi + 0x14]
inc eax
push eax
push edi
mov ecx, esi
call fcn.1016c4dd
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x101cb8b1
push ebx
push 0x100200b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x101cb851
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x101cbb38
Capabilities:
Enumerate process modules

Disassembly:
push 0x24c
mov eax, 0x1033f673
call fcn.102f77b4
mov ecx, dword [ebp + 8]
call fcn.1031cd33
mov esi, 0x400
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], 0x1000
call fcn.101caa87
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x40]
call fcn.1016c308
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x10]
push ecx
shl eax, 2
push eax
push 0
lea ecx, [ebp - 0x40]
call fcn.101c9fa4
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x101cbb9d
mov esi, dword [ebp - 0x10]
shr esi, 2
cmp dword [ebp - 0x34], esi
jb 0x101cbb68
jmp 0x101cbbee
push 0x100201f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.101b70ff
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x103495b0
lea eax, [ebp - 0x14c]
lea edi, [ebp - 0x14c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.102f72b2
dec esi
push esi
call fcn.101c9fa4
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.1031d3b9
lea ecx, [ebp - 0x40]
test esi, esi
ja 0x101cbbd6
or dword [ebp - 4], 0xffffffff
call fcn.1016c2cc
call fcn.102f788c
ret 4