joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.10009830
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10009830
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10009830
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.10009830
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.10009830
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.10009830
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.10009830
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.10009830
push 0xd008
push edi
call fcn.10009830
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.10009830
int3

Function at 0x10009830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1000983f
pop dword [ebp - 0x2c]
mov eax, 0x1000983f
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x3f4e7
push 0
mov eax, 0x805ceb7
sub eax, 0xf8048e53
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x83f5bdfa
add ecx, 0x7c0aa33e
mov ebx, eax
mov edx, 0x6408ea2d
sub edx, 0x5407642d
add edx, dword [ebp - 0x2c]
mov edi, 0xd976d9bc
sub edi, 0x9dbf1176
sub dword [ebp - 0x10], edx
mov esi, dword [edx]
add esi, edi
add dword [ebp - 0x28], edx
mov dword [ebx], esi
xor dword [ebp - 0x20], 0x9a0704b9
add ebx, 0x53a9d059
add ebx, 0xac562fab
add edx, 0xeeea6def
sub edx, 0xeeea6deb
loop 0x10009899
add eax, 0x177b3
xor ebx, ebx
add ebx, eax
add eax, 0x5bf839f1
sub eax, 0x5bf839ec
mov ecx, 0x2558e765
add ecx, 0xeaa7189b
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x6dae65a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x804
mov eax, dword [0x6daed004]
xor eax, esp
mov dword [esp + 0x800], eax
push ebp
mov ebp, dword [esp + 0x80c]
lea eax, [esp + 0x204]
push esi
push edi
push 0x200
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x20c]
push 0x5c
push eax
call dword [sym.imp.VCRUNTIME140.dll_strrchr]
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov esi, eax
add esp, 8
test esi, esi
je 0x6dae6643
push str.System
push esi
call edi
add esp, 8
test eax, eax
jne 0x6dae660e
push str.System32
push esi
call edi
add esp, 8
test eax, eax
je 0x6dae6643
lea ecx, [esp + 0x20c]
mov byte [esi], 0
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x6dae6620
mov eax, dword [str.Fonts]
mov dword [ecx], eax
mov ax, word [0x6dae9b24]
mov word [ecx + 4], ax
mov al, byte [0x6dae9b26]
mov byte [ecx + 6], al
push 0x200
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0xc]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6dae6660
sub ecx, edx
cmp ecx, 0x1f9
jbe 0x6dae6677
mov byte [esp + 0xc], al
jmp 0x6dae66a3
lea ecx, [esp + 0xc]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x6dae6680
mov eax, dword [str.Fonts]
mov dword [ecx], eax
mov ax, word [0x6dae9b24]
mov word [ecx + 4], ax
mov al, byte [0x6dae9b26]
mov byte [ecx + 6], al
xor ecx, ecx
mov al, byte [esp + ecx + 0x20c]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0x40b], al
test al, al
jne 0x6dae66a5
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x210]
push eax
call edi
add esp, 8
test eax, eax
je 0x6dae6718
lea edi, [esp + 0x40c]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x6dae66d8
mov ax, word [0x6dae9b28]
lea edx, [esp + 0xc]
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x6dae66f1
lea edi, [esp + 0x40c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x6dae6702
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [esp + 0x40c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x6dae6722
mov eax, dword [ebp]
sub esi, ecx
push esi
push ebp
mov eax, dword [eax + 0x2c0]
call eax
mov edi, eax
test edi, edi
je 0x6dae6779
mov eax, dword [ebp]
push ebx
push 0
push edi
mov eax, dword [eax + 0x2e0]
push ebp
call eax
mov ebx, eax
test ebx, ebx
je 0x6dae6776
push esi
lea eax, [esp + 0x414]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp]
add esp, 0xc
mov eax, dword [eax + 0x300]
push 0
push ebx
push edi
push ebp
call eax
mov eax, edi
pop ebx
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.6dae709a
add esp, 0x804
ret 8
Function at 0x6dae6c10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
mov dword [esp + 4], 4
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionFontLinkSystemLink
push 0x80000002
mov dword [esp + 0x1c], 7
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
je 0x6dae6c4a
xor eax, eax
add esp, 0xc
ret 0xc
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x1c]
push 0
push esi
push edi
mov eax, dword [edi]
mov eax, dword [eax + 0x294]
call eax
mov ebp, eax
lea eax, [esp + 0x10]
push eax
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push ebp
push dword [esp + 0x20]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x6dae6d3f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6dae6d3f
push ebx
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x6dae6cc6
mov eax, dword [edi]
push ebp
push esi
push edi
mov eax, dword [eax + 0x298]
call eax
push dword [esp + 0x10]
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret 0xc
lea eax, [esp + 0x14]
push eax
push ebx
lea eax, [esp + 0x20]
push eax
push 0
push ebp
push dword [esp + 0x24]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ecx, dword [edi]
mov esi, eax
push ebp
push dword [esp + 0x2c]
mov ecx, dword [ecx + 0x298]
push edi
call ecx
push dword [esp + 0x10]
call dword [sym.imp.advapi32.dll_RegCloseKey]
test esi, esi
je 0x6dae6d14
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [edi]
shr eax, 1
push eax
push ebx
mov eax, dword [ecx + 0x28c]
push edi
call eax
push ebx
mov esi, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret 0xc

Function at 0x6dae6dd0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x6daed004]
xor eax, esp
mov dword [esp + 0x9c], eax
push edi
mov edi, dword [esp + 0xa8]
lea eax, [esp + 4]
push 0x9c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 4], 0x9c
lea eax, [esp + 4]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExA]
test eax, eax
jne 0x6dae6e2d
pop edi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.6dae709a
add esp, 0xa0
ret
cmp dword [esp + 8], 6
push esi
sbb esi, esi
and esi, 0xfffffffc
add esi, 0x1f8
push esi
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi], esi
push 0
push edi
push esi
push 0x29
call dword [sym.imp.user32.dll_SystemParametersInfoW]
mov ecx, dword [esp + 0xa4]
pop esi
pop edi
xor ecx, esp
call fcn.6dae709a
add esp, 0xa0
ret
Function at 0x6dae7c0e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x6dae7c1d
pop dword [ebp - 0x44]
mov eax, 0xc1adf3a5
add eax, 0xac008878
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xe992a343
sub dword [ebp - 0x54], 0x9b405df8
mov dword [ebp - 0x50], 0xab1217fc
add dword [ebp - 0x50], 0x87213449
mov dword [ebp - 0x4c], 0xf9541b8b
add dword [ebp - 0x4c], 0x52f828a3
mov dword [ebp - 0x48], 0x45fb2ebe
sub dword [ebp - 0x48], 0x45fb2ebe
lea eax, [ebp - 0x54]
push eax
mov eax, 0x1f0a2666
add eax, 0x4ea459e6
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x15fb063c
sub dword [ebp - 0x54], 0xa1889ce6
mov dword [ebp - 0x50], 0x153489af
add dword [ebp - 0x50], 0x2c37d7c6
mov dword [ebp - 0x4c], 0x4c38d6c3
sub dword [ebp - 0x4c], 0xe8c96a57
mov dword [ebp - 0x48], 0x71fb7c3c
sub dword [ebp - 0x48], 0x71fb7c3c
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xf81cc426
sub eax, 0x8a6e43de
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x33cbe
push 0
call eax
mov ecx, 0x3c87
mov edi, eax
mov esi, 0x6daefa00
add esi, dword [ebp - 0x44]
mov ebx, 0x8a5f7f86
xor dword [ebp - 0x18], edi
mov edx, dword [esi]
add dword [ebp - 0x38], 0x5601b06f
sub edx, ebx
add dword [ebp - 0x24], edx
mov dword [edi], edx
xor dword [ebp - 0xc], ecx
add edi, 0xab04268e
sub edi, 0xab04268a
add esi, 0xa42c56a1
sub esi, 0xa42c569d
loop 0x6dae7d2d
add eax, 0xd5468aa0
sub eax, 0xd545a5b1
xor ebx, ebx
add ebx, eax
add eax, 0xfaa4af6e
add eax, 0x55b5097
mov ecx, 0x6dae0000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x403940
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [ebp + 0xc]
sub esp, 0x404
or eax, 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test edx, edx
je 0x40397a
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b9b78]
sub edx, 1
jne 0x403960
mov ecx, dword [edi + 8]
not eax
cmp ecx, eax
sete bl
je 0x4039b4
push eax
push ecx
lea eax, [esp + 0x18]
push str._CRC_mismatch:_expected_0x_08x__actual_0x_08x._
push eax
call fcn.0043efe0
mov edx, eax
add esp, 0x10
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4039a1
sub ecx, esi
push ecx
mov ecx, dword [ebp + 0x10]
push edx
call fcn.00440410
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404520
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
push edi
mov edi, ecx
mov dword [ebp - 0x54], 0
push esi
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x50], 0x67452301
lea ecx, [edi + 8]
mov dword [ebp - 0x4c], 0xefcdab89
mov dword [ebp - 0x48], 0x98badcfe
mov dword [ebp - 0x44], 0x10325476
call fcn.0043e580
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0xc]
test ecx, ecx
je 0x40458a
push ecx
push esi
push 0
push 0
call fcn.00432220
add esp, 0x10
test al, al
jne 0x4045a7
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi]
lea eax, [ebp + 8]
push eax
push esi
push 0
push 0
push edx
mov dword [ebp + 8], esi
call fcn.00415a20
test al, al
je 0x40457f
cmp dword [ebp + 8], esi
jne 0x40457f
push esi
push dword [edi + 0xc]
lea ecx, [ebp - 0x58]
call fcn.004025e0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x58]
call fcn.00402710
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x404c20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
shr edi, 2
mov esi, 0xeeeeeeee
test edi, edi
je 0x404c79
mov eax, dword [ebp + 8]
nop dword [eax]
movzx ecx, al
lea ebx, [ebx + 4]
add esi, dword [ecx*4 + 0x4b9670]
mov ecx, esi
shl ecx, 5
add ecx, 3
lea edx, [esi + eax]
xor edx, dword [ebx - 4]
add ecx, edx
mov dword [ebx - 4], edx
add esi, ecx
mov ecx, eax
not ecx
shr eax, 0xb
shl ecx, 0x15
add ecx, 0x11111111
or eax, ecx
sub edi, 1
jne 0x404c40
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
shr edi, 2
mov esi, 0xeeeeeeee
test edi, edi
je 0x404cda
mov eax, dword [ebp + 8]
nop dword [eax]
mov edx, dword [ebx]
lea ebx, [ebx + 4]
movzx ecx, al
add esi, dword [ecx*4 + 0x4b9670]
lea ecx, [esi + eax]
xor ecx, edx
mov dword [ebx - 4], ecx
mov ecx, esi
shl ecx, 5
add ecx, 3
add ecx, edx
add esi, ecx
mov ecx, eax
not ecx
shr eax, 0xb
shl ecx, 0x15
add ecx, 0x11111111
or eax, ecx
sub edi, 1
jne 0x404ca0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404ce0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov eax, 0x7fed7fed
mov edi, 0xeeeeeeee
mov cl, byte [esi]
inc esi
test cl, cl
je 0x404d2e
shl ebx, 8
nop dword [eax + eax]
movzx ecx, cl
lea esi, [esi + 1]
add eax, edi
movzx edx, byte [ecx + 0x4b8570]
lea ecx, [edx + ebx]
xor eax, dword [ecx*4 + 0x4b8670]
mov ecx, edi
shl ecx, 5
add ecx, edx
add ecx, edi
lea edi, [eax + 3]
add edi, ecx
mov cl, byte [esi - 1]
test cl, cl
jne 0x404d00
pop edi
pop esi
pop ebx
ret
Function at 0x4736c5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x473704
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x473704
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x473704
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x473704
cmp dword [ecx + 0x74], 0xe
jbe 0x473704
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4790a5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0047836c
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.004783a7
push ebp
xor dh, cl
cli
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.004783b7
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0047836c
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.004783a7
outsb dx, byte [esi]
xchg dword [ebx], edi
mov esi, 0x10468
add byte [ebp - 0x3337b], cl
call dword [eax - 1]
jne 0x479070
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x47909b
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
add byte [edi + edx - 0x7d], dh
mov ebp, 0xfffffc68
add byte [edi], cl
test ah, dl
add dword [eax], eax
add byte [ebx + 0xf010c7d], al
test dl, cl
add dword [eax], eax
add byte [ebx + 0xf080c7d], al
test dword [eax - 0x7fffffff], ecx
invalid
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid
cmp dword [ebp - 0x398], 0
je 0x479265
cmp dword [ebp + 0xc], 1
je 0x479265
cmp dword [ebp + 0xc], 8
jne 0x47922d
Function at 0x48fc0f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4abbc4
push 0x4abbbc
push str.FlsAlloc
push 0x1f
call fcn.0048fa3a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x48fc43
push dword [ebp + 8]
mov ecx, esi
call dword [0x4a7300]
call esi
jmp 0x48fc49
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x48fc8d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4abbd4
push 0x4abbcc
push str.FlsGetValue
push 0x21
call fcn.0048fa3a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x48fcc4
push dword [ebp + 8]
mov ecx, esi
call dword [0x4a7300]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x48fccc
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4abbdc
push 0x4abbd4
push str.FlsSetValue
push 0x22
call fcn.0048fa3a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x48fd06
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4a7300]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x4932e4
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4c9060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x493327
call fcn.00488ed4
mov dword [eax], 0xf
call fcn.00488ee7
mov dword [eax], 0xd
call fcn.004860fa
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00473163
leave
ret
test eax, eax
jne 0x49332e
inc eax
jmp 0x49331b
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x493319
xor eax, eax
cmp ecx, 1
setne al
jmp 0x49331b
Function at 0x40689a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068be
xor eax, eax
test eax, eax
je 0x4068d1
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068d1
xor ecx, ecx
jmp 0x4068d4
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4069f7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x406a2e
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 0x406a08
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x406a03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a5f
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 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x406a41
pop edi
not eax
pop esi
ret 0xc

