joyce8/EMBER2024-capa huggingface dataset:
Function at 0x696f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x6ab9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x697002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.0069adff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x697002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.006926e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0069b20b
push 0x10
call fcn.0069b1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x696fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.006871c0
jmp 0x696fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00696b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x696ff0
mov ecx, edi
call fcn.006872c0
push edi
call fcn.0069b1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x697021
inc ebx
cmp ebx, 0x20
jb 0x696f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x698250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ac808
push 0x69c288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x698329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x698329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0069b1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x698329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x698329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x69832c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00698351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x698d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x698d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x698d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x698d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x698d94
push eax
push esi
call fcn.0069b20b
add esp, 8
pop esi
ret 0x10

Function at 0x698da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x698e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x698e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x6b1320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0069adff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x698dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x698e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x698ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x698eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x6b1320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0069adff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x698eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x698e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x699000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x699131
push esi
call fcn.0069c145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.0068b080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x699131
push 0
push ebp
call fcn.0068b3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.0068b260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x69908b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.0068b2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x699121
push 0x6b1918
push edi
call fcn.0069a3f0
push eax
push ebx
push esi
call fcn.00698f60
push 0x6b18f8
push edi
call fcn.0069a3f0
push eax
push ebx
push esi
call fcn.00698f60
push 0x6b18d8
push edi
call fcn.0069a3f0
push eax
push ebx
push esi
call fcn.00698f60
push 0x6b18c0
push edi
call fcn.0069a3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00698f60
push 0x6b18a0
push edi
call fcn.0069a3f0
push eax
push ebx
push esi
call fcn.00698f60
push 0x6b1888
push edi
call fcn.0069a3f0
push eax
push ebx
push esi
call fcn.00698f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x69a1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0069a140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0069a140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0069a140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0069a140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x69abfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x69ac50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x6ac87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x69ac43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x69ac52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4037c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4b6134]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 0
push 1
mov esi, ecx
push 0
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
jne 0x403828
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
test esi, esi
mov dword [ebp - 8], edi
xorps xmm0, xmm0
mov dword [ebp - 8], 0x4a6190
movq qword [ebp - 0x10], xmm0
setne byte [ebp - 0xc]
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x403916
mov esi, dword [ebp - 0x18]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
mov dword [ebx + 8], eax
cmp dword [esi + 8], 0
jne 0x40387c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
test esi, esi
mov dword [ebp - 8], 0
xorps xmm0, xmm0
mov dword [ebp - 8], 0x4a6190
movq qword [ebp - 0x10], xmm0
setne byte [ebp - 0xc]
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x403923
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push ebx
push 0x403940
push 0
push 0
call fcn.00468ef7
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4038f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [ebp - 0x1c], eax
call dword [edx]
test edi, edi
je 0x4038c0
push edi
call esi
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x4038cd
push eax
call esi
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
test eax, eax
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
setne byte [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0x4a6190
test eax, eax
jne 0x403930
test edi, edi
je 0x403903
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045d512
mov esp, ebp
pop ebp
ret 8
mov edx, str.thread.entry_event
lea ecx, [ebp - 0x10]
call fcn.00403480
mov edx, str.thread.exit_event
lea ecx, [ebp - 0x10]
call fcn.00403480
mov edx, str.thread
lea ecx, [ebp - 0x10]
call fcn.00403480
int3

Function at 0x4039c0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4b6134]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, eax
cmp esi, 0xffffffff
jne 0x403a07
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov dword [ebp - 8], 0
xorps xmm0, xmm0
mov dword [ebp - 8], 0x4a6190
movq qword [ebp - 0x10], xmm0
setne byte [ebp - 0xc]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x403a18
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0045d512
mov esp, ebp
pop ebp
ret
mov edx, 0x4a3974
lea ecx, [ebp - 0x10]
call fcn.00403480
int3
Function at 0x403d20
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4b6134]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x68]
mov dword [esi], vtable.boost::asio::detail::scheduler.0
test edi, edi
je 0x403db3
mov eax, dword [edi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
push 0xffffffffffffffff
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [edi + 8]
call ebx
xor eax, eax
mov ecx, 0x4bdecc
lock xadd dword [ecx], eax
mov ecx, dword [edi + 4]
push 0
push ecx
test eax, eax
je 0x403d86
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x403d9c
push fcn.00403670
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [esi + 0x68]
test edi, edi
je 0x403db3
push dword [edi + 4]
call ebx
push 0xc
push edi
call fcn.0045d9bb
add esp, 8
lea ecx, [esi + 0x58]
call fcn.00415f70
push dword [esi + 0x34]
call ebx
push dword [esi + 0x38]
call ebx
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
test byte [ebp + 8], 1
mov dword [esi], vtable.boost::asio::execution_context::service.0
je 0x403de6
push 0x6c
push esi
call fcn.0045d9bb
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045d512
mov esp, ebp
pop ebp
ret 4
Function at 0x403e10
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48328d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4b6134]
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 esi, ecx
cmp byte [esi + 0x30], 0
lea edi, [esi + 0x18]
mov dword [ebp - 0x28], edi
je 0x403e54
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, 1
jmp 0x403e56
xor bl, bl
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], 0
cmp dword [esi + 0x68], 0
mov byte [esi + 0x61], 1
je 0x403e91
mov byte [esi + 0x60], 1
cmp byte [edi + 0x18], 0
je 0x403e81
push dword [esi + 0x34]
or dword [esi + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp byte [esi + 0x50], 0
jne 0x403e91
cmp dword [esi + 0x40], 0
je 0x403e91
mov byte [esi + 0x50], 1
test bl, bl
je 0x403ea7
cmp byte [edi + 0x18], 0
je 0x403ea2
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor bl, bl
mov byte [ebp - 0x24], bl
mov ecx, dword [esi + 0x68]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x403f3d
mov eax, dword [ecx + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 4]
push 0xffffffffffffffff
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [ebp - 0x20]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, 0x4bdecc
lock xadd dword [ecx], eax
mov ecx, dword [ebp - 0x20]
push 0
mov ecx, dword [ecx + 4]
push ecx
test eax, eax
je 0x403efd
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x403f16
push fcn.00403670
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov eax, dword [ebp - 0x20]
push 0xffffffffffffffff
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x403f36
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push dword [ebp - 0x20]
call fcn.0045d9bb
add esp, 8
mov dword [esi + 0x68], 0
mov eax, dword [esi + 0x58]
test eax, eax
je 0x403f8a
lea edx, [esi + 0x44]
mov ecx, dword [eax]
mov dword [esi + 0x58], ecx
test ecx, ecx
jne 0x403f53
mov dword [esi + 0x5c], ecx
mov dword [eax], 0
cmp eax, edx
je 0x403f83
push 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push ecx
push eax
mov eax, dword [eax + 4]
push 0
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x4a6190
call eax
add esp, 0x10
lea edx, [esi + 0x44]
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x403f47
mov dword [esi + 0x40], 0
test bl, bl
je 0x403f9c
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.0045d512
mov esp, ebp
pop ebp
ret
Function at 0x403fc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4832dd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4b6134]
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 esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x44], 0
movq xmm0, qword [ebp - 0x48]
movq qword [ebx], xmm0
mov dword [ebx + 8], 0x4a6190
mov eax, dword [esi + 0x54]
lea edi, [esi + 0x18]
test eax, eax
jne 0x404060
cmp byte [edi + 0x18], al
je 0x404025
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, 1
jmp 0x404027
xor bl, bl
mov byte [esi + 0x60], 1
cmp byte [edi + 0x18], 0
je 0x40403e
push dword [esi + 0x34]
or dword [esi + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp byte [esi + 0x50], 0
jne 0x40404e
cmp dword [esi + 0x40], 0
je 0x40404e
mov byte [esi + 0x50], 1
test bl, bl
je 0x404059
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x404165
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x3c], xmm0
mov ecx, esi
mov dword [ebp - 4], 0
push dword [0x4bdf54]
neg ecx
movq qword [ebp - 0x24], xmm0
lea eax, [esi + 0x14]
mov dword [ebp - 0x28], 0
sbb ecx, ecx
mov dword [ebp - 0x1c], 0
and ecx, eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x4bdf54]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp byte [edi + 0x18], 0
mov dword [ebp - 0x18], edi
je 0x4040d1
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
jmp 0x4040d5
mov byte [ebp - 0x14], 0
push ebx
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
xor edi, edi
call fcn.004041c0
test eax, eax
je 0x404129
nop
cmp edi, 0xffffffff
lea eax, [edi + 1]
cmove eax, edi
mov edi, eax
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x18], 0
je 0x404115
cmp byte [ebp - 0x14], 0
jne 0x404115
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
push ebx
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004041c0
test eax, eax
jne 0x4040f0
cmp byte [ebp - 0x14], 0
je 0x404138
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x1c]
push dword [0x4bdf54]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [ebp - 0x30]
call fcn.00415f70
xor esi, esi
push dword [ebp + esi*4 - 0x3c]
call fcn.0044afb0
inc esi
add esp, 4
cmp esi, 3
jl 0x404151
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.0045d512
mov esp, ebp
pop ebp
ret 4
Function at 0x406030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483540
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4b6134]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
mov edx, dword [esi + 0x34]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call fcn.0044afb0
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x406094
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x4060a5
push 0x48
push esi
call fcn.0045d9bb
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4072c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483891
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x4b6134]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x28], edi
push 0
mov dword [ebp - 0x20], 0
call fcn.004410f0
mov dword [ebp - 4], 0
mov dword [edi], vtable.CryptoPP::BaseN_Decoder.0
mov dword [edi + 4], vtable.CryptoPP::BaseN_Decoder.1.0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x30], 0xffffffff
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00441990
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00443540
mov esi, eax
push 0x14
mov byte [ebp - 4], 3
call fcn.0045d73a
mov ecx, eax
xorps xmm0, xmm0
mov eax, dword [ebx + 8]
add esp, 4
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], str.DecodingLookupArray
mov word [ecx + 8], 1
mov dword [ecx + 0xc], 0
mov dword [ecx], vtable.CryptoPP::AlgorithmParametersTemplate_int_const__.0
mov dword [ecx + 0x10], eax
mov byte [ebp - 4], 4
mov eax, dword [esi + 4]
mov dword [esi + 4], 0
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x24], eax
test edx, edx
je 0x4073e6
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0xc], eax
mov edx, dword [esi + 4]
mov dword [ebp - 0x18], 0
test edx, edx
je 0x407402
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 4], ecx
mov byte [esi + 8], 1
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.004434c0
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x40742e
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 2
push eax
push str.Log2Base
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x34], vtable.CryptoPP::NameValuePairs.0
call fcn.0041a790
push eax
mov ecx, edi
call fcn.0044b640
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x407463
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045d512
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc