joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11c7079
Capabilities:
Hash data using sha1

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x12d5f24], 0
push ebx
jne 0x11c70f6
push eax
push ebx
push ecx
push edx
xor eax, eax
cpuid
xor eax, eax
xor ebx, 0x756e6547
sete al
xor ebx, ebx
xor ecx, 0x6c65746e
sete bl
and eax, ebx
xor ecx, ecx
xor edx, 0x49656e69
sete cl
and eax, ecx
mov dword [ebp - 4], eax
mov eax, 1
cpuid
xor ecx, ecx
xor edx, edx
mov ebx, 0xff0
and ebx, eax
mov dword [ebp - 8], ebx
pop edx
pop ecx
pop ebx
pop eax
cmp dword [ebp - 4], 0
mov eax, 1
je 0x11c70ea
cmp dword [ebp - 8], 0x660
jae 0x11c70ea
xor eax, eax
mov eax, dword [eax*4 + 0x12d3040]
mov dword [0x12d5f24], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x40], 0x67452301
mov dword [eax + 0x44], 0xefcdab89
mov dword [eax + 0x48], 0x98badcfe
mov dword [eax + 0x4c], 0x10325476
mov dword [eax + 0x50], 0xc3d2e1f0
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x11c7318
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x70
push ebx
push esi
lea eax, [ebp - 0x68]
mov esi, eax
lea ecx, [edx + 8]
sub edx, esi
push edi
mov esi, 4
lea ecx, [ecx]
mov edi, dword [edx + eax]
bswap edi
mov dword [eax - 8], edi
mov edi, dword [ecx - 4]
bswap edi
mov dword [eax - 4], edi
mov edi, dword [ecx]
bswap edi
mov dword [eax], edi
mov edi, dword [ecx + 4]
bswap edi
mov dword [eax + 4], edi
add ecx, 0x10
add eax, 0x10
sub esi, 1
jne 0x11c7337
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edi, dword [eax + 0x14]
mov esi, dword [eax + 0x10]
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x28], edi
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], edi
xor eax, eax
jmp 0x11c7393

Function at 0x1211c0b
Capabilities:
Encode data using xor

Disassembly:
add byte [ebx - 0x7b], dh
and edi, dword [ecx + 5]
invalid
sub al, byte [eax + 0x20]
mov es, word [edi + edx*2 + 0x7fc3f7ef]
adc bh, byte [edi - 0x1ffe8374]
out dx, eax
test ebx, 0x8cbf127f
jl 0x1211baf
loopne 0x1211b9f
out dx, eax
adc al, 0xcc
test al, 0xb7
sbb dh, bh
xchg ch, ch
xor eax, 0x8441b43b
mov gs, word [ecx + 0x60]
push esi
cwde
das
mov al, 0x7f
xor byte [esi + 0x15], bh
fld qword [ebx - 0x3d76d553]
jnp 0x1211b73
stc
xlatb
invalid
pop esp
scasb al, byte es:[edi]
test dword [ebx - 0xf], ebp
or eax, edi
ficomp dword [edi - 0x7d]
scasb al, byte es:[edi]
jne 0x1211ba5
lodsb al, byte [esi]
adc eax, 0xe72ed99a
lea esp, [ebp + edx*2 + 0x4640162]
add al, byte [eax + 0x24]
mov bx, 0xefeb
adc edi, dword [eax + 0x73]
dec ebx
invalid

Function at 0x123c4b5
Capabilities:
Encode data using xor

Disassembly:
push 0x18e65336
or byte [edx - 0x3349c233], bl
xor sp, word [ebp + ecx*4 - 0x2f]
xor esp, dword [ebp + ecx*4 - 0x2f]
push es
mov al, byte [0x90e3dcd9]
shr dword [esi - 0x34], 1
xor dword [eax], edx
xor al, 0x9b
jnp 0x123c4c1
push ss
or ebp, 0x1a08c466
mov ebp, 0xb9b36011
invalid
Function at 0x124185d
Capabilities:
Encode data using xor

