joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100024be
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x100024cd
pop dword [ebp - 0x2c]
mov eax, 0xabfa84d1
sub eax, 0x9bfa6004
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xae9a1c0d
add dword [ebp - 0x3c], 0x9fb8293e
mov dword [ebp - 0x38], 0x6711af97
sub dword [ebp - 0x38], 0x34de6352
mov dword [ebp - 0x34], 0x41bdf500
sub dword [ebp - 0x34], 0xf571b0d2
mov dword [ebp - 0x30], 0xf36144f3
sub dword [ebp - 0x30], 0xf36144f3
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x7d18c43f
sub eax, 0x6d1883f7
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x35301275
sub dword [ebp - 0x3c], 0xc0bda91f
mov dword [ebp - 0x38], 0x2186a233
sub dword [ebp - 0x38], 0xe01a40be
mov dword [ebp - 0x34], 0x9fcc3134
add dword [ebp - 0x34], 0xc3a33b38
mov dword [ebp - 0x30], 0x2fa6c286
sub dword [ebp - 0x30], 0x2fa6c286
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xfba9a28a
sub eax, 0xeba9620e
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x359cb
push 0
call eax
mov ecx, 0xbdeb32bf
sub ecx, 0xbdeaee82
xor esi, esi
add esi, eax
mov edi, 0x3f30d417
add edi, 0xd0cfc1e9
add edi, dword [ebp - 0x2c]
mov ebx, 0x1129ff47
mov dword [ebp - 4], 0xbc79948f
mov edx, dword [edi]
sub dword [ebp - 0x18], 0xaa58a162
xor edx, ebx
mov dword [esi], edx
add esi, 0x50824c66
sub esi, 0x50824c62
add edi, 0xe2b6dcfa
sub edi, 0xe2b6dcf6
loop 0x100025eb
add eax, 0x5a9d4015
sub eax, 0x5a9c3c4e
xor ebx, ebx
add ebx, eax
add eax, 0x63b6aecd
sub eax, 0x63b6aec8
mov ecx, 0x8b375ad9
sub ecx, 0x7b375ad9
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x100032c8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10007040]
jne 0x100032d2
repz ret
jmp fcn.100036ab
Function at 0x180884a
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x18018c0
call fcn.01808a24
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1808885
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1808885
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x180889d
cmp eax, 0x20b
je 0x180888a
mov dword [ebp - 0x1c], edi
jmp 0x18088b1
cmp dword [ecx + 0x84], 0xe
jbe 0x1808885
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x18088ab
cmp dword [ecx + 0x74], 0xe
jbe 0x1808885
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1817a10], 0xffffffff
or dword [0x1817a14], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1812b70]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1812b6c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1817a18], eax
call fcn.01808aa4
cmp dword [0x18122f0], edi
jne 0x180890c
push fcn.01808aa4
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01808a8d
push 0x180a010
push 0x180a00c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1812b68]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1812b64]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
push 0x180a008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.018063b5
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1808983
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x18089b8
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01808a5f
ret
Function at 0x40e48a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1048
call fcn.0041ab40
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp word [esi], bx
je 0x40e6a5
push esi
call fcn.0041a7ff
pop ecx
cmp eax, 0x7f6
jae 0x40e6a5
push edi
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.0041a870
movzx ecx, word [esi]
add esp, 0xc
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0x1c0
cmp cx, 0x22
jne 0x40e4e5
lea eax, [esi + 2]
mov dword [ebp - 0x38], eax
jmp 0x40e4e8
mov dword [ebp - 0x38], esi
xor eax, eax
cmp cx, bx
je 0x40e53e
mov ecx, esi
cmp word [ecx], 0x22
jne 0x40e510
jmp 0x40e500
cmp word [esi + eax*2], 0x22
je 0x40e509
inc eax
cmp word [esi + eax*2], bx
jne 0x40e4f9
jmp 0x40e510
push 0x20
pop ecx
mov word [esi + eax*2], cx
cmp word [esi + eax*2], 0x20
je 0x40e52a
cmp word [esi + eax*2 + 2], 0x2f
je 0x40e52a
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x40e4f1
jmp 0x40e53e
lea eax, [esi + eax*2]
cmp word [eax], 0x20
jne 0x40e538
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x40e54a
cmp word [eax], bx
jne 0x40e55f
cmp byte [ebp + 0xc], bl
jne 0x40e55f
cmp word [0x44287a], bx
je 0x40e55f
mov dword [ebp - 0x34], 0x44287a
push dword [ebp - 0x38]
mov dword [ebp - 0x2c], 1
call fcn.0040a788
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40e58b
push str..inf
push eax
call fcn.00411eaf
test eax, eax
jne 0x40e58b
mov dword [ebp - 0x3c], str.Install
push dword [ebp - 0x38]
call fcn.004092c3
test al, al
je 0x40e5b4
push 0x800
lea eax, [ebp - 0x1048]
push eax
push dword [ebp - 0x38]
call fcn.0040a9e9
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40e6a4
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 1], bl
mov edi, 0x3e8
cmp byte [0x441870], bl
jne 0x40e5e9
cmp byte [ebp + 0xc], bl
jne 0x40e5e9
cmp byte [0x44185d], bl
je 0x40e646
cmp dword [ebp + 8], ebx
je 0x40e605
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40e605
push ebx
push dword [ebp + 8]
call esi
mov byte [ebp - 1], 1
push 0x7d0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x10]
call fcn.0040d875
cmp byte [0x44185d], bl
je 0x40e646
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x40e646
mov eax, dword [ebp - 0xc]
add eax, edi
cmp eax, dword [0x441860]
jbe 0x40e646
mov dword [0x441860], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
je 0x40e665
push 0x42a904
push dword [ebp - 8]
call fcn.00411eaf
test eax, eax
je 0x40e693
cmp byte [0x441870], bl
je 0x40e67e
cmp byte [ebp + 0xc], bl
jne 0x40e67e
mov dword [0x441864], 0x1b58
jmp 0x40e693
xor eax, eax
cmp byte [ebp + 0xc], bl
sete al
dec eax
and eax, 0xfffffce0
add eax, edi
mov dword [0x441864], eax
cmp byte [ebp - 1], bl
je 0x40e6a4
cmp byte [ebp + 0xc], bl
je 0x40e6a4
push 1
push dword [ebp + 8]
call esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10002347
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jne 0x100023bc
push 0
call fcn.1000915b
add esp, 4
mov dword [ebp - 8], esp
push 0
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 8], esp
je 0x100023ad
push 0x56
push 0x4010c70
push 6
call fcn.1000912b
add esp, 0xc
mov eax, 1
jmp 0x1000242c
cmp dword [ebp + 8], 0
jle 0x10002422
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.10002432
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x10002422
mov dword [ebp - 8], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 8], esp
je 0x10002418
push 0x132
push 0x4010c70
push 6
call fcn.1000912b
add esp, 0xc
mov eax, 1
jmp 0x1000242c
mov eax, 0
jmp 0x1000242c
mov esp, ebp
pop ebp
ret 8
Function at 0x100085e6
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
jmp 0x10008608
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x1bc
call fcn.1000a7c0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100086a7
push ebx
call fcn.1000913d
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.1000888e
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0x101
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100086e8
push 0x94
push 0x4010c3e
push 6
call fcn.1000912b
add esp, 0xc
mov eax, 0x101b00fd
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.10002eec
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000870c
push ebx
call fcn.1000913d
add esp, 4
push 0x80000301
push 0
push 8
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1000872b
mov eax, 0x1001c271
push eax
push 2
mov ebx, 0x138
call fcn.1000a7f0
add esp, 0x1c
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10008751
push ebx
call fcn.1000913d
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.100088af
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000876d
push ebx
call fcn.1000913d
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [0x101b0341], eax
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x1000879e
nop
nop
nop
nop
nop
nop
mov eax, 0x101b0110
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1000279e
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100087c8
push ebx
call fcn.1000913d
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x100087db
mov eax, 0x1001c271
push eax
push 1
mov ebx, 0x9dc
call fcn.1000a140
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10008801
push ebx
call fcn.1000913d
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [0x101b0339], eax
mov eax, 0x101b0123
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1000279e
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000882d
push ebx
call fcn.1000913d
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10008840
mov eax, 0x1001c271
push eax
push 1
mov ebx, 0x9dc
call fcn.1000a140
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10008866
push ebx
call fcn.1000913d
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [0x101b033d], eax
mov eax, 0
jmp 0x10008878
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10008889
push ebx
call fcn.1000913d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x100089e8
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x1bc
call fcn.1000a7c0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10008a2d
push ebx
call fcn.1000913d
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.1000888e
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0x101
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10008a6e
push 0x51
push 0x4010ced
push 6
call fcn.1000912b
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10008a7e
push ebx
call fcn.1000913d
add esp, 4
mov esp, ebp
pop ebp
ret 4

