joyce8/EMBER2024-capa huggingface dataset:
Function at 0xd5dcb8
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00d44548
xor eax, eax
push ebp
push 0xd5d2c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00d44358
cmp eax, 0x100
jge 0xd5dd15
lea ecx, [ebp - 0x124]
lea eax, [ebp - 4]
mov edx, pe_nt_image_headers32
call fcn.00d54d7c
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 4]
call fcn.00d44190
mov eax, dword [ebp - 4]
call fcn.00d44358
cmp eax, 0x100
jle 0xd5dd3a
lea eax, [ebp - 4]
push eax
mov ecx, pe_nt_image_headers32
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00d445b8
mov ebx, pe_nt_image_headers32
push 0x110
call fcn.00d456d4
pop ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x120]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00d43628
lea eax, [ebp - 4]
call fcn.00d445b0
mov edx, eax
lea eax, [ebp - 0x120]
mov ecx, pe_nt_image_headers32
call fcn.00d45c80
mov eax, ebx
shr eax, 2
mov dword [ebp - 0x14], eax
test bl, 3
je 0xd5dd8f
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
ja 0xd5dd9c
mov dword [ebp - 0x14], 1
mov edi, 0xb7e15163
mov eax, dword [0xd61344]
add eax, 2
add eax, eax
test eax, eax
jb 0xd5ddcc
inc eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [edx + ecx*4], edi
add edi, 0x9e3779b9
inc dword [ebp - 0x10]
dec eax
jne 0xd5ddb7
mov eax, dword [0xd61344]
add eax, 2
mov edx, eax
add edx, edx
cmp edx, dword [ebp - 0x14]
jae 0xd5dde8
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
mov dword [ebp - 0x18], eax
jmp 0xd5ddf0
add eax, eax
lea eax, [eax + eax*2]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor edi, edi
xor ebx, ebx
xor esi, esi
mov eax, dword [ebp - 0x18]
cmp eax, 1
jb 0xd5de8f
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
lea edx, [esi + ebx]
add eax, edx
mov ebx, eax
mov eax, ebx
shl eax, 3
shr ebx, 0x1d
or eax, ebx
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [eax + edx*4], ebx
add esi, ebx
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp + edi*4 - 0x120]
add esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
and ecx, 0x1f
mov eax, esi
shl eax, cl
mov ecx, 0x20
sub ecx, dword [ebp - 0x1c]
and ecx, 0x1f
shr esi, cl
or eax, esi
mov esi, eax
mov dword [ebp + edi*4 - 0x120], esi
mov eax, dword [ebp - 0x10]
inc eax
mov edx, dword [0xd61344]
add edx, 2
add edx, edx
mov ecx, edx
xor edx, edx
div ecx
mov dword [ebp - 0x10], edx
lea eax, [edi + 1]
xor edx, edx
div dword [ebp - 0x14]
mov edi, edx
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0
jne 0xd5de0a
lea eax, [ebp - 0x120]
mov edx, pe_nt_image_headers32
call fcn.00d45c88
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xd5d2cd
lea eax, [ebp - 0x124]
call fcn.00d440f8
lea eax, [ebp - 4]
call fcn.00d440f8
ret
Function at 0xd5ded8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, dword [0xd61344]
mov esi, dword [0xd61348]
mov eax, dword [edx]
mov ebx, dword [edx + 4]
mov edi, dword [edx + 8]
mov edx, dword [edx + 0xc]
add ebx, dword [esi]
add edx, dword [esi + 4]
add esi, 8
lea ecx, [ebx*2 + 1]
imul ecx, ebx
rol ecx, 5
push ecx
xor eax, ecx
lea ecx, [edx*2 + 1]
imul ecx, edx
rol ecx, 5
xor edi, ecx
rol eax, cl
pop ecx
add eax, dword [esi]
rol edi, cl
mov ecx, eax
add edi, dword [esi + 4]
mov eax, ebx
mov ebx, edi
mov edi, edx
dec ebp
mov edx, ecx
lea esi, [esi + 8]
jne 0xd5deff
add eax, dword [esi]
add edi, dword [esi + 4]
pop ecx
mov dword [ecx], eax
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edx
pop ebp
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0xd5df54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
dec ecx
mov esi, ecx
test esi, esi
jl 0xd5df74
inc esi
xor ecx, ecx
mov bl, byte [edx + ecx]
mov edi, dword [ebp + 8]
xor bl, byte [edi + ecx]
mov byte [eax + ecx], bl
inc ecx
dec esi
jne 0xd5df64
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0xd5eb84
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffb0
mov edi, ecx
mov esi, edx
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], 0x3f
test eax, eax
jl 0xd5ebd2
inc eax
mov dword [esp + 8], eax
lea edx, [esp + 0xc]
mov eax, dword [esp]
call fcn.00d5e8bc
mov ecx, dword [esp + 4]
test ecx, ecx
jl 0xd5ebcc
inc ecx
xor edx, edx
lea eax, [esp + 0xc]
mov bl, byte [esi + edx]
xor bl, byte [eax]
mov byte [edi + edx], bl
inc edx
inc eax
dec ecx
jne 0xd5ebbf
dec dword [esp + 8]
jne 0xd5eba4
add esp, 0x50
pop edi
pop esi
pop ebx
ret
Function at 0x406810
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x110
mov al, byte [0x440950]
push edi
mov byte [esp + 0x10], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x118]
test eax, eax
jbe 0x40694f
mov ecx, dword [esp + 0x11c]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
lea esi, [ecx + 0x208]
mov dword [esp + 0x14], eax
lea edx, [esp + 0x10]
lea edi, [esi - 0x208]
push edx
push 0x2001f
push 0
push edi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40692b
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4068ad
mov eax, dword [esp + 0x10]
push eax
call ebx
jmp 0x40692b
lea ecx, [esi - 0x104]
lea edx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4068cc
mov eax, dword [esp + 0x10]
push eax
call ebx
jmp 0x40692b
cmp byte [esi], 0
jne 0x4068f6
mov ecx, dword [esp + 0x10]
push 0x440950
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x10]
push edx
call ebx
push edi
push SysReAllocStringLen
call dword [0x440934]
jmp 0x40691b
push esi
call ebp
inc eax
push eax
push esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
push 1
push 0
push 0x440950
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call ebx
lea edx, [esp + 0x1c]
push edx
push SysReAllocStringLen
call dword [0x440930]
mov eax, dword [esp + 0x14]
add esi, 0x30c
dec eax
mov dword [esp + 0x14], eax
jne 0x40685f
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x110
ret 8
xor eax, eax
pop edi
add esp, 0x110
ret 8
Function at 0x406fc0
Capabilities:
Set registry value
Write file on windows

