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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x230
mov edi, edx
mov esi, ecx
mov eax, dword [0x4ce6a8]
xor eax, ebp
mov dword [esp + 0x228], eax
lea eax, [esp + 0x20]
push 0x208
push 0xff
push eax
call fcn.0044a900
add esp, 0xc
mov dword [esp + 0xc], 0x104
lea eax, [esp + 8]
mov dword [eax], 0xffffffff
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
sub ecx, edi
push eax
push 0x20219
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x402048
lea eax, [esp + 0xc]
push eax
lea edi, [esp + 0x24]
push edi
push ebx
push ebx
push str.EBWebView
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x402046
cmp dword [esp + 0xc], 3
mov ebx, 0
jb 0x402048
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.004022ae
mov ecx, esi
call fcn.0040245e
push 0x5c
push eax
call fcn.0044b73b
add esp, 8
test eax, eax
je 0x402046
mov edi, eax
add edi, 2
pcmpeqd xmm0, xmm0
lea edx, [esp + 0x10]
movdqa xmmword [edx], xmm0
mov ecx, edi
call fcn.00401df8
test al, al
je 0x402046
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x402037
push edi
call fcn.004022ae
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.00402060
mov ebx, eax
jmp 0x402048
xor ebx, ebx
mov ecx, dword [esp + 0x228]
xor ecx, ebp
call fcn.00447cbd
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402060
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
xor eax, eax
mov edx, dword [eax + 0x483918]
cmp dword [ecx + eax], edx
ja 0x40207e
jb 0x402089
add eax, 4
cmp eax, 0x10
jne 0x402069
push esi
call fcn.0040104a
add esp, 4
jmp 0x4020a9
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.Loader_skipped_an_incompatible_version:
call edi
mov ecx, esi
call fcn.0040245e
push eax
call edi
push 0x48397a
call edi
xor eax, eax
pop esi
pop edi
pop ebp
ret
Function at 0x40298e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, edx
mov edi, ecx
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x4ce6a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x402a09
mov dword [ebp - 0x1c], ecx
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
lea edx, [ebp - 0x18]
mov dword [edx], 4
push edx
push ecx
push eax
push 0x10
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x402a23
mov ecx, edi
mov edx, esi
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
push esi
call fcn.00402a4d
add esp, 8
test al, al
je 0x402a33
mov eax, dword [esi]
test eax, eax
je 0x402a49
push 0xa
push 0
push eax
call fcn.00457880
add esp, 0xc
cmp eax, 1
jmp 0x402a27
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447cbd
mov ecx, edi
mov edx, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00402a4d
cmp dword [ebp - 0x14], 1
sete al
movzx eax, al
mov dword [ebx], eax
mov bl, 1
jmp 0x402a35
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447cbd
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x402a2a

