joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424900
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x424922
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x424929
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x424918
mov eax, 1
add ebx, ebx
jne 0x42493b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x424930
jne 0x42494c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x424930
xor ecx, ecx
sub eax, 3
jb 0x424960
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4249d2
mov ebp, eax
add ebx, ebx
jne 0x42496b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x424978
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42499c
inc ecx
add ebx, ebx
jne 0x424988
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42497d
jne 0x424999
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42497d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4249bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4249ad
jmp 0x42491e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4249bc
add edi, ecx
jmp 0x42491e
pop esi
mov edi, esi
mov ecx, 0x82d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4249da
cmp byte [edi], 0xd
jne 0x4249da
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4249df
lea edi, [esi + 0x22000]
mov eax, dword [edi]
or eax, eax
je 0x424a57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25a88]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25b3c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x424a0c
mov ecx, edi
jns 0x424a3b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x25b40]
or eax, eax
je 0x424a51
mov dword [ebx], eax
add ebx, 4
jmp 0x424a29
call dword [esi + 0x25b48]
mov ebp, dword [esi + 0x25b44]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x424a8b
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x402b40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x118
mov eax, dword [0x4321d8]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push esi
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.SoftwareIntelDisplayigfxcuiigfxsrvcDesktopGammaDefault
xor bl, bl
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [esp + 0x20], 0
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402ca7
push edi
push 0x104
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00411950
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.BrightnessDefault
push edx
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x2c], 1
call edi
test eax, eax
jne 0x402bfc
lea eax, [esp + 0x1c]
push eax
call fcn.00411e17
push 0x104
lea ecx, [esp + 0x24]
push 0
push ecx
mov dword [esi + 0xc], eax
call fcn.00411950
add esp, 0x10
mov bl, 1
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.ContrastDefault
push edx
call edi
test eax, eax
jne 0x402c43
lea eax, [esp + 0x1c]
push eax
call fcn.00411e17
push 0x104
lea ecx, [esp + 0x24]
push 0
push ecx
mov dword [esi + 0x10], eax
call fcn.00411950
add esp, 0x10
mov byte [esp + 0xe], 1
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.GammaDefault
push edx
call edi
test eax, eax
pop edi
jne 0x402c8b
lea eax, [esp + 0x18]
push eax
call fcn.00411e17
push 0x104
lea ecx, [esp + 0x20]
push 0
push ecx
mov dword [esi + 0x14], eax
call fcn.00411950
add esp, 0x10
mov byte [esp + 0xb], 1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x402ca7
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffc4
jl 0x402ca7
cmp eax, 0x64
jle 0x402cae
mov dword [esi + 0xc], 0
cmp byte [esp + 0xa], 0
je 0x402cc2
mov eax, dword [esi + 0x10]
cmp eax, 0x28
jl 0x402cc2
cmp eax, 0x64
jle 0x402cc9
mov dword [esi + 0x10], 0x32
cmp byte [esp + 0xb], 0
je 0x402cdd
mov eax, dword [esi + 0x14]
cmp eax, 0xa
jl 0x402cdd
cmp eax, 0x32
jle 0x402ce4
mov dword [esi + 0x14], 0xa
mov ecx, dword [esp + 0x11c]
pop esi
pop ebx
xor ecx, esp
call fcn.00411941
add esp, 0x118
ret

Function at 0x404790
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x4321d8]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push 0x94
xor esi, esi
lea eax, [esp + 8]
push esi
push eax
call fcn.00411950
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4047dd
cmp dword [esp + 8], 6
mov eax, 1
je 0x4047df
mov eax, esi
mov ecx, dword [esp + 0x98]
pop esi
xor ecx, esp
call fcn.00411941
add esp, 0x98
ret
Function at 0x405a20
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x405a40
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x405a56
push 0x80004005
call fcn.004056c0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
add eax, 1
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x405a80
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x405a98
push 0x80004005
call fcn.004056c0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
add esi, eax
add edi, eax
cmp eax, 1
jne 0x405aa5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x4065a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4321d8]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x40660e
test ecx, ecx
je 0x406600
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x40661c
test ecx, ecx
je 0x4066c1
push ecx
jmp 0x4066bb
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x40668e
jmp 0x406650
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.004065a0
mov edi, eax
test edi, edi
jne 0x4066dd
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x406650
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4066a5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4066c1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00411941
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4066ec
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4066c3