Disassembly:
sub esp, 0x214
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x3c], 1
jne 0x40714d
mov al, byte [0x440950]
mov ecx, 0x40
mov byte [esp + 0x1c], al
xor eax, eax
lea edi, [esp + 0x1d]
add esi, 0xd0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
stosb byte es:[edi], al
call fcn.00403bb0
mov edx, dword [eax]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push edx
lea eax, [esp + 0x20]
push 0x43c5ec
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.00422a0b
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00403bb0
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00422a0b
cmp edi, 0xffffffff
jne 0x407066
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x214
ret
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x18]
push 0
lea eax, [esp + 0x20]
push edx
push eax
call ebp
lea ecx, [esp + 0x24]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x14]
push edx
push 2
push 0
push 0x43c5b8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40714d
mov al, byte [0x440950]
mov ecx, 0x40
mov byte [esp + 0x120], al
xor eax, eax
lea edi, [esp + 0x121]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
stosb byte es:[edi], al
call fcn.00403bb0
mov edx, dword [eax]
lea eax, [esp + 0x120]
push edx
push 0x43c584
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.00422a0b
lea ecx, [esp + 0x120]
push ecx
call ebp
lea edx, [esp + 0x10]
mov edi, eax
push edx
mov ecx, esi
inc edi
call fcn.00403ae0
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x120]
push edi
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x10]
call fcn.00422a0b
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x214
ret
Function at 0x407160
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov al, byte [0x440950]
push edi
mov byte [esp + 0x10], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
lea ecx, [esp + 0x14]
push 0x19
push ecx
push 0
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
pop edi
jne 0x4071ea
lea edx, [esp]
mov dword [esp], eax
push edx
push 1
push eax
push 0x43c608
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4071ea
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 4]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0x43c5f8
push eax
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0xc]
push 0
push edx
push 1
push 0x1000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
add esp, 0x110
ret
Function at 0x42678b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4267cd
call fcn.0042a814
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4267cd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4267c4
xor eax, eax
jmp 0x4267d5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004267db
pop edi
pop esi
pop ebx
ret 4

Function at 0x42b73f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42b76d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42b78b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042b6a5
jmp 0x42b78b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42b78b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0042b6a5
test edi, edi
mov eax, edi
jne 0x42b775
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x499f10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x43c015
lea edi, [esi - 0x3b015]
push edi
or ebp, 0xffffffff
jmp 0x499f32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x499f39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x499f28
mov eax, 1
add ebx, ebx
jne 0x499f4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x499f40
jne 0x499f5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x499f40
xor ecx, ecx
sub eax, 3
jb 0x499f70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x499fe2
mov ebp, eax
add ebx, ebx
jne 0x499f7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x499f88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x499fac
inc ecx
add ebx, ebx
jne 0x499f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x499f8d
jne 0x499fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x499f8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x499fcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x499fbd
jmp 0x499f2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x499fcc
add edi, ecx
jmp 0x499f2e
pop esi
mov edi, esi
mov ecx, 0x51
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x499fea
cmp byte [edi], 1
jne 0x499fea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x499fef
lea edi, [esi + 0x95000]
mov eax, dword [edi]
or eax, eax
je 0x49a05e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9b484]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9b568]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49a01c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9b570]
or eax, eax
je 0x49a058
mov dword [ebx], eax
add ebx, 4
jmp 0x49a039
call dword [esi + 0x9b56c]
mov ebp, dword [esi + 0x9b574]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x49a092
sub esp, 0xffffff80
jmp 0x402d30

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x36fe11c8
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x3f3062ea
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x10488058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x104881a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1048807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1048806a
add dl, dl
jne 0x10488089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104880dc
xor eax, eax
add dl, dl
jne 0x10488096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1048817d
add dl, dl
jne 0x104880a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104880b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104880bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104880c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x104880d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10488075
mov eax, 1
add dl, dl
jne 0x104880ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104880f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104880e1
sub eax, ebx
mov ebx, 1
jne 0x10488128
mov ecx, 1
add dl, dl
jne 0x1048810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10488119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10488105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10488075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1048813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1048814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10488136
cmp eax, 0x7d00
jae 0x1048816d
cmp eax, 0x500
jb 0x10488168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10488075
cmp eax, 0x7f
ja 0x10488170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10488075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1048819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10488075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x43c750
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f4c1b
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.004e62ef
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43c7d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004e3004
mov eax, dword [eax]
push 0x547268
push eax
call fcn.004d1e14
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e657a
test bl, bl
je 0x43c7d2
push 0x547268
lea ecx, [esp + 0xc]
call fcn.004e6956
push 0x54ae04
lea ecx, [esp + 0xc]
call fcn.004e6956
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 0x43c80e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e657a
jmp 0x43c8d9
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 0x43c892
lea edx, [esp + 0x7c]
push 0x54ae00
push edx
call fcn.004d1e14
add esp, 8
test eax, eax
je 0x43c892
lea eax, [esp + 0x7c]
push 0x54adfc
push eax
call fcn.004d1e14
add esp, 8
test eax, eax
je 0x43c892
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 0x43c822
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.004e657a
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 0x43db30
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 0x43db92
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 0x43dba0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f4d7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x586b18]
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 0x43dcd8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x43dc06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e657a
xor eax, eax
jmp 0x43dd4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004e6703
push esi
lea ecx, [esp + 0xc]
call fcn.004e6992
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x54ae3c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43dd2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x54ae34
push bind
call fcn.0043db30
test eax, eax
jne 0x43dd2d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x54ae20
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push bind
mov ecx, edi
call fcn.0043db30
test eax, eax
jne 0x43dd2d
lea eax, [esp + 0x14]
push 0x54ae18
push eax
call fcn.004d2ff0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43dd0c
lea ecx, [esp + 0x14]
push 0x54ae14
push ecx
call fcn.004d2f70
mov esi, eax
add esp, 8
test esi, esi
jne 0x43dd0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43dd0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004e66b3
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43dc1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e657a
xor eax, eax
jmp 0x43dd4f
mov byte [esi], 0
push 0x54ae10
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.004e657a
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