joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x5b6c5512
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6c101172
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414fb0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x41515a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x2c
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x41
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x63
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x17
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe0
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x3a
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xd0
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xcb
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x5a
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xad
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x13
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb8
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xf7
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x47
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc2
add esp, 0x30
inc esi
cmp esi, edi
jb 0x414fd0
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x453329
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45333a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405920
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c7e2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c7f3
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c6c9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe9
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c81b
push ebx
push esi
push edi
call fcn.00405713
add esp, 0xc
push 0
call fcn.00406262
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x412e87
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
nop dword [eax]
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x36
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x79
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x15
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x9a
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xba
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xa8
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xfd
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x75
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xe7
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x45
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x1e
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x62
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x76
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xbc
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xe4
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x81
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x70
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x87
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x96
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xa8
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x90
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xc9
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xdb
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x45
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x56
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xf6
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x80
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x7f
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xf6
inc edi
cmp edi, ebx
jb 0x412d20
pop esi
pop ebp
pop edi
pop ebx
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451c59
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451c6a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405902
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b112
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b123
pop esi
ret
push ebx
push edi
push esi
call fcn.0049aff9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fd5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b14b
push ebx
push esi
push edi
call fcn.004056f5
add esp, 0xc
push 0
call fcn.0040623f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x40104a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push 0x48e1c0
call fcn.0040237e
mov ecx, esi
push str.EBWebViewx86EmbeddedBrowserWebView.dll
call fcn.0040237e
mov ecx, esi
call fcn.0040245e
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop esi
pop ebp
ret