Function at 0x402a4d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x214
mov edi, edx
mov dword [ebp - 0x220], ecx
mov eax, dword [0x4ce6a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea esi, [ebp - 0x218]
push 0x208
push ebx
push esi
call fcn.0044a900
add esp, 0xc
lea eax, [ebp - 0x21c]
mov dword [eax], 0x104
push eax
push esi
push ebx
push 2
push edi
push ebx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test eax, eax
jne 0x402ac4
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, edi
lea eax, [ebp - 0x218]
push eax
call fcn.004022ae
mov ecx, edi
call fcn.0040245e
mov dword [ebx], eax
test esi, esi
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447cbd
mov eax, ebx
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402b6c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x4ce6a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x402bca
mov edi, eax
push str.CreateWebViewEnvironmentWithOptionsInternal
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402c3c
mov ecx, eax
mov esi, dword [ebp + 0x1c]
mov bl, byte [ebp + 0xc]
call dword [0x470480]
movzx eax, bl
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call ecx
mov esi, eax
mov dword [ebp - 0x14], eax
jmp 0x402ca7
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea ebx, [ebp - 0x14]
mov dword [ebx], esi
xor eax, eax
dec eax
lea edi, [ebp - 0x20]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.004021c4
push edi
push 1
push 4
push ebx
call fcn.00402ae0
add esp, 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.WebView2:_CoreWebView2Environment_failed_when_trying_to_LoadLibrary:_hr0x
call ebx
mov ecx, edi
call fcn.0040245e
push eax
call ebx
push str._path
call ebx
push dword [ebp + 8]
call ebx
push 0x48397a
call ebx
mov ecx, edi
call fcn.004021d6
jmp 0x402cbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea eax, [ebp - 0x14]
mov dword [eax], esi
xor eax, eax
dec eax
lea ebx, [ebp - 0x20]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov ecx, ebx
call fcn.004021c4
push ebx
push 1
push 4
lea eax, [ebp - 0x14]
push eax
call fcn.00402ae0
add esp, 0x10
push str.WebView2:_CoreWebView2Environment_failed_when_trying_to_call_into_EmbeddedBrowserWebView.dll._hr0x
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, ebx
call fcn.0040245e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x48397a
call eax
mov ecx, ebx
call fcn.004021d6
push str.DllCanUnloadNow
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402cbe
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447cbd
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403700
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c460
mov eax, dword fs:[0]
push eax
mov eax, 0x1464
call fcn.00447f50
push esi
push edi
mov eax, dword [0x4ce6a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x141c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1418], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1420], eax
mov esi, dword [ebp + 0x20]
xor eax, eax
push esi
mov dword [ebp - 4], 0
mov word [ebp - 0x140c], ax
mov byte [ebp - 0x40c], al
call fcn.004060c0
add esp, 4
mov dword [ebp - 0x1414], eax
mov dword [ebp - 0x1470], 3
mov ecx, 1
mov dword [ebp - 0x146c], esi
lock xadd dword [0x4d728c], ecx
inc ecx
mov dword [ebp - 0x1468], ecx
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x4037b4
cmp word [ecx], 0
mov dword [ebp - 0x1464], ecx
jne 0x4037be
mov dword [ebp - 0x1464], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x1460], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1410]
mov dword [ebp - 0x1454], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1450], eax
mov eax, dword [ebp - 0x1414]
mov dword [ebp - 0x144c], eax
mov eax, dword [ebp - 0x1418]
mov dword [ebp - 0x145c], eax
mov eax, dword [ebp - 0x141c]
mov dword [ebp - 0x1458], eax
mov eax, dword [ebp - 0x1420]
mov dword [ebp - 0x1428], eax
mov eax, dword [0x4d71ec]
mov dword [ebp - 0x1424], edi
movq qword [ebp - 0x1438], xmm0
mov dword [ebp - 0x1430], 0
movups xmmword [ebp - 0x1448], xmm0
test eax, eax
je 0x403844
call eax
mov dword [ebp - 0x142c], eax
jmp 0x40384e
mov dword [ebp - 0x142c], 0
mov eax, dword [0x4d71e4]
test eax, eax
je 0x40386c
push 0x400
lea ecx, [ebp - 0x40c]
push ecx
lea ecx, [ebp - 0x1470]
push ecx
call eax
mov eax, dword [0x4d71e8]
test eax, eax
je 0x40387e
lea ecx, [ebp - 0x1470]
push ecx
call eax
mov eax, dword [0x4d7220]
test eax, eax
je 0x403890
lea ecx, [ebp - 0x1470]
push ecx
call eax
mov eax, dword [ebp - 0x146c]
mov ecx, 0x8000ffff
test eax, eax
cmovns eax, ecx
cmp byte [0x4d72b0], 0
mov dword [ebp - 0x146c], eax
jne 0x4038cf
mov eax, dword [0x4d72ac]
test eax, eax
je 0x4038bf
call eax
movzx eax, al
jmp 0x4038cb
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x4038d8
cmp byte [0x49b004], 0
jne 0x4038f9
mov eax, dword [0x4d72a8]
test eax, eax
je 0x403952
cmp byte [0x4d72c0], 0
jne 0x403952
push 0
push 0
lea ecx, [ebp - 0x1470]
push ecx
call eax
jmp 0x403952
mov eax, dword [0x4d72a8]
test eax, eax
je 0x403920
cmp byte [0x4d72c0], 0
jne 0x403920
push 0x800
lea ecx, [ebp - 0x140c]
push ecx
lea ecx, [ebp - 0x1470]
push ecx
call eax
cmp word [ebp - 0x140c], 0
jne 0x403945
lea eax, [ebp - 0x1470]
push eax
lea eax, [ebp - 0x140c]
push 0x800
push eax
call fcn.00405420
add esp, 0xc
lea eax, [ebp - 0x140c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x4d72b8], 0
je 0x403966
mov eax, dword [0x4d71f4]
test eax, eax
je 0x403966
call eax
lea eax, [ebp - 0x1470]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.004077e0
int3
Function at 0x404720
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
movups xmm0, xmmword [0x49b040]
sub esp, 0xc
mov ecx, 0x400
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov esi, 0x49b088
movups xmmword [ebx], xmm0
lea edi, [ebx + 0x48]
movups xmm0, xmmword [0x49b050]
movups xmmword [ebx + 0x10], xmm0
movups xmm0, xmmword [0x49b060]
movups xmmword [ebx + 0x20], xmm0
movups xmm0, xmmword [0x49b070]
movups xmmword [ebx + 0x30], xmm0
movq xmm0, qword [0x49b080]
movq qword [ebx + 0x40], xmm0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
xor esi, esi
xor edi, edi
nop word [eax + eax]
lea eax, [esi + 1]
mov ebx, dword [ebp + 8]
cdq
idiv ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [edx + eax]
movzx eax, byte [esi + eax]
shl eax, 8
or ecx, eax
lea eax, [esi + 2]
cdq
idiv dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [edx + ebx]
or ecx, eax
lea eax, [esi + 3]
cdq
idiv dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [edx + ebx]
mov ebx, dword [ebp + 0x10]
or ecx, eax
lea eax, [esi + 4]
cdq
xor dword [ebx + edi*4], ecx
inc edi
mov ecx, dword [ebp + 0xc]
idiv ecx
mov esi, edx
cmp edi, 0x12
jl 0x404780
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 8], 0
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00404c60
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebx + esi*4], eax
mov eax, dword [ebp - 8]
mov dword [ebx + esi*4 + 4], eax
add esi, 2
cmp esi, 0x12
jl 0x4047e0
lea esi, [ebx + 0x4c]
mov dword [ebp - 0xc], 4
mov edi, 0x80
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00404c60
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [esi - 4], eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
add esi, 8
sub edi, 1
jne 0x404815
sub dword [ebp - 0xc], 1
jne 0x404810
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x4ce6a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x814], eax
mov eax, dword [ebp + 0xc]
push 0x47092c
mov dword [ebp - 0x818], eax
lea eax, [ebp - 0x804]
push 0x400
push eax
mov dword [ebp - 0x81c], ecx
call fcn.0044db48
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
push 0x20019
push 0
push 0x470940
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x407b43
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x80c], 0x400
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407b3b
cmp dword [ebp - 0x80c], 1
jbe 0x407b3b
push dword [ebp - 0x808]
call esi
jmp 0x407bd1
push dword [ebp - 0x808]
call esi
lea eax, [ebp - 0x808]
push eax
push 0x20019
push 0
push 0x470960
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407bb8
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x80c], 0x400
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407bb0
cmp dword [ebp - 0x80c], 1
jbe 0x407bb0
push dword [ebp - 0x808]
call esi
jmp 0x407bd1
push dword [ebp - 0x808]
call esi
push 0x4709a4
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0044db48
add esp, 0xc
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
pop esi
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407be0
sub ecx, edx
mov dword [ebp - 0x80c], ecx
cmp byte [ebp + ecx - 0x405], 0x5c
je 0x407c12
push 0x470860
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0044dba2
add esp, 0xc
push dword [ebp - 0x814]
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0044dba2
push 0x470860
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0044dba2
push dword [ebp - 0x818]
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0044dba2
push 0x4709c8
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0044dba2
mov ecx, dword [ebp - 0x81c]
lea eax, [ebp - 0x404]
add esp, 0x30
push eax
call fcn.00407ca0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447cbd
mov esp, ebp
pop ebp
ret 8
Function at 0x407ca0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4ce6a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x144]
push esi
push edi
push ecx
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x407cfd
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [ebp - 0x144], 0x10
je 0x407cf0
lea eax, [ebp - 0x144]
push eax
push esi
call ebx
cmp eax, 1
je 0x407cd6
jmp 0x407cf5
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00447cbd
mov esp, ebp
pop ebp
ret 4

