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

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x412498
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x40a854
add eax, 8
inc ebp
cmp eax, 0x412528
jb 0x40a845
cmp ecx, dword [ebp*8 + 0x412498]
jne 0x40a9fb
mov eax, dword [0x812bb0]
cmp eax, 1
je 0x40a9bd
test eax, eax
jne 0x40a880
cmp dword [0x4100a4], 1
je 0x40a9bd
cmp ecx, 0xfc
je 0x40a9fb
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40a8bb
mov ecx, 5
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x40a904
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x40d6b4
add ebx, ecx
push ebx
call fcn.00405ff0
add esp, 0xc
mov ecx, 6
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40d694
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Microsoft_Visual_C_Runtime_Library
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x41249c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0040bdf0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x813f00]
test eax, eax
je 0x40a9ce
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x40a9d8
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x41249c]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x40ab00
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x814000]
sub esp, 0x41c
cmp eax, ecx
push ebx
push ebp
push esi
push edi
jae 0x40acad
mov ecx, eax
mov esi, eax
sar ecx, 5
and esi, 0x1f
mov edx, dword [ecx*4 + 0x813f00]
lea edi, [ecx*4 + 0x813f00]
shl esi, 3
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], esi
mov cl, byte [esi + edx + 4]
test cl, 1
je 0x40acad
mov ebx, dword [esp + 0x438]
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebp
jne 0x40ab6e
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
test cl, 0x20
je 0x40ab7f
push 2
push ebp
push eax
call fcn.0040aa40
add esp, 0xc
mov eax, dword [edi]
add eax, esi
test byte [eax + 4], 0x80
je 0x40acde
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x18], 0
test ebx, ebx
mov edi, ebp
jbe 0x40ac29
lea eax, [esp + 0x28]
mov ecx, edi
sub ecx, ebp
cmp ecx, ebx
jae 0x40abda
mov cl, byte [edi]
inc edi
cmp cl, 0xa
jne 0x40abc7
mov esi, dword [esp + 0x20]
mov byte [eax], 0xd
inc esi
inc eax
mov dword [esp + 0x20], esi
mov byte [eax], cl
inc eax
mov edx, eax
lea ecx, [esp + 0x28]
sub edx, ecx
cmp edx, 0x400
jl 0x40abaa
mov esi, eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x1c]
sub esi, edx
mov edx, dword [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x30]
mov eax, dword [edx]
push esi
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40accf
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add edx, eax
cmp eax, esi
mov dword [esp + 0x10], edx
jl 0x40ac25
mov eax, edi
sub eax, ebp
cmp eax, ebx
jb 0x40aba6
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40ac9e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40ac72
cmp eax, 5
jne 0x40ac5b
mov dword [0x812c08], eax
mov dword [0x812c04], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
push eax
call fcn.0040b360
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
test byte [esi + edx + 4], 0x40
je 0x40ac92
cmp byte [ebp], 0x1a
jne 0x40ac92
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov dword [0x812c04], 0x1c
jmp 0x40acb7
sub eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov dword [0x812c04], 9
pop edi
pop esi
pop ebp
mov dword [0x812c08], 0
or eax, 0xffffffff
pop ebx
add esp, 0x41c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x40ac25
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x438]
push ecx
push ebx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40ad0f
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
jmp 0x40ac29
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x40ac29
Function at 0x40c330
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1004
call fcn.00405f30
mov eax, dword [0x814000]
push ebx
mov ebx, dword [esp + 0x100c]
push ebp
xor ebp, ebp
push esi
cmp ebx, eax
push edi
jae 0x40c492
mov eax, ebx
mov ecx, ebx
sar eax, 5
and ecx, 0x1f
mov edx, dword [eax*4 + 0x813f00]
test byte [edx + ecx*8 + 4], 1
je 0x40c492
push 1
push ebp
push ebx
call fcn.0040aa40
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
je 0x40c49c
push 2
push ebp
push ebx
call fcn.0040aa40
add esp, 0xc
cmp eax, 0xffffffff
je 0x40c49c
mov ecx, dword [esp + 0x101c]
mov esi, ecx
sub esi, eax
test esi, esi
jle 0x40c438
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x14]
push 0x8000
rep stosd dword es:[edi], eax
push ebx
call fcn.0040c4b0
add esp, 8
mov edi, eax
cmp esi, 0x1000
mov eax, 0x1000
jge 0x40c3df
mov eax, esi
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.0040ab00
add esp, 0xc
cmp eax, 0xffffffff
je 0x40c3fb
sub esi, eax
test esi, esi
jle 0x40c411
jmp 0x40c3d0
cmp dword [0x812c08], 5
jne 0x40c40e
mov dword [0x812c04], 0xd
or ebp, 0xffffffff
push edi
push ebx
call fcn.0040c4b0
mov edi, dword [esp + 0x18]
add esp, 8
push 0
push edi
push ebx
call fcn.0040aa40
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
jge 0x40c479
push 0
push ecx
push ebx
call fcn.0040aa40
add esp, 0xc
push ebx
call fcn.0040b5e0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ebp, eax
neg ebp
sbb ebp, ebp
neg ebp
dec ebp
cmp ebp, 0xffffffff
jne 0x40c479
mov dword [0x812c04], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x812c08], eax
push 0
push edi
push ebx
call fcn.0040aa40
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
mov dword [0x812c04], 9
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1004
ret
Function at 0x401210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 0x4011bb
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.KERNEL32.dll_FindResourceA
mov dword [ebp - 4], eax
push eax
push dword [ebp + 8]
call sub.KERNEL32.dll_LoadResource
push eax
call sub.KERNEL32.dll_LockResource
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push dword [ebp + 8]
call sub.KERNEL32.dll_SizeofResource
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40125c
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.0040189c
jmp 0x401268
push 2
call sub.KERNEL32.dll_SetLastError
mov eax, 0
leave
ret 8
Function at 0x401296
Capabilities:
Create thread
Log keystrokes via polling
Resume thread

