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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x529474]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x78], eax
xor edi, edi
lea esi, [ebp - 0x74]
mov ecx, dword [ebp - 0x78]
mov dl, byte [ecx + edi]
xor eax, eax
lea esp, [esp]
mov cl, al
mov bl, dl
sar bl, cl
inc eax
and bl, 1
mov byte [esi + eax - 1], bl
cmp eax, 8
jl 0x4d8370
inc edi
add esi, 8
cmp edi, 8
jl 0x4d8361
lea edx, [ebp - 0x74]
push edx
call fcn.004d7ce0
mov ebx, dword [ebp + 0xc]
add esp, 4
mov dword [ebp - 0x7c], 0xf
add ebx, 0x2d1
jmp 0x4d83b0
lea eax, [ebp - 0x34]
mov ecx, 8
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x34]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004d7de0
add esp, 4
xor eax, eax
jmp 0x4d83d0
movzx ecx, byte [ebx + eax - 1]
movzx edx, byte [ebx + eax]
xor byte [ebp + eax - 0x34], cl
xor byte [ebp + eax - 0x33], dl
movzx ecx, byte [ebx + eax + 1]
movzx edx, byte [ebx + eax + 2]
xor byte [ebp + eax - 0x32], cl
xor byte [ebp + eax - 0x31], dl
movzx ecx, byte [ebx + eax + 3]
movzx edx, byte [ebx + eax + 4]
xor byte [ebp + eax - 0x30], cl
xor byte [ebp + eax - 0x2f], dl
add eax, 6
cmp eax, 0x30
jl 0x4d83d0
lea eax, [ebp - 0x34]
push eax
call fcn.004d7f00
lea ecx, [ebp - 0x34]
push ecx
call fcn.004d7e80
add esp, 8
xor eax, eax
jmp 0x4d8430
movzx edx, byte [ebp + eax - 0x34]
movzx ecx, byte [ebp + eax - 0x33]
xor byte [ebp + eax - 0x74], dl
xor byte [ebp + eax - 0x73], cl
movzx edx, byte [ebp + eax - 0x32]
movzx ecx, byte [ebp + eax - 0x31]
xor byte [ebp + eax - 0x72], dl
xor byte [ebp + eax - 0x71], cl
add eax, 4
cmp eax, 0x20
jl 0x4d8430
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x4d8490
mov ecx, 8
lea esi, [ebp - 0x74]
lea edi, [ebp - 0x9c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [ebp - 0x9c]
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
dec eax
sub ebx, 0x30
mov dword [ebp - 0x7c], eax
test eax, eax
jns 0x4d83b0
lea edx, [ebp - 0x74]
push edx
call fcn.004d7d60
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x74]
push ecx
call fcn.004d7aa0
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004123d1
mov esp, ebp
pop ebp
ret
Function at 0x4da9a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [0x53c7d8], 0x79f3
test esi, esi
je 0x4da9d5
mov ecx, dword [ebp + 8]
lea ebx, [ebx]
mov dl, byte [ecx + eax*2]
xor dl, 0xc
mov byte [eax + ecx], dl
inc eax
cmp eax, esi
jb 0x4da9c0
mov byte [ecx + esi], 0
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
mov byte [eax + esi], 0
pop esi
pop ebp
ret

