joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441810
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441820
sub eax, edx
mov esi, eax
lea ebp, [esi + esi]
push ebp
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x441849
pop edi
pop esi
pop ebp
lea eax, [ebx + 0x1b]
pop ebx
add esp, 0xc
ret
mov ecx, ebx
call fcn.004417e0
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov esi, dword [esp + 0x28]
test eax, eax
je 0x4418cf
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0x8002
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4418c2
mov eax, dword [esp + 0x10]
push 0
push ebp
push ebx
push eax
mov dword [esp + 0x28], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x1c]
push ecx
push esi
push 2
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 0x14]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov dword [esi + 0x10], eax
push ebx
mov byte [esi + 0x14], al
call dword [0x481004]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret

Function at 0x442fb0
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, eax
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x442fd2
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x442fc6
xor eax, eax
pop edi
ret
mov eax, dword [eax + 8]
push eax
push edi
push 1
push ebx
call ecx
jmp 0x443002
cmp dword [esi + 8], 0
jne 0x442ff5
mov ecx, dword [eax + 8]
push 0x46efb8
push ecx
call fcn.0044bfd3
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x442ff5
or eax, 0xffffffff
pop edi
ret
mov edx, dword [esi + 8]
push edx
push edi
push 1
push ebx
call fcn.0044bd55
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x443024
mov eax, dword [esi + 8]
test eax, eax
je 0x44301e
push eax
call fcn.004482b4
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, edi
pop edi
ret
Function at 0x445ce0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x445d05
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x445d4c
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x445d50
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
jbe 0x445dae
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
sub ebp, 1
jne 0x445d73
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x445df1
lea esp, [esp]
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push 0x476c00
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x476c01
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x445dc0
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x447258
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4811f4]
jne 0x447262
repz ret
jmp fcn.004516da
Function at 0x45f1ec
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00452910
and dword [ebp - 4], 0
cmp dword [0x483c1c], 0
mov ebx, eax
jne 0x45f29d
push 0x4793a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45f34e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x45f34e
push eax
call fcn.0045289e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x483c1c], eax
call esi
push eax
call fcn.0045289e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x483c20], eax
call esi
push eax
call fcn.0045289e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x483c24], eax
call esi
push eax
call fcn.0045289e
pop ecx
mov dword [0x483c2c], eax
test eax, eax
je 0x45f29d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045289e
pop ecx
mov dword [0x483c28], eax
mov eax, dword [0x483c28]
cmp eax, ebx
je 0x45f2f5
cmp dword [0x483c2c], ebx
je 0x45f2f5
push eax
call fcn.00452919
push dword [0x483c2c]
mov esi, eax
call fcn.00452919
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45f2f5
test edi, edi
je 0x45f2f5
call esi
test eax, eax
je 0x45f2ec
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45f2ec
test byte [ebp - 0xc], 1
jne 0x45f2f5
or dword [ebp + 0x10], 0x200000
jmp 0x45f32e
mov eax, dword [0x483c20]
cmp eax, ebx
je 0x45f32e
push eax
call fcn.00452919
pop ecx
test eax, eax
je 0x45f32e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45f32e
mov eax, dword [0x483c24]
cmp eax, ebx
je 0x45f32e
push eax
call fcn.00452919
pop ecx
test eax, eax
je 0x45f32e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x483c1c]
call fcn.00452919
pop ecx
test eax, eax
je 0x45f34e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45f350
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x466190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov byte [ebp - 9], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x80000001
jne 0x4661d2
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x28]
or eax, 0x20019
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x4661d2
xor al, al
jmp 0x466231
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x28]
or edx, 0x20019
push edx
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.004010e0
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46622e
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.004010e0
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 9], al
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret 4
Function at 0x4664f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ac68
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4811f4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x84]
call fcn.004660a0
movzx eax, al
test eax, eax
jne 0x466550
mov ecx, dword [ebp + 8]
call fcn.00402650
mov ecx, dword [ebp - 0x40]
or ecx, 1
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp + 8]
jmp 0x466654
lea edx, [ebp - 0x14]
push edx
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004010e0
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46658b
cmp dword [ebp - 0x10], 1
je 0x4665a4
cmp dword [ebp - 0x10], 2
je 0x4665a4
cmp dword [ebp - 0x10], 6
je 0x4665a4
mov ecx, dword [ebp + 8]
call fcn.00402650
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
jmp 0x466654
cmp dword [ebp - 0x14], 0
jbe 0x466640
mov ecx, dword [ebp - 0x14]
add ecx, 1
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00411ca0
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00411ce0
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004010e0
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00411cf0
mov byte [eax], 0
lea ecx, [ebp - 0x3c]
call fcn.00411ce0
push eax
lea ecx, [ebp - 0x34]
call fcn.004015c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004024f0
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401000
mov eax, dword [ebp + 8]
jmp 0x466654
mov ecx, dword [ebp + 8]
call fcn.00402650
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00447258
mov esp, ebp
pop ebp
ret 8