Disassembly:
or byte [ecx - 0x56], al
adc cl, byte [eax]
test eax, 0xd6a8bc42
daa
and ah, byte [ebp + 0x24]
inc ebp
dec edx
mov dword [eax], ebx
test eax, 0xd6a8cc42
daa
and al, 0xd5
or byte [ecx - 0x56], cl
adc ch, byte [eax]
test eax, 0xd6a8dc42
daa
lodsd eax, dword es:[esi]
xchg ecx, eax
xor eax, 0x93989569
sub al, ah
mov gs, word [edx + 0x7d]
adc byte [edx - 0x73], 0x10
movsd dword es:[edi], dword [esi]
sub al, byte [ecx - 0x703bd56c]
push 0x7d
mov byte [0xa5524652], al
xchg esp, eax
mov byte [ebp + 0x6a90c42a], dl
jge 0x124186c
push edx
lea edx, [eax - 0x697ed55b]
sub al, ah
xchg ecx, eax
push 0x7d
loop 0x124190a
inc esi
shl byte [ebp + 0x2a978894], cl
les edx, [edx + 0x53027d6a]
lea edx, [eax]
cmpsb byte [esi], byte es:[edi]
sub al, byte [ecx - 0x6c3bd568]
push 0x7d
and dl, byte [ebx + 0x46]
push edx
cmpsb byte [esi], byte es:[edi]
xchg esp, eax
mov byte [ecx - 0x55ace656], bl
out 9, al
dec ebp
aad 0x8c
xor al, 0x55
xor edx, esp
push esp
and dword [esi - 0x64ec14ac], ebp
xor dl, byte [edx - 0x23bb5aca]
push esp
int 0xd8
push edx
xor eax, 0x66aa704f
les ebp, [ecx + 0xaa7219a]
int1
movsd dword es:[edi], dword [esi]
pop edx
lahf
call 0x2af8aa9e
and eax, 0xc66aa762
cwde
stosb byte es:[edi], al
jns 0x12418d5
push ebx
xor eax, 0xcd54f23
cmp eax, 0xd5338855
cli
les esp, [edi + 0x294fa48c]
adc dword [edi], edi
push ebp
xor edx, esi
push esp
int 0x13
mov al, byte [0xaa8119aa]
or byte [edx - 0x295643be], ch
daa
inc edx
and al, 0x85
dec edx
mov dword [eax], ebx
stosb byte es:[edi], al
lcall 0x5510, 0x9e6aa731
int 0x48
push esp
xor eax, 0xe2155143
dec esi
mov ch, 0x3e
xor dword [edx], ebp
and ebp, dword [ecx + 0x54]
dec edx
les edx, [ecx - 0x2b]
invalid

Function at 0x1256b0f
Capabilities:
Check for software breakpoints

Disassembly:
push cs
sti
mov edi, edi
cli
invalid
loope 0x1256b56
add bh, byte [esi + 0x57af531f]
pop ds
push ebx
scasd eax, dword es:[edi]
push edi
jle 0x1256a7d
or dword [edi + 0x7fc5fdf9], eax
mov ebp, 0x82e61f7e
imul edi, dword [esi + 0x3f], 0xd7af5ea6
popal
cmp al, 0xcd
iretd
stc
jns 0x1256b5e
sbb eax, 0x4f08a12f
push esi
sti
jne 0x1256ad9
xchg byte [edx + 0x18], ch
out 0xe7, al
lodsd eax, dword [esi]
imul bl
js 0x1256b38
inc ebp
cmp ah, cl
iretd
inc ebp
js 0x1256ad5
lahf
mov bh, 0xda
scasd eax, dword es:[edi]
invalid
stc
jns 0x1256ba5
sbb eax, 0x4f08a52f
push esi
sti
jne 0x1256b20
xchg esi, eax
push 0x18
out 0xe7, al
lodsd eax, dword [esi]
imul bl
js 0x1256b9f
inc ebp
cmp ah, cl
iretd
lcall 0xf99f, 0xafdab79f
inc esp
push 0xffffffffffffff98
cwde
out 0xe7, al
xor ebp, esi
jmp 0x1256b88
cmc
xor ebx, dword [edi - 0x6587bb8]
stc
jns 0x1256b89
cli
cmp bl, dh
push eax
xor eax, 0x98f3f34c
cmp bl, dh
push eax
adc dword [esi], ecx
lds edi, [edi]
ficom word [eax + 0x35]
or al, 0xf3
jb 0x1256bba
jne 0x1256b80
mov eax, dword [0xcfcd3c22]
mov edx, edi
xlatb
invalid
Function at 0x1261663
Capabilities:
Encode data using xor

