joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406400
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x80fe4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4046d4
call fcn.00407061
push 4
mov dword [esp + 0x18], 0
call fcn.00407f06
mov edi, eax
add esp, 4
test edi, edi
je 0x406474
push ebx
call fcn.00406f39
mov dword [edi], eax
call fcn.00406cf8
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00407022
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406468
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040704a
pop ebx
jmp 0x406476
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408971
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x813520]
jne 0x40897b
repz ret
jmp fcn.0040d0cc
Function at 0x411d12
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x813520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b071
and dword [ebp - 0x14], 0
cmp dword [0x816374], 0
mov dword [ebp - 0x18], eax
jne 0x411dc5
push 0x403944
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411e6d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403938
push ebx
call edi
test eax, eax
je 0x411e6d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403928
push ebx
mov dword [0x816374], eax
call edi
push eax
call esi
push GetConsoleOutputCP
push ebx
mov dword [0x816378], eax
call edi
push eax
call esi
push 0x4038f8
push ebx
mov dword [0x81637c], eax
call edi
push eax
call esi
mov dword [0x816384], eax
test eax, eax
je 0x411dc5
push 0x4038e0
push ebx
call edi
push eax
call esi
mov dword [0x816380], eax
mov eax, dword [0x816380]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411e1e
cmp dword [0x816384], ecx
je GetCurrentDirectoryW
push eax
call esi
push dword [0x816384]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411e1e
test ebx, ebx
je 0x411e1e
call edi
test eax, eax
je 0x411e15
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411e15
test byte [ebp - 8], 1
jne GetProcAddress
or dword [ebp + 0x10], 0x200000
jmp 0x411e51
mov eax, dword [0x816378]
cmp eax, dword [ebp - 0x18]
je RemoveDirectoryA
push eax
call esi
test eax, eax
je 0x411e51
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411e51
mov eax, dword [0x81637c]
cmp eax, dword [ebp - 0x18]
je 0x411e51
push eax
call esi
test eax, eax
je 0x411e51
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x816374]
call esi
test eax, eax
je 0x411e6d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411e6f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408971
leave
ret
Function at 0x80e9c0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0x80c
cmp dword [0xb9b100], 0x37
jne 0x80ea58
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0
lea eax, [esp + 0x410]
push eax
push 0
push 0x404218
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0x404230
push 0x404280
push 0x4042c0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0xb9b104]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x81b164]
mov byte [ecx + esi], al
add esp, 0x80c
ret
Function at 0x80ec80
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file
Read .ini file

Disassembly:
mov eax, dword [0xb9b100]
mov ecx, dword [0x81b164]
sub esp, 0xc7c
push ebx
push ebp
shr eax, 3
xor ebx, ebx
push esi
push edi
cmp eax, ebx
jbe 0x80ee94
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x80ecb6
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0xb9b100], 0x1c
jne 0x80eccd
lea eax, [esp + 0x38]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x814700]
mov eax, dword [0x814704]
mov esi, dword [edi]
mov ebp, dword [0x814708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x81470c]
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], 0x20
jmp 0x80ed0a
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x30]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0xb9a084], ebx
mov eax, dword [esp + 0x18]
add dword [0xb9a084], eax
mov edx, dword [0xb9a084]
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x28]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0xb9b100], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x80eda4
lea edx, [esp + 0x3c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x34]
cmp dword [0xb9b100], 0x979
mov dword [0xb9a088], 0xff6b3619
mov dword [0xb9a08c], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x80ee0f
push 0x404110
push 0
lea eax, [esp + 0x490]
push eax
push 0x404188
push 0x4041a8
push 0x404204
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
lea ecx, [esp + 0x8c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
mov eax, dword [0xb9b100]
sub esi, dword [esp + 0x10]
cmp eax, 0x93
je 0x80ee31
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x80ed08
cmp eax, 0x8d4
jne 0x80ee4d
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
cmp dword [0xb9b100], 0x17
jne 0x80ee83
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea ecx, [esp + 0x88]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x80ecb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc7c
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x40503c], 1
mov dword [0x405038], 1
mov dword [0x405034], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x40500c], eax
mov eax, dword [0x405048]
test eax, eax
je 0x4010a0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x40505c]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x405044]
mov dword [eax], edx
call sym.__setargv
cmp dword [0x403024], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f8
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], sym.__matherr
call sym.___mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056

Function at 0x401750
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call sym.___acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call sym.___acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]
Function at 0x4017b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x405050]
test esi, esi
jle 0x4018d0
mov eax, dword [0x405054]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x4017e4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401867
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x4017d0
mov dword [esp], ebx
call sym.___mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x4018f7
mov eax, dword [0x405054]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call sym.__GetPEImageBase
mov edx, dword [0x405054]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4018d7
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x401860
lea edx, [eax - 0x40]
and edx, 0xffffffbf
jne 0x401870
add dword [0x405050], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x405054]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401860
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call sym.___report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x4017ee
mov eax, dword [0x405054]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call sym.___report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call sym.___report_error
lea esi, [esi]
nop