Function at 0x4da9e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, eax
test edx, edx
je 0x4daa02
push edi
mov di, word [ecx + eax*4]
xor di, 0xc
mov word [ecx + eax*2], di
inc eax
cmp eax, edx
jb 0x4da9f0
pop edi
push 4
xor eax, eax
push ecx
mov word [ecx + edx*2], ax
mov ecx, dword [ebp + 0x10]
push 4
push ecx
mov dword [0x53c7d8], eax
call fcn.00416119
add esp, 0x10
mov dword [0x53c7d8], 0
pop ebp
ret
Function at 0x4daa30
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x53e7ec], 0
jne 0x4dad31
mov eax, dword [0x52f164]
push 0x53e7e8
push eax
push 0x52f15c
mov dword [0x53e7ec], 1
mov dword [0x53c7d8], 0
call fcn.004da9e0
mov ecx, dword [0x52efa4]
add esp, 0xc
xor eax, eax
test ecx, ecx
je 0x4daa99
jmp 0x4daa80
mov dx, word [eax*4 + 0x52ef7c]
xor dx, 0xc
mov word [eax*2 + 0x52ef7c], dx
inc eax
cmp eax, ecx
jb 0x4daa80
xor eax, eax
mov word [ecx*2 + 0x52ef7c], ax
mov ecx, dword [0x52efb0]
push ecx
push 0x52efa8
call fcn.004da9a0
mov edx, dword [0x52efc0]
push edx
push 0x52efb4
call fcn.004da9a0
mov eax, dword [0x52efd8]
push eax
push 0x52efc4
call fcn.004da9a0
mov ecx, dword [0x52efe4]
push ecx
push 0x52efdc
call fcn.004da9a0
mov edx, dword [0x52eff4]
push edx
push 0x52efe8
call fcn.004da9a0
mov eax, dword [0x52f054]
push eax
push 0x52eff8
call fcn.004da9a0
mov ecx, dword [0x52f00c]
push ecx
push 0x52f058
call fcn.004da9a0
mov edx, dword [0x52f028]
push edx
push 0x52f010
call fcn.004da9a0
mov eax, dword [0x52f040]
add esp, 0x40
push eax
push str.e_bb_bi
call fcn.004da9a0
mov ecx, dword [0x52f074]
push ecx
push 0x52f044
call fcn.004da9a0
mov ecx, dword [0x52f0a4]
add esp, 0x10
xor eax, eax
test ecx, ecx
je 0x4dab79
lea esp, [esp]
mov dx, word [eax*4 + 0x52f078]
xor dx, 0xc
mov word [eax*2 + 0x52f078], dx
inc eax
cmp eax, ecx
jb 0x4dab60
xor eax, eax
mov word [ecx*2 + 0x52f078], ax
mov ecx, dword [0x52f0c4]
push ecx
push 0x52f0a8
call fcn.004da9a0
mov edx, dword [0x52f0e8]
push edx
push 0x52f0c8
call fcn.004da9a0
mov eax, dword [0x52f10c]
push eax
push 0x52f0ec
call fcn.004da9a0
mov ecx, dword [0x52f138]
push ecx
push str.E_bb_bx
call fcn.004da9a0
mov edx, dword [0x52f158]
push edx
push 0x52f13c
call fcn.004da9a0
mov eax, dword [0x52ee60]
push eax
push 0x52f180
call fcn.004da9a0
mov ecx, dword [0x52ee84]
push ecx
push 0x52ee64
call fcn.004da9a0
mov edx, dword [0x52ee98]
push edx
push 0x52ee88
call fcn.004da9a0
mov eax, dword [0x52eeb0]
add esp, 0x40
push eax
push 0x52ee9c
call fcn.004da9a0
mov ecx, dword [0x52eec8]
push ecx
push 0x52eeb4
call fcn.004da9a0
mov edx, dword [0x52ef00]
push edx
push 0x52eecc
call fcn.004da9a0
mov eax, dword [0x52ef3c]
push eax
push 0x52ef04
call fcn.004da9a0
mov ecx, dword [0x52ef78]
push ecx
push 0x52ef40
call fcn.004da9a0
mov ecx, dword [0x52ee10]
add esp, 0x28
xor eax, eax
test ecx, ecx
je 0x4dac89
mov edi, edi
mov dx, word [eax*4 + str.Mhm]
xor dx, 0xc
mov word [eax*2 + str.Mhm], dx
inc eax
cmp eax, ecx
jb 0x4dac70
xor eax, eax
mov word [ecx*2 + str.Mhm], ax
mov ecx, dword [0x52ee34]
push ecx
push 0x52ee14
call fcn.004da9a0
mov edx, dword [0x52ee48]
push edx
push 0x52ee38
call fcn.004da9a0
mov eax, dword [0x52f168]
push eax
push 0x52ee4c
call fcn.004da9a0
mov ecx, dword [0x52f17c]
push ecx
push 0x52f16c
call fcn.004da9a0
mov ecx, dword [0x52edb0]
add esp, 0x20
xor eax, eax
test ecx, ecx
je 0x4dad09
jmp 0x4dacf0
mov dx, word [eax*4 + 0x52ed80]
xor dx, 0xc
mov word [eax*2 + 0x52ed80], dx
inc eax
cmp eax, ecx
jb 0x4dacf0
xor eax, eax
mov word [ecx*2 + 0x52ed80], ax
mov ecx, dword [0x52eddc]
push ecx
push 0x52edb4
call fcn.004da9a0
add esp, 8
mov dword [0x53c7d8], 0x79f3
ret
Function at 0x4e3ca0
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [edi + 0x1c]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push edi
mov esi, eax
call fcn.0041e2e0
add esp, 8
test esi, esi
jg 0x4e3cfe
je 0x4e3cdc
cmp esi, 0xffffffff
jne 0x4e3cfe
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 4
je 0x4e3cf3
cmp eax, 0xb
je 0x4e3cf3
cmp eax, 0x2733
jne 0x4e3cfe
push 0xa
push edi
call fcn.0041e300
add esp, 8
pop edi
mov eax, esi
pop esi
ret
Function at 0x10003626
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x10041024]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov ebx, dword [esp + 0x124]
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push ebx
push dword [edi]
call fcn.10020d50
mov esi, eax
test esi, esi
jne 0x100036d5
lea eax, [esp + 0x20]
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x100036b0
lea eax, [esp + 0x28]
push eax
call fcn.10003626
mov esi, eax
test esi, esi
jne 0x100036d5
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x30]
mov dword [esp + 0x30], 0x100
call ebp
lea ecx, [esp + 0x14]
test eax, eax
je 0x1000368b
call fcn.10002ded
push ebx
mov ecx, edi
call fcn.10002e76
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.10002ded
mov ecx, dword [esp + 0x128]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000be90
add esp, 0x11c
ret 4
Function at 0x10005a24
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x974
mov eax, dword [0x10041024]
xor eax, esp
mov dword [esp + 0x970], eax
push ebx
push ebp
xor ebp, ebp
mov ebx, 0x400
push esi
mov esi, dword [esp + 0x99c]
inc ebp
push edi
mov edi, dword [esp + 0x988]
test esi, esi
jne 0x10005a7b
push ebx
lea eax, [esp + 0x584]
push eax
push ebp
push edi
call fcn.10008e4e
add esp, 0x10
test eax, eax
je 0x10005a7b
mov eax, str._s_ssvagent.exe
lea esi, [esp + 0x580]
jmp 0x10005a90
test edi, edi
jne 0x10005be0
test esi, esi
je 0x10005be0
mov eax, str._s_bin_ssvagent.exe
push esi
push eax
lea eax, [esp + 0x188]
push ebx
push eax
call fcn.10004e7f
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x194]
push eax
call fcn.10020d50
add esp, 0x18
test eax, eax
jne 0x10005be0
cmp dword [esp + 0x98c], 0
mov ecx, str.__new
mov byte [esp + 0x7c], al
mov ebx, 0x104
mov eax, str.__old
cmovne eax, ecx
push eax
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.10020d50
mov edi, dword [esp + 0x99c]
add esp, 0xc
mov esi, dword [esp + 0x99c]
test edi, edi
jne 0x10005b03
test esi, esi
je 0x10005b19
push str.__high
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.10020d50
add esp, 0xc
cmp dword [esp + 0x998], 0
je 0x10005b39
push str.__settreatas
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.10020d50
add esp, 0xc
test esi, esi
je 0x10005b53
push str.__regdeploy
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.10020d50
add esp, 0xc
push 0x3c
pop esi
push esi
lea eax, [esp + 0x14]
push 0
push eax
call fcn.1000de50
add esp, 0xc
mov dword [esp + 0x10], esi
lea eax, [esp + 0x7c]
mov dword [esp + 0x24], eax
test edi, edi
je 0x10005b8b
call fcn.10020d50
test eax, eax
mov ecx, str.runas
cmove ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x994], 0
push 0x40
pop ecx
cmovne eax, ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x14], eax
lea eax, [esp + 0x180]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x10005be0
cmp dword [esp + 0x48], 0
je 0x10005bdc
push 0xffffffffffffffff
push dword [esp + 0x4c]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [esp + 0x48]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, ebp
jmp 0x10005be2
xor eax, eax
mov ecx, dword [esp + 0x980]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000be90
add esp, 0x974
ret
Function at 0x10005d98
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x948
mov eax, dword [0x10041024]
xor eax, esp
mov dword [esp + 0x944], eax
push ebx
push ebp
mov ebp, dword [esp + 0x954]
lea eax, [esp + 0x14c]
push esi
push edi
push 0x400
push 0
push eax
call fcn.1000de50
mov ebx, dword [esp + 0x1c]
add esp, 0xc
xor esi, esi
mov edi, section..data
test esi, esi
jne 0x10005ebe
push ebp
mov ebx, 0x400
mov byte [esp + 0x558], 0
lea eax, [esp + 0x558]
push ebx
push eax
call fcn.10020d50
push 0x100315c4
lea eax, [esp + 0x564]
push ebx
push eax
call fcn.10020d50
push dword [edi]
lea eax, [esp + 0x570]
push ebx
push eax
call fcn.10020d50
add esp, 0x24
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x558]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10005eaf
push ebp
lea eax, [esp + 0x158]
mov byte [esp + 0x158], 0
push 0x400
push eax
call fcn.10020d50
push 0x100315c8
lea eax, [esp + 0x164]
push 0x400
push eax
call fcn.10020d50
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x170]
push 0x400
push eax
call fcn.10020d50
lea eax, [esp + 0x178]
push eax
call fcn.10009086
add esp, 0x28
test eax, eax
je 0x10005eac
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x10005e3d
jmp 0x10005eaf
xor esi, esi
inc esi
add edi, 4
cmp edi, 0x1004100c
jl 0x10005dd9
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [esp + 0x954]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000be90
add esp, 0x948
ret
Function at 0x10007043
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x7c0]
sub esp, 0x840
mov eax, dword [0x10041024]
xor eax, ebp
mov dword [ebp + 0x7bc], eax
push ebx
push esi
push edi
call fcn.10007258
xor ebx, ebx
lea ecx, [ebp - 0x80]
mov esi, 0x20019
mov dword [ebp - 0x80], ebx
push esi
push 0x100314f4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.10020d50
test eax, eax
jne 0x10007222
push esi
push 0x10031500
push dword [ebp - 0x80]
lea ecx, [ebp - 0x74]
call fcn.10020d50
test eax, eax
jne 0x10007222
push esi
push 0x1003150c
push dword [ebp - 0x74]
lea ecx, [ebp - 0x68]
call fcn.10020d50
test eax, eax
jne 0x10007222
mov esi, 0x400
lea eax, [ebp + 0x3bc]
push esi
push ebx
push eax
mov edi, ebx
call fcn.1000de50
push esi
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.1000de50
add esp, 0x18
lea eax, [ebp + 0x3bc]
push esi
push eax
push ebx
jmp 0x10007211
lea ecx, [ebp + 0x3bc]
mov edx, ebx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007111
sub ecx, esi
lea eax, [ebp - 0x44]
mov bl, byte [ebp + edx + 0x3bc]
cmp bl, 0x2e
je 0x1000712c
mov byte [eax], bl
inc eax
inc edx
cmp edx, ecx
jbe 0x1000711d
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x5c], str.NODOTVERSION
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007147
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x1000715f
mov eax, ebx
jmp 0x10007176
lea eax, [esi + esi]
call fcn.1000c1e0
mov eax, esp
lea ecx, [ebp - 0x44]
push 3
push esi
push ecx
push eax
call fcn.10020d50
push 0x50
mov dword [ebp - 0x58], eax
pop eax
mov dword [ebp - 0x54], str.CLSID_STRING
call fcn.1000c1e0
mov eax, esp
push 3
push 0x27
push str.5852F5ED_8BF4_11D4_A245_0080C6F74284
push eax
call fcn.10020d50
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.10020d50
test eax, eax
je 0x100071bd
lea eax, [ebp - 0x5c]
push eax
push 1
push 0x67
push 0x10041c48
call fcn.100046aa
call fcn.10020d50
test eax, eax
je 0x100071ce
cmp dword [ebp + 0x7cc], ebx
je 0x100071e0
lea eax, [ebp - 0x5c]
push eax
push 1
push 0x68
push 0x10041c48
call fcn.100046aa
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, 0x400
lea eax, [ebp + 0x3bc]
push esi
push ebx
push eax
call fcn.1000de50
push esi
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.1000de50
add esp, 0x18
lea eax, [ebp + 0x3bc]
inc edi
push esi
push eax
push edi
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x10007106
lea ecx, [ebp - 0x68]
call fcn.10002ded
lea ecx, [ebp - 0x74]
call fcn.10002ded
lea ecx, [ebp - 0x80]
call fcn.10002ded
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7bc]
xor ecx, ebp
call fcn.1000be90
add ebp, 0x7c0
leave
ret
Function at 0x10007258
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x41c
mov eax, dword [0x10041024]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
push esi
mov ebp, 0x400
lea eax, [esp + 0x24]
xor ebx, ebx
push ebp
push ebx
push eax
mov esi, ebx
call fcn.1000de50
add esp, 0xc
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], ebx
push 0x20019
push 0x100314d4
push SysReAllocString
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.10020d50
test eax, eax
jne 0x1000732e
push 0x2001f
push str.Classes
push dword [esp + 0x20]
lea ecx, [esp + 0x18]
call fcn.10020d50
test eax, eax
jne 0x1000732e
push ebp
lea eax, [esp + 0x28]
push eax
push ebx
jmp 0x10007320
push 0xa
lea eax, [esp + 0x28]
push str.JavaPlugin
push eax
call fcn.10016e00
add esp, 0xc
test eax, eax
jne 0x10007309
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.10003626
test eax, eax
je 0x1000730a
inc esi
push ebp
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.1000de50
add esp, 0xc
lea eax, [esp + 0x24]
push ebp
push eax
push esi
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x100072df
lea ecx, [esp + 0xc]
call fcn.10002ded
lea ecx, [esp + 0x18]
call fcn.10002ded
mov ecx, dword [esp + 0x424]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000be90
add esp, 0x41c
ret
Function at 0x10007358
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0x960
push 0x1003e9c0
call fcn.1000c180
mov esi, dword [ebp + 8]
mov dword [ebp - 0x964], esi
xor edi, edi
mov dword [ebp - 0x960], edi
push 0x400
push edi
lea eax, [ebp - 0x41c]
push eax
call fcn.1000de50
add esp, 0xc
and dword [ebp - 4], edi
xor ebx, ebx
mov dword [ebp - 0x96c], ebx
cmp ebx, 3
jge 0x1000750d
mov byte [ebp - 0x81c], 0
push esi
mov esi, 0x400
push esi
lea eax, [ebp - 0x81c]
push eax
call fcn.10020d50
push 0x100315cc
push esi
lea eax, [ebp - 0x81c]
push eax
call fcn.10020d50
push dword [ebx*4 + section..data]
push esi
lea eax, [ebp - 0x81c]
push eax
call fcn.10020d50
add esp, 0x24
lea eax, [ebp - 0x95c]
push eax
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x970], esi
cmp esi, 0xffffffff
je 0x100074d9
mov byte [ebp - 0x41c], 0
push dword [ebp - 0x964]
push 0x400
lea eax, [ebp - 0x41c]
push eax
call fcn.10020d50
push 0x100315d0
push 0x400
lea eax, [ebp - 0x41c]
push eax
call fcn.10020d50
lea eax, [ebp - 0x930]
push eax
push 0x400
lea eax, [ebp - 0x41c]
push eax
call fcn.10020d50
lea eax, [ebp - 0x41c]
push eax
call fcn.10009086
add esp, 0x28
test eax, eax
jne 0x100074c3
push 0x404
call fcn.10020d50
pop ecx
mov dword [ebp - 0x968], eax
test eax, eax
jne 0x10007497
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x10041024
call fcn.1000d760
add esp, 0xc
xor eax, eax
jmp 0x1000751c
mov byte [eax], 0
lea ecx, [ebp - 0x41c]
push ecx
push 0x400
push eax
call fcn.10020d50
add esp, 0xc
mov eax, dword [ebp - 0x968]
mov dword [eax + 0x400], edi
mov edi, eax
mov dword [ebp - 0x960], edi
lea eax, [ebp - 0x95c]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x10007409
test edi, edi
je 0x10007501
push edi
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov esi, dword [edi + 0x400]
push 0x404
push edi
call fcn.10020d50
pop ecx
pop ecx
mov edi, esi
mov dword [ebp - 0x960], edi
jmp 0x100074d9
inc ebx
mov esi, dword [ebp - 0x964]
jmp 0x10007392
mov dword [ebp - 4], 0xfffffffe
call fcn.10007532
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000759d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x390]
sub esp, 0x410
mov eax, dword [0x10041024]
xor eax, ebp
mov dword [ebp + 0x38c], eax
push ebx
lea eax, [ebp - 0x7c]
xor ebx, ebx
push eax
push 0x20019
push ebx
push 0x100315d4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10007696
push esi
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x78]
mov esi, ebx
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
jmp 0x10007674
mov eax, ebx
mov ecx, ebx
cmp dword [ebp - 0x78], eax
jbe 0x10007666
cmp byte [ebp + ecx - 0x74], 0x2e
jne 0x10007608
inc eax
cmp eax, 1
jg 0x10007613
inc ecx
cmp ecx, dword [ebp - 0x78]
jb 0x100075fb
cmp eax, 1
jle 0x10007666
push 0x10031600
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
js 0x10007666
lea eax, [ebp - 0x74]
push eax
call fcn.1000935c
pop ecx
test eax, eax
je 0x10007666
mov eax, dword [ebp - 0x78]
inc eax
push eax
call fcn.10020d50
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x80], eax
push ecx
mov ecx, dword [ebp - 0x78]
push 0x10031608
inc ecx
push ecx
push eax
call fcn.10004e7f
add esp, 0x14
lea eax, [ebp - 0x80]
mov ecx, 0x10041c9c
push eax
call fcn.10007e0f
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x78]
inc esi
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp - 0x7c]
mov dword [ebp - 0x78], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x100075f2
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp + 0x38c]
xor ecx, ebp
pop ebx
call fcn.1000be90
add ebp, 0x390
leave
ret

Function at 0x10008890
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1002af6e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10041024]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x214]
lea eax, [ebp]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x1a
push ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x1000897c
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10007fbc
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000801a
push 0x104
push eax
push dword [ebp + 0x218]
push edi
call fcn.10020d50
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x10008952
call fcn.1000810d
jmp 0x10008952
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1000be90
add ebp, 0x20c
leave
ret
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.1000b923
pop ecx
pop ecx
push ebx
push esi
call fcn.10020d50
int3