joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x40686f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460114], 0
jne 0x4068ad
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406883
mov dword [ecx*4 + 0x460110], eax
inc ecx
cmp ecx, 0x100
jl 0x40687e
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4068da
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460110]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4068bb
not eax
pop ebp
ret 0xc

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x5b210c3
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x6771600f
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x67a838ba
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x68485014]
mov dword [ebp - 0xc], eax
jmp 0x67a8391f
jmp 0x67a83976
jmp 0x67a839cd
jmp 0x67a83a24
jmp 0x67a83a7b
jmp 0x67a83ad2
jmp 0x67a83b29
jmp 0x67a83b80
jmp 0x67a83bd7
jmp 0x67a83c2e
jmp 0x67a83c85
jmp 0x67a83cdc
jmp 0x67a83d33
cmp dword [ebp - 0xc], 0
je 0x67a84f3b
mov eax, dword [0x68485014]
mov dword [0x6848500c], eax
jmp 0x67a83d9e
jmp 0x67a83df5
jmp 0x67a83e4c
jmp 0x67a83ea3
jmp 0x67a83efa
jmp 0x67a83f51
jmp 0x67a83fa8
jmp 0x67a83fff
jmp 0x67a84056
jmp 0x67a840ad
jmp 0x67a84104
jmp 0x67a8415b
jmp 0x67a841b2
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [0x68485008], eax
jmp 0x67a84219
jmp 0x67a84270
jmp 0x67a842c7
jmp 0x67a8431e
jmp 0x67a84375
jmp 0x67a843cc
jmp 0x67a84423
jmp 0x67a8447a
jmp 0x67a844d1
jmp 0x67a84528
jmp 0x67a8457f
jmp 0x67a845d6
jmp 0x67a8462d
mov eax, dword [0x68485008]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x10], eax
jmp 0x67a8468f
jmp 0x67a846e6
jmp 0x67a8473d
jmp 0x67a84794
jmp 0x67a847eb
jmp 0x67a84842
jmp 0x67a84899
jmp 0x67a848f0
jmp 0x67a84947
jmp 0x67a8499e
jmp 0x67a849f5
jmp 0x67a84a4c
jmp 0x67a84aa3
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x3000
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call eax
sub esp, 0x10
mov dword [0x68485004], eax
jmp 0x67a84b27
jmp 0x67a84b7e
jmp 0x67a84bd5
jmp 0x67a84c2c
jmp 0x67a84c83
jmp 0x67a84cda
jmp 0x67a84d31
jmp 0x67a84d88
jmp 0x67a84ddf
jmp 0x67a84e36
jmp 0x67a84e8d
jmp 0x67a84ee4
jmp 0x67a84f3b
nop
leave
ret
Function at 0x67a85858
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x68485008]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x68485008]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x67a858cf
jmp 0x67a85926
jmp 0x67a8597d
jmp 0x67a859d4
jmp 0x67a85a2b
jmp 0x67a85a82
jmp 0x67a85ad9
jmp 0x67a85b30
jmp 0x67a85b87
jmp 0x67a85bde
jmp 0x67a85c35
jmp 0x67a85c8c
jmp 0x67a85ce3
mov dword [ebp - 0x14], 0
jmp 0x67a85d41
jmp 0x67a85d98
jmp 0x67a85def
jmp 0x67a85e46
jmp 0x67a85e9d
jmp 0x67a85ef4
jmp 0x67a85f4b
jmp 0x67a85fa2
jmp 0x67a85ff9
jmp 0x67a86050
jmp 0x67a860a7
jmp 0x67a860fe
jmp 0x67a86155
mov dword [ebp - 0x18], 0
jmp 0x67a861b3
jmp 0x67a8620a
jmp 0x67a86261
jmp 0x67a862b8
jmp 0x67a8630f
jmp 0x67a86366
jmp 0x67a863bd
jmp 0x67a86414
jmp 0x67a8646b
jmp 0x67a864c2
jmp 0x67a86519
jmp 0x67a86570
jmp 0x67a865c7
mov dword [ebp - 0x10], 0
jmp 0x67a86625
jmp 0x67a8667c
jmp 0x67a866d3
jmp 0x67a8672a
jmp 0x67a86781
jmp 0x67a867d8
jmp 0x67a8682f
jmp 0x67a86886
jmp 0x67a868dd
jmp 0x67a86934
jmp 0x67a8698b
jmp 0x67a869e2
jmp 0x67a86a39
mov dword [ebp - 0x10], 0
jmp 0x67a880a2
jmp 0x67a86a9c
jmp 0x67a86af3
jmp 0x67a86b4a
jmp 0x67a86ba1
jmp 0x67a86bf8
jmp 0x67a86c4f
jmp 0x67a86ca6
jmp 0x67a86cfd
jmp 0x67a86d54
jmp 0x67a86dab
jmp 0x67a86e02
jmp 0x67a86e59
jmp 0x67a86eb0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [0x68485004]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x67a86f18
jmp 0x67a86f6f
jmp 0x67a86fc6
jmp 0x67a8701d
jmp 0x67a87074
jmp 0x67a870cb
jmp 0x67a87122
jmp 0x67a87179
jmp 0x67a871d0
jmp 0x67a87227
jmp 0x67a8727e
jmp 0x67a872d5
jmp 0x67a8732c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [0x6848500c]
add eax, edx
mov dword [ebp - 0x18], eax
jmp 0x67a87394
jmp 0x67a873eb
jmp 0x67a87442
jmp 0x67a87499
jmp 0x67a874f0
jmp 0x67a87547
jmp 0x67a8759e
jmp 0x67a875f5
jmp 0x67a8764c
jmp 0x67a876a3
jmp 0x67a876fa
jmp 0x67a87751
jmp 0x67a877a8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x67a8781b
jmp 0x67a87872
jmp 0x67a878c9
jmp 0x67a87920
jmp 0x67a87977
jmp 0x67a879ce
jmp 0x67a87a25
jmp 0x67a87a7c
jmp 0x67a87ad3
jmp 0x67a87b2a
jmp 0x67a87b81
jmp 0x67a87bd8
jmp 0x67a87c2f
add dword [ebp - 0xc], 0x28
jmp 0x67a87c8a
jmp 0x67a87ce1
jmp 0x67a87d38
jmp 0x67a87d8f
jmp 0x67a87de6
jmp 0x67a87e3d
jmp 0x67a87e94
jmp 0x67a87eeb
jmp 0x67a87f42
jmp 0x67a87f99
jmp 0x67a87ff0
jmp 0x67a88047
jmp 0x67a8809e
add dword [ebp - 0x10], 1
mov eax, dword [0x68485008]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x67a86a45
nop
leave
ret
Function at 0x67a94e80
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], 0x68484040
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.67a94ee0

