joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4057d8
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405a96
test bl, 8
mov dword [ebp - 0xc], eax
je 0x405817
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x4524a8], eax
jmp 0x4059a1
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405831
test eax, eax
je 0x40594f
test bl, 2
je 0x40594f
mov esi, 0x444078
push edi
push esi
call fcn.00406010
cmp dword [ebp + 8], 0
je 0x405850
push str..
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x405856
push edi
call fcn.004059ef
cmp byte [edi], 0
jne 0x405864
cmp byte [0x444078], 0x5c
jne 0x40586f
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x14c]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x405945
lea eax, [ebp - 0x120]
push 0x3f
push eax
lea esi, [ebp - 0x120]
call fcn.004059d3
cmp byte [eax], 0
je 0x4058b5
cmp byte [ebp - 0x1c], 0
je 0x4058b5
lea esi, [ebp - 0x1c]
cmp byte [esi], 0x2e
jne 0x4058cb
mov al, byte [esi + 1]
test al, al
je 0x405924
cmp al, 0x2e
jne 0x4058cb
cmp byte [esi + 2], 0
je 0x405924
push esi
push ebx
call fcn.00406010
test byte [ebp - 0x14c], 0x10
je 0x4058f0
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405924
push dword [ebp + 0xc]
push edi
call fcn.004057d8
jmp 0x405924
push dword [ebp - 4]
push edi
call fcn.00405790
test eax, eax
jne 0x40591c
cmp dword [ebp - 4], eax
je 0x405914
push edi
push 0xfffffffffffffff1
call fcn.00405137
push 0
push edi
call fcn.00405def
jmp 0x405924
inc dword [0x4524a8]
jmp 0x405924
push edi
push 0xfffffffffffffff2
call fcn.00405137
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405893
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x40594f
and byte [ebx - 1], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x4059a1
cmp dword [ebp - 0xc], esi
jne 0x405963
inc dword [0x4524a8]
jmp 0x4059a1
push edi
call fcn.00406313
test eax, eax
je 0x4059a1
push edi
call fcn.004059a8
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.00405790
test eax, eax
jne 0x405999
cmp dword [ebp - 4], esi
je 0x40595b
push edi
push 0xfffffffffffffff1
call fcn.00405137
push esi
push edi
call fcn.00405def
jmp 0x4059a1
push edi
push 0xffffffffffffffe5
call fcn.00405137
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x405a96
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x446078
push esi
call fcn.00406010
push esi
call fcn.00405a41
mov edi, eax
test edi, edi
jne 0x405ab7
xor eax, eax
jmp 0x405b09
push edi
call fcn.0040627a
test byte [0x45241c], 0x80
je 0x405ad0
mov al, byte [edi]
test al, al
je 0x405ab3
cmp al, 0x5c
je 0x405ab3
sub edi, esi
jmp 0x405ae8
call fcn.00406313
test eax, eax
je 0x405ae2
test byte [eax], 0x10
je 0x405ab3
push esi
call fcn.004059ef
push esi
call sub.KERNEL32.dll_lstrlenA
cmp eax, edi
push esi
jg 0x405ad4
call fcn.004059a8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405b84
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
je 0x405ba3
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, esi
pop esi
ret 4

