joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x471008]
jne 0x40100a
repz ret
jmp fcn.00401910

Function at 0x404efa
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004032f7
and dword [ebp - 4], 0
cmp dword [0x4729f0], 0
mov ebx, eax
jne 0x404fab
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40505c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40505c
push eax
call fcn.00403285
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4729f0], eax
call esi
push eax
call fcn.00403285
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4729f4], eax
call esi
push eax
call fcn.00403285
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4729f8], eax
call esi
push eax
call fcn.00403285
pop ecx
mov dword [0x472a00], eax
test eax, eax
je 0x404fab
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403285
pop ecx
mov dword [0x4729fc], eax
mov eax, dword [0x4729fc]
cmp eax, ebx
je 0x405003
cmp dword [0x472a00], ebx
je 0x405003
push eax
call fcn.00403300
push dword [0x472a00]
mov esi, eax
call fcn.00403300
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405003
test edi, edi
je 0x405003
call esi
test eax, eax
je 0x404ffa
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404ffa
test byte [ebp - 0xc], 1
jne 0x405003
or dword [ebp + 0x10], 0x200000
jmp 0x40503c
mov eax, dword [0x4729f4]
cmp eax, ebx
je 0x40503c
push eax
call fcn.00403300
pop ecx
test eax, eax
je 0x40503c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40503c
mov eax, dword [0x4729f8]
cmp eax, ebx
je 0x40503c
push eax
call fcn.00403300
pop ecx
test eax, eax
je 0x40503c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4729f0]
call fcn.00403300
pop ecx
test eax, eax
je 0x40505c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40505e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46e9e0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x404
mov eax, dword [0x471008]
xor eax, esp
mov dword [esp + 0x400], eax
cmp dword [0x85851c], 0x114e
mov eax, dword [esp + 0x408]
mov dword [0x858360], eax
jne 0x46ea21
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.00401000
add esp, 0x404
ret
Function at 0x46ea50
Capabilities:
Get hostname

Disassembly:
sub esp, 0xc18
mov eax, dword [0x471008]
xor eax, esp
mov dword [esp + 0xc14], eax
mov eax, dword [esp + 0xc1c]
push edi
xor edi, edi
cmp dword [esp + 0xc24], edi
mov dword [esp + 0xc], eax
jle 0x46eb40
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push esi
lea esp, [esp]
lea esi, [esp + 0x1c]
mov dword [esp + 0x14], 5
mov dword [esp + 0x1c], 0
call fcn.0046ea40
mov eax, dword [esp + 0x1c]
add eax, 0x46
mov dword [esp + 0x14], eax
nop
sub dword [esp + 0x14], 0x46
mov ecx, dword [esp + 0x18]
movsx edx, byte [ecx + edi]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
xor dword [esp + 0x10], eax
mov esi, dword [esp + 0xc30]
mov al, byte [esp + 0x10]
mov byte [ecx + edi], al
cmp esi, 0xf
jne 0x46eb34
push 0
push 0
call ebp
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push str.rihuvuvujikokogububeyus
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
push 0
lea eax, [esp + 0x428]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebx
push str.depezavobisobozaberuxokehor
push 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
inc edi
cmp edi, esi
jl 0x46ea90
pop esi
pop ebp
pop ebx
cmp dword [esp + 0xc24], 0x2d
pop edi
jne 0x46eb5f
mov dword [0x858650], 0xa62e7790
mov dword [0x858654], 0xffffffff
mov ecx, dword [esp + 0xc14]
xor ecx, esp
call fcn.00401000
add esp, 0xc18
ret

