joyce8/EMBER2024-capa huggingface dataset:
Function at 0x496d78
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffea0
mov ecx, dword [0x4bc388]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4302a0]
call fcn.0043ee84
mov dword [0x4bdbc8], eax
push 0x4001
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x496dd4
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x496dcb
mov edx, eax
mov eax, dword [0x4bdbc8]
call fcn.0043f1e0
mov eax, dword [0x4bdbc8]
mov byte [eax + 0x36], 1
add esp, 0x160
ret

Function at 0x49ba4c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x104], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49bbf4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x731], 0
mov eax, dword [ebx + 0x5f8]
mov al, byte [eax + 0x1f5]
mov byte [ebx + 0x900], al
mov dl, 2
mov eax, dword [ebx + 0x5f8]
call fcn.0046a0c8
mov eax, dword [ebx + 0x5f8]
cmp byte [eax + 0x349], 0
jne 0x49baba
call fcn.0047207c
mov eax, dword [ebx + 0x5f8]
mov eax, dword [eax + 0x20c]
call fcn.00468480
xor eax, eax
mov dword [0x4bdd74], eax
xor eax, eax
mov dword [0x4bdd78], eax
mov edx, dword [0x4bdbd0]
mov eax, ebx
call fcn.0049b4dc
inc eax
jne 0x49bbbd
cmp byte [0x4bdbd9], 6
je 0x49bbbd
cmp byte [0x4bdbd9], 0xa
je 0x49bbbd
lea eax, [ebp - 0x100]
push eax
push 0
push 0x49bc00
mov eax, dword [0x4bdcb8]
call fcn.00404014
push eax
call sub.kernel32.dll_GetTempFileNameA
lea ecx, [ebp - 0x108]
mov edx, dword [0x4bdbd0]
mov eax, ebx
call fcn.00497b08
push dword [ebp - 0x108]
push 0x49bc0c
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00403e00
push dword [ebp - 0x10c]
lea eax, [ebp - 0x104]
mov edx, 3
call fcn.00403f10
mov edx, dword [ebp - 0x104]
mov eax, dword [0x4bdcb0]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00403e00
mov edx, dword [ebp - 0x110]
lea eax, [ebx + 0x734]
call fcn.00405ee2
lea eax, [ebx + 0x734]
call fcn.0040616a
call fcn.00402800
mov byte [ebx + 0x731], 1
xor ecx, ecx
mov edx, 5
mov eax, ebx
call fcn.0049acb8
mov eax, dword [ebx + 0x724]
call fcn.00479bb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bbfb
lea eax, [ebp - 0x110]
mov edx, 4
call fcn.00403bf4
ret
Function at 0x49dc44
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404004
xor eax, eax
push ebp
push 0x49dc96
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404014
push eax
push 0x49dca0
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49dc9d
lea eax, [ebp - 4]
call fcn.00403bd0
ret