Function at 0x405ba9
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x405bd8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40a3b4]
dec edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x405c1d
test edi, edi
jne 0x405be3
and byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x405c17
Function at 0x405c7f
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
mov dword [0x448600], 0x4c554e
mov edi, 0x400
mov ebp, 0x448600
je 0x405ccb
push 1
push 0
push esi
call fcn.00405ba9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x405dea
cmp eax, edi
jg 0x405dea
mov esi, 0x448a00
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x405dea
cmp eax, edi
jg 0x405dea
push esi
push ebp
push str._s_s_r_n
push 0x448200
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x452414]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00406032
push 4
push 0xc0000000
push esi
call fcn.00405ba9
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x405dea
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405de3
push edi
push esi
push ebp
call fcn.00405c21
test eax, eax
je 0x405de3
push str._Rename__r_n
push esi
call fcn.00405b0e
test eax, eax
jne 0x405d81
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x405db6
add eax, 0xa
push 0x40a3b8
push eax
call fcn.00405b0e
mov ebp, eax
test ebp, ebp
je 0x405db2
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x405da3
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x405d9d
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x405db8
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x448200
push eax
call fcn.00405b64
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00405c50
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x405def
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x405e12
push dword [esp + 8]
push dword [esp + 8]
call fcn.00405c7f
pop ecx
pop ecx
inc dword [0x4524b0]
ret 8

Function at 0x405ef7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
mov dword [ebp - 4], 0x2000
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405e96
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x405f66
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp + 0xc]
push esi
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and byte [esi + 0x1fff], 0
test edi, edi
pop edi
jne 0x405f66
cmp dword [ebp + 0xc], 1
je 0x405f69
cmp dword [ebp + 0xc], 2
je 0x405f69
and byte [esi], 0
pop esi
leave
ret 0x14
Function at 0x40633a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x40635e
xor eax, eax
test eax, eax
je 0x406370
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406370
xor ecx, ecx
jmp 0x406373
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

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

Disassembly:
cmp dword [0x448e04], 0
push esi
jne 0x406496
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406470
mov dword [ecx*4 + 0x448e00], eax
inc ecx
cmp ecx, 0x100
jl 0x40646b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4064c7
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x448e00]
xor eax, esi
inc ecx
dec edx
jne 0x4064a9
pop edi
not eax
pop esi
ret 0xc

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 0x4013b2
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x34], edi
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x41a318]
mov dword [ebp - 0x24], eax
mov eax, dword [0x41a31c]
mov dword [ebp - 0x2c], eax
call fcn.004013ab
mov esi, dword [ebp - 0x10]
mov ecx, dword [0x41a320]
add esi, 0x23f
mov eax, dword [0x41a324]
push 0x20
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], eax
pop edi
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov edx, dword [ebp - 0x14]
mov eax, edx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x1c], 0xedeb2e40
cmp dword [0x476508], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x476504]
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp dword [0x476508], 0x3eb
mov dword [0x476504], eax
mov eax, dword [0x475f90]
cmove eax, dword [ebp - 0x1c]
mov dword [0x475f90], eax
lea eax, [esi + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 4]
sub ebx, eax
mov dword [ebp - 8], eax
mov eax, ebx
mov dword [0x476500], 0xf4ea3dee
shl eax, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shr eax, cl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x1c]
cmp dword [0x476508], 0xb03
mov dword [ebp - 4], eax
jne 0x4014df
push str.Poh_pabatosipixalilasexamupopajohija_xopitotazucepewifodufalejilemi_karemabuzaniyuzavegusaribufate
push edx
push edx
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x30]
add esi, 0x61c88647
mov dword [ebp - 0x10], esi
dec edi
jne 0x401404
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], ebx
mov dword [edi], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d337
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407aeb
mov dword [ebp - 0x14], eax
cmp dword [0x430c9c], esi
jne 0x40d42a
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d3b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d50a
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d50a
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d50a
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x430c9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x430ca0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x430ca4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x430cac], eax
test eax, eax
je 0x40d427
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x430ca8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d44f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d442
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d464
push 4
pop eax
jmp 0x40d50c
cmp dword [ebp - 0x14], esi
je 0x40d464
push dword [0x430c9c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d449
mov eax, dword [0x430ca8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d4c2
cmp dword [0x430cac], edi
je 0x40d4c2
push eax
call ebx
push dword [0x430cac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d4c2
test eax, eax
je 0x40d4c2
call ecx
test eax, eax
je 0x40d4b7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d4b7
test byte [ebp - 8], 1
jne 0x40d4c2
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d4f2
mov eax, dword [0x430ca0]
cmp eax, edi
je 0x40d4ef
push eax
call ebx
test eax, eax
je 0x40d4ef
call eax
mov esi, eax
test esi, esi
je 0x40d4ef
mov eax, dword [0x430ca4]
cmp eax, edi
je 0x40d4ef
push eax
call ebx
test eax, eax
je 0x40d4ef
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x430c9c]
call ebx
test eax, eax
je 0x40d50a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d50c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404010
mov esp, ebp
pop ebp
ret
Function at 0x40238f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x208
mov eax, dword [0x42d040]
xor eax, esp
mov dword [esp + 0x204], eax
mov eax, dword [esp + 0x20c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x220]
mov ebp, 0x100
push edi
xor edi, edi
mov dword [esp + 0x10], eax
mov ecx, edi
mov eax, ecx
mov byte [esp + ecx + 0x14], cl
cdq
idiv dword [esp + 0x228]
mov al, byte [edx + esi]
mov byte [esp + ecx + 0x114], al
inc ecx
cmp ecx, ebp
jl 0x4023c2
mov esi, edi
mov ebx, edi
mov dl, byte [esp + esi + 0x14]
movzx eax, byte [esp + esi + 0x114]
add eax, ebx
movzx ecx, dl
add ecx, eax
mov ebx, ecx
and ebx, 0x800000ff
jns 0x402408
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x14]
mov byte [esp + esi + 0x14], al
inc esi
mov byte [esp + ebx + 0x14], dl
cmp esi, ebp
jl 0x4023e3
mov ebx, edi
mov ebp, edi
cmp dword [esp + 0x220], ebx
jle 0x402494
inc edi
and edi, 0x800000ff
jns 0x402437
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [esp + edi + 0x14]
movzx esi, cl
add ebx, esi
and ebx, 0x800000ff
jns 0x402450
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x14]
mov byte [esp + edi + 0x14], al
push ecx
mov byte [esp + ebx + 0x18], cl
mov ecx, 0x42e098
mov dword [esp], 0x40495270
call fcn.00402081
push eax
call fcn.004019ae
movzx eax, byte [esp + edi + 0x18]
add eax, esi
pop ecx
mov ecx, dword [esp + 0x10]
movzx eax, al
mov al, byte [esp + eax + 0x14]
xor byte [ecx + ebp], al
inc ebp
cmp ebp, dword [esp + 0x220]
jl 0x402426
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040614a
add esp, 0x208
ret