Function at 0x406910
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esi + 0x34], eax
jne 0x40692e
xor al, al
pop esi
pop ecx
ret
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x406900
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop esi
pop ecx
ret
Function at 0x40c4f0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esp + 0x30]
push 0x425918
push eax
push 0x431170
mov ecx, 0x43390c
call fcn.00406040
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov cx, word [0x426458]
mov dl, byte [0x42645a]
mov dword [0x43393c], eax
lea eax, [esp + 0xc]
push eax
push esi
mov word [esp + 0x14], cx
mov byte [esp + 0x16], dl
xor ebx, ebx
call fcn.004062d0
mov esi, eax
add esp, 8
test esi, esi
je 0x40c594
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea esp, [esp]
push str.UnregServer
push esi
call edi
test eax, eax
je 0x40c618
push str.RegServer
push esi
call edi
test eax, eax
je 0x40c63a
lea ecx, [esp + 0xc]
push ecx
push esi
call fcn.004062d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c560
mov ecx, 0x43390c
call fcn.00406910
push 1
push 4
mov ecx, 0x43390c
call fcn.00406830
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call esi
test eax, eax
je 0x40c5e8
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea esp, [esp]
lea eax, [esp + 0x10]
push eax
call edi
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
call esi
test eax, eax
jne 0x40c5d0
mov ecx, 0x43390c
call fcn.004068c0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x43390c
call fcn.00406790
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret 0x10
push 0
push 0
push 0x64
push 0x43390c
call fcn.0040bdd0
push 0
push 1
mov ecx, 0x43390c
call fcn.0040c0f0
mov ebx, eax
jmp 0x40c5fd
push 0
push 1
push 0x64
push 0x43390c
call fcn.0040bdd0
push 0
push 1
mov ecx, 0x43390c
call fcn.0040c060
mov ebx, eax
jmp 0x40c5fd

Function at 0x410859
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4321d8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004107ee
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00411950
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4108a8
cmp dword [ebp - 0x1c], 5
jb 0x4108c0
jmp 0x4108bc
cmp dword [ebp - 0x10], 1
jne 0x4108c0
cmp dword [ebp - 0x1c], 4
ja 0x4108bc
jne 0x4108c0
cmp dword [ebp - 0x18], 0
jbe 0x4108c0
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x426b38
call fcn.00405810
test eax, eax
jge 0x4108e1
mov byte [0x4338c0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00411941
add ebp, 0x78
leave
ret

Function at 0x411941
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4321d8]
jne 0x41194b
repz ret
jmp fcn.00415e4c
Function at 0x41fd03
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00414160
xor ebx, ebx
cmp dword [0x4343e0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41fdd8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x41fd43
xor eax, eax
jmp 0x41fe9c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x41fd3c
push eax
call fcn.004140fd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4343e0], eax
call esi
push eax
call fcn.004140fd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4343e4], eax
call esi
push eax
call fcn.004140fd
mov dword [0x4343e8], eax
lea eax, [ebp - 8]
push eax
call fcn.0041a1aa
test eax, eax
pop ecx
pop ecx
je 0x41fda6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041137d
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41fdd8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004140fd
cmp eax, ebx
pop ecx
mov dword [0x4343f0], eax
je 0x41fdd8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004140fd
pop ecx
mov dword [0x4343ec], eax
mov eax, dword [0x4343ec]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x41fe51
cmp dword [0x4343f0], esi
je 0x41fe51
push eax
call fcn.00414169
pop ecx
call eax
cmp eax, ebx
je 0x41fe1e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4343f0]
call fcn.00414169
pop ecx
call eax
test eax, eax
je 0x41fe1e
test byte [ebp - 0x18], 1
jne 0x41fe51
lea eax, [ebp - 0xc]
push eax
call fcn.0041a1e1
test eax, eax
pop ecx
je 0x41fe39
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041137d
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x41fe48
or dword [ebp + 0x10], 0x200000
jmp 0x41fe82
or dword [ebp + 0x10], 0x40000
jmp 0x41fe82
mov eax, dword [0x4343e4]
cmp eax, esi
je 0x41fe82
push eax
call fcn.00414169
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41fe82
mov eax, dword [0x4343e8]
cmp eax, esi
je 0x41fe82
push dword [ebp - 4]
push eax
call fcn.00414169
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4343e0]
call fcn.00414169
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000524a
Capabilities:
Parse pe header

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

