joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d280
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esp + 0x30]
push 0x427a18
push eax
push 0x434200
mov ecx, 0x436958
call fcn.00406ec0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov cx, word [0x4287e0]
mov dl, byte [0x4287e2]
mov dword [0x436988], eax
lea eax, [esp + 0xc]
push eax
push esi
mov word [esp + 0x14], cx
mov byte [esp + 0x16], dl
xor ebx, ebx
call fcn.00407150
mov esi, eax
add esp, 8
test esi, esi
je 0x40d324
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea esp, [esp]
push str.UnregServer
push esi
call edi
test eax, eax
je 0x40d3a8
push str.RegServer
push esi
call edi
test eax, eax
je 0x40d3ca
lea ecx, [esp + 0xc]
push ecx
push esi
call fcn.00407150
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d2f0
mov ecx, 0x436958
call fcn.004077c0
push 1
push 4
mov ecx, 0x436958
call fcn.004076e0
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call esi
test eax, eax
je 0x40d378
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea esp, [esp]
lea eax, [esp + 0x10]
push eax
call edi
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
call esi
test eax, eax
jne 0x40d360
mov ecx, 0x436958
call fcn.00407770
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x436958
call fcn.00407640
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret 0x10
push 0
push 0
push 0x64
push 0x436958
call fcn.0040ce60
push 0
push 1
mov ecx, 0x436958
call fcn.0040c140
mov ebx, eax
jmp 0x40d38d
push 0
push 1
push 0x64
push 0x436958
call fcn.0040ce60
push 0
push 1
mov ecx, 0x436958
call fcn.0040c0b0
mov ebx, eax
jmp 0x40d38d

Function at 0x413561
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x435264]
jne 0x41356b
repz ret
jmp fcn.00417abc
Function at 0x4235dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00415dc2
and dword [ebp - 4], 0
cmp dword [0x4373dc], 0
mov ebx, eax
jne 0x42368d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42373e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42373e
push eax
call fcn.00415d50
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4373dc], eax
call esi
push eax
call fcn.00415d50
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4373e0], eax
call esi
push eax
call fcn.00415d50
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4373e4], eax
call esi
push eax
call fcn.00415d50
pop ecx
mov dword [0x4373ec], eax
test eax, eax
je 0x42368d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00415d50
pop ecx
mov dword [0x4373e8], eax
mov eax, dword [0x4373e8]
cmp eax, ebx
je 0x4236e5
cmp dword [0x4373ec], ebx
je 0x4236e5
push eax
call fcn.00415dcb
push dword [0x4373ec]
mov esi, eax
call fcn.00415dcb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4236e5
test edi, edi
je 0x4236e5
call esi
test eax, eax
je 0x4236dc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4236dc
test byte [ebp - 0xc], 1
jne 0x4236e5
or dword [ebp + 0x10], 0x200000
jmp 0x42371e
mov eax, dword [0x4373e0]
cmp eax, ebx
je 0x42371e
push eax
call fcn.00415dcb
pop ecx
test eax, eax
je 0x42371e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42371e
mov eax, dword [0x4373e4]
cmp eax, ebx
je 0x42371e
push eax
call fcn.00415dcb
pop ecx
test eax, eax
je 0x42371e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4373dc]
call fcn.00415dcb
pop ecx
test eax, eax
je 0x42373e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x423740
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x51cc2051
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x3ce76726
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219
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 0x42c005
Capabilities:
Packed with generic packer

Disassembly:
jmp fcn.0042a8d0
jmp section.42vab535
Function at 0x426b54
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x426b5a
ret
Function at 0x47ab0c
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
and eax, 1
test al, al
je 0x47ab3b
mov eax, dword [ebp - 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 4], eax
jmp 0x47ab3e
shr dword [ebp - 4], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jne 0x47ab22
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax*4 + 0x54bd60], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x47ab17
mov byte [0x54c160], 1
mov esp, ebp
pop ebp
ret

Function at 0x47ab6c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp byte [0x54c160], 0
jne 0x47ab8f
call fcn.0047ab0c
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x47abce
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx]
xor eax, dword [ebp - 0x14]
and eax, 0xff
mov eax, dword [eax*4 + 0x54bd60]
mov edx, dword [ebp - 0x14]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x47aba2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4df77c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x4df799
add esp, 0xfffffff0
call fcn.00403d88
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x4df935
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004d5f88
test al, al
jne 0x4df7d6
mov ecx, 0x4df968
mov dl, 1
mov eax, dword [0x4ca684]
call fcn.0040d38c
call fcn.004042b4
xor eax, eax
push ebp
push 0x4df802
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004d4a34
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.004d4920
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4df822
mov eax, dword [ebp - 0x10]
mov edx, 0x4df9a4
call fcn.004052f0
je 0x4df83f
mov eax, esi
mov edx, 0x4df9a4
call fcn.004052f0
jne 0x4df863
mov eax, edi
mov edx, 0x4df9b4
call fcn.004052f0
je 0x4df863
mov ecx, 0x4df98c
mov dl, 1
mov eax, dword [0x4ca92c]
call fcn.0040d38c
call fcn.004042b4
mov eax, edi
xor edx, edx
call fcn.004052f0
jne 0x4df890
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.004052f0
je 0x4df890
mov ecx, 0x4df98c
mov dl, 1
mov eax, dword [0x4ca92c]
call fcn.0040d38c
call fcn.004042b4
mov eax, dword [ebp - 0x10]
mov edx, 0x4df9f4
call fcn.004052f0
jne 0x4df8c3
mov eax, edi
mov edx, 0x4dfa00
call fcn.004052f0
je 0x4df8c3
mov ecx, 0x4df98c
mov dl, 1
mov eax, dword [0x4ca92c]
call fcn.0040d38c
call fcn.004042b4
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004dd86c
lea eax, [ebx + 4]
mov edx, esi
call fcn.00405004
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00405004
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00405004
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00405004
lea eax, [ebx + 8]
call fcn.00404fc8
mov byte [ebx + 0xc], 2
xor eax, eax
mov dword [ebx + 0x30], eax
mov al, byte [ebp + 8]
mov byte [ebx + 0x34], al
mov ax, word [0x4dfa4c]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df93c
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404fe0
ret
Function at 0x4e1230
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x4e124d
add esp, 0xfffffff0
call fcn.00403d88
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4e13e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004d5f88
test al, al
jne 0x4e128a
mov ecx, 0x4e141c
mov dl, 1
mov eax, dword [0x4ca684]
call fcn.0040d38c
call fcn.004042b4
xor eax, eax
push ebp
push 0x4e12b6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004d4a34
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.004d4920
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e12d6
mov eax, edi
xor edx, edx
call fcn.004052f0
jne 0x4e1303
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.004052f0
je 0x4e1303
mov ecx, 0x4e1440
mov dl, 1
mov eax, dword [0x4ca92c]
call fcn.0040d38c
call fcn.004042b4
mov eax, dword [ebp - 0x10]
mov edx, 0x4e1458
call fcn.004052f0
jne 0x4e1336
mov eax, edi
mov edx, 0x4e1464
call fcn.004052f0
je 0x4e1336
mov ecx, 0x4e1440
mov dl, 1
mov eax, dword [0x4ca92c]
call fcn.0040d38c
call fcn.004042b4
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004dd86c
lea eax, [ebx + 4]
mov edx, esi
call fcn.00405004
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00405004
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00405004
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00405004
lea eax, [ebx + 8]
call fcn.00404fc8
mov byte [ebx + 0xc], 1
mov dl, 1
mov eax, dword [0x41b84c]
call fcn.00403a10
mov dword [ebx + 0x38], eax
mov dl, 1
mov eax, dword [0x41b84c]
call fcn.00403a10
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x41b84c]
call fcn.00403a10
mov dword [ebx + 0x34], eax
push ebx
mov eax, dword [ebx + 0x38]
push eax
mov ax, word [0x4e14b0]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4cd6a8]
call fcn.004dcac4
mov dword [ebx + 0x3c], eax
mov ax, word [0x4e14b4]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e13ef
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404fe0
ret
Function at 0x4e3e44
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x4e3e66
add esp, 0xfffffff0
call fcn.00403d88
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x4e3fd1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004d5f88
test al, al
jne 0x4e3ea3
mov ecx, 0x4e4004
mov dl, 1
mov eax, dword [0x4ca684]
call fcn.0040d38c
call fcn.004042b4
push dword [0x548bb8]
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xbc]
push dword [ebp - 0x10]
push dword [0x548bb8]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004052a8
mov eax, dword [ebp - 0xc]
call fcn.004d6a60
test al, al
jne 0x4e3f75
push dword [0x548bb4]
push dword [ebp + 8]
push dword [0x548bb4]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004052a8
mov eax, dword [ebp - 0x14]
call fcn.004d6a60
test al, al
jne 0x4e3f75
push dword [0x548bb8]
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xb8]
push dword [ebp - 0x1c]
push dword [0x548bb8]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004052a8
mov eax, dword [ebp - 0x18]
call fcn.004d6b78
test al, al
jne 0x4e3f75
push dword [0x548bb4]
push edi
push dword [0x548bb4]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004052a8
mov eax, dword [ebp - 0x20]
call fcn.004d6b78
test al, al
jne 0x4e3f75
mov ecx, 0x4e4004
mov dl, 1
mov eax, dword [0x4ca684]
call fcn.0040d38c
call fcn.004042b4
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004dd86c
lea eax, [ebx + 4]
mov edx, esi
call fcn.00405004
lea eax, [ebx + 8]
call fcn.00404fc8
lea eax, [ebx + 0x30]
mov edx, edi
call fcn.00405004
lea eax, [ebx + 0x34]
mov edx, dword [ebp + 8]
call fcn.00405004
mov byte [ebx + 0xc], 0xc
mov ax, word [0x4e4020]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3fd8
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00404fe0
ret
Function at 0x10042e9
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1004bf0
call fcn.01004524
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1006e3c
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x10040a0
cmp eax, esi
jne 0x1004093
xor esi, esi
inc esi
mov ebx, esi
jmp 0x10040a3
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100407a
xor esi, esi
inc esi
mov eax, dword [0x1006e38]
cmp eax, esi
jne 0x10040b6
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10040e5
mov eax, dword [0x1006e38]
test eax, eax
jne 0x10040df
mov dword [0x1006e38], esi
push 0x1001210
push 0x1001204
call fcn.01003fdf
pop ecx
pop ecx
test eax, eax
je 0x10040e5
jmp 0x100420d
mov dword [0x100603c], esi
mov eax, dword [0x1006e38]
cmp eax, esi
jne 0x1004109
push 0x1001200
push 0x10011f8
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1006e38], 2
test ebx, ebx
jne 0x1004115
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1006e40], 0
je 0x1004139
push 0x1006e40
call fcn.01004499
pop ecx
test eax, eax
je 0x1004139
push 0
push 2
push 0
call dword [0x1006e40]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1004195
test al, al
je 0x1004153
cmp dword [ebp - 0x1c], 0
jne 0x1004195
mov al, byte [esi]
test al, al
je 0x1004163
cmp al, 0x20
ja 0x1004163
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1004153
test byte [ebp - 0x3c], 1
je 0x100416f
movzx eax, word [ebp - 0x38]
jmp 0x1004172
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x1006038], eax
cmp dword [0x100602c], 0
jne 0x10041e9
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x10041a4
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x10041b7
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1004140
cmp dword [0x100603c], 0
jne 0x10041f8
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1006038]
jmp 0x1004219
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01004569
ret
call fcn.01004647
jmp 0x1004040

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4107a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48d0cb
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.00481c88
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410822
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047fb9a
mov eax, dword [eax]
push 0x5b1cac
push eax
call fcn.0046f6e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00481f13
test bl, bl
je 0x410822
push 0x5b1cac
lea ecx, [esp + 0xc]
call fcn.004822a3
push 0x5b1cb8
lea ecx, [esp + 0xc]
call fcn.004822a3
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 0x41085e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00481f13
jmp 0x410929
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 0x4108e2
lea edx, [esp + 0x7c]
push 0x5b1cb4
push edx
call fcn.0046f6e4
add esp, 8
test eax, eax
je 0x4108e2
lea eax, [esp + 0x7c]
push 0x5b1cb0
push eax
call fcn.0046f6e4
add esp, 8
test eax, eax
je 0x4108e2
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 0x410872
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.00481f13
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 0x411130
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 0x411192
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 0x4111a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48d14b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5bbaec]
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 0x4112d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411206
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00481f13
xor eax, eax
jmp 0x41134f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00482050
push esi
lea ecx, [esp + 0xc]
call fcn.004822df
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 0x41132d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00411130
test eax, eax
jne 0x41132d
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.00411130
test eax, eax
jne 0x41132d
lea eax, [esp + 0x14]
push 0x5b1cc8
push eax
call fcn.004708c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41130c
lea ecx, [esp + 0x14]
push 0x5b1cc4
push ecx
call fcn.00470840
mov esi, eax
add esp, 8
test esi, esi
jne 0x41130c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41130f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00482000
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41121e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00481f13
xor eax, eax
jmp 0x41134f
mov byte [esi], 0
push 0x5b1cc0
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.00481f13
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