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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403fd8
xor eax, eax
push ebp
push 0x4ebc1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [0x5536c4]
mov edx, dword [edx]
call fcn.00403c40
mov eax, dword [ebp - 4]
call fcn.00403e24
mov ebx, eax
test ebx, ebx
jle 0x4ebbff
mov edi, 1
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov dl, byte [edx + edi - 1]
xor dl, 0xc8
call fcn.00403d4c
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00403e2c
inc edi
dec ebx
jne 0x4ebbdf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ebc21
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403bcc
ret
Function at 0x507918
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.005074a0
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x44], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x34], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2c], 0
je 0x507a5c
jmp 0x5079b6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x45], 0
je 0x507972
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x3c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x38]
ja 0x507a72
mov edx, dword [ebp - 4]
cmp byte [edx + 0x2d], 7
je 0x507a72
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
cmp byte [edx + 0x4ba], 7
jne 0x5079a4
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x2d]
cmp al, 6
je 0x507a72
cmp al, 5
je 0x507a72
push 0x64
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0049bfe0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
jne 0x507a72
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d], 0
jne 0x507952
jmp 0x507a72
xor edx, edx
push ebp
push 0x507a52
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x45], 0
je 0x507a05
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x3c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x38]
jbe 0x507a05
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x507a72
mov edx, dword [ebp - 4]
cmp byte [edx + 0x2d], 7
je 0x507a2b
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
cmp byte [edx + 0x4ba], 7
jne 0x507a35
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x2d]
cmp al, 6
je 0x507a2b
cmp al, 5
jne 0x507a35
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x507a72
push 0x64
call sub.kernel32.dll_Sleep
mov eax, dword [0x5535d4]
mov eax, dword [eax]
call fcn.0043b2ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x507a5c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
jne 0x507a72
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d], 0
jne 0x5079d1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x45], 0
je 0x507a95
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x3c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x38]
jbe 0x507a95
mov eax, dword [ebp - 4]
mov byte [eax + 0x44], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40b8], 0x190
jl 0x507ac9
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x40b8]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40bc]
mov dl, 1
mov eax, dword [0x504e68]
call fcn.005058d8
call fcn.0040361c
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x508318
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
shl eax, 2
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
mov edx, ebx
add edx, 4
mov eax, esi
call fcn.00404154
mov eax, esi
call fcn.00403ff4
push eax
mov edx, ebx
add edx, 2
xor ecx, ecx
pop eax
call fcn.00402bd8
cmp byte [ebp - 1], 0
jne 0x50838b
mov eax, esi
call fcn.00403ff4
mov dl, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov al, byte [ebp - 1]
sub al, 1
jb 0x5083a4
sub al, 2
jb 0x5083ab
jmp 0x5083b0
mov ebx, 2
jmp 0x5083b0
mov ebx, 1
mov eax, esi
call fcn.00403ff4
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x508492
test edi, edi
jle 0x50840c
mov eax, esi
call fcn.00403ff4
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.00403ff4
mov byte [eax + ebx - 1], 0
jmp 0x508486
test edi, edi
jge 0x508452
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.00403ff4
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x508486
mov eax, esi
call fcn.00403ff4
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.00403ff4
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x5083c8
mov al, byte [ebp - 1]
sub al, 1
jb 0x5084a2
sub al, 2
jb 0x5084db
jmp 0x508522
cmp edi, 2
jne 0x5084a8
dec ebx
mov eax, ebx
sub eax, 2
jl 0x508522
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.00403ff4
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x5530c0]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x5084b8
jmp 0x508522
cmp edi, 2
jne 0x5084e1
dec ebx
test ebx, ebx
jle 0x50851d
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.00403ff4
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x5530c4]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x5084ed
jmp 0x50851d
inc ebx
mov eax, esi
call fcn.00403ff4
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x508510
mov eax, esi
mov edx, ebx
call fcn.00404154
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x511fa4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00403fd8
xor eax, eax
push ebp
push 0x512088
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x51209c
call fcn.00403c40
lea edx, [ebp - 0x14]
mov eax, dword [0x5535d4]
mov eax, dword [eax]
call fcn.0043b998
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00409420
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x5120c4
call fcn.00403e70
mov eax, dword [ebp - 8]
call fcn.004091c4
test al, al
je 0x512055
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00403e70
call fcn.004c888c
test al, al
je 0x51203b
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403fe8
push eax
push 0
mov eax, dword [0x553788]
mov eax, dword [eax]
call eax
jmp 0x51206d
push 1
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403fe8
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x51206d
push 1
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403fe8
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51208f
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00403bcc
ret
Function at 0x522ce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00403fd8
xor eax, eax
push ebp
push 0x522d85
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x556535], 0
je 0x522d6f
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
mov eax, dword [0x556574]
call fcn.00403fe8
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x522d6f
push 2
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer_1
lea eax, [ebp - 4]
mov edx, 0x522d9c
call fcn.00403e2c
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00403e24
push eax
lea eax, [ebp - 4]
call fcn.00403ff4
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x522d8c
lea eax, [ebp - 4]
call fcn.00403ba8
ret
Function at 0x52e0ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00403fd8
mov eax, dword [ebp - 8]
call fcn.00403fd8
mov eax, dword [ebp + 0x10]
call fcn.00403fd8
mov eax, dword [ebp + 0xc]
call fcn.00403fd8
lea esi, [ebp - 0x10]
xor eax, eax
push ebp
push 0x52e1e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x52e1b7
push esi
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x8b4]
call fcn.004c02bc
cmp dword [esi], 0xffffffff
je 0x52e1b7
cmp dword [esi], 0xffffffff
jle 0x52e19c
mov edx, dword [esi]
mov eax, dword [ebx + 0x8b4]
call fcn.004c0d00
and eax, 0xff
cmp edi, eax
jne 0x52e19c
lea ecx, [ebp - 0x14]
mov edx, dword [esi]
mov eax, dword [ebx + 0x8b4]
call fcn.004c0ca4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00403f34
jne 0x52e19c
lea ecx, [ebp - 0x14]
mov edx, dword [esi]
mov eax, dword [ebx + 0x8b4]
call fcn.004c0d68
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
call fcn.00403f34
jne 0x52e19c
lea ecx, [ebp - 0x14]
mov edx, dword [esi]
mov eax, dword [ebx + 0x8b4]
call fcn.004c0d40
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
call fcn.00403f34
jne 0x52e19c
mov byte [ebp - 9], 0
jmp 0x52e1b7
push esi
mov ecx, dword [esi]
inc ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x8b4]
call fcn.004c02bc
cmp dword [esi], 0xffffffff
jne 0x52e124
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52e1ee
lea eax, [ebp - 0x14]
call fcn.00403ba8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403bcc
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00403bcc
ret
Function at 0x53886c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x52c]
mov edx, 0x80000005
call fcn.00451f84
mov dl, 1
mov eax, dword [0x41a1fc]
call fcn.00421998
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5389cc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
xor ecx, ecx
mov edx, 0x160
call fcn.00402bd8
push 0x4101
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0x90
mov eax, dword [0x5561dc]
call fcn.00403fe8
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 4]
call fcn.00421d3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x52c]
mov edx, dword [ebp - 4]
call fcn.00451bb4
lea eax, [ebp - 0x164]
xor ecx, ecx
mov edx, 0x160
call fcn.00402bd8
push 0x4103
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0x90
mov eax, dword [0x5561dc]
call fcn.00403fe8
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 4]
call fcn.00421d3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x52c]
mov edx, dword [ebp - 4]
call fcn.00451bb4
lea eax, [ebp - 0x164]
xor ecx, ecx
mov edx, 0x160
call fcn.00402bd8
push 0xc101
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0x90
mov eax, dword [0x5561dc]
call fcn.00403fe8
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 4]
call fcn.00421d3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x52c]
mov edx, dword [ebp - 4]
call fcn.00451bb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5389d3
mov eax, dword [ebp - 4]
call fcn.00402f44
ret
Function at 0x53ba7c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
xor eax, eax
push ebp
push 0x53bb6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [edx + 0xc]
cmp eax, 9
ja case.0x53ba9b.0
jmp dword [eax*4 + 0x53baa2]
lea eax, [ebp - 4]
mov edx, 0x53bb80
call fcn.00403c40
jmp case.0x53ba9b.0
lea eax, [ebp - 4]
mov edx, 0x53bba0
call fcn.00403c40
jmp case.0x53ba9b.0
lea eax, [ebp - 4]
mov edx, 0x53bbd0
call fcn.00403c40
jmp case.0x53ba9b.0
lea eax, [ebp - 4]
mov edx, 0x53bbd0
call fcn.00403c40
jmp case.0x53ba9b.0
lea eax, [ebp - 4]
mov edx, 0x53bbfc
call fcn.00403c40
jmp case.0x53ba9b.0
lea eax, [ebp - 4]
mov edx, 0x53bbfc
call fcn.00403c40
jmp case.0x53ba9b.0
lea eax, [ebp - 4]
mov edx, 0x53bc38
call fcn.00403c40
jmp case.0x53ba9b.0
lea eax, [ebp - 4]
mov edx, 0x53bc5c
call fcn.00403c40
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403fe8
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53bb75
lea eax, [ebp - 4]
call fcn.00403ba8
ret

Function at 0x5420f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x20c]
call fcn.0047a4c4
mov esi, eax
dec esi
test esi, esi
jle 0x54214d
mov ebx, 1
mov eax, dword [edi + 0x20c]
mov edx, ebx
call fcn.0047a4fc
mov edx, 3
call fcn.0047a00c
xor al, 1
push eax
mov eax, dword [edi + 0x20c]
mov edx, ebx
call fcn.0047a4fc
mov edx, 3
pop ecx
call fcn.0047a078
inc ebx
dec esi
jne 0x542117
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x542154
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x20c]
call fcn.0047a4c4
mov esi, eax
dec esi
test esi, esi
jle 0x5421a9
mov ebx, 1
mov eax, dword [edi + 0x20c]
mov edx, ebx
call fcn.0047a4fc
mov edx, 3
call fcn.0047a00c
xor al, 1
push eax
mov eax, dword [edi + 0x20c]
mov edx, ebx
call fcn.0047a4fc
mov edx, 3
pop ecx
call fcn.0047a078
inc ebx
dec esi
jne 0x542173
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x54c3d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov eax, 0x54bf7c
call fcn.00406ae0
xor eax, eax
push ebp
push 0x54ceef
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040299c
mov eax, dword [0x5535d4]
mov eax, dword [eax]
call fcn.0043b400
mov eax, dword [0x5535d4]
mov eax, dword [eax]
mov edx, 0x54cf08
call fcn.0043b020
mov eax, dword [0x5535d4]
mov eax, dword [eax]
add eax, 0x38
call fcn.00403ba8
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x553198]
mov dword [edx], eax
mov dl, 1
mov eax, dword [0x463004]
call fcn.0046314c
mov dword [0x556660], eax
xor eax, eax
push ebp
push 0x54c640
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [0x556660]
call fcn.004631f0
mov edx, 0x54cf1c
mov eax, dword [0x556660]
call fcn.00463380
test al, al
je 0x54c5b0
mov edx, 0x54cf38
mov eax, dword [0x556660]
call fcn.0046388c
test al, al
je 0x54c5a6
mov edx, 0x54cf38
mov eax, dword [0x556660]
call fcn.004636dc
dec eax
jne 0x54c5a6
push 0x556664
push 0x1a
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00463a10
test al, al
je 0x54c5a6
mov eax, 0x556670
mov edx, 0x104
call fcn.00404154
mov eax, dword [0x556670]
call fcn.00403fe8
push eax
mov eax, dword [0x556664]
push eax
call sub.shell32.dll_SHGetPathFromIDList
test eax, eax
je 0x54c50b
mov eax, dword [0x556670]
call fcn.00403fe8
call fcn.00409790
mov edx, eax
mov eax, 0x556670
call fcn.00404154
mov eax, 0x556670
call fcn.00456124
mov eax, dword [0x556670]
call fcn.00456160
test al, al
je 0x54c55d
mov eax, dword [0x5534e0]
mov edx, dword [0x556670]
call fcn.00403bfc
mov eax, dword [0x5534e0]
mov edx, 0x54cf08
call fcn.00403e2c
mov eax, dword [0x5534e0]
mov eax, dword [0x5534e0]
call fcn.00456124
mov eax, dword [0x5534e0]
mov eax, dword [eax]
call fcn.00456fa8
cmp dword [0x556664], 0
je 0x54c5a6
push 0x556668
call sub.shell32.dll_SHGetMalloc
call fcn.00463a10
test al, al
je 0x54c5a6
mov eax, dword [0x556664]
push eax
mov eax, dword [0x556668]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
test eax, eax
jle 0x54c5a6
mov eax, dword [0x556664]
push eax
mov eax, dword [0x556668]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
mov dword [0x556664], eax
mov eax, dword [0x556660]
call fcn.004631bc
mov edx, 0x80000001
mov eax, dword [0x556660]
call fcn.004631f0
mov edx, 0x54cf1c
mov eax, dword [0x556660]
call fcn.00463380
test al, al
je 0x54c628
mov edx, 0x54cf48
mov eax, dword [0x556660]
call fcn.0046388c
test al, al
je 0x54c61e
lea ecx, [ebp - 0x10]
mov edx, 0x54cf48
mov eax, dword [0x556660]
call fcn.00463644
mov edx, dword [ebp - 0x10]
mov eax, dword [0x5534e0]
call fcn.00403bfc
mov eax, dword [0x5534e0]
mov eax, dword [eax]
call fcn.00456160
test al, al
je 0x54c61e
mov eax, dword [0x5534e0]
call fcn.00456124
mov eax, dword [0x556660]
call fcn.004631bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54c647
mov eax, dword [0x556660]
call fcn.00402f44
ret
Function at 0x429be0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cb66b
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.004befab
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x429c62
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004bbdd2
mov eax, dword [eax]
push 0x522234
push eax
call fcn.0049b434
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004bf236
test bl, bl
je 0x429c62
push 0x522234
lea ecx, [esp + 0xc]
call fcn.004bf5c6
push 0x525dbc
lea ecx, [esp + 0xc]
call fcn.004bf5c6
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 0x429c9e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004bf236
jmp 0x429d69
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 0x429d22
lea edx, [esp + 0x7c]
push 0x525db8
push edx
call fcn.0049b434
add esp, 8
test eax, eax
je 0x429d22
lea eax, [esp + 0x7c]
push 0x525db4
push eax
call fcn.0049b434
add esp, 8
test eax, eax
je 0x429d22
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 0x429cb2
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.004bf236
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 0x42a560
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 0x42a5c2
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 0x42a5d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cb6eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x52d924]
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 0x42a708
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42a636
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004bf236
xor eax, eax
jmp 0x42a77f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004bf373
push esi
lea ecx, [esp + 0xc]
call fcn.004bf602
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 0x42a75d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0042a560
test eax, eax
jne 0x42a75d
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.0042a560
test eax, eax
jne 0x42a75d
lea eax, [esp + 0x14]
push 0x525dd0
push eax
call fcn.0049c550
mov esi, eax
add esp, 8
test esi, esi
jne 0x42a73c
lea ecx, [esp + 0x14]
push 0x525dcc
push ecx
call fcn.0049c4d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42a73c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42a73f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004bf323
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42a64e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004bf236
xor eax, eax
jmp 0x42a77f
mov byte [esi], 0
push 0x525dc8
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.004bf236
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