joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402e49
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c4
mov eax, dword [0x421030]
xor eax, esp
mov dword [esp + 0x3c0], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [esp + 0x30]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push str.htmlayout.dll
lea ebx, [esp + 0x1c8]
call fcn.0040161d
pop ecx
pop ecx
test al, al
je 0x402f77
push str.DATA
push str.HTMLAYOUT
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x402ec9
push eax
lea eax, [esp + 0x1c4]
push eax
call fcn.00401585
pop ecx
pop ecx
jmp 0x402ecb
xor al, al
cmp al, bl
je 0x402f77
lea eax, [esp + 0x1c0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x402f77
push 0x103
push str.SoftwareYourFileDownloader
push 0x423218
call fcn.0040853d
add esp, 0xc
push 0x6690
call fcn.0040871f
pop ecx
cmp eax, ebx
je 0x402f21
lea ecx, [esp + 0xf]
push ecx
push esi
push eax
call fcn.00401e2e
mov dword [esp + 0x10], eax
jmp 0x402f25
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x402f77
cmp byte [eax + 0x4478], bl
je 0x402f77
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x402f5f
call fcn.00402d9a
mov esi, eax
call fcn.00402dd4
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
call edi
test eax, eax
jne 0x402f3d
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x3cc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040845e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x403147
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp byte [esi + 8], 0
sete al
mov byte [esi + 8], al
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40316f
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x40317f
mov ecx, dword [esi + 0x14]
add ecx, dword [ebp + 8]
push esi
call eax
mov al, 1
pop ebp
ret 4
Function at 0x40325d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push esi
push edi
mov edi, ecx
cmp eax, 0x8080
je 0x403281
cmp eax, 0x8001
je 0x403281
xor eax, eax
jmp 0x40330e
mov esi, dword [ebp + 8]
cmp esi, dword [edi + 0x443c]
jne 0x403299
xor ecx, ecx
inc ecx
call fcn.004035a7
movzx eax, al
jmp 0x40330e
cmp esi, dword [edi + 0x4440]
jne 0x4032a6
push 3
pop ecx
jmp 0x40328f
cmp esi, dword [edi + 0x4448]
je 0x4032e8
cmp esi, dword [edi + 0x5f0]
je 0x4032e8
cmp esi, dword [edi + 0x4444]
jne 0x4032c2
push 2
jmp 0x4032a3
push esi
call fcn.00403185
test al, al
jne 0x40330b
xor ecx, ecx
lea eax, [edi + 0x444c]
cmp esi, dword [eax]
je 0x4032e3
inc ecx
add eax, 4
cmp ecx, 0xa
jl 0x4032d4
jmp 0x40327a
add ecx, 4
jmp 0x40328f
cmp dword [edi + 0x5fc], 0
push 1
sete al
movzx eax, al
push eax
mov esi, edi
call fcn.00403ab0
test al, al
jne 0x40330b
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
inc eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x40406a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x421030]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x314], 0
call fcn.00403ddd
test al, al
je 0x404165
push 0x208
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.0040c2f0
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x310]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x404165
push edi
lea edi, [ebp - 0x310]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4040cc
push esi
push 0xb
pop ecx
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x310]
mov esi, str.Babylonlog_file.txt
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004049c1
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x404163
mov dword [ebp - 0x314], 1
mov esi, 0x1b7a8
push esi
push 0x41d884
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.00408e00
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x318]
push edi
call fcn.004048e5
add esp, 0x20
cmp eax, 0xffffffff
jne 0x40414b
inc esi
cmp esi, 0x1b7c5
jle 0x40410d
jmp 0x404155
mov dword [ebp - 0x314], 2
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop esi
pop edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x314]
xor ecx, ebp
call fcn.0040845e
leave
ret
Function at 0x4046eb
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x678
mov eax, dword [0x421030]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea edx, [ebp - 0x41c]
push 2
mov dword [ebp - 0x678], eax
sub edx, eax
pop ebx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, ebx
test cx, cx
jne 0x404715
lea edi, [ebp - 0x41c]
sub edi, 2
mov ax, word [edi + 2]
add edi, ebx
test ax, ax
jne 0x40472c
mov eax, dword [ebp - 0x678]
mov esi, 0x41e7dc
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x214]
movsw word es:[edi], word [esi]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, ebx
test cx, cx
jne 0x40474d
lea edi, [ebp - 0x214]
sub edi, 2
mov ax, word [edi + 2]
add edi, ebx
test ax, ax
jne 0x404764
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x41c]
mov esi, 0x41e7e4
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x674], eax
cmp eax, 0xffffffff
jne 0x40479b
xor eax, eax
jmp 0x4048c5
xor eax, eax
movzx ecx, word [ebp + eax - 0x214]
mov word [ebp + eax - 0x41c], cx
add eax, ebx
test cx, cx
jne 0x40479d
mov byte [ebp - 0x66d], 1
lea eax, [ebp - 0x66c]
push eax
push dword [ebp - 0x674]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40488e
lea eax, [ebp - 0x640]
push eax
call fcn.00404671
pop ecx
test eax, eax
jne 0x4048a0
lea eax, [ebp - 0x640]
mov edx, eax
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x4047f3
lea edi, [ebp - 0x214]
sub eax, edx
sub edi, 2
mov cx, word [edi + 2]
add edi, ebx
test cx, cx
jne 0x404808
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test byte [ebp - 0x66c], 0x10
lea eax, [ebp - 0x214]
rep movsb byte es:[edi], byte [esi]
push eax
je 0x404869
call fcn.004046eb
pop ecx
test eax, eax
je 0x4048d4
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
movzx ecx, word [ebp + eax - 0x41c]
mov word [ebp + eax - 0x214], cx
add eax, ebx
test cx, cx
jne 0x404850
jmp 0x4048a0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4048d4
xor eax, eax
movzx ecx, word [ebp + eax - 0x41c]
mov word [ebp + eax - 0x214], cx
add eax, ebx
test cx, cx
jne 0x404875
jmp 0x4048a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x4048d4
mov byte [ebp - 0x66d], 0
cmp byte [ebp - 0x66d], 0
jne 0x4047bb
push dword [ebp - 0x674]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x678]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040845e
leave
ret
push dword [ebp - 0x674]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x404794
Function at 0x40494e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
push edi
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
xor edi, edi
call esi
test eax, eax
je 0x4049ab
push ebx
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4049aa
push 0x40
push 0x3000
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je 0x4049aa
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push edi
call esi
cmp ebx, dword [ebp - 0x10]
jbe 0x40499d
mov ebx, dword [ebp - 0x10]
push ebx
push dword [ebp + 8]
push edi
call fcn.00409790
add esp, 0xc
pop ebx
push 0x8000
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x4049c1
Capabilities:
Allocate or change rwx memory
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 8]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x404a45
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp eax, esi
je 0x404a3e
push 0x40
push 0x3000
inc eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
je 0x404a3e
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404a2f
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x404a3e
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x404a3e
push 0x8000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4052d1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x421030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x210], ecx
cmp eax, edi
je 0x405399
cmp word [eax], di
je 0x405399
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040853d
lea eax, [ebp - 0x20c]
push 0x2e
push eax
call fcn.004095c1
mov esi, eax
add esp, 0x14
cmp esi, edi
je 0x40534f
xor eax, eax
mov word [esi], ax
inc esi
inc esi
je 0x40534f
push str.HTML
push esi
call fcn.00412e0b
pop ecx
pop ecx
test eax, eax
je 0x40534f
push esi
jmp 0x405351
push 0x17
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x405369
xor al, al
jmp 0x40539b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x405365
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebx], eax
cmp eax, edi
je 0x405365
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x210]
cmp eax, edi
mov dword [ecx], eax
setne al
jmp 0x40539b
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040845e
leave
ret
Function at 0x40845e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x421030]
jne 0x408468
repz ret
jmp fcn.00409af1

Function at 0x4104fc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x421030]
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.0040da45
and dword [ebp - 0x14], 0
cmp dword [0x4231bc], 0
mov dword [ebp - 0x18], eax
jne 0x4105af
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x410657
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x410657
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4231bc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4231c0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4231c4], eax
call edi
push eax
call esi
mov dword [0x4231cc], eax
test eax, eax
je 0x4105af
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4231c8], eax
mov eax, dword [0x4231c8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x410608
cmp dword [0x4231cc], ecx
je 0x410608
push eax
call esi
push dword [0x4231cc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x410608
test ebx, ebx
je 0x410608
call edi
test eax, eax
je 0x4105ff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4105ff
test byte [ebp - 8], 1
jne 0x410608
or dword [ebp + 0x10], 0x200000
jmp 0x41063b
mov eax, dword [0x4231c0]
cmp eax, dword [ebp - 0x18]
je 0x41063b
push eax
call esi
test eax, eax
je 0x41063b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41063b
mov eax, dword [0x4231c4]
cmp eax, dword [ebp - 0x18]
je 0x41063b
push eax
call esi
test eax, eax
je 0x41063b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4231bc]
call esi
test eax, eax
je 0x410657
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x410659
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040845e
leave
ret
Function at 0x406004
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x422a1c], esi
push edi
jne 0x40603e
mov ecx, 0x422a18
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x40601a
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422e18
jl 0x406015
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x406073
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a18]
xor eax, esi
inc ecx
dec edx
jne 0x406056
pop edi
pop esi
not eax
ret 0xc

