joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4147e9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040ce6d
xor ebx, ebx
cmp dword [0x4244a8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4148be
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x414829
xor eax, eax
jmp 0x414982
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x414822
push eax
call fcn.0040ce0a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4244a8], eax
call esi
push eax
call fcn.0040ce0a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4244ac], eax
call esi
push eax
call fcn.0040ce0a
mov dword [0x4244b0], eax
lea eax, [ebp - 8]
push eax
call fcn.0040f061
test eax, eax
pop ecx
pop ecx
je 0x41488c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040cc6b
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4148be
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040ce0a
cmp eax, ebx
pop ecx
mov dword [0x4244b8], eax
je 0x4148be
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040ce0a
pop ecx
mov dword [0x4244b4], eax
mov eax, dword [0x4244b4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x414937
cmp dword [0x4244b8], esi
je 0x414937
push eax
call fcn.0040ce76
pop ecx
call eax
cmp eax, ebx
je 0x414904
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4244b8]
call fcn.0040ce76
pop ecx
call eax
test eax, eax
je 0x414904
test byte [ebp - 0x18], 1
jne 0x414937
lea eax, [ebp - 0xc]
push eax
call fcn.0040f098
test eax, eax
pop ecx
je 0x41491f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040cc6b
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x41492e
or dword [ebp + 0x10], 0x200000
jmp 0x414968
or dword [ebp + 0x10], 0x40000
jmp 0x414968
mov eax, dword [0x4244ac]
cmp eax, esi
je 0x414968
push eax
call fcn.0040ce76
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x414968
mov eax, dword [0x4244b0]
cmp eax, esi
je 0x414968
push dword [ebp - 4]
push eax
call fcn.0040ce76
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4244a8]
call fcn.0040ce76
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

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 0x401140
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.kernel32
call esi
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40116e
push 0x800
call eax
push 0x411d8c
call esi
push str.CLRCreateInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 4], 0
test eax, eax
je 0x4011e8
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push 0x411e2c
push 0x411e3c
call eax
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4011e0
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
push 0x411e4c
push str.v4.0.30319
push ecx
call dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4011e0
mov eax, dword [ecx]
lea edx, [esp + 4]
push edx
push 0x411dfc
push 0x411e1c
push ecx
call dword [eax + 0x24]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x401207
lea eax, [esp + 4]
push eax
push 0x411dfc
push 0x411e1c
push 0
push 0
push 0
call dword [sym.imp.mscoree.dll_CorBindToRuntimeEx]
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x28]
mov eax, dword [esp + 4]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
push 0x411e0c
push eax
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
push str._RESOLVER
call fcn.00401010
mov edx, dword [esp + 0x10]
add esp, 4
mov ecx, dword [ebp + 8]
push str._ENTRYPOINT
call fcn.00401010
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401a94
Capabilities:
Parse pe header

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

Function at 0x40bf80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40bfad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40bfad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x401cd5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43107c]
jne 0x401cdf
repz ret
jmp fcn.00402a42

