joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c8df4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c8f65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4c8f4a
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00409ccc
mov dl, 1
mov eax, dword [0x495ad4]
call fcn.00495b2c
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x41ad30]
call fcn.004034a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00495ba8
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4c8f47
mov dl, 1
mov eax, dword [0x4975b4]
call fcn.0049761c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x4c8f7c
call fcn.00496058
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404634
xor eax, eax
push ebp
push 0x4c8f40
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0049791c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004c8f84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8f47
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.004034d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004034d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004034d8
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8f6c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040434c
ret
Function at 0x4d36d8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4d3706
mov eax, ebx
call fcn.004d418c
cmp dword [ebx + 0x40], 0
je 0x4d36ff
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4d3777
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4d3769
cmp dword [ebx + 8], 0
je 0x4d3728
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4d373a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4d3769
cmp dword [ebx + 8], 0
je 0x4d371b
cmp eax, 3
je 0x4d374d
dec eax
jne 0x4d371b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4d371b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4d371b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4d3795
cmp dword [ebx + 0x14], 0xcc
je 0x4d3795
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004d37a0
pop ebx
ret

Function at 0x4e6644
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], edx
mov esi, eax
mov edi, 0x586668
cmp dword [esp], 0
je 0x4e6736
mov ebx, esi
mov eax, dword [esp]
mov ebp, 3
xor edx, edx
div ebp
lea eax, [eax + eax*2]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add esi, eax
cmp esi, ebx
je 0x4e66cd
xor eax, eax
mov al, byte [ebx]
shl eax, 8
inc ebx
xor edx, edx
mov dl, byte [ebx]
or eax, edx
shl eax, 8
inc ebx
xor edx, edx
mov dl, byte [ebx]
or eax, edx
inc ebx
mov edx, eax
and edx, 0x3f
mov dl, byte [edi + edx]
mov byte [ecx + 3], dl
shr eax, 6
mov edx, eax
and edx, 0x3f
mov dl, byte [edi + edx]
mov byte [ecx + 2], dl
shr eax, 6
mov edx, eax
and edx, 0x3f
mov dl, byte [edi + edx]
mov byte [ecx + 1], dl
shr eax, 6
mov al, byte [edi + eax]
mov byte [ecx], al
add ecx, 4
cmp esi, ebx
jne 0x4e667e
mov eax, dword [esp]
sub eax, dword [esp + 4]
dec eax
je 0x4e66dc
dec eax
je 0x4e6700
jmp 0x4e6736
xor eax, eax
mov al, byte [ebx]
shl eax, 4
mov edx, eax
and edx, 0x3f
mov dl, byte [edi + edx]
mov byte [ecx + 1], dl
shr eax, 6
mov al, byte [edi + eax]
mov byte [ecx], al
mov byte [ecx + 2], 0x3d
mov byte [ecx + 3], 0x3d
jmp 0x4e6736
xor eax, eax
mov al, byte [ebx]
inc ebx
shl eax, 8
xor edx, edx
mov dl, byte [ebx]
or eax, edx
shl eax, 2
mov edx, eax
and edx, 0x3f
mov dl, byte [edi + edx]
mov byte [ecx + 2], dl
shr eax, 6
mov edx, eax
and edx, 0x3f
mov dl, byte [edi + edx]
mov byte [ecx + 1], dl
shr eax, 6
mov al, byte [edi + eax]
mov byte [ecx], al
mov byte [ecx + 3], 0x3d
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4e6808
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x4e68b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
test ebx, ebx
je 0x4e689f
mov eax, ebx
call fcn.004096d0
test al, al
jne 0x4e689f
mov eax, ebx
call fcn.004045e8
mov edi, eax
test edi, edi
jle 0x4e6878
mov esi, 1
cmp byte [ebx + esi - 1], 0x5c
jne 0x4e6874
lea eax, [ebp - 8]
push eax
mov ecx, esi
mov edx, 1
mov eax, ebx
call fcn.00404848
push 0
mov eax, dword [ebp - 8]
call fcn.004047e8
push eax
call sub.kernel32.dll_CreateDirectoryA
inc esi
dec edi
jne 0x4e684b
mov eax, ebx
call fcn.004045e8
cmp byte [ebx + eax - 1], 0x5c
je 0x4e6895
push 0
mov eax, ebx
call fcn.004047e8
push eax
call sub.kernel32.dll_CreateDirectoryA
mov eax, ebx
call fcn.004096d0
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e68bc
lea eax, [ebp - 8]
call fcn.00404328
ret