Disassembly:
xor ebx, ebx
push ebx
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [0x401bb4], eax
push ebx
push 0x401296
push 0
push 0x6f
push dword [0x401bb4]
call sub.USER32.dll_DialogBoxParamA
xor ebx, ebx
push ebx
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push edi
push esi
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [ebp + 0xc], 0x110
jne 0x40138a
push 0x7d1
push dword [0x401bb4]
call fcn.00401210
mov ebx, eax
push 0x1bc
push dword [ebp + 8]
call sub.USER32.dll_GetDlgItem
push ebx
push 0
push 0x172
push eax
call sub.USER32.dll_SendMessageA
push 0x1f8
push 0x1772
push 0x1771
push 0xcd
push 0x79
push dword [ebp + 8]
call fcn.004015e4
push 0x1f7
push 0x1b5a
push 0x1b59
push 0xcd
push 6
push dword [ebp + 8]
call fcn.004015e4
push 0x4011a3
push dword [ebp + 8]
call sub.USER32.dll_SetWindowTextA
push 0x4011b5
push dword [0x401bb4]
call sub.USER32.dll_LoadIconA
push eax
push 0
push 0x80
push dword [ebp + 8]
call sub.USER32.dll_SendMessageA
push 0x14
push 0x14
push 0xe4
push 0x137
push 0
push 0
call sub.GDI32.dll_CreateRoundRectRgn
push 0
push eax
push dword [ebp + 8]
call sub.USER32.dll_SetWindowRgn
lea eax, [ebp - 0x60]
push eax
push 4
push 0
push 0x401490
push 0
push 0
call sub.KERNEL32.dll_CreateThread
push eax
call sub.KERNEL32.dll_ResumeThread
jmp 0x40147e
cmp dword [ebp + 0xc], 0x136
jne 0x40139a
jmp 0x4013b3
cmp dword [ebp + 0xc], 0x138
jne 0x4013aa
jmp 0x4013b3
cmp dword [ebp + 0xc], 0x133
jne 0x4013e7
push 0x435e2
push dword [ebp + 0x10]
call sub.GDI32.dll_SetTextColor
push 2
push dword [ebp + 0x10]
call sub.GDI32.dll_SetBkMode
push 0
push dword [ebp + 0x10]
call sub.GDI32.dll_SetBkColor
push 4
call sub.GDI32.dll_GetStockObject
pop esi
pop edi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 0x200
jne 0x40141b
push 1
call sub.USER32.dll_GetKeyState
cmp eax, 0xffffff80
jne 0x401400
jmp 0x401405
cmp eax, 0xffffff81
jne 0x40147e
push 0
push 0xf012
push 0x112
push dword [ebp + 8]
call sub.USER32.dll_SendMessageA
jmp 0x40147e
cmp dword [ebp + 0xc], 0x10
jne 0x40142c
push ebx
push dword [ebp + 8]
call sub.USER32.dll_EndDialog
jmp 0x40147e
cmp dword [ebp + 0xc], 0x111
jne 0x40147e
xor eax, eax
mov eax, dword [ebp + 0x10]
cmp dword [ebp + 0x10], 0x1f8
jne 0x401460
push 0x90000
push 0x4c0
push dword [ebp + 8]
call sub.USER32.dll_AnimateWindow
push ebx
push dword [ebp + 8]
call sub.USER32.dll_EndDialog
jmp 0x40147d
cmp dword [ebp + 0x10], 0x1f7
jne 0x40147d
push 0
push 0x401199
push 0x401100
push dword [ebp + 8]
call sub.USER32.dll_MessageBoxA
pop eax
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 0x10
Function at 0x4015e4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push 0
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [ebp - 0xc], eax
push dword [ebp + 0x14]
push dword [ebp - 0xc]
call fcn.00401934
mov dword [ebp - 0x18], eax
push dword [ebp + 0x18]
push dword [ebp - 0xc]
call fcn.00401934
mov dword [ebp - 0x1c], eax
jmp 0x401623
mov dword [ebp - 0x5c], 0x30
mov dword [ebp - 0x58], 0x2000
mov dword [ebp - 0x54], 0x401766
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0x10
push dword [ebp - 0xc]
pop dword [ebp - 0x48]
mov dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0x401612
mov dword [ebp - 0x44], 0
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call sub.user32.dll_RegisterClassExA
push 0
push dword [ebp - 0xc]
push dword [ebp + 0x1c]
push dword [ebp + 8]
push 0x64
push 0x64
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x50000000
push 0
push 0x401612
push 0x20
call sub.user32.dll_CreateWindowExA
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
push 0
push dword [ebp - 4]
call sub.user32.dll_SetWindowLongA
push dword [ebp - 0x1c]
push 4
push dword [ebp - 4]
call sub.user32.dll_SetWindowLongA
jmp 0x4016d5
push 0
push dword [ebp - 0xc]
push dword [ebp + 0x1c]
push dword [ebp - 4]
push 0
push 0
push 0
push 0
push 0x5000000e
push 0
push 0x4016ce
push 0
call sub.user32.dll_CreateWindowExA
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
push 0
push 0x172
push dword [ebp - 8]
call sub.USER32.dll_SendMessageA
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 8]
call sub.user32.dll_GetWindowRect
push dword [ebp - 8]
push 8
push dword [ebp - 4]
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
sub eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
sub eax, edx
mov dword [ebp - 0x10], eax
push 2
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 0
push 0
push 0
push dword [ebp - 4]
call sub.user32.dll_SetWindowPos
push 5
push dword [ebp - 4]
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
leave
ret 0x18