Disassembly:
adc byte [edi + 0x68], bh
pop ds
adc al, 0xc1
jbe 0xc49e546d
loopne 0x126161e

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1009b454
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1014fef1
call fcn.10147df8
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.1008f6dc
xor ebx, ebx
mov dword [esi], vtable.ScObjects::Thread.0
push 0x10
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
call fcn.100cf1c3
mov dword [ebp - 0x14], eax
pop ecx
test eax, eax
je 0x1009b49b
mov dword [eax], vtable.ScObjects::ThreadData.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x1009b49d
mov eax, ebx
mov dword [esi + 8], eax
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push 0x1009b680
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
cmp ecx, 0xffffffff
jne 0x1009b4d0
mov eax, dword [esi + 8]
mov dword [esi + 0x10], 0x20
mov dword [esi + 0xc], ebx
mov dword [eax + 4], ebx
jmp 0x1009b4dc
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
mov dword [eax + 4], ecx
mov eax, esi
call fcn.10147dc1
ret

Function at 0x1009b790
Capabilities:
Resume thread

Disassembly:
cmp dword [ecx + 0x10], 0
jne 0x1009b7a2
mov eax, dword [ecx + 8]
push dword [eax + 4]
call dword [sym.imp.kernel32.dll_ResumeThread]
ret

Function at 0x100a1d60
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0x2c
mov eax, 0x10150bd0
call fcn.10147e2c
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x38], esi
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], edi
call fcn.1009b955
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], 1
call fcn.100a1e88
test eax, eax
jne 0x100a1da4
push 0xffffffffffffffff
push 0x10159980
mov ecx, esi
call fcn.100cf1c3
jmp 0x100a1dea
lea ecx, [ebp - 0x20]
push ecx
push 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov ecx, esi
push 0xffffffffffffffff
push 0x10159980
test eax, eax
je 0x100a1d9d
call fcn.100cf1c3
movzx eax, byte [ebp + edi - 0x20]
push eax
lea eax, [ebp - 0x30]
push 0x10165c80
push eax
call fcn.100cf1c3
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.100cf1c3
add esp, 0x14
inc edi
cmp edi, 0x10
jb 0x100a1dc3
mov eax, esi
call fcn.10147dd6
ret

Function at 0x100a1e88
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push esi
mov esi, dword [0x107d4410]
test esi, esi
jne 0x100a1edc
push edi
push esi
push 1
push esi
push esi
mov edi, 0x107d4410
push edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x100a1ed5
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x100a1ed5
push 8
push 1
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x100a1ed5
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [0x107d4410], esi
jmp 0x100a1edb
mov esi, dword [0x107d4410]
pop edi
mov eax, esi
pop esi
ret
Function at 0x100a2070
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x54
mov eax, 0x10150c7f
call fcn.10147e2c
mov ebx, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], eax
call fcn.100a1e88
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x48], eax
call fcn.1009b955
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.1009b955
push edi
mov eax, 0x10165d08
mov dword [ebp - 0x44], 1
push eax
push esi
push eax
push edi
push ebx
call fcn.100cf1c3
pop ecx
pop ecx
push eax
call fcn.100cf1c3
pop ecx
pop ecx
push eax
call fcn.100cf1c3
pop ecx
pop ecx
push eax
call fcn.100cf1c3
pop ecx
pop ecx
push eax
call fcn.100cf1c3
mov eax, dword [ebp - 0x48]
pop ecx
pop ecx
test eax, eax
jne 0x100a2105
push 0xffffffffffffffff
push 0x10159980
mov ecx, ebx
call fcn.100cf1c3
jmp 0x100a21c1
lea ecx, [ebp - 0x3c]
xor esi, esi
push ecx
push esi
push esi
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x100a20f2
push esi
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x100a20f2
push 4
pop ecx
push esi
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x40], esi
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x4c], ecx
push eax
push ecx
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x100a20f2
push dword [ebp - 0x40]
call fcn.100cf1c3
mov edi, eax
pop ecx
test edi, edi
je 0x100a20f2
push esi
lea eax, [ebp - 0x40]
push eax
push edi
push 2
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov ecx, ebx
push 0xffffffffffffffff
push 0x10159980
test eax, eax
jne 0x100a2185
call fcn.100cf1c3
jmp 0x100a21ba
call fcn.100cf1c3
cmp dword [ebp - 0x40], esi
jbe 0x100a21ba
cmp esi, 0x28
jae 0x100a21ba
movzx eax, byte [esi + edi]
push eax
lea eax, [ebp - 0x38]
push 0x10165c80
push eax
call fcn.100cf1c3
lea eax, [ebp - 0x38]
push eax
push ebx
call fcn.100cf1c3
add esp, 0x14
inc esi
cmp esi, dword [ebp - 0x40]
jb 0x100a218f
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
pop ecx
cmp dword [ebp - 0x3c], 0
je 0x100a21d0
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea ecx, [ebp - 0x60]
call fcn.100cf1c3
mov eax, ebx
call fcn.10147dd6
ret
Function at 0x100afdae
Capabilities:
Create mailslot