Function at 0x408330
Capabilities:
Open clipboard
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push 0x470a1c
push SysReAllocString
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push 0x470a3c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x470a3c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4084b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push 0x470a1c
push SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 4
push esi
push 4
push 0
push 0x470a3c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408a10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c75d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4ce6a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
push 0x10000
push 0
push 0x40a160
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, dword [ebp - 0x10]
xor esi, esi
mov dword [ebp - 0x14], eax
mov eax, dword [0x51efd4]
mov ecx, eax
mov dword [ebp - 0x18], eax
mov edi, dword [eax + 4]
cmp byte [edi + 0xd], 0
jne 0x408a8d
mov eax, edi
nop
mov edi, eax
cmp dword [eax + 0x10], ebx
jae 0x408a7e
mov eax, dword [eax + 8]
xor esi, esi
jmp 0x408a87
mov ecx, eax
mov esi, 1
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x408a70
cmp byte [ecx + 0xd], 0
jne 0x408a98
cmp ebx, dword [ecx + 0x10]
jae 0x408aea
cmp dword [0x51efd8], 0xaaaaaaa
je 0x408afc
mov dword [ebp - 0x20], 0x51efd4
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.00447f7b
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x10], ebx
mov dword [eax], ecx
push eax
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, 0x51efd4
push esi
push edi
mov word [eax + 0xc], 0
call fcn.0040a210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0040a440
int3
Function at 0x4094d0
Capabilities:
Create directory
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x4ce6a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0x61c]
push edi
mov edi, dword [ebp + 8]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040a640
add esp, 0xc
xor eax, eax
movzx ecx, word [ebp + eax - 0x414]
lea eax, [eax + 2]
mov word [ebp + eax - 0x20e], cx
test cx, cx
jne 0x409524
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push esi
mov esi, dword [ebp + 0xc]
push esi
push edi
call fcn.00456be4
push 0x4712dc
push esi
push edi
call fcn.0044dad3
lea eax, [ebp - 0x20c]
push eax
push esi
push edi
call fcn.0044dad3
add esp, 0x24
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x4712dc
push esi
push edi
call fcn.0044dad3
add esp, 0xc
mov ecx, 0x51efe8
push edi
call fcn.00411ea0
lea eax, [ebp - 0x414]
push eax
push esi
push edi
call fcn.0044dad3
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x47232c
push 0xb0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push edi
mov dword [ebp - 0x620], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x40961e
push 0
lea eax, [ebp - 0x624]
push eax
push dword [ebp - 0x620]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447cbd
mov esp, ebp
pop ebp
ret
Function at 0x409a90
Capabilities:
Delete registry value

Disassembly:
cmp dword [0x51f418], 0
je 0x409b09
push ebx
mov ebx, dword [0x551858]
push esi
push edi
push 0
push 0
push 0xffffffffffffffff
push 0x4714ec
push 0
push 3
mov dword [0x551410], 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
lea ecx, [edi - 1]
push ecx
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
je 0x409af5
push edi
push esi
push 0xffffffffffffffff
push 0x4714ec
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x409af5
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor esi, esi
mov eax, dword [ebx]
push esi
push ebx
call dword [eax + 0x14]
mov ecx, 0x51eff8
call fcn.00413df0
pop edi
pop esi
pop ebx
push 0
push 0
push 2
push 4
push 0x471ebc
mov ecx, 0x51eff8
call fcn.00417510
cmp dword [0x51f418], 0
je 0x409b70
push 0x471ed8
push 1
push dword [0x50c768]
call fcn.00444090
add esp, 0xc
mov ecx, 0x51eff8
push 0x471ef8
push 0x471fac
call fcn.0041b620
mov dword [0x52e298], 9
mov ecx, 0x51eff8
mov dword [0x50e0a0], 1
jmp fcn.004139d0
push str.Shutdown__System_:_Hotkey_ViolationURL_
push 1
push dword [0x50c768]
call fcn.00444090
add esp, 0xc
ret
Function at 0x409fc0
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4ce6a8]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 0x7c], 1
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x409ff8
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447cbd
mov esp, ebp
pop ebp
ret
push ebx
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, eax
cmp edi, ebx
je 0x40a136
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 3
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x40a136
test ebx, ebx
jne 0x40a04b
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov ebx, eax
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push ebx
call esi
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
push edi
call esi
push 1
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x84], eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esi, dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
call esi
test eax, eax
jne 0x40a11f
push 0x70
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0044a900
add esp, 0xc
mov dword [ebp - 0x20], 1
mov eax, 0x12
mov dword [ebp - 0x3c], 1
mov word [ebp - 0x1c], ax
mov word [ebp - 0x38], ax
mov word [ebp - 0x54], ax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x74]
push 0x1c
push eax
push 4
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x50], 3
call dword [sym.imp.USER32.dll_SendInput]
push edi
call esi
test eax, eax
jne 0x40a11f
push 0x13
push eax
push eax
push eax
push eax
push 1
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebp - 0x80], 0
je 0x40a112
push 6
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call esi
neg eax
sbb eax, eax
and eax, 1
mov dword [ebp - 0x7c], eax
push 0
push dword [ebp - 0x84]
push dword [ebp - 0x78]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x40a145
push 9
jmp 0x40a147
push 5
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
pop ebx
pop edi
call fcn.00447cbd
mov esp, ebp
pop ebp
ret
Function at 0x40e950
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
pop ebp
ret