Function at 0x49dca8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404004
mov eax, dword [ebp - 8]
call fcn.00404004
xor eax, eax
push ebp
push 0x49dd78
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov edx, dword [ebp - 8]
mov eax, 0x49dd90
call fcn.0040413c
test eax, eax
jle 0x49dd05
push 0x49dd9c
push dword [ebp - 8]
push 0x49dd9c
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403f10
cmp dword [ebp - 8], 0
jne 0x49dd18
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00403c68
jmp 0x49dd30
push dword [ebp - 4]
push 0x49dd90
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403f10
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00404014
push eax
mov eax, dword [ebp - 4]
call fcn.00404014
push eax
push 0x49dda0
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja 0x49dd5d
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49dd7f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403bf4
ret
Function at 0x49e014
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x49e291
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0048f504
test al, al
je 0x49e276
mov esi, dword [ebx + 0x710]
cmp esi, dword [ebx + 0x208]
jne 0x49e175
mov eax, esi
call fcn.0046b9b4
cmp dword [eax + 0x10], 1
je 0x49e175
mov eax, dword [ebx + 0x710]
mov eax, dword [eax + 0x20c]
call fcn.0046838c
mov edi, eax
dec edi
test edi, edi
jl 0x49e276
inc edi
xor esi, esi
mov eax, dword [ebx + 0x710]
mov eax, dword [eax + 0x20c]
mov edx, esi
call fcn.004683bc
mov edx, 3
call fcn.00467eb0
test al, al
je 0x49e168
lea ecx, [ebp - 8]
mov edx, dword [0x4bdbcc]
mov eax, ebx
call fcn.00497b08
push dword [ebp - 8]
mov eax, dword [ebx + 0x710]
mov eax, dword [eax + 0x20c]
mov edx, esi
call fcn.004683bc
push dword [eax + 0x24]
push 0x49e2a8
lea eax, [ebp - 4]
mov edx, 3
call fcn.00403f10
cmp dword [0x4bdbfc], 0
jne 0x49e128
push 1
push 0
push 0
lea eax, [ebp - 4]
call fcn.00404020
push eax
push 0
mov eax, ebx
call fcn.00439670
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jge 0x49e168
cmp eax, 2
je 0x49e168
mov ecx, dword [ebp - 4]
mov edx, 0x49e2b4
mov eax, dword [0x4bdbc4]
call fcn.0049dca8
jmp 0x49e168
lea ecx, [ebp - 0xc]
mov edx, dword [0x4bdbcc]
mov eax, ebx
call fcn.00497b08
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx + 0x710]
mov eax, dword [eax + 0x20c]
mov edx, esi
call fcn.004683bc
mov edx, dword [eax + 0x24]
pop eax
call fcn.00403e58
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x4bdbfc]
mov eax, ebx
call fcn.0049dca8
inc esi
dec edi
jne 0x49e083
jmp 0x49e276
mov esi, dword [ebx + 0x5f8]
cmp esi, dword [ebx + 0x208]
jne 0x49e276
mov eax, esi
call fcn.0046b9b4
cmp dword [eax + 0x10], 1
je 0x49e276
mov eax, ebx
call fcn.0049c1d0
mov byte [0x4bdbd9], 8
mov eax, dword [ebx + 0x5f8]
call fcn.0046b9b4
mov ecx, dword [eax + 0x24]
mov eax, dword [ebx + 0x724]
add eax, 0x508
mov edx, dword [0x4bdcb8]
call fcn.00403e9c
lea ecx, [ebp - 0x10]
mov edx, dword [0x4bdbd0]
mov eax, ebx
call fcn.00497b08
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x5f8]
call fcn.0046b9b4
mov ecx, dword [eax + 0x24]
mov eax, dword [ebx + 0x724]
add eax, 0x50c
pop edx
call fcn.00403e9c
mov eax, dword [ebx + 0x724]
mov edx, dword [eax + 0x508]
mov eax, ebx
call fcn.004946e4
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x724]
mov eax, dword [eax + 0x508]
call fcn.004090f8
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x49e2c8
call fcn.00403e9c
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x728]
mov eax, dword [eax + 0x1f0]
xor edx, edx
call fcn.00464334
pop edx
call fcn.004642ac
xor eax, eax
mov dword [ebx + 0x914], eax
xor eax, eax
mov dword [ebx + 0x910], eax
push 0
mov cl, byte [0x4bdd7c]
xor edx, edx
mov eax, dword [ebx + 0x724]
call fcn.004796ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e298
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00403bf4
ret
Function at 0x4a0d0c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a0f43
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x4bdbd9], 0x11
jne 0x4a0d46
xor edx, edx
mov eax, ebx
call fcn.004a0adc
jmp 0x4a0f28
cmp byte [0x4bdbd9], 7
jne 0x4a0db1
mov eax, dword [ebx + 0x728]
mov eax, dword [eax + 0x1f0]
mov edx, 1
call fcn.00464334
xor edx, edx
call fcn.004642ac
xor eax, eax
mov dword [0x4bdd00], eax
mov dl, 1
mov eax, dword [ebx + 0x494]
call fcn.004557b0
mov eax, dword [ebx + 0x724]
mov edx, dword [eax + 0x508]
xor ecx, ecx
mov eax, ebx
call fcn.004a0920
cmp al, 1
jne 0x4a0da5
mov eax, ebx
call fcn.004a0718
jmp 0x4a0f28
mov eax, ebx
call fcn.0049c238
jmp 0x4a0f28
cmp byte [0x4bdbd9], 8
jne 0x4a0e42
mov eax, dword [ebx + 0x724]
mov edx, dword [eax + 0x508]
lea eax, [ebp - 4]
mov ecx, 0x4a0f58
call fcn.00403e9c
cmp dword [0x4bdbfc], 0
jne 0x4a0e1d
push 1
push 0
push 0
lea eax, [ebp - 4]
call fcn.00404020
push eax
push 0
mov eax, ebx
call fcn.00439670
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jae 0x4a0e36
mov eax, dword [ebx + 0x724]
mov ecx, dword [eax + 0x508]
mov edx, 0x4a0f64
mov eax, ebx
call fcn.0049dca8
jmp 0x4a0e36
mov eax, dword [ebx + 0x724]
mov ecx, dword [eax + 0x508]
mov edx, dword [0x4bdbfc]
mov eax, ebx
call fcn.0049dca8
mov eax, ebx
call fcn.0049c238
jmp 0x4a0f28
xor edx, edx
mov eax, ebx
call fcn.004a0adc
mov byte [0x4bdbda], 0
cmp byte [0x4bdbd9], 5
je 0x4a0e70
mov eax, ebx
call fcn.00496758
xor edx, edx
mov eax, ebx
call fcn.00495c70
jmp 0x4a0f28
cmp dword [0x4bdcf8], 0
je 0x4a0e95
mov eax, dword [ebx + 0x724]
fild qword [eax + 0x530]
add esp, 0xfffffff4
fstp xword [esp]
wait
xor edx, edx
mov eax, ebx
call fcn.0048f87c
cmp byte [0x4bdc84], 0
je 0x4a0f0a
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x724]
mov eax, dword [eax + 0x508]
call fcn.004090f8
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0048fc08
test al, al
je 0x4a0f0a
mov eax, dword [ebp - 8]
call fcn.0040b5e4
fstp qword [ebp - 0x18]
wait
mov eax, dword [ebx + 0x724]
mov eax, dword [eax + 0x508]
mov edx, 1
call fcn.00408ce0
mov esi, eax
test esi, esi
jle 0x4a0f0a
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00409294
mov edx, eax
mov eax, esi
call fcn.00408e28
mov eax, esi
call fcn.00408da8
mov eax, ebx
call fcn.0048fe54
cmp byte [0x4bdc1a], 0
je 0x4a0f21
mov eax, ebx
call fcn.00496758
mov eax, ebx
call fcn.004957b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0f4a
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403bf4
ret
Function at 0x4a70f4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
mov esi, 0x4bdd04
xor eax, eax
push ebp
push 0x4a71b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4bdbc4]
call fcn.00439670
mov dword [esi + 4], eax
mov dword [esi], 0x58
mov eax, dword [0x4bc388]
mov eax, dword [eax]
mov eax, dword [eax + 0x88]
call fcn.00420ec4
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], 7
mov dword [esi + 0x10], 0x800c
lea edx, [ebp - 4]
mov eax, dword [0x4bc388]
mov eax, dword [eax]
call fcn.004513f0
mov edx, dword [ebp - 4]
lea eax, [esi + 0x18]
mov ecx, 0x3f
call fcn.00409454
push esi
push 0
call sub.shell32.dll_Shell_NotifyIconA
mov byte [ebx + 0x924], 1
mov eax, dword [0x4bc388]
mov eax, dword [eax]
mov byte [eax + 0x4b], 0
push 0
mov eax, dword [0x4bc388]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, ebx
call fcn.0044b658
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a71b7
lea eax, [ebp - 4]
call fcn.00403bd0
ret