Function at 0x4e6f58
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004047d8
xor eax, eax
push ebp
push 0x4e70a8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x4e70bc
call sub.wininet.dll_InternetOpenA
mov edi, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
push 4
lea eax, [ebp - 0x10]
push eax
push 2
push edi
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebp - 0x10]
push eax
push 6
push edi
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebp - 0x10]
push eax
push 8
push edi
call sub.wininet.dll_InternetSetOptionA
test ebx, ebx
jne 0x4e6fda
test esi, esi
je 0x4e701a
push 0x4e70cc
push ebx
push 0x4e70ec
push esi
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004046a8
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004e650c
push dword [ebp - 0x14]
push 0x4e70f8
push 0x4e7104
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004046a8
jmp 0x4e7022
lea eax, [ebp - 0xc]
call fcn.00404328
push 0
push 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004045e8
push eax
mov eax, dword [ebp - 0xc]
call fcn.004047e8
push eax
mov eax, dword [ebp - 4]
call fcn.004047e8
push eax
push edi
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
test esi, esi
setne bl
test esi, esi
je 0x4e7067
push esi
call sub.wininet.dll_InternetCloseHandle
xor esi, esi
push edi
call sub.wininet.dll_InternetCloseHandle
xor edi, edi
jmp 0x4e707d
test edi, edi
je 0x4e7071
push edi
call sub.wininet.dll_InternetCloseHandle
test esi, esi
je 0x4e707b
push esi
call sub.wininet.dll_InternetCloseHandle
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e70af
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040434c
lea eax, [ebp - 0xc]
call fcn.00404328
lea eax, [ebp - 4]
call fcn.00404328
ret
Function at 0x4e7108
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x7d
add esp, 0xfffff004
push eax
dec eax
jne 0x4e7111
mov eax, dword [ebp - 4]
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x7d018], ebx
mov dword [ebp - 0x7d01c], ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004047d8
xor eax, eax
push ebp
push 0x4e72c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404328
push 0
push 0
push 0
push 0
push 0x4e72d8
call sub.wininet.dll_InternetOpenA
mov ebx, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
push 4
lea eax, [ebp - 0x10]
push eax
push 2
push ebx
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebp - 0x10]
push eax
push 6
push ebx
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebp - 0x10]
push eax
push 8
push ebx
call sub.wininet.dll_InternetSetOptionA
test esi, esi
jne 0x4e71a8
cmp dword [ebp + 8], 0
je 0x4e71f6
push 0x4e72e8
push esi
push 0x4e7308
push dword [ebp + 8]
lea eax, [ebp - 0x7d01c]
mov edx, 3
call fcn.004046a8
mov eax, dword [ebp - 0x7d01c]
lea edx, [ebp - 0x7d018]
call fcn.004e650c
push dword [ebp - 0x7d018]
push 0x4e7314
push 0x4e7320
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004046a8
jmp 0x4e71fe
lea eax, [ebp - 0xc]
call fcn.00404328
push 0
push 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004045e8
push eax
mov eax, dword [ebp - 0xc]
call fcn.004047e8
push eax
mov eax, dword [ebp - 4]
call fcn.004047e8
push eax
push ebx
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
test esi, esi
je 0x4e7278
lea eax, [ebp - 8]
push eax
push 0x7d000
lea eax, [ebp - 0x7d011]
push eax
push esi
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x4e7278
cmp dword [ebp - 8], 0
je 0x4e7278
push esi
call sub.wininet.dll_InternetCloseHandle
xor esi, esi
push ebx
call sub.wininet.dll_InternetCloseHandle
xor ebx, ebx
mov eax, dword [ebp - 8]
mov byte [ebp + eax - 0x7d011], 0
mov eax, edi
lea edx, [ebp - 0x7d011]
call fcn.00404520
mov bl, 1
jmp 0x4e7295
test ebx, ebx
je 0x4e7282
push ebx
call sub.wininet.dll_InternetCloseHandle
test esi, esi
je 0x4e728c
push esi
call sub.wininet.dll_InternetCloseHandle
mov eax, edi
call fcn.00404328
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e72ca
lea eax, [ebp - 0x7d01c]
mov edx, 2
call fcn.0040434c
lea eax, [ebp - 0xc]
call fcn.00404328
lea eax, [ebp - 4]
call fcn.00404328
ret
Function at 0x4e7370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov byte [ebp - 1], cl
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4e740d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x400
call fcn.00404974
push 0xffffffffffffffff
push edi
mov eax, dword [ebp - 8]
call fcn.004047e8
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
mov eax, dword [ebp - 8]
call fcn.004047e8
mov edx, eax
mov eax, ebx
call fcn.00404520
cmp dword [ebx], 0
je 0x4e73f7
mov eax, dword [ebx]
call fcn.004045e8
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4e73e8
mov eax, ebx
mov edx, 0x4e7428
call fcn.004045f0
cmp byte [ebp - 1], 0
je 0x4e73f7
mov edx, dword [ebx]
mov eax, esi
call fcn.004e6808
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e7414
lea eax, [ebp - 8]
call fcn.00404328
ret
Function at 0x523a30
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
lea eax, [ebx + 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
sub eax, dword [ebx + 8]
sbb edx, dword [ebx + 0xc]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
pop ebx
ret

Function at 0x54614c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5462f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x11b], 0x12
test byte [ebx + 0x1c], 0x10
jne 0x5462d5
mov eax, ebx
call fcn.0054fa3c
test byte [eax + 0x2f4], 8
jne 0x5462d5
push 0
mov eax, ebx
call fcn.0054fa60
push eax
push 0x4514
mov eax, ebx
call fcn.0054fa60
push eax
call sub.user32.dll_SendMessageA
dec eax
je 0x5462d5
cmp word [ebx + 0x1ba], 0
je 0x5461de
mov byte [ebp - 1], 1
lea ecx, [ebp - 1]
mov edx, ebx
mov eax, dword [ebx + 0x1bc]
call dword [ebx + 0x1b8]
cmp byte [ebp - 1], 0
je 0x5462d5
mov eax, ebx
call fcn.0054fa3c
test eax, eax
je 0x5462d5
mov al, byte [ebx + 0x50]
cmp al, 4
je 0x5462ca
mov byte [ebx + 0xa1], al
mov byte [ebx + 0x50], 4
cmp byte [ebx + 0x51], 0
jne 0x546236
mov al, byte [ebx + 0xa1]
cmp al, 2
je 0x546236
cmp al, 1
je 0x546236
cmp al, 3
je 0x546236
mov eax, ebx
call fcn.0054fa3c
lea edx, [ebp - 0x14]
call fcn.004731b0
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x91]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [ebx + 0x64], 0
je 0x54627e
lea edx, [ebp - 0x18]
mov eax, dword [0x5876a0]
mov eax, dword [eax]
call fcn.004935ac
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0xbc]
mov ecx, 0x3f
call fcn.00409b74
mov eax, dword [0x5876a0]
mov eax, dword [eax]
call fcn.004933c0
push 0
mov eax, dword [0x5876a0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
jmp 0x5462ba
mov eax, ebx
call fcn.0054fa3c
test eax, eax
je 0x5462ab
mov eax, ebx
call fcn.0054fa3c
lea edx, [ebp - 0x1c]
call fcn.00473810
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0xbc]
mov ecx, 0x3f
call fcn.00409b74
push 0
mov eax, ebx
call fcn.0054fa60
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebx + 0xa4]
push eax
push 0
call sub.shell32.dll_Shell_NotifyIconA
jmp 0x5462d1
mov eax, ebx
call fcn.00545c04
mov byte [ebx + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5462fa
lea eax, [ebp - 0x1c]
call fcn.00404328
lea eax, [ebp - 0x18]
call fcn.00404328
ret
Function at 0x55a3a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x55a3cf
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x55a3e1
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x55a3ed
add word [ebp - 6], 0x8000
mov byte [ebp - 0xd], 0
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.0055a238
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x55a43a
xor eax, eax
push ebp
push 0x55a433
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 4]
xor edx, edx
call fcn.0055a268
pop ecx
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55a43a
ret
cmp byte [ebp - 0xd], 2
je 0x55a3ed
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x56e388
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x56e3d9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x56e3c0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x56e3b0
jmp 0x56e3d9
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x56e3c1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5297a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc4000]
push edi
or ebp, 0xffffffff
jmp 0x5297c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5297c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5297b8
mov eax, 1
add ebx, ebx
jne 0x5297db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5297ec
jne 0x52980b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52980b
dec eax
add ebx, ebx
jne 0x5297f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5297d0
add ebx, ebx
jne 0x529807
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52985d
xor ecx, ecx
sub eax, 3
jb 0x529823
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x529892
sar eax, 1
mov ebp, eax
jmp 0x52982e
add ebx, ebx
jne 0x52982e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5297fc
inc ecx
add ebx, ebx
jne 0x52983c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5297fc
add ebx, ebx
jne 0x529849
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52983e
jne 0x52985a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52983e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52987c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52986e
jmp 0x5297be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52987c
add edi, ecx
jmp 0x5297be
pop esi
mov edi, esi
mov ecx, 0x775
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52989a
cmp byte [edi], 5
jne 0x52989a
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 0x52989f
lea edi, [esi + 0x126000]
mov eax, dword [edi]
or eax, eax
je 0x529917
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12c744]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12c854]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5298cc
mov ecx, edi
jns 0x5298fb
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 + 0x12c85c]
or eax, eax
je 0x529911
mov dword [ebx], eax
add ebx, 4
jmp 0x5298e9
call dword [esi + 0x12c858]
mov ebp, dword [esi + 0x12c860]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x52994b
sub esp, 0xffffff80
jmp 0x411d70
Function at 0x40ef60
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46a61b
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.0045f116
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40efe2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045d02d
mov eax, dword [eax]
push 0x4811f0
push eax
call fcn.0044fe94
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045f3a1
test bl, bl
je 0x40efe2
push 0x4811f0
lea ecx, [esp + 0xc]
call fcn.0045f731
push 0x484d64
lea ecx, [esp + 0xc]
call fcn.0045f731
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 0x40f01e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045f3a1
jmp 0x40f0e9
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 0x40f0a2
lea edx, [esp + 0x7c]
push 0x484d60
push edx
call fcn.0044fe94
add esp, 8
test eax, eax
je 0x40f0a2
lea eax, [esp + 0x7c]
push 0x484d5c
push eax
call fcn.0044fe94
add esp, 8
test eax, eax
je 0x40f0a2
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 0x40f032
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.0045f3a1
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 0x40f8e0
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 0x40f942
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 0x40f950
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46a69b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x48b208]
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 0x40fa88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40f9b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f3a1
xor eax, eax
jmp 0x40faff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045f4de
push esi
lea ecx, [esp + 0xc]
call fcn.0045f76d
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 0x40fadd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040f8e0
test eax, eax
jne 0x40fadd
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.0040f8e0
test eax, eax
jne 0x40fadd
lea eax, [esp + 0x14]
push 0x484d78
push eax
call fcn.00450ed0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40fabc
lea ecx, [esp + 0x14]
push 0x484d74
push ecx
call fcn.00450e50
mov esi, eax
add esp, 8
test esi, esi
jne 0x40fabc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40fabf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045f48e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40f9ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f3a1
xor eax, eax
jmp 0x40faff
mov byte [esi], 0
push 0x484d70
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.0045f3a1
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