Function at 0x466ad0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x466b08
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x466b10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ad13
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4811f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x30]
call fcn.00402650
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x80000001
jne 0x466b9e
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x466b9e
mov ecx, dword [ebp + 8]
call fcn.00402650
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401000
mov eax, dword [ebp + 8]
jmp 0x466c29
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x466bfd
mov dword [ebp - 0x3c], 1
mov edx, dword [ebp + 0x18]
push edx
lea ecx, [ebp - 0x30]
call fcn.00405770
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x30]
call fcn.00405760
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x30]
call fcn.00405760
push eax
mov ecx, dword [ebp + 8]
call fcn.004015c0
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401000
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00447258
mov esp, ebp
pop ebp
ret
Function at 0x466e30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ad70
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x4811f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], 0
push 0x228
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.0044ae50
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x466e94
xor al, al
jmp 0x466f2f
mov dword [ebp - 0x244], 0x22c
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x466f23
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x260]
push ecx
call fcn.00466cd0
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.004010e0
push eax
lea ecx, [ebp - 0x260]
call fcn.004010e0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x466efd
lea edx, [ebp - 0x23c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0040d270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.00401000
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x466eb2
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00447258
mov esp, ebp
pop ebp
ret
Function at 0x1007b7d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10114750
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.1010985a
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10080010
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x1007b824
jmp dword [ecx*4 + 0x1007b98c]
mov al, byte [esi]
test al, al
je 0x1007b852
cmp al, 0x20
je 0x1007b83e
cmp al, 0xa1
jne 0x1007b852
cmp byte [esi + 1], al
jne 0x1007b852
test al, 0x80
je 0x1007b84a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x1007b852
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1007b831
test ecx, ecx
je case.default.0x1007b824
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x1007b824
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x1007b898
cmp dl, 0xa1
jne 0x1007b88c
cmp byte [eax + 1], 0xa1
jne 0x1007b88c
test ecx, ecx
jne 0x1007b884
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1007b8ac
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x1007b8c6
jmp 0x1007b8ac
cmp dl, 0x20
jne 0x1007b8aa
test ecx, ecx
jne 0x1007b8a3
mov edi, eax
mov ecx, 1
jmp 0x1007b8ac
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1007b86c
cmp ecx, 1
jne case.default.0x1007b824
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1007b824
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1007b824
mov al, byte [esi]
test al, al
je 0x1007b91e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x1007b904
mov cl, byte [esi + 1]
test cl, cl
je 0x1007b91e
cmp al, 0xa1
jne 0x1007b8f4
cmp cl, al
je 0x1007b901
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.100802e0
inc esi
jmp 0x1007b916
cmp al, 0x20
je 0x1007b916
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10080320
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1007b8dd
push 0
lea ecx, [esp + 0x14]
call fcn.10080320
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100891c0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x1007b951
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x1015a450
call fcn.10080210
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.101097ec
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x10083d60
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x10114b1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.10109561
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10083de2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.1010737d
mov eax, dword [eax]
push 0x1023bd10
push eax
call fcn.100f65e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.101097ec
test bl, bl
je 0x10083de2
push 0x1023bd10
lea ecx, [esp + 0xc]
call fcn.10109b7c
push 0x1023bd1c
lea ecx, [esp + 0xc]
call fcn.10109b7c
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x10083e1e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.101097ec
jmp 0x10083ee9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x10083ea2
lea edx, [esp + 0x7c]
push 0x1023bd18
push edx
call fcn.100f65e4
add esp, 8
test eax, eax
je 0x10083ea2
lea eax, [esp + 0x7c]
push 0x1023bd14
push eax
call fcn.100f65e4
add esp, 8
test eax, eax
je 0x10083ea2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10083e32
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.101097ec
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x100846e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10084742
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x10084750
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x10114b9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x10247d70]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x10084888
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x100847b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.101097ec
xor eax, eax
jmp 0x100848ff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.10109929
push esi
lea ecx, [esp + 0xc]
call fcn.10109bb8
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x100848dd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.100846e0
test eax, eax
jne 0x100848dd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.100846e0
test eax, eax
jne 0x100848dd
lea eax, [esp + 0x14]
push 0x1023bd2c
push eax
call fcn.100f77e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100848bc
lea ecx, [esp + 0x14]
push 0x1023bd28
push ecx
call fcn.100f7760
mov esi, eax
add esp, 8
test esi, esi
jne 0x100848bc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x100848bf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.101098d9
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x100847ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.101097ec
xor eax, eax
jmp 0x100848ff
mov byte [esi], 0
push 0x1023bd24
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.101097ec
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4