Function at 0x401934
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 0x401204
push dword [ebp + 0xc]
push 0
call sub.KERNEL32.dll_FindResourceA
mov dword [ebp - 4], eax
push eax
push 0
call sub.KERNEL32.dll_LoadResource
push eax
call sub.KERNEL32.dll_LockResource
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push 0
call sub.KERNEL32.dll_SizeofResource
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40197d
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.0040189c
jmp 0x401989
push 2
call sub.KERNEL32.dll_SetLastError
mov eax, 0
leave
ret 8
Function at 0x402b6d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x407160
cmp edx, dword [eax]
je 0x402b8f
add eax, 8
inc ecx
cmp eax, 0x4071f0
jl 0x402b80
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x407160]
jne 0x402cbd
mov eax, dword [0x40798c]
cmp eax, 1
je 0x402c97
test eax, eax
jne 0x402bc0
cmp dword [0x4070b4], 1
je 0x402c97
cmp edx, 0xfc
je 0x402cbd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402bf7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004037b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403030
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402c3a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403030
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4063b0
push edi
call fcn.00404530
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004037b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004037c0
lea eax, [ebp - 0xa0]
push 0x406390
push eax
call fcn.004037c0
push dword [esi + 0x407164]
lea eax, [ebp - 0xa0]
push eax
call fcn.004037c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040449e
add esp, 0x2c
pop edi
jmp 0x402cbd
lea eax, [ebp + 8]
lea esi, [esi + 0x407164]
push 0
push eax
push dword [esi]
call fcn.00403030
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x42e003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x408f6c
nop
mov ecx, 0xcb36d3
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
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
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data_1
mov ebx, 0x42e3d0
nop
mov ecx, 0x74e31ee
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x408fe0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47c29b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00470e57
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409062
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046ebcd
mov eax, dword [eax]
push 0x4941c0
push eax
call fcn.00460dd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004710e2
test bl, bl
je 0x409062
push 0x4941c0
lea ecx, [esp + 0xc]
call fcn.00471472
push 0x497d4c
lea ecx, [esp + 0xc]
call fcn.00471472
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40909e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004710e2
jmp 0x409169
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x409122
lea edx, [esp + 0x7c]
push 0x497d48
push edx
call fcn.00460dd4
add esp, 8
test eax, eax
je 0x409122
lea eax, [esp + 0x7c]
push 0x497d44
push eax
call fcn.00460dd4
add esp, 8
test eax, eax
je 0x409122
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4090b2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004710e2
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x409960
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4099c2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4099d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47c31b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a3c30]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x409b08
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409a36
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004710e2
xor eax, eax
jmp 0x409b7f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047121f
push esi
lea ecx, [esp + 0xc]
call fcn.004714ae
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x409b5d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00409960
test eax, eax
jne 0x409b5d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00409960
test eax, eax
jne 0x409b5d
lea eax, [esp + 0x14]
push 0x497d60
push eax
call fcn.00461e10
mov esi, eax
add esp, 8
test esi, esi
jne 0x409b3c
lea ecx, [esp + 0x14]
push 0x497d5c
push ecx
call fcn.00461d90
mov esi, eax
add esp, 8
test esi, esi
jne 0x409b3c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409b3f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004711cf
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409a4e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004710e2
xor eax, eax
jmp 0x409b7f
mov byte [esi], 0
push 0x497d58
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004710e2
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4