Disassembly:
push 0x14
mov eax, 0x10152d8e
call fcn.10147df8
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [0x10191e8c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100ab64a
xor ebx, ebx
mov dword [esi], vtable.WinInterAppStream.0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.1009b955
lea eax, [esi + 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100cf1c3
pop ecx
pop ecx
push eax
call fcn.100cf1c3
push 0xc
lea edi, [esi + 0x56]
push ebx
push edi
call sub.VCRUNTIME140.dll_memset
push edi
mov ecx, ebx
call fcn.100cf1c3
add esp, 0x18
test al, al
je 0x100afe21
cmp dword [esi + 0x5a], ebx
cmovne ecx, edi
push ecx
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_CreateMailslotA]
lea ecx, [ebp - 0x20]
mov dword [esi + 0x52], eax
call fcn.100cf1c3
mov eax, esi
call fcn.10147dc1
ret 8

Function at 0x100affb0
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x101509dd
call fcn.10147df8
mov esi, ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.1008f6a9
and dword [ebp - 4], 0
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1009b803
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
push dword [eax + 8]
push dword [eax + 4]
call fcn.100cf1c3
push 0
xor ecx, ecx
lea eax, [esi + 0x56]
cmp dword [esi + 0x5a], ecx
push 0x80
push 3
cmovne ecx, eax
push ecx
push ebx
push 0x40000000
push dword [ebp - 0x28]
call dword [sym.imp.kernel32.dll_CreateFileA]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x100b004b
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push 0
push ecx
push dword [edi + 8]
push dword [edi + 4]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.kernel32.dll_CloseHandle]
test esi, esi
je 0x100b004b
mov eax, dword [ebp - 0x10]
cmp eax, dword [edi + 8]
je 0x100b004d
xor bl, bl
lea ecx, [ebp - 0x2c]
call fcn.100cf1c3
lea ecx, [ebp - 0x1c]
call fcn.100cf1c3
mov al, bl
call fcn.10147dc1
ret 8
Function at 0x100cf1c3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x100cf1d2
pop dword [ebp - 0x50]
mov eax, 0xba5d432e
sub eax, 0xaa50515c
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x5e8e5508
sub dword [ebp - 0x60], 0x103c0fbd
mov dword [ebp - 0x5c], 0x711e821c
add dword [ebp - 0x5c], 0xc114ca29
mov dword [ebp - 0x58], 0x805ec647
add dword [ebp - 0x58], 0xcbed7de7
mov dword [ebp - 0x54], 0x6a98d91a
add dword [ebp - 0x54], 0x956726e6
lea eax, [ebp - 0x60]
push eax
mov eax, 0xae0ac121
sub eax, 0x9df56e69
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xf7368b5
add dword [ebp - 0x60], 0x64ff00a1
mov dword [ebp - 0x5c], 0xeac7cd73
add dword [ebp - 0x5c], 0x56a49402
mov dword [ebp - 0x58], 0x414230dc
sub dword [ebp - 0x58], 0xddd2c470
mov dword [ebp - 0x54], 0xe4f7e520
add dword [ebp - 0x54], 0x1b081ae0
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x81276a45
sub eax, 0x711217a9
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x73dfb
push 0
call eax
mov ecx, 0x1ab8b73f
add ecx, 0xe547930c
mov edi, eax
mov ebx, 0x107ec400
add ebx, dword [ebp - 0x50]
mov esi, 0x796d0b0b
add dword [ebp - 0x38], esi
mov edx, dword [ebx]
xor dword [ebp - 4], esi
add edx, esi
sub dword [ebp - 0x1c], esi
mov dword [edi], edx
add edi, 4
add ebx, 4
loop 0x100cf2e8
add eax, 0xefced943
sub eax, 0xefcdbd44
mov ebx, eax
add eax, 0xc0f8bd23
add eax, 0x3f0742e2
mov ecx, 0x2ee45d5e
add ecx, 0xe11ba2a2
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x10127680
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x1012771b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x101276d2
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x101276d2
cmp esi, ebx
jge 0x101276d2
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x10127715
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x10127715
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x10155aa8]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1012772d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x10127950
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101975e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d44f4], 0
mov eax, dword [ebp + 8]
je 0x10127978
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x10127992
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.100cf1c3
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10147db0
leave
ret 4