Function at 0x10009810
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x100098a2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x10009894
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x1000988c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x10009855
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x10009af0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret

Function at 0x10009b10
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x10009b79
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.100095c0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x1000a500
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1000a51e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x1000a513
pop esi
ret
Function at 0x1000a600
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x140
push ebx
mov ebx, dword [esp + 0x154]
push ebp
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [esp + 0x154]
xor ebp, ebp
test edi, edi
je 0x1000a680
push edi
call dword [0x101b0954]
add esp, 4
test eax, eax
jbe 0x1000a680
test esi, esi
je 0x1000a63e
cmp esi, 0xffffffff
je 0x1000a63e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebx], esi
je 0x1000a6c2
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x1000a66c
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
je 0x1000a680
jmp 0x1000a67b
mov edx, dword [esp + 0x158]
mov eax, dword [esp + 0x10]
test edx, eax
je 0x1000a680
mov ebp, 1
test esi, esi
je 0x1000a6c2
cmp esi, 0xffffffff
je 0x1000a6c2
test ebp, ebp
jne 0x1000a6f9
mov eax, dword [esp + 0x15c]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
lea eax, [esp + 0x10]
push eax
push esi
je 0x1000a6cf
call edi
test eax, eax
je 0x1000a6c2
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
jne 0x1000a6f9
lea edx, [esp + 0x10]
push edx
push esi
call edi
test eax, eax
jne 0x1000a6aa
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x140
ret
call edi
test eax, eax
je 0x1000a6c2
mov ebx, dword [esp + 0x158]
test dword [esp + 0x10], ebx
jne 0x1000a6f9
lea ecx, [esp + 0x10]
push ecx
push esi
call edi
test eax, eax
jne 0x1000a6dc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
lea edx, [esp + 0x3c]
push edx
call dword [0x101b0954]
inc eax
push eax
call fcn.100095c0
mov edx, eax
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret

Function at 0x1000b400
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x1000b421
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x1000b47b
inc edi
cmp edi, esi
jl 0x1000b415
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x1000b4b0
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x1000b46a
cmp byte [eax], bl
je 0x1000b485
cmp byte [eax + 1], bl
je 0x1000b48e
cmp byte [eax + 2], bl
je 0x1000b498
cmp byte [eax + 3], bl
je 0x1000b4a4
add eax, 4
cmp eax, edi
jb 0x1000b441
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
Function at 0x405e0f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a2c], 0
push esi
jne 0x405e46
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405e20
mov dword [ecx*4 + 0x422a28], eax
inc ecx
cmp ecx, 0x100
jl 0x405e1b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e77
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a28]
xor eax, esi
inc ecx
dec edx
jne 0x405e59
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x431072
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5ba45ee3
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
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
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6ab96542
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4013c5
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x506130
jmp 0x4013b9
mov eax, 0x4c66a4
call fcn.00495bd8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004014cb
mov eax, dword [0x501b08]
lea ecx, [esi + 0xa0]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x501b08]
mov dword [esi + 0xb0], eax
push 1
mov dword [esi], 0x4cd7cc
or dword [esi + 0x20], 0xffffffff
or dword [esi + 0x1c], 0xffffffff
pop edi
mov dword [esi + 0x28], ebx
push 0xa
mov dword [esi + 0x24], ebx
pop eax
mov byte [ebp - 4], 2
push 0x64
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], eax
pop eax
push 0x50612c
mov dword [esi + 0x2c], 2
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], ebx
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], 0x3e8
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], 0xc0
mov dword [esi + 0x84], 0x6c
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x9c], ebx
call fcn.004b0eed
push 0x50612c
lea ecx, [esi + 0xb0]
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
call fcn.004b0eed
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40af46
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4c7454
call fcn.00495bd8
sub esp, 0x22c
push ebx
push esi
mov dword [ebp - 0x2c], ecx
mov esi, 0x506200
push str.DataFile_Types
mov ecx, esi
call fcn.004c3bac
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x40af7c
xor eax, eax
jmp 0x40b0c4
mov eax, dword [0x501b08]
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x24], pe_nt_image_headers32
mov dword [ebp - 0x20], ebx
call edi
cmp eax, 0x103
je 0x40b094
lea eax, [ebp - 0x238]
push eax
push str.DataFile_Types
lea eax, [ebp - 0x10]
push 0x4ecdc0
push eax
call fcn.004ae687
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esi
push ebx
push str.Name
push dword [ebp - 0x10]
push eax
call fcn.004c3c5e
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004b0e9d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004b0d56
push ebx
push str.Extension
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.004c3c5e
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004b0e9d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004b0d56
push 0xffffffffffffffff
push str.Icon
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004c3bf2
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 8], ebx
je 0x40b06d
mov edx, dword [ebp - 0x1c]
cmp dword [edx - 8], ebx
je 0x40b06d
cmp eax, 0xffffffff
je 0x40b06d
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0040b1b1
lea eax, [ebp - 0x38]
inc dword [ebp - 0x20]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x24], pe_nt_image_headers32
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
jmp 0x40afb8
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b0d56
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004b0d56
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b0d56
push 1
pop eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40c206
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov edi, 0x4cf880
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x2b4
lea eax, [ebp - 0x2bc]
push esi
push ebx
push eax
call fcn.00495c00
lea eax, [ebp - 8]
add esp, 0xc
neg eax
sbb eax, eax
lea ecx, [ebp - 4]
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 8], ebx
mov eax, dword [eax]
sete cl
or cx, 0x4008
push ecx
lea ecx, [ebp - 0x2bc]
push esi
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 8]
mov esi, eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 4]
and ecx, eax
mov dword [ebp - 8], edi
call fcn.0040c57a
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4