Function at 0x4014aa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov byte [ebp - 4], 0x13
mov byte [ebp - 3], 0x35
mov byte [ebp - 2], 0x86
mov byte [ebp - 1], 7
call dword [0x4342c8]
mov ebx, eax
push ebx
call fcn.00425de7
mov esi, eax
pop ecx
test esi, esi
je 0x4014f8
xor edx, edx
test ebx, ebx
jbe 0x4014f8
sub edi, esi
mov eax, edx
lea ecx, [edx + esi]
and eax, 3
mov al, byte [ebp + eax - 4]
xor al, byte [edi + ecx]
inc edx
cmp edx, ebx
mov byte [ecx], al
jb 0x4014e2
mov eax, esi
pop edi
pop esi

Function at 0x425427
Capabilities:
Encode data using xor

Disassembly:
or byte [ebx + 0x5756016a], al
push 1
push esi
push edi
lea ecx, [ebp - 0x30]
call 0x834aca10
in al, dx
sbb al, 0x51
push esi
in al, 5
mov eax, 0x208e2a
dec edi
jp 0x42541a
push 0xdd088a20
add al, ch
js 0x42545c
push ss
pop edx
push edi
inc ebp
cld
call 0x4dd030e7
or al, 0xff
inc esi
or al, 0x8b
jns 0x425454
add edi, eax
call 0x27c5bb54
mov al, 0x89
pop es
and word [edi], 0xffb0
mov dword [edi], eax
pop edi
add dword [eax], eax
or al, 0x75
push cs
sub bh, bh
call dword [eax - 1]
and ebp, eax
or ecx, ebp
add byte [esi], 0xa0
jne 0x425476
add byte [esi*2 - 0xd7f2], cl
push eax
jmp dword [ecx]
lea ecx, [ebx - 0x43008ab0]
inc esp
mov eax, 0x10563734
inc ebp
imul eax, dword [edi], 0x5b
xor al, 0x37
aaa
push esi
adc byte [ebp + 0x6b], al
pop es
pop ebx
adc byte fs:[ebx], bh
xor byte [edx + 0xc2f345], cl
mov edx, 0x88e04d74
inc ebp
loopne 0x425477
jnp 0x42547d
std
invalid
Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
xchg edi, eax
mov ah, 0x61
out dx, eax
xor byte [ebp + 0x2a], 0xef
dec edx
into
push ecx
jg 0x414b25
add edx, edi
and dword [ecx - 0x45], 0xd69b0bd0
in al, 0x20
popal
or ebx, dword [ebx + 0x6120e4d6]
rcr ecx, 0xbd
xchg edx, eax
inc ebp
inc ebp
fnstcw word [ebp - 0x9bac16e]
mov ebp, 0xf6453e92
inc ebp
idiv byte [ebx - 8]
jnp 0x414abc
adc eax, 0x107fcfaf
jle 0x414ac1
scasd eax, dword es:[edi]
iretd
out dx, al
sar byte [0x97e6549e], cl
in al, 0xfb
out dx, al
or dh, 0xd6
mov ah, 0xb9
pushal
shr dword [ecx + 0x107c7e7f], 0xc5
lcall 0x700e, 0x267f52de
sahf
salc
inc eax
and byte [ecx - 0x3f], 0xf8
and al, 0x61
shr edi, 0xc7
mov ds, word [esi + 0x51]
jg 0x414b71
out dx, eax
xchg esi, eax
and byte [ecx - 9], 0xd3
jg 0x414aa1
adc byte ds:[edi - 0x62], bh
adc byte ds:[edi - 0x62], bh
adc byte ds:[edi - 0x62], bh
out dx, eax
and byte [ecx - 0x3f], 0x10
jg 0x414ab5
out dx, eax
and byte [ecx - 0x3f], 0x10
jg 0x414abd
adc byte ds:[edi - 0x62], bh
adc byte ds:[edi - 0x62], bh
jg 0x414ac5
adc byte ds:[edi + 0x1d], bh
rcl byte [eax + edi*4], cl
lcall 0x193e, 0xdcd7fc1a
test cl, dl
push esi
adc byte [edi], cl
fistp qword [esi]
pop esi
cmp byte [esi], ah
out 0x92, al
inc ebp
sbb byte [ebp + 0x7bfe2edf], al
cmp dword [eax + 0x6f1087d8], eax
fidivr word [esi]
xchg ecx, eax
mov eax, 0x7f103e9f
pop ds
sar cl, 1
or dword [esi - 0x606e6e24], edx
xchg ecx, eax
lahf
adc byte ds:[edi + 0x24], bh
push ds
pop ebx
sahf
mov edi, 0xa52ddff
xor al, 0x7e
popal
salc
cmp edi, dword [edi - 0x62]
jg 0x414b11
stosd dword es:[edi], eax
push ebp
in eax, 0xd5
mov bh, 0xc8
wait
imul edi, dword [edx + 0x1f7bd4bd], 0xfffffff9
nop
dec edi
test eax, 0x9e6df87e
adc byte ds:[esi + 0x60], bh
aaa
out 0x7e, eax
popal
neg dword [ebx + 0x56]
inc ecx
cld
sbb al, 0x7f
mov bh, 0xc8
sbb dword [eax - 0x3eeef02b], ecx
popal
sub eax, 0xff1fbcca
adc al, 0x7f
sahf
xor dword ds:[ecx + ecx*8 + 0x7f909165], eax
mov bh, 0xf8
add dword [edi + 0x1f9a65ef], esp
rcl dword [ecx]
jg 0x414b5d
xchg ecx, eax
mov esp, 0x7f103e9f
pop ebp
mov edi, 0xbe0561d7
out 0xc1, eax
call 0x9eb6af55
adc byte ds:[edi - 0x62], bh
adc byte ds:[edi - 0x62], bh
adc byte ds:[edi - 0x62], bh
adc byte ds:[edi - 0x62], bh
adc byte ds:[edi - 0x62], bh
adc byte ds:[edi - 0x62], bh
adc byte ds:[edi - 0x62], bh
adc byte ds:[edi - 0x62], bh
adc byte ds:[edi - 0x62], bh
adc byte ds:[edi - 0x62], bh
adc byte ds:[edi - 0x62], bh
invalid
Function at 0x4093f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x468dab
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.0045d610
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409472
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045b3bd
mov eax, dword [eax]
push 0x6f91d0
push eax
call fcn.0044d844
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045d89b
test bl, bl
je 0x409472
push 0x6f91d0
lea ecx, [esp + 0xc]
call fcn.0045dc2b
push 0x6fcd4c
lea ecx, [esp + 0xc]
call fcn.0045dc2b
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 0x4094ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045d89b
jmp 0x409579
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 0x409532
lea edx, [esp + 0x7c]
push 0x6fcd48
push edx
call fcn.0044d844
add esp, 8
test eax, eax
je 0x409532
lea eax, [esp + 0x7c]
push 0x6fcd44
push eax
call fcn.0044d844
add esp, 8
test eax, eax
je 0x409532
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 0x4094c2
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.0045d89b
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 0x409d70
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 0x409dd2
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 0x409de0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x468e2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x7036c8]
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 0x409f18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409e46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d89b
xor eax, eax
jmp 0x409f8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045d9d8
push esi
lea ecx, [esp + 0xc]
call fcn.0045dc67
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 0x409f6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00409d70
test eax, eax
jne 0x409f6d
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 closesocket
mov ecx, edi
call fcn.00409d70
test eax, eax
jne 0x409f6d
lea eax, [esp + 0x14]
push 0x6fcd60
push eax
call fcn.0044e880
mov esi, eax
add esp, 8
test esi, esi
jne 0x409f4c
lea ecx, [esp + 0x14]
push 0x6fcd5c
push ecx
call fcn.0044e800
mov esi, eax
add esp, 8
test esi, esi
jne 0x409f4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409f4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045d988
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409e5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d89b
xor eax, eax
jmp 0x409f8f
mov byte [esi], 0
push 0x6fcd58
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.0045d89b
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