Function at 0x4a71d0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov dl, 1
mov eax, ebx
call fcn.0044b658
mov byte [ebx + 0x924], 0
push 9
mov eax, dword [0x4bc388]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.00439670
push eax
call sub.user32.dll_SetForegroundWindow
push 0x4bdd04
push 2
call sub.shell32.dll_Shell_NotifyIconA
mov eax, dword [ebx + 0x6b0]
call fcn.00433a98
pop ebx
ret
Function at 0x4060f5
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00408877
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00408877
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0x10
call fcn.00408877
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x40a380
call fcn.00408871
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
je 0x4061ae
mov eax, 0
jmp 0x4062f2
cmp dword [ebp + 0xc], 0
jne 0x4061da
mov dword [ebp - 0x18], esp
mov eax, 0x14
call fcn.0040889b
cmp dword [ebp - 0x18], esp
je 0x4061d7
push 6
call fcn.0040888f
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x406202
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4061fc
push ebx
call fcn.0040886b
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x15
call fcn.0040889b
cmp dword [ebp - 0x18], esp
je 0x40622d
push 6
call fcn.0040888f
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x48a358
mov eax, 0x16
call fcn.0040889b
cmp dword [ebp - 0x18], esp
je 0x406259
push 6
call fcn.0040888f
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x17
call fcn.0040889b
cmp dword [ebp - 0x18], esp
je 0x4062ed
push 6
call fcn.0040888f
add esp, 4
jmp 0x4062f2
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0040886b
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0040886b
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0040886b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x406fc6
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00408877
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00408877
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x407042
mov eax, dword [0x5a02a8]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 2
call fcn.0040889b
cmp dword [ebp - 0x18], esp
je 0x40706e
push 6
call fcn.0040888f
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0x1f
call fcn.0040889b
cmp dword [ebp - 0x18], esp
je 0x40709c
push 6
call fcn.0040888f
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 0x20
call fcn.0040889b
cmp dword [ebp - 0x18], esp
je 0x4070c8
push 6
call fcn.0040888f
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x21
call fcn.0040889b
cmp dword [ebp - 0x18], esp
je 0x407157
push 6
call fcn.0040888f
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 3
call fcn.0040889b
cmp dword [ebp - 0x18], esp
je 0x40717c
push 6
call fcn.0040888f
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x407184
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0040886b
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0040886b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x413c00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4824cb
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.00474e0a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x413c82
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004726f0
mov eax, dword [eax]
push 0x58f244
push eax
call fcn.00465144
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00475095
test bl, bl
je 0x413c82
push 0x58f244
lea ecx, [esp + 0xc]
call fcn.00475471
push 0x592dc4
lea ecx, [esp + 0xc]
call fcn.00475471
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 0x413cbe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00475095
jmp 0x413d89
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 0x413d42
lea edx, [esp + 0x7c]
push 0x592dc0
push edx
call fcn.00465144
add esp, 8
test eax, eax
je 0x413d42
lea eax, [esp + 0x7c]
push 0x592dbc
push eax
call fcn.00465144
add esp, 8
test eax, eax
je 0x413d42
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 0x413cd2
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.00475095
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 0x414580
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 0x4145e2
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 0x4145f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48254b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x59bb8c]
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 0x414728
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x414656
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00475095
xor eax, eax
jmp 0x41479f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047521e
push esi
lea ecx, [esp + 0xc]
call fcn.004754ad
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 0x41477d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00414580
test eax, eax
jne 0x41477d
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.00414580
test eax, eax
jne 0x41477d
lea eax, [esp + 0x14]
push 0x592dd8
push eax
call fcn.004662f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41475c
lea ecx, [esp + 0x14]
push 0x592dd4
push ecx
call fcn.00466270
mov esi, eax
add esp, 8
test esi, esi
jne 0x41475c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41475f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004751ce
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41466e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00475095
xor eax, eax
jmp 0x41479f
mov byte [esi], 0
push 0x592dd0
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.00475095
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