Function at 0x10127b60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x101975e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d44f4], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x10127b96
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x10127bf5
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.100cf1c3
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.100cf1c3
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.100cf1c3
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10147db0
leave
ret 0x10
Function at 0x10127c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101975e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d44f4], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x10127c3c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x10127c6d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x10127c6b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.100cf1c3
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x10127c6d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10147db0
leave
ret 8
Function at 0x10136c00
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x101975e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
xor ebx, ebx
inc edx
mov edi, dword [esi]
cmp dword [edi + 0x254], ebx
je 0x10136c60
cmp dword [edi + 0x264], ebx
je 0x10136c59
cmp byte [0x107d44f4], 0
push edi
push dword [edi + 0x250]
je 0x10136c48
call dword [sym.imp.kernel32.dll_FindNextFileW]
jmp 0x10136c4e
call dword [sym.imp.kernel32.dll_FindNextFileA]
mov ecx, dword [esi]
xor edx, edx
inc edx
mov dword [ecx + 0x264], eax
mov eax, dword [esi]
jmp 0x10136d40
mov eax, dword [edi + 0x25c]
test eax, eax
je 0x10136dcf
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
pop ecx
pop ecx
mov ecx, dword [esi]
cmp dword [ecx + 0x260], ebx
je 0x10136cae
lea eax, [ebp - 0x234]
push eax
call fcn.100cf1c3
mov eax, dword [esi]
push dword [eax + 0x260]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat]
mov ecx, dword [esi]
add esp, 0xc
test byte [ecx + 0x268], 1
push 0x10
pop eax
lea edx, [eax + 0x70]
cmove eax, edx
mov dword [ecx], eax
cmp byte [0x107d44f4], 0
je 0x10136cda
push dword [esi]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
jmp 0x10136cfc
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.100cf1c3
push dword [esi]
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ecx, dword [esi]
mov dword [ecx + 0x250], eax
xor eax, eax
mov ecx, dword [esi]
cmp dword [ecx + 0x250], 0xffffffff
setne al
mov dword [ecx + 0x264], eax
mov eax, dword [esi]
cmp dword [eax + 0x264], ebx
jne 0x10136d2a
mov dword [eax + 0x250], ebx
mov eax, dword [esi]
xor edx, edx
inc edx
mov dword [eax + 0x254], edx
mov eax, dword [esi]
cmp dword [eax + 0x264], ebx
jne 0x10136d40
mov dword [esi + 4], edx
mov ecx, eax
cmp dword [eax + 0x264], ebx
je 0x10136d67
cmp byte [0x107d44f4], 0
jne 0x10136d67
push dword [eax + 0x258]
add eax, 0x2c
push eax
call fcn.100cf1c3
mov ecx, dword [esi]
xor edx, edx
inc edx
mov eax, dword [ecx]
mov dword [ecx + 0x26c], eax
mov edi, dword [esi]
mov ebx, dword [edi + 0x26c]
shr ebx, 4
and ebx, edx
je 0x10136d9c
push esi
xor ebx, ebx
call fcn.100cf1c3
xor edx, edx
inc edx
cmp word [eax], 0x2e
je 0x10136d98
test byte [edi + 0x268], 3
jne 0x10136da6
mov ebx, edx
jmp 0x10136da6
test byte [edi + 0x268], 1
cmovne ebx, edx
mov eax, dword [edi + 0x264]
test eax, eax
je 0x10136dca
push 0
test ebx, ebx
pop ebx
jne 0x10136c20
test byte [edi + 0x26c], 2
jne 0x10136c20
test eax, eax
setne al
jmp 0x10136dd1
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10147db0
leave
ret 4