Function at 0x40831a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43107c]
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.00405dcd
and dword [ebp - 0x14], 0
cmp dword [0x433f6c], 0
mov dword [ebp - 0x18], eax
jne 0x4083cd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408475
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408475
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x433f6c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x433f70], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x433f74], eax
call edi
push eax
call esi
mov dword [0x433f7c], eax
test eax, eax
je 0x4083cd
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x433f78], eax
mov eax, dword [0x433f78]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408426
cmp dword [0x433f7c], ecx
je 0x408426
push eax
call esi
push dword [0x433f7c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408426
test ebx, ebx
je 0x408426
call edi
test eax, eax
je 0x40841d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40841d
test byte [ebp - 8], 1
jne 0x408426
or dword [ebp + 0x10], 0x200000
jmp 0x408459
mov eax, dword [0x433f70]
cmp eax, dword [ebp - 0x18]
je 0x408459
push eax
call esi
test eax, eax
je 0x408459
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408459
mov eax, dword [0x433f74]
cmp eax, dword [ebp - 0x18]
je 0x408459
push eax
call esi
test eax, eax
je 0x408459
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x433f6c]
call esi
test eax, eax
je 0x408475
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408477
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401cd5
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x408ecc
mov ecx, 0x33961c8a
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x62996c7d
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x41a2f8]
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], eax
mov eax, dword [0x41a2fc]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], eax
mov esi, dword [edi]
mov edx, dword [edi + 4]
mov dword [ebp - 4], esi
mov dword [ebp - 8], edx
call fcn.00401200
mov ebx, dword [ebp - 0x14]
add ebx, 0x23f
cmp dword [0xb5ee6c], 0x14
jne 0x401265
push 0
lea eax, [ebp - 0x82c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov edx, dword [ebp - 8]
mov ecx, dword [0x41a300]
mov eax, dword [0x41a304]
push 0x20
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
pop edi
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, esi
mov dword [ebp - 8], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xb5ee6c], 0xfa9
mov dword [ebp - 0xc], eax
mov eax, dword [0xb5ee68]
cmove eax, dword [ebp - 8]
and dword [ebp - 8], 0
cmp dword [0xb5ee6c], 0x3eb
mov dword [0xb5ee68], eax
mov eax, dword [0xb5edc0]
cmove eax, dword [ebp - 8]
mov dword [0xb5edc0], eax
lea eax, [ebx + esi]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
and dword [ebp - 4], 0
mov dword [0xb5ee64], 0xf4ea3dee
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 8]
sub edx, eax
mov dword [ebp - 0x10], eax
mov eax, edx
mov dword [ebp - 8], edx
shl eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + edx]
mov dword [ebp - 4], edx
shr dword [ebp - 4], cl
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, eax
cmp dword [0xb5ee6c], 0xb03
mov dword [ebp - 0xc], ecx
jne 0x401359
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
jmp 0x40135c
mov eax, dword [ebp - 4]
xor ecx, eax
add ebx, 0x61c88647
sub esi, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], esi
dec edi
jne 0x401279
mov edi, dword [ebp - 0x28]
mov dword [edi], esi
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40cbce
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419f20]
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.00408d7c
mov dword [ebp - 0x14], eax
cmp dword [0x4ba65c], esi
jne 0x40ccc1
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40cc4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40cda1
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40cda1
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40cda1
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4ba65c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4ba660], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4ba664], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ba66c], eax
test eax, eax
je 0x40ccbe
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ba668], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40cce6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40ccd9
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40ccfb
push 4
pop eax
jmp 0x40cda3
cmp dword [ebp - 0x14], esi
je 0x40ccfb
push dword [0x4ba65c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40cce0
mov eax, dword [0x4ba668]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cd59
cmp dword [0x4ba66c], edi
je 0x40cd59
push eax
call ebx
push dword [0x4ba66c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cd59
test eax, eax
je 0x40cd59
call ecx
test eax, eax
je 0x40cd4e
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 0x40cd4e
test byte [ebp - 8], 1
jne 0x40cd59
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40cd89
mov eax, dword [0x4ba660]
cmp eax, edi
je 0x40cd86
push eax
call ebx
test eax, eax
je 0x40cd86
call eax
mov esi, eax
test esi, esi
je 0x40cd86
mov eax, dword [0x4ba664]
cmp eax, edi
je 0x40cd86
push eax
call ebx
test eax, eax
je 0x40cd86
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4ba65c]
call ebx
test eax, eax
je 0x40cda1
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40cda3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404328
mov esp, ebp
pop ebp
ret
Function at 0x4066fa
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004068aa
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4067f8
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40679b
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4067de
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4067b2
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4067cd
test al, 0x40
je 0x4067c4
mov ecx, dword [edi + 0x20]
jmp 0x4067cb
test al, 0x80
je 0x4067de
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4067de
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x40676a
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x4072b6
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00407466
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4073b4
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x407357
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x40739a
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x40736e
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x407389
test al, 0x40
je 0x407380
mov ecx, dword [edi + 0x20]
jmp 0x407387
test al, 0x80
je 0x40739a
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x40739a
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x407326
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x41abe0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4af57b
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.004a416e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41ac62
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a18b8
mov eax, dword [eax]
push 0x5d4cc0
push eax
call fcn.00493a64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a43f9
test bl, bl
je 0x41ac62
push 0x5d4cc0
lea ecx, [esp + 0xc]
call fcn.004a4789
push 0x5d4ccc
lea ecx, [esp + 0xc]
call fcn.004a4789
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 0x41ac9e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a43f9
jmp 0x41ad69
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 0x41ad22
lea edx, [esp + 0x7c]
push 0x5d4cc8
push edx
call fcn.00493a64
add esp, 8
test eax, eax
je 0x41ad22
lea eax, [esp + 0x7c]
push 0x5d4cc4
push eax
call fcn.00493a64
add esp, 8
test eax, eax
je 0x41ad22
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 0x41acb2
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.004a43f9
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 0x41b570
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 0x41b5d2
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 0x41b5e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4af5fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5e4150]
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 0x41b718
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41b646
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a43f9
xor eax, eax
jmp 0x41b78f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a4536
push esi
lea ecx, [esp + 0xc]
call fcn.004a47c5
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5d4d00
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41b76d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0041b570
test eax, eax
jne 0x41b76d
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 SysReAllocString
mov ecx, edi
call fcn.0041b570
test eax, eax
jne 0x41b76d
lea eax, [esp + 0x14]
push 0x5d4cdc
push eax
call fcn.00494bd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41b74c
lea ecx, [esp + 0x14]
push 0x5d4cd8
push ecx
call fcn.00494b50
mov esi, eax
add esp, 8
test esi, esi
jne 0x41b74c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41b74f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a44e6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41b65e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a43f9
xor eax, eax
jmp 0x41b78f
mov byte [esi], 0
push 0x5d4cd4
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.004a43f9
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