Function at 0x403062
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x10], esi
jbe 0x40309f
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x15
push 0
mov byte [edi + esi], al
call dword [sym.imp.USER32.DLL_OpenIcon]
mov al, byte [edi + esi]
sub al, 0x57
xor al, 0x74
add al, 0x4e
xor al, 0x70
sub al, 0x65
xor al, 0x22
sub al, 0x73
xor al, 0x2a
mov byte [edi + esi], al
inc esi
cmp esi, dword [esp + 0x10]
jb 0x403070
pop edi
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push edi
push eax
push 0x40
mov edi, 0x4ac
mov esi, 0x47b030
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
push edi
push esi
call fcn.00403062
pop ecx
pop ecx
call fcn.00403048
mov edx, 0x47b030
add edx, 0x188
mov esi, 0x42f030
push esi
call edx
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x4068f7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
je 0x406936
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x406936
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406936
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x406936
cmp dword [ecx + 0x74], 0xe
jbe 0x406936
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x6e2e3ac3
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0xff
test eax, eax
je 0x6e2e3b14
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x10]
mov ebx, dword [0x6e32b15c]
shr eax, 0x10
shr edi, 8
and eax, ecx
mov eax, dword [ebx + eax*4]
mov ebx, dword [0x6e32b150]
and edi, ecx
xor eax, dword [esi + edi*4]
mov edi, dword [ebp + 0x10]
shr edi, 0x18
xor eax, dword [ebx + edi*4]
mov edi, dword [ebp + 0x10]
and edi, ecx
xor eax, dword [edx + edi*4]
mov edi, dword [ebp + 8]
xor eax, dword [edi]
dec dword [ebp + 0xc]
sub dword [ebp + 8], 4
cmp dword [ebp + 0xc], 0
mov dword [ebp + 0x10], eax
jne 0x6e2e3acc
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x10]
mov ebx, dword [0x6e32b15c]
shr eax, 0x10
and eax, ecx
mov eax, dword [ebx + eax*4]
shr edi, 8
and edi, ecx
xor eax, dword [esi + edi*4]
mov esi, dword [ebp + 0x10]
mov edi, dword [0x6e32b150]
invalid

