joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415906
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x433098
call fcn.0041b53c
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x415912
xor eax, eax
jmp 0x41593a
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
push edi
xor edi, edi
cmp ecx, edi
je 0x41594a
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x41594a
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
cmp dword [esi + 0x54], edi
je 0x41596a
mov ecx, esi
call fcn.004121d5
cmp dword [esi + 0x44], edi
jne 0x41596f
push dword [esi + 0x54]
push ebx
call fcn.0041033c
pop ecx
pop ecx
test al, al
jne 0x415937
or eax, 0xffffffff
jmp 0x415939
push edi
push 8
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x10], bl
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x34], 0
call fcn.0041033c
mov dword [ebp - 4], edi
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x415a22
lea eax, [ebp - 0x34]
mov edx, eax
add eax, dword [ebp - 0x24]
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x14]
push ebx
push eax
push edx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xf]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x14]
test eax, eax
js 0x415a40
cmp eax, 1
jg 0x415a2a
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x4159d6
lea eax, [ebp - 0x34]
mov edi, dword [ebp - 0x14]
sub edi, eax
je 0x4159fc
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x4159e9
lea eax, [ebp - 0x34]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.0041dea0
add esp, 0x10
cmp edi, eax
jne 0x415a40
lea eax, [ebp - 0x10]
mov byte [esi + 0x49], 1
cmp dword [ebp - 0x18], eax
jne 0x415a56
test edi, edi
jne 0x41598e
cmp dword [ebp - 0x24], 0x20
jae 0x415a40
push edi
push 8
lea ecx, [ebp - 0x34]
call fcn.0041033c
jmp 0x41598e
mov edx, dword [ebp - 0x34]
jmp 0x4159a0
cmp eax, 3
jne 0x415a40
push dword [esi + 0x54]
push dword [ebp - 0x10]
call fcn.0041033c
pop ecx
pop ecx
test al, al
jne 0x415a56
or esi, 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.0041033c
mov eax, esi
jmp 0x415939
mov esi, dword [ebp + 8]
jmp 0x415a43
Function at 0x417596
Capabilities:
Delete registry value
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push 0x439088
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x4175bd
xor eax, eax
leave
ret
push esi
mov esi, dword [sym.imp.advapi32.dll_RegDeleteValueA]
push 0x4390b0
push dword [ebp - 4]
call esi
push str.InstallOptions
push dword [ebp - 4]
call esi
push str.UpdateDescription
push dword [ebp - 4]
call esi
push str.UpdateTitle1
push dword [ebp - 4]
call esi
push str.UpdateTitle2
push dword [ebp - 4]
call esi
push str.UpdateMoreInfoUrl
push dword [ebp - 4]
call esi
push str.BalloonTitle
push dword [ebp - 4]
call esi
push str.BalloonTip
push dword [ebp - 4]
call esi
push str.DlgCaption
push dword [ebp - 4]
call esi
push str.MoreInfoTxt
push dword [ebp - 4]
call esi
push str.PreDownld
push dword [ebp - 4]
call esi
push str.UrlInfo
push dword [ebp - 4]
call esi
push str.NumTries
push dword [ebp - 4]
call esi
push str.LastUDCheckTime
push dword [ebp - 4]
call esi
push str.VersionXmlChecksum
push dword [ebp - 4]
call esi
push 0x439190
push dword [ebp - 4]
call esi
call fcn.0041033c
test eax, eax
je 0x417677
push str.TransferJobID
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x41974f
Capabilities:
Delete file
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
mov edi, 0x400
lea eax, [ebp - 0x41c]
push edi
push eax
call fcn.0041033c
mov esi, dword [sym.imp.kernel32.dll_DeleteFileA]
pop ecx
pop ecx
test eax, eax
js 0x419782
lea eax, [ebp - 0x41c]
push eax
call esi
lea eax, [ebp - 0x41c]
push eax
call fcn.0041033c
pop ecx
test eax, eax
je 0x4197ab
lea eax, [ebp - 0x41c]
push eax
push eax
call fcn.0041033c
pop ecx
pop ecx
lea eax, [ebp - 0x41c]
push eax
call esi
call fcn.0041033c
xor esi, esi
push esi
push str.PreDownldStatus
push esi
call fcn.0041033c
mov ebx, dword [sym.imp.advapi32.dll_RegEnumKeyA]
add esp, 0xc
push edi
lea eax, [ebp - 0x41c]
push eax
mov dword [ebp - 4], esi
push esi
mov esi, SysStringLen
jmp 0x41984c
inc dword [ebp - 4]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push 0x20019
lea eax, [ebp - 0x41c]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.0041033c
lea ecx, [ebp - 0x10]
test eax, eax
jne 0x419834
push 0x2001f
push 0x439050
push dword [ebp - 0x1c]
call fcn.0041033c
test eax, eax
jne 0x419831
push str.VersionXmlURL
push dword [ebp - 0x10]
call dword [sym.imp.advapi32.dll_RegDeleteValueA]
lea ecx, [ebp - 0x10]
call fcn.0040a137
lea ecx, [ebp - 0x1c]
call fcn.0040a137
push edi
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 4]
push esi
call ebx
test eax, eax
je 0x4197da
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41a6a5
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4470e0], 0
push esi
push edi
jne 0x41a61b
call fcn.0041a587
test eax, eax
je 0x41a660
mov eax, dword [0x4470e0]
cmp eax, 1
jne 0x41a63c
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x41a660
jmp 0x41a6a2
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x41a6a2
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x41a664
xor eax, eax
jmp 0x41a6a2
mov eax, dword [esi]
push dword [0x4470e0]
call edi
mov edi, eax
test edi, edi
je 0x41a686
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x41a6a2
lea edi, [esi + 0xff0]
push esi
push dword [0x4470e0]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x41a68c
mov eax, esi
pop edi
pop esi
ret
jmp 0x41a607