Function at 0x401e20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x40506c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x405064]
sub esp, 4
test ebx, ebx
je 0x401e75
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
mov esi, eax
sub esp, 4
call edi
test esi, esi
je 0x401e6e
test eax, eax
jne 0x401e6e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401e50
mov dword [esp], 0x40506c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4021b0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x4021d5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x4021e0
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x4021d5
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x402228
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x40221e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40222a
add ecx, 1
add eax, 0x28
cmp esi, ecx
jne 0x402210
xor eax, eax
pop ebx
pop esi
ret

Function at 0x401190
Capabilities:
Terminate process

Disassembly:
push str.Usage:_SampleKSPconfig__enum___register___unregister_n
call fcn.00401010
add esp, 4
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x401a2f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401a6e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401a6e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401a6e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401a6e
cmp dword [ecx + 0x74], 0xe
jbe 0x401a6e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
out dx, al
sal byte es:[ebx], cl
xor byte [esi], cl
cmp esp, edx
test ebx, esi
or eax, 0x14d05541
aad 0xcb
mov edi, esi
xchg edx, eax
and byte [eax - 0x13c9350c], cl
and ch, dl
jle 0x403d46
into
invalid
Function at 0x484cea
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x484a08
mov esi, 0xadd7df39
call fcn.00484d2a
dec esi
or esi, ecx
mov esi, 0x8e3a48a6
xor dword [eax], edi
mov esi, 0x81d63e
add ecx, 0xe5687b47
add ecx, ecx
add eax, 2
sub esi, 0x352d5b12
or ecx, ecx
cmp eax, edx
jl fcn.00484cea
mov ecx, 0xcb032899
ret
Function at 0x1004170
Capabilities:
Encode data using xor

Disassembly:
test dh, cl
dec eax
imul edi, edi, 0xaf3704b9
push ebx
push ebp
or esi, esi
inc eax
dec edx
push 0
pop edx
mov bl, bl
test esi, 0x809a965a
mov ah, 0xdc
mov ebx, 0xdbca9878
mov ch, 0xab
xchg eax, ecx
cmp eax, 0x7c4dad3a
xor edi, ecx
add edx, 0xfffff9c6
add eax, 0x3f32424a
add edx, 0x63b
test eax, ebx
js 0x1004068
dec ecx
lea ebp, [0x94cfeb06]
mov edi, ecx
sbb ecx, edi
mov ecx, eax
lea ebx, [0xbd0009f5]
cmp edx, 0x7e
jb 0x1004033
imul esi, esi
dec ecx
lea edi, [0xf4552aa8]
lea ebx, [0xbd65bc41]
inc ch
call 0x100409e
pop esi
cmp ah, bl
imul ecx, esi
movzx edi, dh
sbb ecx, eax
imul edi, eax, 0xee889209
sbb eax, 0xd91e4d56
cmp esi, 0x214f
jne 0x10040c4
and ebp, 0x2b9a840a
dec ch
ja 0x10040cc
imul eax, ebp
imul edi, ebp
mov ebx, 0x216ee943
and ebp, eax
add edi, ecx
imul ebp, ebp, 0xa3a5b7cd
movzx edi, al
mov eax, edx
js 0x10040ea
xchg edi, edi
lea edx, [0xed780677]
inc ecx
imul edx, ebp
mov ebx, edi
push 0
pop eax
cmp dh, 0x72
test cl, 0xc0
sub eax, 0xb1f20
movzx edx, dx
dec dh
sub eax, 0x2189
mov ebx, ecx
movsx ebx, dx
xadd esi, eax
test ch, bh
test dh, ch
xchg dl, ch
add esi, 0xba08c
imul edi, edx
imul eax, edi, 0xa99df667
sbb dl, cl
test esi, 0x599c44f3
test eax, ebp
jae 0x1004138
xchg dl, ah
movzx ebx, dx
xchg edi, ebp
imul ebp, edx, 0x94ece8f6
mov cl, bl
imul edi, esi
imul edx, esi
mov dh, dl
inc edi
cmp dh, bh
mov eax, ebx
cmp al, cl
add ebx, edi
test esi, eax
mov ecx, 0x6e8
lea edx, [0x80cf5647]
cmp al, 0xf6
mov eax, 0x368aba02
mov ebp, 0
lea edi, [0x3ac1f170]
sar dword [edx], 0x3b
salc
or ebp, ecx

Function at 0x1004560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
mov dword [ebp - 4], esi
je 0x100460e
cmp dword [ebp + 0xc], esi
je 0x100460e
cmp dword [ebp + 0x10], esi
je 0x100460e
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
call fcn.01004797
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10045bf
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x100460a
call edi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x100460a
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10045f3
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x1004603
call edi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x1004603
mov esi, dword [ebp - 4]
sub esi, dword [ebp + 0x10]
neg esi
sbb esi, esi
and esi, 0x80004005
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x1004613
mov eax, 0x80070057
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x438cac
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x438a14
and eax, eax
add eax, eax
call fcn.00438ce8
mov eax, eax
add eax, 0xa8d31bfa
xor dword [esi], edi
add ecx, 0xaea597e
inc eax
dec ecx
inc esi
add eax, ecx
cmp esi, edx
jne fcn.00438cac
add ecx, eax
sub eax, 0xbac5f4d1
ret
Function at 0x401dc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ee10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
nop
mov al, 0x45
mov bl, 5
mov byte [ebp - 0x2b], al
mov byte [ebp - 0x28], al
mov al, 0x6c
mov byte [ebp - 0x2c], 0x4b
mov byte [ebp - 0x2a], 0x52
mov byte [ebp - 0x29], 0x4e
mov byte [ebp - 0x27], 0x4c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], al
mov byte [ebp - 0x20], bl
nop
push str.HeapFree
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
mov al, 0x65
mov byte [ebp - 0x3b], al
mov byte [ebp - 0x35], al
mov byte [ebp - 0x31], al
lea eax, [ebp - 0x14]
mov cl, 0x73
push 0x45d950
push eax
mov byte [ebp - 0x3c], 0x47
mov byte [ebp - 0x3a], 0x74
mov byte [ebp - 0x39], 0x50
mov byte [ebp - 0x38], 0x72
mov byte [ebp - 0x37], 0x6f
mov byte [ebp - 0x36], 0x63
mov byte [ebp - 0x34], cl
mov byte [ebp - 0x33], cl
mov byte [ebp - 0x32], 0x48
mov byte [ebp - 0x30], 0x61
mov byte [ebp - 0x2f], 0x70
mov byte [ebp - 0x2e], bl
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x25
call fcn.00411f35
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, 0x401ea3
ret
Function at 0x4026f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ee60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov ecx, dword [ebp + 0x10]
xor edx, edx
push ebx
push esi
mov eax, dword [ecx + 4]
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0
mov dx, word [eax + 0x14]
lea eax, [edx + eax + 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dx, word [ecx + 6]
cmp eax, edx
jge 0x402877
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4027aa
lea ecx, [ebp - 0x24]
push 0x45d950
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x36
call fcn.00411f35
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x4027a4
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push 4
push 0x1000
mov eax, dword [ebx + 0xc]
push esi
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, 0x402858
ret
lea eax, [ebp - 0x28]
push 0x45d950
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x43
call fcn.00411f35
mov eax, dword [ebp - 0x14]
push 4
push 0x1000
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [ebp - 0x1c]
add edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
mov eax, 0x4027ec
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4041d0
Capabilities:
Find taskbar

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44f23e
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x250
push ebx
push esi
mov esi, ecx
push edi
mov ecx, eax
and ecx, 0xfff0
cmp ecx, 0x10
jne 0x4042bb
lea ecx, [esp + 0x20]
call fcn.00403480
lea ecx, [esp + 0x20]
mov dword [esp + 0x264], 0
call fcn.0042ffcf
lea ecx, [esp + 0x220]
mov dword [esp + 0x264], 8
call fcn.004058e0
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x264], 7
call fcn.004058e0
lea ecx, [esp + 0x1a8]
mov byte [esp + 0x264], 6
call fcn.004058e0
lea ecx, [esp + 0x16c]
mov byte [esp + 0x264], 5
call fcn.004058e0
lea ecx, [esp + 0x130]
mov byte [esp + 0x264], 4
call fcn.004058e0
lea ecx, [esp + 0xf4]
mov byte [esp + 0x264], 3
call fcn.004058e0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x264], 2
call fcn.004058e0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x264], 1
call fcn.004058e0
lea ecx, [esp + 0x20]
mov dword [esp + 0x264], 0xffffffff
call fcn.0042fb15
jmp 0x4043e0
cmp eax, 0xf020
jne 0x4043d9
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x404322
mov edx, dword [esi + 0xbc]
mov ecx, dword [esi + 0xb4]
mov ebx, dword [esi + 0xb0]
mov eax, dword [esi + 0xb8]
mov edi, dword [esi + 0xb8]
sub edx, ecx
push 1
sub eax, ebx
push edx
push eax
push 0
push 0
sub edi, ebx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0xffffffec
sub ecx, edi
add eax, ecx
mov ecx, esi
push eax
call fcn.00434707
mov dword [esi + 0xe8], 0
jmp 0x4043e0
xor edi, edi
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x40433c
push eax
call fcn.0043123a
mov edi, eax
mov eax, dword [edi + 0x1c]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0043904c
mov edx, dword [0x474d64]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
sub eax, edx
lea ecx, [esp + 0xc]
push eax
push 0x474b28
push ecx
mov dword [esp + 0x270], 9
call fcn.0042b301
mov edi, dword [esi + 0xb8]
mov ecx, dword [esi + 0xb0]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
add esp, 0xc
sub edi, ecx
push 1
push 4
call ebx
add eax, 6
push eax
push edi
push 1
call ebx
sub eax, 0x50
mov ecx, esi
push eax
push 0
call fcn.00434707
lea ecx, [esp + 0xc]
mov dword [esi + 0xe8], 1
mov dword [esp + 0x264], 0xffffffff
call fcn.00430650
jmp 0x4043e0
mov ecx, esi
call fcn.004311a1
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x25c
ret 8