joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440602
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x453090]
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.0043c143
mov dword [ebp - 0x14], eax
cmp dword [0x4575e4], esi
jne 0x4406f5
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x440682
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4407d5
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4407d5
push 0x44d7e0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4407d5
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4575e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4575e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4575ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4575f4], eax
test eax, eax
je 0x4406f2
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4575f0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x44071a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44070d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x44072f
push 4
pop eax
jmp 0x4407d7
cmp dword [ebp - 0x14], esi
je 0x44072f
push dword [0x4575e4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x440714
mov eax, dword [0x4575f0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x44078d
cmp dword [0x4575f4], edi
je 0x44078d
push eax
call ebx
push dword [0x4575f4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x44078d
test eax, eax
je 0x44078d
call ecx
test eax, eax
je 0x440782
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 0x440782
test byte [ebp - 8], 1
jne 0x44078d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4407bd
mov eax, dword [0x4575e8]
cmp eax, edi
je 0x4407ba
push eax
call ebx
test eax, eax
je 0x4407ba
call eax
mov esi, eax
test esi, esi
je 0x4407ba
mov eax, dword [0x4575ec]
cmp eax, edi
je 0x4407ba
push eax
call ebx
test eax, eax
je 0x4407ba
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4575e4]
call ebx
test eax, eax
je 0x4407d5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4407d7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00437dfc
mov esp, ebp
pop ebp
ret
Function at 0x4bde70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7b000]
push edi
jmp 0x4bde8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4bde91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bde80
mov eax, 1
add ebx, ebx
jne 0x4bdea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4bdeb4
jne 0x4bded3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bded3
dec eax
add ebx, ebx
jne 0x4bdec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4bde98
add ebx, ebx
jne 0x4bdecf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4bdf25
xor ecx, ecx
sub eax, 3
jb 0x4bdeeb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4bdf5a
sar eax, 1
mov ebp, eax
jmp 0x4bdef6
add ebx, ebx
jne 0x4bdef6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bdec4
inc ecx
add ebx, ebx
jne 0x4bdf04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bdec4
add ebx, ebx
jne 0x4bdf11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4bdf06
jne 0x4bdf22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4bdf06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4bdf44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4bdf36
jmp 0x4bde86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4bdf44
add edi, ecx
jmp 0x4bde86
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4bdf62
cmp byte [edi], 0x13
jne 0x4bdf62
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4bdf67
lea edi, [esi + 0xb9000]
mov eax, dword [edi]
or eax, eax
je 0x4bdfdf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcab08]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xcac5c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4bdf94
mov ecx, edi
jns 0x4bdfc3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xcac60]
or eax, eax
je 0x4bdfd9
mov dword [ebx], eax
add ebx, 4
jmp 0x4bdfb1
call dword [esi + 0xcac70]
mov ebp, dword [esi + 0xcac64]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4be013
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x4010b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hide graphical window