Function at 0x10009a4b
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100099cd
Function at 0x1000b845
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000b8e2
push ebx
push esi
call fcn.1000b80e
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000b7a2
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000b88f
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b8e1
push edi
push eax
call fcn.1000c447
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000b8af
call fcn.1000a5ee
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b8e0
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000b7a2
add esp, 0x20
test eax, eax
jne 0x1000b8ce
push edi
call fcn.1000a5ee
jmp 0x1000b8d6
push ebx
call fcn.1000a5ee
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000bc03
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10017e90
push 0x10017e88
push str.FlsAlloc
push 0x1f
call fcn.1000ba9f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000bc37
push dword [ebp + 8]
mov ecx, esi
call dword [0x10016124]
call esi
jmp 0x1000bc3d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000bc81
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10017ea0
push 0x10017e98
push str.FlsGetValue
push 0x21
call fcn.1000ba9f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000bcb8
push dword [ebp + 8]
mov ecx, esi
call dword [0x10016124]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000bcc0
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10017ea8
push 0x10017ea0
push str.FlsSetValue
push 0x22
call fcn.1000ba9f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000bcfa
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10016124]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10015020
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001504d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001504d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5ac589
Capabilities:
Encode data using xor

Disassembly:
push 0xfe4a9667
mov al, 0x10
call int.005a8fd3

Function at 0x5c9908
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x6c0cfd
lea esp, [esp + 0x48]
call fcn.006b75db
call fcn.006bbeff

Function at 0x6b7dc5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xe65ed010
test edx, edx
pushfd
pushfd
lea esp, [esp + 0xc]
je 0x5a5413
sar ecx, 0x1f
add ch, ah
sar cx, cl
add edx, eax
bts ecx, esp
rcl cx, 0xb
rcr ch, cl
mov ecx, dword [esi + 0x7c]
call fcn.005afede
lea esp, [esp + 0x10]
je 0x5a5413
ror si, cl
movzx si, cl
mov esi, dword [eax + 0x3c]
rol dx, cl
btr dx, di
sar dl, cl
add esi, eax
lea edx, [esp + 0x15a1d032]
xor dh, 0x4a
shl dh, cl
bsr dx, sp
mov edx, dword [esi + 0x78]
clc
jmp 0x5b4bd3

Function at 0x6be6e9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
adc al, al
jmp 0x6c0d0b
push 0x883dfbac
inc ecx
pushfd
jmp 0x6c312b
push 0x1a7f77e9
mov byte [esp], 0x21
push edi
lea esp, [esp + 8]
jae 0x5ac227
call fcn.005c8542
sets al
setb al
mov al, 0x10
mov word [esp + 4], 0x52bd
lea esp, [esp + 0x30]
call fcn.005a5482
jmp 0x6bb06c

Function at 0x6bf192
Capabilities:
Encode data using xor

Disassembly:
bt ax, dx
test ah, bh
repne scasb al, byte es:[edi]
pushfd
call fcn.006b57fd
Function at 0x100084c0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37c8
call fcn.100752c0
mov eax, dword [0x100a800c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ecx]
lea eax, [ebp - 0x108]
xor esi, esi
push str..PhysicalDrive_d
push eax
call fcn.10008d90
add esp, 0xc
lea eax, [ebp - 0x108]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100086e3
push 0x2710
lea eax, [ebp - 0x37b8]
mov dword [ebp - 0x37bc], esi
push esi
push eax
mov dword [ebp - 0x37c0], esi
mov dword [ebp - 0x37c8], esi
mov dword [ebp - 0x37c4], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push esi
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0xc
lea eax, [ebp - 0x37c8]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100086d6
mov edx, dword [ebp - 0x37ac]
lea eax, [ebp - 0x8d8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008330
mov edx, dword [ebp - 0x37a8]
lea eax, [ebp - 0xcc0]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008330
mov edx, dword [ebp - 0x37a4]
lea eax, [ebp - 0x10a8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008330
mov edx, dword [ebp - 0x37a0]
lea eax, [ebp - 0x4f0]
push eax
push 1
lea ecx, [ebp - 0x37b8]
call fcn.10008330
add esp, 0x20
cmp byte [0x100aae88], 0
jne 0x10008699
movsx eax, byte [ebp - 0x4f0]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
jne 0x10008612
movsx eax, byte [ebp - 0x4dd]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
je 0x10008699
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x8d8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100aaa87], al
test al, al
jne 0x10008620
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0xcc0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100aa287], al
test al, al
jne 0x10008640
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x4f0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100aae87], al
test al, al
jne 0x10008660
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x10a8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100aa687], al
test al, al
jne 0x10008680
mov esi, 1
push 0x2710
lea eax, [ebp - 0x37b8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0
push 0
push 0x700a0
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x100086dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10073f29
mov esp, ebp
pop ebp
ret