Function at 0x46eb80
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x471008]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [0x471c50]
push esi
mov esi, dword [0x85851c]
push edi
mov edi, dword [0x858364]
push eax
call fcn.0046e9e0
add esp, 4
cmp dword [0x85851c], 0x2f
jne 0x46ebbf
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
push edi
call fcn.0046ea50
add esp, 8
cmp dword [0x85851c], 0x568
pop edi
pop esi
jne 0x46ebf8
push 0
push 0
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea edx, [esp + 0x404]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401000
add esp, 0x804
ret
Function at 0x10011de0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [0x1027ad84]
xor edx, edx
div dword [0x1027ad88]
imul eax, eax, 0x92260191
imul eax, eax, 0x27d6e47b
imul eax, eax, 0xbd8e36b
cmp eax, 0xfcaba03d
je 0x10011ff4
mov ecx, dword [0x1027ad8c]
mov edx, dword [0x1027ad90]
mov esi, edx
not esi
mov eax, ecx
or eax, esi
not ecx
or ecx, edx
not eax
not ecx
or eax, ecx
xor eax, 0x36eade41
mov ecx, 0xb818882d
mul ecx
mov eax, edx
mov edx, dword [ebp - 8]
shr eax, 0x1d
or eax, 0x74f9a9eb
push eax
mov ecx, esp
mov dword [ebp - 0x10], ecx
mov dword [ecx], edx
cmp dword [ecx], 0x8007000e
sete cl
mov byte [ebp - 9], cl
cmp eax, 0x4732df2c
je 0x10011e17
mov al, byte [ebp - 9]
test al, 1
jne 0x10011e7d
jmp 0x10011f53
mov edx, dword [0x1027ad94]
mov ecx, dword [0x1027ad98]
mov eax, edx
xor eax, 0xffffffff
xor edx, 0xffffffff
and eax, edx
or ecx, ecx
xor ecx, 0xffffffff
xor eax, 0xffffffff
xor ecx, 0xffffffff
and eax, ecx
sub eax, 0x29f70a6d
add eax, 0x2162eb4c
imul eax, eax, 0x3dfb42b8
cmp eax, 0xbde9967
jbe 0x10012001
mov ecx, dword [0x1027ad9c]
imul ecx, dword [0x1027ada0]
mov eax, ecx
xor eax, 0xffffffff
mov edx, ecx
xor edx, 0xffffffff
or eax, edx
xor eax, 0xffffffff
mov edx, 0xffffffff
xor edx, 0x87f21127
or eax, edx
mov edx, 0xffffffff
xor edx, 0x87f21127
mov esi, 0xffffffff
xor esi, 0x87f21127
or edx, esi
and ecx, edx
xor ecx, 0xffffffff
xor eax, 0xffffffff
xor ecx, 0xffffffff
or eax, ecx
mov ecx, 0x694adfba
xor edx, edx
div ecx
mov esi, 0xffffffff
xor esi, 0x407287ca
mov edx, eax
and edx, esi
mov ecx, eax
or ecx, esi
xor ecx, 0xffffffff
imul ecx, edx
mov edx, eax
and edx, 0x407287ca
or eax, 0x407287ca
imul eax, edx
add eax, ecx
mov dword [ebp - 0x14], eax
call fcn.100b3d4a
mov eax, dword [ebp - 0x14]
cmp eax, 0x365c40a4
jae 0x10012001
mov eax, dword [0x1027ada4]
xor eax, dword [0x1027ada8]
add eax, 0xb56dbd6a
mov ecx, 0xcba95f88
xor edx, edx
div ecx
mov edx, eax
xor edx, 0xffffffff
and edx, 0x2b0d7a23
mov esi, 0xffffffff
xor esi, 0x2b0d7a23
mov ecx, eax
and ecx, esi
imul ecx, edx
mov edx, eax
and edx, 0x2b0d7a23
or eax, 0x2b0d7a23
imul eax, edx
add eax, ecx
cmp eax, 0xf4adf0e4
je 0x1001200b
mov eax, dword [0x1027adac]
mov ecx, dword [0x1027adb0]
xor ecx, 0xffffffff
add eax, ecx
add eax, 1
mov ecx, 0x2087edb9
xor edx, edx
div ecx
mov ecx, 0x8a18a510
xor edx, edx
div ecx
mov ecx, eax
mov eax, dword [ebp - 0x10]
or ecx, 0x2878eaa5
mov dword [ebp - 0x18], ecx
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.100b3f78
mov eax, dword [ebp - 0x18]
cmp eax, 0x288e3ccb
ja 0x1001200b
mov ecx, dword [ebp - 8]
push eax
mov eax, esp
mov dword [eax], ecx
jmp 0x10011e17
call fcn.100b3d4a
jmp 0x10011ebb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.100b3f78
jmp 0x10011fa6
Function at 0x10040700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x20], ecx
mov eax, esp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1004f210
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [0x1027cfcc]
mov ecx, dword [0x1027cfd0]
or eax, ecx
mov ecx, eax
xor ecx, 0x8c3c108f
and eax, 0x73c3ef70
add eax, eax
sub eax, ecx
add eax, 0x2ea236de
push eax
mov ecx, esp
mov dword [ecx], edx
mov ecx, dword [ecx]
mov dword [ebp - 0x24], ecx
cmp eax, 0x760fd4db
jae 0x10040732
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], 0
sub esp, 4
mov eax, esp
mov dword [eax], ecx
call fcn.100b6c8a
add esp, 4
jmp 0x1004078b
mov ecx, dword [0x1027cfd4]
mov eax, dword [0x1027cfd8]
add ecx, 0xda0a2559
sub ecx, eax
sub ecx, 0xda0a2559
add ecx, 0x72bd5423
add ecx, 0x3ae57e85
sub ecx, 0x72bd5423
mov eax, ecx
xor eax, 0xde5317e9
and eax, ecx
sub eax, 0xeda4ed44
cmp eax, 0x5a491a45
je 0x1004082a
mov ecx, dword [ebp - 0x24]
add ecx, 0x2c
call fcn.10040fd0
mov ecx, dword [ebp - 0x24]
add ecx, 0x24
call fcn.10040fd0
mov ecx, dword [ebp - 0x24]
add ecx, 0x1c
call fcn.10041100
mov ecx, dword [ebp - 0x24]
add ecx, 0x14
call fcn.10041100
mov ecx, dword [ebp - 0x24]
add ecx, 0xc
call fcn.10040fd0
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.10040fd0
mov ecx, dword [ebp - 0x24]
call fcn.100b6a0e
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x24]
add ecx, 0x2c
call fcn.10040fd0
mov ecx, dword [ebp - 0x24]
add ecx, 0x24
call fcn.10040fd0
mov ecx, dword [ebp - 0x24]
add ecx, 0x1c
call fcn.10041100
mov ecx, dword [ebp - 0x24]
add ecx, 0x14
call fcn.10041100
mov ecx, dword [ebp - 0x24]
add ecx, 0xc
call fcn.10040fd0
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.10040fd0
mov ecx, dword [ebp - 0x24]
call fcn.100b6a0e
jmp 0x100407cf
Function at 0x10066d80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0xc7bb134e
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
sub eax, 0x9401f445
je 0x10066e75
jmp 0x10066dbf
mov eax, dword [ebp - 0x1c]
sub eax, 0xc7bb134e
je 0x10066e36
jmp 0x10066dd2
mov eax, dword [ebp - 0x1c]
sub eax, 0xded8858d
je 0x10066f43
jmp 0x10066de5
mov eax, dword [ebp - 0x1c]
sub eax, 0x4da418b4
je 0x10066f51
jmp 0x10066df8
mov eax, dword [ebp - 0x1c]
sub eax, 0x5870e4c9
je 0x10066ec1
jmp 0x10066e0b
mov eax, dword [ebp - 0x1c]
sub eax, 0x69e877f2
je 0x10066e51
jmp 0x10066e1e
mov eax, dword [ebp - 0x1c]
sub eax, 0x72d6897b
je 0x10066e63
jmp 0x10066e31
jmp 0x10066f5a
mov ecx, 0x72d6897b
mov eax, 0x69e877f2
cmp dword [ebp - 0xc], 0
cmovne ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x10066f5a
mov byte [ebp - 5], 1
mov eax, dword [ebp - 0x18]
mov dword [eax], 0x9401f445
jmp 0x10066f5a
mov byte [ebp - 5], 0
mov eax, dword [ebp - 0x18]
mov dword [eax], 0x9401f445
jmp 0x10066f5a
mov eax, dword [0x10280aac]
imul eax, dword [0x10280ab0]
mov ecx, 0x38693511
xor edx, edx
div ecx
mov ecx, eax
add ecx, 1
xor eax, 0xffffffff
or eax, 0xc1a229b8
add eax, ecx
mov ecx, 0x581e9a08
xor edx, edx
div ecx
mov edx, eax
mov ecx, 0x5870e4c9
mov eax, 0x4da418b4
cmp edx, 0x1631732e
cmove ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x10066f5a
mov eax, dword [0x10280ab4]
mov ecx, dword [0x10280ab8]
mov edx, eax
xor edx, 0xffffffff
mov esi, eax
xor esi, 0xffffffff
and edx, esi
mov esi, ecx
or esi, esi
xor esi, 0xffffffff
or edx, esi
xor edx, 0xffffffff
or eax, ecx
xor eax, 0xffffffff
xor edx, 0xffffffff
xor eax, 0xffffffff
and edx, eax
mov eax, 0xffffffff
xor eax, 0xbcb97704
add edx, eax
add edx, 1
xor edx, 0xa203279e
mov eax, edx
xor eax, 0xe02e7cf9
mov ecx, 0xffffffff
xor ecx, 0xe02e7cf9
and edx, ecx
shl edx, 1
sub edx, eax
mov al, byte [ebp - 5]
and al, 1
mov byte [ebp - 0xd], al
mov ecx, 0x4da418b4
mov eax, 0xded8858d
cmp edx, 0xe042cf79
cmovne ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x10066f5a
mov al, byte [ebp - 0xd]
and al, 1
movzx eax, al
add esp, 0x1c
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov dword [eax], 0x5870e4c9
jmp 0x10066da9
Function at 0x100b1e80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100b1ed9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100b1ed9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x100b1eca
cmp esi, ecx
jae 0x100b1ed9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x100b1eb8
cmp esi, ecx
jae 0x100b1ed9
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
jmp 0x100b1edb
xor eax, eax
pop esi
pop ebp
ret
Function at 0x100b5c98
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x100b5ceb
push esi
push dword [ebp + 8]
call fcn.100b6260
mov edi, eax
test edi, edi
je 0x100b5ce6
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100b5ce6
mov eax, dword [ebp - 8]
jmp 0x100b5cfd
mov eax, dword [ebp + 0x10]
jmp 0x100b5cfd
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x100b5d8c
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021795e
mov eax, dword fs:[0]
push eax
mov eax, 0x201c
call fcn.100b1520
mov eax, dword [0x1028b9c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x201c], edi
mov dword [ebp - 0x2024], eax
cmp dword [ecx + 0x58], ebx
je 0x100b5ebd
push ebx
push edx
call fcn.100b6260
mov ebx, eax
test ebx, ebx
jne 0x100b5df4
push esi
jmp 0x100b5ee5
lea ecx, [ebp - 0x2014]
call fcn.100b2525
xor ecx, ecx
lea eax, [ebp - 0x2018]
push eax
push ecx
lea eax, [ebp - 0x2020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x2024]
mov dword [ebp - 0x2020], ecx
push ebx
mov dword [ebp - 0x2018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x201c], eax
test eax, eax
jne 0x100b5e7c
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2014]
shr eax, 1
push eax
call fcn.100b23a3
lea ecx, [ebp - 0x2018]
push ecx
push eax
lea eax, [ebp - 0x2020]
push eax
push 0
push dword [ebp - 0x2024]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2014]
mov dword [ebp - 0x201c], eax
call fcn.100b5b79
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x201c], 0
jne 0x100b5eaa
mov esi, dword [ebp - 0x2014]
add esi, 0xfffffff0
push esi
call fcn.100b24a3
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.100b1f47
jmp 0x100b5eec
push esi
mov ecx, edi
call fcn.100b2574
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x100b5ea3
test esi, esi
jne 0x100b5ec6
mov esi, 0x102625b4
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x2010]
push 0x1000
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2010]
push eax
mov ecx, edi
call fcn.100b2574
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bd88e
leave
ret 0x10
Function at 0x100b5fa7
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x10217931
call fcn.100bd89c
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [esi], edi
cmp dword [eax + 0x58], edi
je 0x100b604f
push dword [ebp + 8]
call fcn.100b6260
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100b60d5
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
push ecx
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push ecx
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x14]
mov dword [esi], ecx
test eax, eax
jne 0x100b6038
push ecx
call fcn.100b1454
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100b6038
xor edi, edi
inc edi
jmp 0x100b6042
push dword [ebx]
call fcn.100b145d
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.100b5c7e
jmp 0x100b60d3
mov eax, dword [eax]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [eax + 0x84]
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call dword [section..00cfg]
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x100b60cb
mov esi, dword [ebp + 0x14]
shr ecx, 1
push ecx
mov dword [esi], ecx
call fcn.100b1454
mov dword [ebx], eax
pop ecx
cmp dword [esi], edi
jbe 0x100b60c5
lea esi, [edi + edi]
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.100b5b55
push esi
lea ecx, [ebp - 0x10]
mov bl, al
call fcn.100b5b55
mov ecx, dword [ebp + 0x10]
shl bl, 4
sub bl, 0x51
add al, bl
mov ecx, dword [ecx]
mov byte [edi + ecx], al
inc edi
mov eax, dword [ebp + 0x14]
cmp edi, dword [eax]
jb 0x100b6093
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.100b1f47
mov eax, edi
call fcn.100bd974
ret 0x10
Function at 0x100b60dd
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x58], esi
je 0x100b612a
push esi
push dword [ebp + 8]
call fcn.100b6260
mov edi, eax
test edi, edi
je 0x100b61b2
push dword [ebp + 0x14]
push ebx
push 3
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
jmp 0x100b61b2
mov eax, dword [ebp + 0x14]
push 2
pop ecx
lea eax, [eax*2 + 1]
mul ecx
setb cl
movsx ecx, cl
neg ecx
or ecx, eax
push ecx
call fcn.100b1454
mov edx, dword [ebp + 0x14]
pop ecx
mov ecx, eax
mov dword [ebp - 8], ecx
test edx, edx
je 0x100b6184
mov dword [ebp - 4], 0x41
mov al, byte [ebx + esi]
and al, 0xf
movzx eax, al
add ax, word [ebp - 4]
mov word [ecx + esi*4], ax
mov al, byte [ebx + esi]
shr al, 4
movzx eax, al
add ax, word [ebp - 4]
mov word [ecx + esi*4 + 2], ax
inc esi
cmp esi, edx
jb 0x100b615d
xor eax, eax
mov word [ecx + esi*4], ax
mov eax, dword [edi]
push ecx
push dword [ebp + 0xc]
mov esi, dword [eax + 0x88]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
mov ecx, edi
call esi
push dword [ebp - 8]
mov esi, eax
call fcn.100b145d
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x100b8882
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x10217bac
call fcn.100bd8cf
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 0x1c]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 8]
test edi, edi
jle 0x100b8979
cmp edi, dword [ebx + 0xc]
jge 0x100b8979
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x100b88d9
cmp edi, dword [esi + 8]
jl 0x100b8967
cmp dword [ebp + 0xc], 0
je 0x100b8967
xor edi, edi
jmp 0x100b890b
xor edi, edi
push 0x10
mov dword [ebp - 4], edi
call fcn.100b8a08
mov esi, eax
test esi, esi
je 0x100b88f3
mov dword [esi], vtable.CThreadData.0
jmp 0x100b88f5
mov esi, edi
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
mov dword [esi + eax], ecx
mov dword [ebx + 0x14], esi
push 4
push dword [ebx + 0xc]
call fcn.100b82f0
cmp dword [esi + 0xc], 0
pop ecx
pop ecx
jne 0x100b8927
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x100b8933
push 2
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x100b89a0
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push edi
push eax
call fcn.101f0670
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov dword [esi + 8], eax
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100b8979
cmp edi, dword [esi + 8]
jge 0x100b8979
mov eax, dword [ebp + 0xc]
mov dword [ecx + edi*4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.100bd974
ret 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.100b3d4a
int3