Disassembly:
mov eax, 0x2148
call fcn.00402be0
mov eax, dword [0x406058]
xor eax, esp
mov dword [esp + 0x2144], eax
mov eax, dword [esp + 0x215c]
push ebx
mov ebx, dword [esp + 0x2158]
push ebp
push esi
mov esi, dword [esp + 0x2164]
push edi
xor edi, edi
mov dword [esp + 0x10], eax
xor ecx, ecx
lea esp, [esp]
mov eax, ecx
cdq
idiv esi
mov byte [esp + ecx + 0x14], cl
inc ecx
cmp ecx, 0x109e
mov dl, byte [edx + ebx]
mov byte [esp + ecx + 0x10b3], dl
jl 0x4010f0
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
xor esi, esi
jmp 0x401120
mov bl, byte [esp + esi + 0x14]
movzx ecx, byte [esp + esi + 0x10b4]
add ecx, edi
movzx eax, bl
add eax, ecx
cdq
mov ecx, 0x109e
idiv ecx
push 0
push 0
mov edi, edx
call ebp
mov al, byte [esp + edi + 0x14]
mov byte [esp + edi + 0x14], bl
mov byte [esp + esi + 0x14], al
inc esi
cmp esi, 0x109e
jl 0x401120
mov eax, dword [esp + 0x2160]
xor edi, edi
test eax, eax
jle 0x4011ca
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x215c]
sub ebp, ecx
mov dword [esp + 0x10], eax
lea eax, [esi + 1]
cdq
mov esi, 0x109e
idiv esi
mov ebx, 0x109e
inc ecx
mov esi, edx
movzx eax, byte [esp + esi + 0x14]
add eax, edi
cdq
mov edi, 0x109e
idiv edi
mov edi, edx
mov dl, byte [esp + esi + 0x14]
mov al, byte [esp + edi + 0x14]
mov byte [esp + edi + 0x14], dl
mov byte [esp + esi + 0x14], al
movzx edx, byte [esp + edi + 0x14]
movzx eax, al
add eax, edx
cdq
idiv ebx
movzx eax, byte [esp + edx + 0x14]
xor al, byte [ecx + ebp - 1]
sub dword [esp + 0x10], 1
mov byte [ecx - 1], al
jne 0x401176
mov ecx, dword [esp + 0x2154]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00402bca
add esp, 0x2148
ret
Function at 0x401630
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x3c]
push edi
mov edi, dword [eax + esi + 0x78]
push 0
push 0
add edi, esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x1c]
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov ebp, dword [edi + 0x20]
add eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x24]
push ecx
add eax, esi
push 0x4042c8
push edx
add ebp, esi
mov dword [esp + 0x24], eax
call fcn.004014a0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edi, dword [edi + 0x18]
xor ebx, ebx
test edi, edi
jbe 0x4016b0
nop
mov eax, dword [0x406004]
mov ecx, dword [ebp + ebx*4]
push eax
add ecx, esi
push ecx
call fcn.00401030
add esp, 8
cmp eax, dword [esp + 0x1c]
je 0x4016b8
inc ebx
cmp ebx, edi
jb 0x401690
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x18]
movzx eax, word [edx + ebx*2]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + eax*4]
pop edi
add eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4016d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x54
mov eax, dword [0x406058]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
push 0
push 0
push str.schtasks.exe
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x442c83
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
je 0x401713
mov dword [esp + 4], 0xcfdb
mov dword [0x406004], 0x5887
push ebx
mov ebx, dword [sym.imp.MSVCR90.dll__time64]
push ebp
push esi
mov esi, dword [sym.imp.MSVCR90.dll_srand]
push edi
mov edi, dword [sym.imp.MSVCR90.dll_rand]
lea esp, [esp]
push 0
call ebx
push eax
call esi
add esp, 8
call edi
and eax, 0x80000003
jns 0x401748
dec eax
or eax, 0xfffffffc
inc eax
inc eax
cmp eax, 3
jle 0x401730
mov ecx, 9
mov esi, str.fhalSKfwHDfDktfhdfEb_VAg7h58O
lea edi, [esp + 0x3c]
push 0x22edae
rep movsd dword es:[edi], dword [esi]
call fcn.00401050
mov esi, eax
push 0x1e27f4fd
push esi
call fcn.00401630
push 0xbce8a04f
push esi
mov edi, eax
call fcn.00401630
push 0x5e97c023
push esi
mov dword [esp + 0x2c], eax
call fcn.00401630
push 0x355a1f6f
push esi
mov ebx, eax
call fcn.00401630
push 0x5b9200a9
push esi
mov ebp, eax
call fcn.00401630
movzx ecx, word [esp + 0x40]
add esp, 0x2c
push 0xa
push ecx
push 0
mov dword [esp + 0x24], eax
call edi
mov esi, eax
test esi, esi
jne 0x4017db
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00402bca
add esp, 0x54
ret 0x10
push esi
push 0
call dword [esp + 0x18]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4017c4
push esi
push 0
call ebx
push 0
push 0x40
push str.4096
mov edi, eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
or eax, 0x2000
push eax
push edi
push 0
call dword [esp + 0x2c]
push eax
call ebp
mov esi, eax
test esi, esi
je 0x4017c4
mov edx, dword [esp + 0x10]
push edi
push edx
push esi
call sub.MSVCR90.dll_memcpy
push esi
push 0x24
lea eax, [esp + 0x50]
push eax
push edi
push esi
call fcn.004010b0
add esp, 0x20
call esi
mov edi, dword [esp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x4060f0
push 0x67
push edi
call esi
push 0x64
push 0x406088
push 0x6d
push edi
call esi
push edi
call fcn.00401300
mov ecx, dword [esp + 0x78]
push ecx
push edi
call fcn.004011f0
add esp, 0xc
test eax, eax
je 0x4017c4
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, eax
push 1
push 0
push 0
push 0
lea edx, [esp + 0x30]
push edx
call esi
test eax, eax
je 0x401894
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x20]
push eax
push edi
push ecx
call ebx
test eax, eax
jne 0x4018ca
lea edx, [esp + 0x20]
push edx
call ebp
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [esp + 0x24], 0x12
jne 0x401894
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00402bca
add esp, 0x54
ret 0x10
Function at 0x401b40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4038f8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x406058]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x34], 0
jne 0x401c5f
mov eax, dword [esp + 0x18]
add eax, 0xffffffe5
mov dword [esi + 0x34], 1
cmp eax, 0xa3
ja case.0x401b8d.28
movzx eax, byte [eax + 0x401c88]
jmp dword [eax*4 + 0x401c74]
call fcn.00402610
jmp case.0x401b8d.28
call fcn.00402630
jmp case.0x401b8d.28
mov eax, dword [esi + 0x24]
cmp eax, 0xa
mov dword [esp + 0x18], eax
jle case.0x401b8d.28
fild dword [esp + 0x18]
fdiv qword [0x404358]
call fcn.00402cf0
mov dword [esi + 0x24], eax
jmp case.0x401b8d.28
lea ecx, [esp + 0x18]
call fcn.00401e90
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0
call fcn.00401f10
sub eax, 1
je 0x401c3b
sub eax, 1
je 0x401c26
sub eax, 1
jne 0x401c42
push 5
push 0x4042c8
push eax
push str.http:__www.brigsoft.com
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [0x4060ec]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401c42
mov edx, dword [0x4060ec]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401c42
mov ecx, esi
call fcn.00401aa0
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00401ea0
mov eax, dword [0x4060ec]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 8

Function at 0x402bca
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x406058]
jne 0x402bd4
repz ret
jmp fcn.00403179
Function at 0x1000df20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10099ba0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.1008f201
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.1000ef30
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x1000df74
jmp dword [ecx*4 + 0x1000e0dc]
mov al, byte [esi]
test al, al
je 0x1000dfa2
cmp al, 0x20
je 0x1000df8e
cmp al, 0xa1
jne 0x1000dfa2
cmp byte [esi + 1], al
jne 0x1000dfa2
test al, 0x80
je 0x1000df9a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x1000dfa2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1000df81
test ecx, ecx
je case.default.0x1000df74
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x1000df74
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x1000dfe8
cmp dl, 0xa1
jne 0x1000dfdc
cmp byte [eax + 1], 0xa1
jne 0x1000dfdc
test ecx, ecx
jne 0x1000dfd4
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1000dffc
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x1000e016
jmp 0x1000dffc
cmp dl, 0x20
jne 0x1000dffa
test ecx, ecx
jne 0x1000dff3
mov edi, eax
mov ecx, 1
jmp 0x1000dffc
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1000dfbc
cmp ecx, 1
jne case.default.0x1000df74
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1000df74
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1000df74
mov al, byte [esi]
test al, al
je 0x1000e06e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x1000e054
mov cl, byte [esi + 1]
test cl, cl
je 0x1000e06e
cmp al, 0xa1
jne 0x1000e044
cmp cl, al
je 0x1000e051
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.1000f1c0
inc esi
jmp 0x1000e066
cmp al, 0x20
je 0x1000e066
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.1000f200
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1000e02d
push 0
lea ecx, [esp + 0x14]
call fcn.1000f200
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100185c0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x1000e0a1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x102a4af8
call fcn.1000f130
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1008f193
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x10013090
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x10099f4b
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.1008ef08
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10013112
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.1008ce57
mov eax, dword [eax]
push 0x102b81e0
push eax
call fcn.1007f0e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1008f193
test bl, bl
je 0x10013112
push 0x102b81e0
lea ecx, [esp + 0xc]
call fcn.1008f523
push 0x102bbd2c
lea ecx, [esp + 0xc]
call fcn.1008f523
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 0x1001314e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1008f193
jmp 0x10013219
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 0x100131d2
lea edx, [esp + 0x7c]
push 0x102bbd28
push edx
call fcn.1007f0e4
add esp, 8
test eax, eax
je 0x100131d2
lea eax, [esp + 0x7c]
push 0x102bbd24
push eax
call fcn.1007f0e4
add esp, 8
test eax, eax
je 0x100131d2
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 0x10013162
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.1008f193
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 0x10013a10
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 0x10013a72
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 0x10013a80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x10099fcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x102cad18]
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 0x10013bb8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10013ae6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1008f193
xor eax, eax
jmp 0x10013c2f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.1008f2d0
push esi
lea ecx, [esp + 0xc]
call fcn.1008f55f
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 0x10013c0d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.10013a10
test eax, eax
jne 0x10013c0d
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.10013a10
test eax, eax
jne 0x10013c0d
lea eax, [esp + 0x14]
push 0x102bbd40
push eax
call fcn.10080160
mov esi, eax
add esp, 8
test esi, esi
jne 0x10013bec
lea ecx, [esp + 0x14]
push 0x102bbd3c
push ecx
call fcn.100800e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10013bec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x10013bef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.1008f280
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x10013afe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1008f193
xor eax, eax
jmp 0x10013c2f
mov byte [esi], 0
push 0x102bbd38
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.1008f193
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