Function at 0x6e2e805d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x5c
mov eax, 0x6e324c5d
call fcn.6e2e13fa
mov esi, ecx
push 0x6e2e81f0
call fcn.6e2e8371
lea ecx, [ebp - 0x18]
mov dword [esp], 0x6e32b1c4
call fcn.6e2e50ca
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.6e2ed114
test eax, eax
jne 0x6e2e80ba
Function at 0x6e2e94ca
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push edi
xor edi, edi
push 0x6e32b240
mov dword [ebp - 4], edi
call dword [fcn.6e2e125c]
mov eax, dword [0x6e32b210]
cmp dword [eax - 0xc], edi
je 0x6e2f22bf
push 0x6e32b240
call dword [fcn.6e2e1260]
mov eax, dword [ebp - 4]
pop edi
leave
ret
adc byte [ecx + edi*2], al
push esi
mov esi, dword [0x79001018]
cmp eax, 0xffffffff
jne 0x6e2f22dd
push 0x79003300
push dword [ebp - 4]
call esi
mov dword [0x790410f4], eax
mov eax, dword [0x790410f4]
test eax, eax
je 0x6e2f231e
push dword [ebp + 4]
mov eax, dword [0x790410f4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x6e2fba09
mov eax, dword [0x790410f0]
cmp eax, 0xffffffff
jne 0x6e2fb9e9
jmp 0x6e2fb9da
les ecx, [ecx*4 + 0x106ae845]
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 0x5c], 0x80
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
inc ebp
movsb byte es:[edi], byte [esi]
or byte [ecx + 0x75899875], 0x9c
mov dword [ebp - 0x60], esi
mov dword [ebp - 0xb8], 0x67452301
mov dword [ebp - 0xb4], 0xefcdab89
mov dword [ebp - 0xb0], 0x98badcfe
mov dword [ebp - 0xac], 0x10325476
call fcn.6e2fda18
push dword [ebp + 0xc]
lea ecx, [ebp - 0xb8]
push ebx
call fcn.6e2fda18
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x64]
push 0x38
mov dword [ebp - 0xc], eax
pop eax
cmp dword [ebp - 0x60], eax
jb 0x6e2fba48
push 0x78
pop eax
sub eax, dword [ebp - 0x60]
lea ecx, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.6e2fda18
push 8
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xb8]
call fcn.6e2fda18
lea esi, [ebp - 0xb8]
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xb8]
mov edx, ecx
mov eax, ecx
shr eax, 0x10
and edx, 0xff0000
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov dword [ebp - 0x18], edx
rol word [ebp - 0x14], 8
mov ecx, dword [ebp - 0x12]
mov ax, word [ebp - 0x12]
mov edi, dword [ebp - 0xbc]
and ecx, 0xf
or ecx, 0x30
shr ax, 8
shl ecx, 8
or cx, ax
mov al, byte [ebp - 0x10]
mov word [ebp - 0x12], cx
mov ecx, dword [ebp - 4]
and al, 0x3f
or al, 0x80
mov byte [ebp - 0x10], al
lea esi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
xor ecx, ebp
pop ebx
call 0x6e2bf000
leave
ret 8