Function at 0x67a94ee0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x68485378]
test esi, esi
jle 0x67a94fcd
mov edi, dword [0x6848537c]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x67a94f14
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x67a94fc6
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x67a94f00
mov dword [esp], eax
mov esi, eax
call fcn.67a95680
test eax, eax
mov edi, eax
je 0x67a9500a
mov esi, dword [0x6848537c]
lea ebx, [ebx + ebx*2]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call fcn.67a95790
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x6848537c]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x67a94fea
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x67a94fbf
sub eax, 0x40
and eax, 0xffffffbf
je 0x67a94fbf
mov eax, dword [esp + 0x20]
add ebx, dword [0x6848537c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x67a94fd4
add dword [0x68485378], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor ebx, ebx
jmp 0x67a94f1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.67a94e80
mov eax, dword [0x6848537c]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.67a94e80
mov dword [esp + 4], esi
mov dword [esp], str.Address__p_has_no_image_section
call fcn.67a94e80
lea esi, [esi]
Function at 0x67a952f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x68485388
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x68485380]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x67a95345
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x67a9533e
test esi, esi
je 0x67a9533e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x67a95320
mov dword [esp], 0x68485388
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40eddd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x45ce6c]
mov ebx, ecx
push edi
mov edi, dword [0x45ce74]
cmp esi, edi
jne 0x40eeff
xor esi, esi
lea eax, [ebp - 4]
cmp dword [0x41b1ec], 1
push esi
push eax
jne 0x40ee45
push 0x10000
push 0x43ce68
push dword [0x45ce68]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40ee37
mov dword [0x41be24], 0x82
xor eax, eax
jmp 0x40ef19
mov ecx, dword [ebp - 4]
mov eax, ecx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
jmp 0x40ee8d
mov edi, 0x10000
push edi
push 0x41ce68
push dword [0x45ce68]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40ee26
mov eax, dword [0x45e220]
push edi
push 0x43ce68
push dword [ebp - 4]
neg eax
push 0x41ce68
sbb eax, eax
and eax, 0xfde6
push 1
add eax, 3
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 4]
mov edi, eax
mov eax, dword [0x45ce7c]
add eax, ecx
mov dword [0x45ce74], edi
mov ecx, dword [0x45ce78]
mov dword [0x45ce6c], esi
mov dword [0x45ce7c], eax
test ecx, ecx
je 0x40eeb8
xor edx, edx
div ecx
cmp eax, 0x64
jbe 0x40eebb
push 0x64
pop eax
cmp dword [0x45ce80], eax
je 0x40eefd
mov ecx, dword [0x41be00]
mov dword [0x45ce80], eax
test ecx, ecx
je 0x40eefd
push esi
push eax
push 0x402
push 0x65
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [0x41be00]
call fcn.0040bad7
test eax, eax
jne 0x40eee2
mov edi, dword [0x45ce74]
mov esi, dword [0x45ce6c]
cmp esi, edi
jge 0x40ee30
mov cx, word [esi*2 + 0x43ce68]
xor eax, eax
mov word [ebx], cx
inc dword [0x45ce6c]
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40f10e
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov edi, edx
push ebx
push 9
push 0x110a
push dword [0x41b080]
mov esi, ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x41be24], 0x88
test edi, edi
je 0x40f165
push ebx
push edi
mov ecx, eax
call fcn.00407dc7
lea edx, [ebp - 4]
mov ecx, eax
call fcn.0040dd4f
test eax, eax
je 0x40f165
mov dword [0x41be24], 0x89
jmp 0x40f1c1
xor edx, edx
mov edi, 0x401d70
inc edx
mov ecx, edi
call fcn.0040bdf3
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSaveKeyW]
test eax, eax
je 0x40f1b8
cmp eax, 6
je 0x40f1a7
xor ecx, ecx
cmp eax, 0x522
sete cl
add ecx, 0x8d
mov dword [0x41be24], ecx
jmp 0x40f1b1
mov dword [0x41be24], 0x8f
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edx, edx
mov ecx, edi
call fcn.0040bdf3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411083
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x854
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x818], ecx
mov esi, edx
push edi
cmp dword [0x41b098], ebx
je 0x411226
xor edi, edi
inc edi
push edi
push dword [0x41b0c0]
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.00402540
add esp, 0x10
lea eax, [ebp - 0x814]
push eax
push 0
push eax
push 0
lea eax, [ebp - 0x810]
push eax
push dword [0x41b098]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411128
inc edi
cmp edi, 0x64
jb 0x4110b4
cmp edi, 0x64
jne 0x41118c
lea eax, [edi + 0x46]
push 0x10
push 0xa8
movzx eax, ax
push eax
push dword [ebp - 0x818]
push dword [0x41be1c]
call fcn.0049ad7f
add esp, 0x14
jmp 0x411226
cmp esi, 2
jbe 0x411156
cmp esi, 3
je 0x411152
cmp esi, 4
je 0x41114b
cmp esi, 7
je 0x411156
cmp esi, 0xb
jne 0x41115f
and dword [ebp - 0xc], ebx
and dword [ebp - 8], ebx
push 8
jmp 0x41115e
and dword [ebp - 0xc], ebx
push 4
jmp 0x41115e
xor ebx, ebx
jmp 0x41115f
xor eax, eax
mov word [ebp - 0xc], ax
push 2
pop ebx
push ebx
lea eax, [ebp - 0xc]
push eax
push esi
push 0
lea eax, [ebp - 0x810]
push eax
push dword [0x41b098]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4110f8
mov eax, 0xa9
jmp 0x411104
xor edi, edi
mov dword [ebp - 0x854], 3
push edi
push edi
push 0x1004
push dword [0x41b084]
lea eax, [ebp - 0x810]
mov dword [ebp - 0x840], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x84c], edi
cmp esi, 1
je 0x4111dc
cmp esi, 2
je 0x4111dc
mov dword [ebp - 0x838], 5
cmp esi, 7
jne 0x4111e6
mov dword [ebp - 0x838], 4
lea eax, [ebp - 0x854]
push eax
push edi
push 0x104d
push dword [0x41b084]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, 0xffffffff
je 0x411226
mov ecx, dword [0x41b084]
lea eax, [ebp - 0xc]
push esi
push ebx
push eax
mov edx, edi
call fcn.00412046
mov ecx, dword [0x41b084]
mov edx, edi
call fcn.00412395
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419cc0
mov esp, ebp
pop ebp
ret
Function at 0x419f74
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x41a478
call fcn.0041a288
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x419fd4
cmp eax, 0xffffffff
je 0x419fd4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x419fcd
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x419fcd
cmp edx, 0x10000000
jae 0x419fcd
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x419fca
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.0041a2cd
ret 4

Function at 0x41a020
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x41a05e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x41a056
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x41a060
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x41a046
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41a130
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x41a146
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x41a161
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x4952b9
Capabilities:
Encode data using xor

Disassembly:
call 0x495232
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x495262
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x49527e
xor edx, 0
jmp 0x495289
xor edx, edx
jmp 0x4952a0
jmp 0x4952ac
xor eax, eax
push 0x8427d7c0
call 0x4952b9
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x4952f5
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x4952ce
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x49530c
add eax, 0
jno 0x495311
add esi, 0
ret 0x10
Function at 0x49607a
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x49609c
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x49623e
cmp edi, dword [ebp + 0x10]
jb 0x49623e
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.00495b66
inc edi
jmp 0x496125
jmp 0x496132
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00495b66
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00495b66
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x496186
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x49616a
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.004961b4
add dword [eax], 0x39
jle 0x496190
sub al, 0xf5
mov ch, al
call fcn.004961c9
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x497ea1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x497eb7
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x497ec8
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.00497f09
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx