joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e52c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46e595
cmp dword [ebp + 0x10], 1
je 0x46e56d
cmp dword [ebp + 0x10], 2
je 0x46e56d
push 0xd
pop eax
jmp 0x46e595
mov eax, dword [ebp - 4]
test edi, edi
je 0x46e58f
test eax, eax
je 0x46e58a
test al, 1
jne 0x46e568
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x46e58f
jmp 0x46e568
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x46ef49
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov byte [ebp - 1], 1
cmp cl, 0xc
jne 0x46ef96
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
jmp 0x46efbd
shr eax, 2
test al, 1
je 0x46efc6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46eff9
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x46eff8
or byte [esi + 0x58], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov al, byte [ebp - 1]
pop edi
pop esi
leave
ret
Function at 0x470435
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4c8e6c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov esi, ecx
movsx ecx, ax
shr eax, 0x10
mov ebx, dword [ebp + 0x14]
movsx edx, ax
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x1012
push dword [esi + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x47049e
cmp dword [ebp - 0x10], 8
jne 0x47049e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x47049e
push dword [ebp - 0xc]
mov ecx, esi
call fcn.004703a3
mov ecx, dword [ebp - 4]
and dword [ebx], 0
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0049614a
leave
ret 0x10

Function at 0x4716e9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x498d77
call fcn.004961f8
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x471742
call fcn.0046a533
mov esi, eax
jmp 0x471818
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x47175b
call fcn.0046a533
jmp 0x47180a
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x471751
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x471795
mov esi, 0x8007000e
jmp 0x47180c
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0046c63f
mov dword [ebp - 4], 1
jmp 0x4717c3
cmp dword [ebp - 0x418], esi
je 0x47178e
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x471751
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.0046fd0e
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x471831
lea ecx, [ebp - 0x418]
call fcn.0046bd51
lea ecx, [ebp - 0x428]
call fcn.0046bc24
mov eax, esi
call fcn.00496254
ret 0x10
Function at 0x4726a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x4726ad
lea esi, [ecx - 0x24]
jmp 0x4726af
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x4726e3
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x4726d4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4726e9
cmp dword [ebp + 0xc], 0
jne 0x4726e3
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x4726fe
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x24]
call fcn.0047249c
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x473059
Capabilities:
Accept command line arguments

Disassembly:
push 0x430
mov eax, 0x498f32
call fcn.004961c2
lea ecx, [ebp - 0x3f8]
call fcn.00472c5a
xor ebx, ebx
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 4], ebx
call fcn.00471fee
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x404]
push ecx
push eax
mov dword [ebp - 0x404], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x404], 2
mov esi, eax
je 0x4730d4
xor esi, esi
inc esi
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], bl
call fcn.004700a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f8]
call fcn.00472fa3
mov eax, esi
call fcn.00496245
ret
push 0x49e678
push dword [esi + 4]
call dword [sym.imp.MSVCR100.dll_wcscmp]
pop ecx
pop ecx
test eax, eax
jne 0x4730f1
call fcn.0047c7d2
mov esi, eax
jmp 0x4730af
push dword [esi + 4]
lea ecx, [ebp - 0x3fc]
call fcn.0045ffe5
mov byte [ebp - 4], 2
call fcn.00480128
push ebx
lea ecx, [ebp - 0x3fc]
mov esi, eax
call fcn.0045f46b
push eax
mov ecx, esi
call fcn.00480a36
cmp eax, ebx
jne 0x473140
cmp esi, ebx
je 0x47312e
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea ecx, [ebp - 0x3fc]
call fcn.0045ddba
xor esi, esi
jmp 0x4730af
mov ecx, esi
call fcn.0047822e
cmp dword [eax + 0x3c], ebx
jne 0x473225
mov dword [ebp - method.WTL::CMessageLoop.virtual_0], vtable.WTL::CMessageLoop.0
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], ebx
lea eax, [ebp - 0x43c]
mov edi, 0x4c93f8
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0046e414
mov ecx, esi
call fcn.0047822e
push ebx
push ebx
cmp dword [eax + 0x54], ebx
jne 0x4731e4
lea ecx, [ebp - 0x3f8]
call fcn.0046fc10
test eax, eax
jne 0x4731f1
cmp esi, ebx
je 0x4731be
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea ecx, [ebp - 0x42c]
call fcn.0046a5e5
lea ecx, [ebp - 0x438]
call fcn.0046a5c7
lea ecx, [ebp - 0x3fc]
call fcn.0045ddba
jmp 0x4730ac
lea ecx, [ebp - 0x1f0]
call fcn.0046fcbb
jmp 0x4731ae
lea ecx, [ebp - 0x43c]
call fcn.0046acfe
mov ecx, edi
mov dword [ebp - 0x400], eax
call fcn.0046fe6c
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 2
call fcn.0046a5e5
lea ecx, [ebp - 0x438]
call fcn.0046a5c7
jmp 0x473240
mov ecx, esi
call fcn.00480bd9
mov ecx, esi
call fcn.00478250
mov ecx, esi
call fcn.00478242
mov dword [ebp - 0x400], eax
cmp esi, ebx
je 0x47324c
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea ecx, [ebp - 0x3fc]
call fcn.0045ddba
mov esi, dword [ebp - 0x400]
jmp 0x4730af
Function at 0x473638
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c8e6c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x118], 0x114
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x47369b
cmp dword [ebp - 0x114], 5
jae 0x473697
cmp dword [ebp - 0x114], 4
jne 0x47369b
cmp dword [ebp - 0x110], 0x5a
jb 0x47369b
xor eax, eax
jmp 0x47369e
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049614a
leave
ret

Function at 0x474b25
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [eax + 0xc]
push edi
mov edi, ecx
call fcn.00480128
mov ecx, eax
call fcn.0047822e
test esi, esi
js 0x474b85
push esi
push dword [edi + 0x458]
mov ecx, eax
call fcn.0046301e
mov ecx, eax
call fcn.004644c3
test eax, eax
je 0x474b85
add eax, 4
push eax
lea ecx, [ebp + 0xc]
call fcn.0045e829
push 1
push 0
push 0
push dword [ebp + 0xc]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 0xc]
call fcn.0045ddba
pop edi
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x474c91
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
call fcn.00480128
mov ecx, eax
call fcn.0047822e
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x10], eax
xor eax, eax
push eax
push eax
mov ebx, 0x1004
push ebx
push dword [esi + 0x44]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call edi
test eax, eax
jle 0x474d47
push 2
push dword [ebp - 4]
push 0x102c
push dword [esi + 0x44]
call edi
test eax, eax
je 0x474cea
mov eax, dword [ebp - 4]
inc dword [ebp - 8]
mov dword [ebp - 0xc], eax
inc dword [ebp - 4]
push 0
push 0
push ebx
push dword [esi + 0x44]
call edi
cmp dword [ebp - 4], eax
jl 0x474cce
cmp dword [ebp - 8], 1
jne 0x474d47
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
push dword [esi + 0x458]
call fcn.0046301e
mov ecx, eax
call fcn.004644c3
xor esi, esi
cmp eax, esi
je 0x474d47
add eax, 4
push eax
lea ecx, [ebp - 0xc]
call fcn.0045e829
push 1
push esi
push esi
push dword [ebp - 0xc]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xc]
call fcn.0045ddba
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x4762b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
neg ebx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
sbb ebx, ebx
and ebx, 5
mov esi, ecx
push ebx
push dword [esi + 0x100]
call edi
push ebx
push dword [esi + 0x104]
call edi
push ebx
push dword [esi + 0x108]
call edi
push ebx
push dword [esi + 0x10c]
call edi
push ebx
push dword [esi + 0xfc]
call edi
lea ecx, [esi + 0x18c]
call fcn.0047619b
cmp dword [ebp + 8], 0
je 0x47631c
push 0
push dword [esi + 0xa4]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [esi + 0x104]
jmp 0x476322
push dword [esi + 0x17c]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x476f3a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x476f47
lea esi, [ecx - 0x20]
jmp 0x476f49
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x476f7d
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x476f6e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x476f83
cmp dword [ebp + 0xc], 0
jne 0x476f7d
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x476f98
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x20]
call fcn.00476d36
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x477582
Capabilities:
Get graphical window text

Disassembly:
push 0x814
mov eax, 0x4994e8
call fcn.004961c2
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
mov ebx, ecx
call sub.MSVCR100.dll_memset
mov eax, dword [0x4c8014]
add esp, 0xc
mov dword [ebp - 0x814], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x818], eax
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, 0x400
push edi
lea eax, [ebp - 0x810]
push eax
push dword [ebx + 0x104]
mov byte [ebp - 4], 1
call esi
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x814]
call fcn.0045e612
push edi
lea eax, [ebp - 0x810]
push eax
push dword [ebx + 0x10c]
call esi
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x818]
call fcn.0045e612
call fcn.00480128
push ecx
mov esi, eax
lea eax, [ebp - 0x818]
mov ecx, esp
mov dword [ebp - 0x81c], esp
push eax
call fcn.0045e829
push ecx
lea eax, [ebp - 0x814]
mov ecx, esp
mov dword [ebp - 0x820], esp
push eax
mov byte [ebp - 4], 2
call fcn.0045e829
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0047822e
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00465ca2
lea ecx, [ebp - 0x818]
call fcn.0045ddba
lea ecx, [ebp - 0x814]
call fcn.0045ddba
xor eax, eax
call fcn.00496245
ret 0x10
Function at 0x477684
Capabilities:
Get graphical window text

Disassembly:
push 0x820
mov eax, 0x499552
call fcn.004961c2
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
mov esi, ecx
call sub.MSVCR100.dll_memset
mov eax, dword [0x4c8014]
add esp, 0xc
mov dword [ebp - 0x814], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x818], eax
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, 0x400
push ebx
lea eax, [ebp - 0x810]
push eax
push dword [esi + 0x104]
mov byte [ebp - 4], 1
call edi
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x814]
call fcn.0045e612
push ebx
lea eax, [ebp - 0x810]
push eax
push dword [esi + 0x10c]
call edi
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x818]
call fcn.0045e612
call fcn.00480128
push ecx
mov ebx, eax
lea eax, [ebp - 0x818]
mov ecx, esp
mov dword [ebp - 0x824], esp
push eax
call fcn.0045e829
push ecx
lea eax, [ebp - 0x814]
mov ecx, esp
mov dword [ebp - 0x820], esp
push eax
mov byte [ebp - 4], 2
call fcn.0045e829
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0047822e
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00465ca2
xor edi, edi
cmp eax, edi
jne 0x477832
push str.RTLReading
push 0x49e944
lea eax, [ebp - 0x81c]
push eax
mov ecx, ebx
mov dword [ebp - 0x828], edi
call fcn.00478c9a
push 0x49e940
push dword [ebp - 0x81c]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCR100.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x4777b3
mov dword [ebp - 0x828], 0x100000
push str.InvalidEmailCaption
mov edi, str.MainDlg
push edi
lea eax, [ebp - 0x824]
push eax
mov ecx, ebx
call fcn.00478c9a
mov dword [ebp - 0x82c], eax
push str.InvalidEmailText
push edi
lea eax, [ebp - 0x820]
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.00478c9a
push dword [ebp - 0x828]
mov ecx, dword [ebp - 0x82c]
push dword [ecx]
push dword [eax]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x820]
call fcn.0045ddba
lea ecx, [ebp - 0x824]
call fcn.0045ddba
push dword [esi + 0x104]
call dword [sym.imp.USER32.dll_SetFocus]
lea ecx, [ebp - 0x81c]
call fcn.0045ddba
jmp 0x47785d
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
mov ecx, esi
push 1
call fcn.00475f49
push 1
push edi
lea ecx, [esi + 0x1b0]
call fcn.0048ae3d
mov ecx, ebx
call fcn.00480bd9
lea ecx, [ebp - 0x818]
call fcn.0045ddba
lea ecx, [ebp - 0x814]
call fcn.0045ddba
xor eax, eax
call fcn.00496245
ret 0x10
Function at 0x479ccd
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4c8e6c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
push eax
xor edi, edi
push 0x28
mov esi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x479d21
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.SetDumpPrivileges:_Could_not_get_the_process_token
call fcn.0045ffe5
lea ecx, [esi + 0x438]
call fcn.00461a7e
jmp 0x479d79
lea eax, [ebp - 0x10]
push eax
xor ebx, ebx
push str.SeDebugPrivilege
inc ebx
push edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x479d4a
push ebx
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.SetDumpPrivileges:_Couldnt_lookup_SeDebugPrivilege_name
jmp 0x479d0f
push edi
push edi
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x479d76
push ebx
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.SetDumpPrivileges:_Could_not_revoke_the_debug_privilege
jmp 0x479d0f
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x18], edi
je 0x479d87
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049614a
leave
ret
Function at 0x47b0a4
Capabilities:
Read file on windows

Disassembly:
push 0x278
mov eax, 0x49997e
call fcn.004961c2
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x280], ebx
call fcn.00460045
push 0x4bc86c
push ebx
lea ecx, [ebp + 8]
call fcn.0045f46b
push eax
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.MSVCR100.dll__wfopen_s]
add esp, 0xc
cmp dword [ebp - 0x280], ebx
jne 0x47b104
or ebx, 0xffffffff
lea ecx, [ebp + 8]
call fcn.0045ddba
mov eax, ebx
call fcn.00496245
ret 8
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x279]
call fcn.004899a2
mov esi, dword [sym.imp.MSVCR100.dll_feof]
jmp 0x47b153
push 0x200
lea eax, [ebp - 0x220]
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, ebx
jbe 0x47b153
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x279]
call fcn.0048a183
push dword [ebp - 0x280]
call esi
pop ecx
push dword [ebp - 0x280]
test eax, eax
je 0x47b11e
call dword [sym.imp.MSVCR100.dll_fclose]
pop ecx
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x279]
call fcn.0048a22a
xor esi, esi
mov eax, dword [0x4c8014]
mov dword [ebp - 0x284], eax
movzx eax, byte [ebp + esi - 0x20]
push eax
lea eax, [ebp - 0x284]
push str._02x
push eax
mov byte [ebp - 4], 1
call fcn.00460165
mov eax, dword [ebp - 0x284]
add esp, 0xc
push eax
push dword [eax - 8]
mov ecx, edi
call fcn.0045f2c7
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], bl
call fcn.0045ddba
inc esi
cmp esi, 0x10
jl 0x47b185
jmp 0x47b0f2
Function at 0x47c7d2
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0x238
mov eax, 0x499c77
call fcn.004961c2
mov eax, dword [0x4c8014]
mov dword [ebp - 0x240], eax
and dword [ebp - 4], 0
push 0x57a
lea eax, [ebp - 0x240]
push str.CrashSender_d.exe
push eax
call fcn.00460165
add esp, 0xc
push 0
push 2
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [ebp - 0x23c]
push ecx
push eax
mov dword [ebp - 0x244], eax
call sub.KERNEL32.dll_Process32FirstW
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
jne 0x47c898
jmp 0x47c881
push dword [ebp - 0x240]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x47c881
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x234], eax
je 0x47c881
push dword [ebp - 0x234]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call esi
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x244]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x47c83c
push dword [ebp - 0x244]
call esi
lea ecx, [ebp - 0x240]
call fcn.0045ddba
xor eax, eax
call fcn.00496245
ret
Function at 0x47f242
Capabilities:
Enumerate files on windows

Disassembly:
push 0x284
mov eax, 0x49a25d
call fcn.004961c2
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x278], eax
mov eax, dword [0x4c8014]
mov ebx, ecx
mov dword [ebp - 0x268], eax
push dword [edi + 4]
and dword [ebp - 4], 0
lea eax, [ebp - 0x268]
push str.Looking_for_files_using_search_template:__s
push eax
call fcn.00460165
add esp, 0xc
push 1
push 0
push ecx
lea eax, [ebp - 0x268]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push eax
call fcn.0045e829
lea ecx, [ebx + 0x438]
mov dword [ebp - 0x274], ecx
call fcn.00461a7e
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp eax, 0xffffffff
jne 0x47f303
push 1
xor esi, esi
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x278], esp
push str.Could_not_find_any_files_matching_the_search_template.
call fcn.0045ffe5
mov ecx, dword [ebp - 0x274]
call fcn.00461a7e
lea ecx, [ebp - 0x268]
call fcn.0045ddba
mov eax, esi
call fcn.00496245
ret 8
push 0x5c
lea ecx, [edi + 4]
call fcn.0045f1ca
push eax
push 0
lea eax, [ebp - 0x26c]
push eax
lea ecx, [edi + 4]
call fcn.00460063
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x274]
call fcn.00461490
test al, al
jne 0x47f41a
test byte [ebp - 0x260], 0x10
jne 0x47f3ff
push 0x49da74
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00460179
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 2
call fcn.0045f443
lea ecx, [ebp - 0x290]
call fcn.00463da4
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 3
call fcn.0045f9b8
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x290]
call fcn.0045e612
lea eax, [edi + 8]
push eax
lea ecx, [ebp - 0x288]
call fcn.0045f9b8
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x278]
mov dword [ebp - 0x284], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x290]
push eax
call fcn.00475539
lea eax, [ebp - 0x290]
push eax
mov ecx, ebx
call fcn.0047ad7a
lea ecx, [ebp - 0x290]
call fcn.00463869
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.0045ddba
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47f323
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x26c]
call fcn.0045ddba
xor esi, esi
inc esi
jmp 0x47f2ee