Function at 0x42208d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x445e00]
jne 0x422097
repz ret
jmp fcn.004281f4
Function at 0x407a2b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.0041d46c
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.004079e2
add esp, 0x1c
leave
ret

Function at 0x40a81f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x40a827
mov dword [ecx*4 + 0x42f480], eax
inc ecx
cmp ecx, 0x100
jb 0x40a822
mov edx, 0x800
jmp 0x40a874
mov eax, dword [ecx*4 + 0x42f080]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x42f480]
inc ecx
mov dword [ecx*4 + 0x42f47c], eax
cmp ecx, edx
jb 0x40a853
mov eax, 0x423260
mov esi, 0x423180
mov dword [0x42f464], eax
mov dword [0x431480], eax
mov dword [0x42f460], esi
call fcn.00410e05
test eax, eax
jne 0x40a8a1
mov dword [0x431480], esi
pop esi
ret

Function at 0x413e3d
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea edi, [eax + 0x1c]
shr eax, 2
mov esi, eax
shr esi, 1
add esi, 3
mov dword [ecx], esi
xor esi, esi
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], eax
test eax, eax
je 0x413e72
mov ebx, dword [edx]
mov dword [ecx + esi*4 + 0x10], ebx
inc esi
add edx, 4
cmp esi, eax
jb 0x413e64
cmp esi, edi
jae 0x413f53
mov edx, esi
sub edx, eax
lea eax, [ecx + edx*4 + 0x10]
mov dword [ebp - 4], eax
xor edx, edx
mov eax, esi
div dword [ebp + 8]
mov edi, dword [ecx + esi*4 + 0xc]
mov dword [ebp - 8], eax
test edx, edx
jne 0x413eea
mov eax, edi
mov ebx, edi
mov edx, 0xff
and eax, edx
movzx eax, byte [eax + str.cw]
shr ebx, 0x18
movzx ebx, byte [ebx + str.cw]
shl eax, 8
or eax, ebx
mov ebx, edi
shr edi, 8
and edi, edx
shr ebx, 0x10
and ebx, edx
movzx edx, byte [edi + str.cw]
movzx ebx, byte [ebx + str.cw]
mov edi, dword [ebp - 8]
movzx edi, byte [edi + 0x426408]
shl eax, 8
or eax, ebx
shl eax, 8
xor edi, edx
or edi, eax
jmp 0x413f3a
cmp dword [ebp + 8], 6
jbe 0x413f3a
cmp edx, 4
jne 0x413f3a
mov edx, edi
shr edx, 0x10
mov ebx, edi
shr ebx, 0x18
movzx ebx, byte [ebx + str.cw]
mov eax, 0xff
and edx, eax
movzx edx, byte [edx + str.cw]
shl ebx, 8
or edx, ebx
mov ebx, edi
shr ebx, 8
and ebx, eax
movzx ebx, byte [ebx + str.cw]
shl edx, 8
and edi, eax
movzx edi, byte [edi + str.cw]
or edx, ebx
shl edx, 8
or edi, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add dword [ebp - 4], 4
xor eax, edi
mov dword [ecx + esi*4 + 0x10], eax
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x413e85
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4158ed
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
push esi
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
and esi, 7
cmp eax, 5
jae 0x41590d
xor eax, eax
jmp 0x415a22
add dword [ebp + 0x10], 5
push ebx
mov ebx, dword [ebp + 8]
sub eax, 4
add eax, ebx
push edi
mov dword [ebp + 0xc], eax
mov edi, dword [ebp - 4]
lea edx, [edi + ebx]
jmp 0x41592f
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x415934
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x415926
mov ecx, edx
sub ecx, edi
mov eax, edx
sub eax, ebx
sub ecx, ebx
mov dword [ebp - 4], eax
cmp edx, dword [ebp + 0xc]
jae 0x415a0b
cmp ecx, 2
jbe 0x41598b
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x4159a9
movzx eax, byte [edx + 3]
mov edi, dword [ebp + 0x10]
add edi, dword [ebp - 4]
add dword [ebp - 4], 5
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or eax, ecx
cmp dword [ebp + 0x18], 0
je 0x4159b6
add eax, edi
jmp 0x4159b8
shr esi, cl
test esi, esi
je 0x415951
cmp esi, 4
ja 0x4159a9
cmp esi, 3
je 0x4159a9
mov eax, esi
shr eax, 1
movzx eax, byte [eax + edx + 1]
inc eax
test al, 0xfe
jne 0x415951
or esi, 8
shr esi, 1
inc dword [ebp - 4]
jmp 0x41591e
sub eax, edi
test esi, esi
je 0x4159e9
and esi, 6
shl esi, 2
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x4159e4
mov ebx, 0x100
shl ebx, cl
dec ebx
xor eax, ebx
cmp dword [ebp + 0x18], 0
je 0x4159e2
add eax, edi
jmp 0x4159e4
sub eax, edi
mov ebx, dword [ebp + 8]
xor esi, esi
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], al
mov byte [edx + 2], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
and al, 1
neg al
mov byte [edx + 3], cl
mov byte [edx + 4], al
jmp 0x41591e
push 2
pop eax
shr esi, cl
cmp eax, ecx
mov ecx, dword [ebp + 0x14]
sbb eax, eax
not eax
and eax, esi
pop edi
mov dword [ecx], eax
mov eax, dword [ebp - 4]
pop ebx
pop esi
leave
ret
Function at 0x40c393
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40c430
push ebx
push esi
call fcn.0040c35c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040c2f0
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40c3dd
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40c42f
push edi
push eax
call fcn.0040cfb0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40c3fd
call fcn.0040ae51
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40c42e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040c2f0
add esp, 0x20
test eax, eax
jne 0x40c41c
push edi
call fcn.0040ae51
jmp 0x40c424
push ebx
call fcn.0040ae51
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40d72d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x470130
push 0x470128
push str.FlsAlloc
push 0x1f
call fcn.0040d5ec
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d761
push dword [ebp + 8]
mov ecx, esi
call dword [0x42114c]
call esi
jmp 0x40d767
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d7ab
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x470140
push 0x470138
push str.FlsGetValue
push 0x21
call fcn.0040d5ec
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d7e2
push dword [ebp + 8]
mov ecx, esi
call dword [0x42114c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40d7ea
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x470148
push 0x470140
push str.FlsSetValue
push 0x22
call fcn.0040d5ec
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d824
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42114c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x401040
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x405004]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0xc], eax
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4010e2
push 0x124
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x128
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4010db
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
je 0x4010db
push dword [esp + 0xc]
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x4010d7
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x4010b3
jmp 0x4010db
mov edi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040168a
mov esp, ebp
pop ebp
ret
Function at 0x401290
Capabilities:
Allocate or change rwx memory
Encode data using add xor sub operations
Encode data using xor
Execute command
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x401100
push str.ass:__p_n
call fcn.00401010
push fcn.00401040
push str.GetProcessIdByName:__p_n
call fcn.00401010
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 0x14
lea eax, [ebp - 8]
push eax
push 0x40
push 0x18f
push 0x401100
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor edi, edi
mov eax, 0x28c1979
mov ecx, edi
mul edi
mov esi, 0x401100
shr edx, 2
imul eax, edx, 0x192
sub ecx, eax
movsx eax, byte [esi + edi]
movsx ecx, byte [ecx + str.9R_K:E_s__NQ6u_17_DVGfGXJ__qyeHBjkkz_M.Y_3Ni_BaYQFgv2GxjqE__7Kd_9ONhpa_urPWqFpW_5_KyrofM_p038oB414l_PCnWfH_2_Er___kDURY_P4__b_Cb_WZ1U_2pJrNHeOzw3L_Kuiw___0zwwAC_1_h_K__0UNI___yR__G_m2V5BlM7zdt___W__._M_6_P_aXcuLcx_TvxoX.9hNec8i7C68ivzm0TXFM4GzQx3ujOdVOtnfDBthpH8bSFscPu8JRWKK79lXAQubxI5WG6Ru5izFoTjPFIuW5kz2crktiMX4RmRgZQqS9b25_IVZ_mBq6___qt_:___5__MH8Z____a_lur____o_lG____0___v___.:.qbSe0VwCb_zP___DIK_vsqxR3hUO1jQChgzl__W_LM__qCN_mYNBNsST9_wP__Nlw9XdRBchLPbXBG57NemiLJZ3SJuguRSFgcr43rhSigtGhXn6TSq4hfmDLO2itnPnoEnAc6lghpaMdHGVQFNRQPyx1EBArCbwP8kEi2jSkXuB6VWbzEDnavcbDAAT__Vff_1k_tsxvawruIC_d_U_____QDwm_]
xor ecx, eax
movzx eax, cl
shl cx, 8
or cx, ax
mov byte [esi + edi], cl
inc edi
cmp edi, 0x18f
jb 0x4012e6
xor edi, edi
mov eax, 0x28c1979
mov esi, edi
mul edi
mov ecx, edi
add esi, fcn.00401040
shr edx, 2
inc edi
imul eax, edx, 0x192
sub ecx, eax
movsx eax, byte [esi]
movsx ecx, byte [ecx + str.9R_K:E_s__NQ6u_17_DVGfGXJ__qyeHBjkkz_M.Y_3Ni_BaYQFgv2GxjqE__7Kd_9ONhpa_urPWqFpW_5_KyrofM_p038oB414l_PCnWfH_2_Er___kDURY_P4__b_Cb_WZ1U_2pJrNHeOzw3L_Kuiw___0zwwAC_1_h_K__0UNI___yR__G_m2V5BlM7zdt___W__._M_6_P_aXcuLcx_TvxoX.9hNec8i7C68ivzm0TXFM4GzQx3ujOdVOtnfDBthpH8bSFscPu8JRWKK79lXAQubxI5WG6Ru5izFoTjPFIuW5kz2crktiMX4RmRgZQqS9b25_IVZ_mBq6___qt_:___5__MH8Z____a_lur____o_lG____0___v___.:.qbSe0VwCb_zP___DIK_vsqxR3hUO1jQChgzl__W_LM__qCN_mYNBNsST9_wP__Nlw9XdRBchLPbXBG57NemiLJZ3SJuguRSFgcr43rhSigtGhXn6TSq4hfmDLO2itnPnoEnAc6lghpaMdHGVQFNRQPyx1EBArCbwP8kEi2jSkXuB6VWbzEDnavcbDAAT__Vff_1k_tsxvawruIC_d_U_____QDwm_]
xor ecx, eax
movzx eax, cl
shl cx, 8
or cx, ax
mov byte [esi], cl
cmp edi, 0xb8
jb 0x401324
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call esi
jmp 0x401367
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040d73f
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040d73f
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040d73f
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040d73f
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040d73f
mov dword [0x41203c], eax
call fcn.0040d73f
test eax, eax
jge 0x402550
push 8
call fcn.0040d73f
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040d73f
pop ecx
push 1
call fcn.0040d73f
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040d73f
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040d73f
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040d73f
jmp 0x402495