Function at 0x4016d0
Capabilities:
Encode data using xor

Disassembly:
add byte [ebx + 0x1c88f045], cl
or bh, bh
inc ebp
invalid

Function at 0x4021a0
Capabilities:
Encode data using xor

Disassembly:
movzx eax, byte [edi + 0x4067ec]
add eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
inc edi
cmp edi, 0xa
jle 0x402191
and edi, 0
mov bl, byte [edi + esi]
mov eax, edi
dec eax
mov ecx, 0xa
cdq
idiv ecx
inc edx
xor bl, byte [edx + 0x4067ec]
movzx ebx, bl
mov eax, dword [ebp - 0x10]
imul edi
xor ebx, eax
mov byte [edi + esi], bl
inc edi
cmp edi, 0x43d7
jle 0x4021a8
mov byte [esi], 0x4d
mov byte [esi + 1], 0x5a
mov edi, 1
mov ecx, dword [0x406817]
mov eax, edi
add eax, 0x261
mov bl, byte [eax + ecx]
mov eax, edi
dec eax
mov ecx, 0xa
cdq
idiv ecx
inc edx
xor bl, byte [edx + 0x4067ec]
mov eax, edi
add eax, 0xbb8
mov byte [eax + esi], bl
inc edi
cmp edi, 0x14
jle 0x4021df
push 0
push 0
mov eax, dword [ebp - 0x810]
push eax
call fcn.004057e6
cmp eax, 0xffffffff
jne 0x402228
jmp 0x402241
push 0x43d8
push esi
mov eax, dword [ebp - 0x810]
push eax
call fcn.004057c2
cmp eax, 0xffffffff
jne 0x402241
jmp 0x402241
mov eax, dword [ebp - 0x810]
push eax
call fcn.004057da
cmp eax, 0xffffffff
jne 0x402257
jmp 0x402356
push esi
call fcn.004038cc
push 0x4067fb
push dword [ebp - 0x5f9]
call fcn.004041ac
call fcn.00404cf8
test eax, eax
je 0x4022d5
call fcn.00404cf8
mov esi, eax
mov edi, 1
jmp 0x4022d1
lea eax, [ebp - 0x5f9]
push eax
lea eax, [ebp - 0x708]
push eax
push dword [ebp - 0x5f9]
call fcn.004041e4
push 0x4061a6
call fcn.00404248
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x808]
push eax
push edi
call fcn.00404d00
call fcn.004040f8
pop eax
push dword [eax]
call fcn.00404248
pop eax
push dword [eax]
call fcn.004041ac
inc edi
cmp esi, edi
jge 0x402284
mov dword [ebp - 0x3e4], 0x44
invalid
Function at 0x2e01416e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x2e0306d8
call fcn.2e001511
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call fcn.2e014eb5
test ax, ax
je 0x2e014216
lea eax, [ebp - 0x10]
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014216
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01420d
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.2e015f52
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014200
push esi
mov ecx, edi
call fcn.2e010e6c
push 1
push esi
mov byte [ebp - 4], bl
call fcn.2e015f52
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.2e00155b
ret

Function at 0x2e014ca3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x2e030759
call fcn.2e02e6de
mov esi, dword [ebp + 8]
xor eax, eax
mov bl, al
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x10], eax
jbe 0x2e014da7
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.2e014b8d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push esi
call fcn.2e010d8f
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014d65
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x2e033941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014d5c
mov eax, dword [ebp - 0x2c]
inc eax
push eax
call fcn.2e015f52
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push esi
push 0
push 0
push 0x2e033941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014d4e
push esi
mov ecx, edi
call fcn.2e010e6c
mov bl, 1
push 1
push esi
mov byte [ebp - 4], 0
call fcn.2e015f52
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x2e014da7
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 2
cmp eax, 0x1000
jb 0x2e014d9e
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.2e015f52
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.2e015f52
pop ecx
pop ecx
mov al, bl
call fcn.2e02e6bc
ret 8