Function at 0x401125
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [ebp + 0xc]
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, esi
push 0x104
call fcn.00402236
mov ecx, esi
push dword [ebp + 8]
call fcn.004022ae
mov ecx, esi
call fcn.0040245e
mov edi, eax
mov ecx, esi
call fcn.0040244a
cmp eax, 3
jb 0x40119b
movzx eax, word [edi + 2]
cmp ax, 0x3a
jne 0x40118b
cmp word [edi + 4], 0x5c
jne 0x40119b
movzx eax, word [edi]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
jae 0x40119b
jmp 0x401229
cmp word [edi], 0x5c
jne 0x40119b
cmp ax, 0x5c
je 0x401229
xor eax, eax
dec eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.004021c4
push edi
push 0
call fcn.00401080
add esp, 8
test eax, eax
js 0x401261
lea edi, [ebp - 0x1c]
mov ecx, edi
call fcn.0040244a
mov ebx, eax
mov ecx, edi
call fcn.0040245e
mov ecx, esi
push ebx
push eax
call fcn.004022d8
mov ecx, edi
call fcn.0040245e
push 0x5c
push eax
call fcn.00450f2b
add esp, 8
test eax, eax
je 0x401270
mov ebx, eax
lea edi, [ebp - 0x1c]
mov ecx, edi
call fcn.0040245e
sub ebx, eax
add ebx, 2
sar ebx, 1
mov ecx, edi
call fcn.0040245e
mov ecx, esi
push ebx
push eax
call fcn.004022d8
mov ecx, esi
push dword [ebp + 8]
call fcn.0040237e
mov ecx, edi
call fcn.004021d6
xor edi, edi
push esi
call fcn.0040104a
add esp, 4
test al, al
jne 0x40127d
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.WebView2:_Failed_to_find_the_WebView2_client_dll_at:
call edi
mov ecx, esi
call fcn.0040245e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x48e226
call edi
mov edi, 0x80070002
jmp 0x40127d
mov edi, eax
push str.WebView2:_Failed_to_find_the_app_exe_path._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x401275
mov edi, 0x80004005
lea ecx, [ebp - 0x1c]
call fcn.004021d6
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d06d
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
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 [0x4d9770]
xor eax, ebp
mov dword [esp + 0x228], eax
lea eax, [esp + 0x20]
push 0x208
push 0xff
push eax
call fcn.004500f0
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.00450f2b
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.0044d06d
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 + 0x48e588]
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 0x48e5ea
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 [0x4d9770]
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.0045f193
add esp, 0xc
cmp eax, 1
jmp 0x402a27
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d06d
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.0044d06d
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 [0x4d9770]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea esi, [ebp - 0x218]
push 0x208
push ebx
push esi
call fcn.004500f0
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.0044d06d
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 [0x4d9770]
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 [0x47847c]
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 0x48e5ea
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 0x48e5ea
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.0044d06d
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4039e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474590
mov eax, dword fs:[0]
push eax
mov eax, 0x1464
call fcn.0044d300
push esi
push edi
mov eax, dword [0x4d9770]
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.004063a0
add esp, 4
mov dword [ebp - 0x1414], eax
mov dword [ebp - 0x1470], 3
mov ecx, 1
mov dword [ebp - 0x146c], esi
lock xadd dword [0x4e295c], ecx
inc ecx
mov dword [ebp - 0x1468], ecx
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x403a94
cmp word [ecx], 0
mov dword [ebp - 0x1464], ecx
jne 0x403a9e
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 [0x4e28b8]
mov dword [ebp - 0x1424], edi
movq qword [ebp - 0x1438], xmm0
mov dword [ebp - 0x1430], 0
movups xmmword [ebp - 0x1448], xmm0
test eax, eax
je 0x403b24
call eax
mov dword [ebp - 0x142c], eax
jmp 0x403b2e
mov dword [ebp - 0x142c], 0
mov eax, dword [0x4e28b0]
test eax, eax
je 0x403b4c
push 0x400
lea ecx, [ebp - 0x40c]
push ecx
lea ecx, [ebp - 0x1470]
push ecx
call eax
mov eax, dword [0x4e28b4]
test eax, eax
je 0x403b5e
lea ecx, [ebp - 0x1470]
push ecx
call eax
mov eax, dword [0x4e28ec]
test eax, eax
je 0x403b70
lea ecx, [ebp - 0x1470]
push ecx
call eax
mov eax, dword [ebp - 0x146c]
mov ecx, 0x8000ffff
test eax, eax
cmovns eax, ecx
cmp byte [0x4e2898], 0
mov dword [ebp - 0x146c], eax
jne 0x403baf
mov eax, dword [0x4e2894]
test eax, eax
je 0x403b9f
call eax
movzx eax, al
jmp 0x403bab
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x403bb8
cmp byte [0x4a6004], 0
jne 0x403bd9
mov eax, dword [0x4e2890]
test eax, eax
je 0x403c32
cmp byte [0x4e28a8], 0
jne 0x403c32
push 0
push 0
lea ecx, [ebp - 0x1470]
push ecx
call eax
jmp 0x403c32
mov eax, dword [0x4e2890]
test eax, eax
je 0x403c00
cmp byte [0x4e28a8], 0
jne 0x403c00
push 0x800
lea ecx, [ebp - 0x140c]
push ecx
lea ecx, [ebp - 0x1470]
push ecx
call eax
cmp word [ebp - 0x140c], 0
jne 0x403c25
lea eax, [ebp - 0x1470]
push eax
lea eax, [ebp - 0x140c]
push 0x800
push eax
call fcn.00405700
add esp, 0xc
lea eax, [ebp - 0x140c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x4e28a0], 0
je 0x403c46
mov eax, dword [0x4e28c0]
test eax, eax
je 0x403c46
call eax
lea eax, [ebp - 0x1470]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00407ac0
int3
Function at 0x404a00
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
movups xmm0, xmmword [0x4a6040]
sub esp, 0xc
mov ecx, 0x400
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov esi, 0x4a6088
movups xmmword [ebx], xmm0
lea edi, [ebx + 0x48]
movups xmm0, xmmword [0x4a6050]
movups xmmword [ebx + 0x10], xmm0
movups xmm0, xmmword [0x4a6060]
movups xmmword [ebx + 0x20], xmm0
movups xmm0, xmmword [0x4a6070]
movups xmmword [ebx + 0x30], xmm0
movq xmm0, qword [0x4a6080]
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 0x404a60
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.00404f40
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 0x404ac0
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.00404f40
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 0x404af5
sub dword [ebp - 0xc], 1
jne 0x404af0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x4d9770]
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 0x47893c
mov dword [ebp - 0x818], eax
lea eax, [ebp - 0x804]
push 0x400
push eax
mov dword [ebp - 0x81c], ecx
call fcn.00453332
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
push 0x20019
push 0
push 0x478950
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x407e23
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 0x407e1b
cmp dword [ebp - 0x80c], 1
jbe 0x407e1b
push dword [ebp - 0x808]
call esi
jmp 0x407eb1
push dword [ebp - 0x808]
call esi
lea eax, [ebp - 0x808]
push eax
push 0x20019
push 0
push 0x478970
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407e98
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 0x407e90
cmp dword [ebp - 0x80c], 1
jbe 0x407e90
push dword [ebp - 0x808]
call esi
jmp 0x407eb1
push dword [ebp - 0x808]
call esi
push 0x4789b4
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00453332
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 0x407ec0
sub ecx, edx
mov dword [ebp - 0x80c], ecx
cmp byte [ebp + ecx - 0x405], 0x5c
je 0x407ef2
push 0x478870
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0045338c
add esp, 0xc
push dword [ebp - 0x814]
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0045338c
push 0x478870
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0045338c
push dword [ebp - 0x818]
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0045338c
push 0x4789d8
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0045338c
mov ecx, dword [ebp - 0x81c]
lea eax, [ebp - 0x404]
add esp, 0x30
push eax
call fcn.00407f80
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 8