Function at 0x40d73f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40d74e
pop dword [ebp - 0x4c]
mov eax, 0xe1a44c0
sub eax, 0xdd96d72
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3b7c3
push 0
mov eax, 0x401558a6
sub eax, 0x3fd477ce
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x5350ce77
add ecx, 0xacaf82a4
xor edx, edx
add edx, eax
mov edi, 0xf7ae5b5
sub edi, 0xf39a9f1
add edi, dword [ebp - 0x4c]
mov esi, 0xcf9db4af
add esi, 0x256ca82f
mov ebx, dword [edi]
mov dword [ebp - 0x3c], 0x7a6c9b7c
xor ebx, esi
sub dword [ebp - 0x20], 0x71587acf
mov dword [edx], ebx
xor dword [ebp - 0x24], edi
add edx, 0x26463c69
add edx, 0xd9b9c39b
add edi, 0x7a9b6911
add edi, 0x856496f3
loop 0x40d7af
add eax, 0x303c3fee
add eax, 0xcfc4f751
xor ebx, ebx
add ebx, eax
add eax, 0xc024d80a
sub eax, 0xc024d805
mov ecx, 0x8f1c5d05
add ecx, 0x7123a2fb
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x402480
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x4024d8
cmp byte [esi + ebx - 1], 0xa
je 0x4024ac
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x40a0a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x402a70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov edi, dword [0x40a0b4]
mov esi, dword [ebp + 8]
test edi, edi
je 0x402c30
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x40a0b4]
movzx eax, al
bt eax, esi
jae 0x402c90
mov ecx, dword [0x40a0a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x402b35
test byte [0x40301c], 8
jne 0x402bd0
lea ebx, [ebp - 0xe0]
mov edi, ebx
test byte [0x40302c], 8
jne 0x402b80
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x402b04
cmp esi, 3
jbe 0x402b40
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], str._s:_s:_s
lea edx, [edi + 1]
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x40439c]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x402b04
mov ecx, dword [0x40a0b4]
test ecx, ecx
je 0x402c70
mov dword [esp], 0x40302c
call dword [0x40a0b4]
test al, 8
je 0x402adb
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x402adb
mov ebx, dword [0x40a0b4]
test ebx, ebx
je 0x402c50
mov dword [esp], 0x40301c
call dword [0x40a0b4]
test al, 8
je 0x402ac6
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [ebp - 0xe0]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x402ace
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x40a0b4
call sym._load_func.part.0
jmp 0x402a8d
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x40a0b4
call sym._load_func.part.0
jmp 0x402bda
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x40a0b4
call sym._load_func.part.0
jmp 0x402b8e
mov eax, 0xffffffff
jmp 0x402b35
Function at 0x402df0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dbg.wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop