joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b6b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x41b6d8
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x41b7d0
add esp, 0x14
pop ebx
pop esi
ret 0xc
cmp eax, 1
je 0x41b7a0
cmp eax, 3
jne 0x41b6c9
mov eax, dword [0x433120]
cmp eax, 0xffffffff
je 0x41b6c9
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41b6c9
test byte [eax + 0x20], 0x30
je 0x41b800
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x41b71b
call fcn.0041b3e0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x41b74d
mov dword [esp], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [ebx + 0x18]
sub esp, 4
test eax, eax
je 0x41b73f
mov dword [esp], eax
call esi
sub esp, 4
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call fcn.0041a990
lea eax, [ebx + 0x38]
mov dword [esp], eax
call fcn.0041e9f0
cmp eax, 1
je 0x41b8ce
mov eax, dword [ebx + 0xb0]
mov dword [ebx + 0x38], 0xffffffff
test eax, eax
je 0x41b8c2
mov eax, dword [0x433120]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
jmp 0x41b6c9
mov eax, dword [0x44cacc]
test eax, eax
je 0x41b7ec
mov dword [esp + 4], 0x41ab40
mov dword [esp], 1
call eax
mov dword [0x44cad0], eax
add esp, 0x14
pop ebx
pop esi
ret 0xc
mov eax, dword [0x44cad0]
test eax, eax
je 0x41b6c9
mov edx, dword [0x44cac8]
test edx, edx
je 0x41b7ec
mov dword [esp], eax
call edx
mov dword [0x44cad0], 0
add esp, 0x14
pop ebx
pop esi
ret 0xc
mov edx, dword [ebx + 0x68]
mov eax, dword [eax + 0x18]
test edx, edx
jne 0x41b874
test eax, eax
je 0x41b81a
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebx + 0xb4]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x68], 1
test eax, eax
je 0x41b837
call fcn.0041b3e0
test byte [ebx + 0x24], 4
je 0x41b8b2
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x41b74d
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0x1c]
sub esp, 4
mov dword [ebx + 0x14], 0
mov dword [esp], eax
call fcn.0041a990
lea eax, [ebx + 0x38]
jmp 0x41b75b
test eax, eax
je 0x41b8b2
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0x1c]
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [esp], eax
call fcn.0041a990
lea eax, [ebx + 0x38]
mov dword [esp], eax
call fcn.0041e9f0
cmp eax, 1
je 0x41b8ce
mov dword [ebx + 0x38], 0xffffffff
jmp 0x41b6c9
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call fcn.0041a990
lea eax, [ebx + 0x38]
jmp 0x41b899
mov eax, ebx
call fcn.0041b010
jmp 0x41b781
call fcn.0041ade0
lea esi, cs:[esi]
lea esi, cs:[esi]
Function at 0x41bba0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [0x44c0fc]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov eax, dword [ebx]
test esi, esi
je 0x41bce0
cmp eax, 1
je 0x41bbfe
mov eax, ebx
call fcn.0041abd0
lea edi, [eax + 4]
mov dword [esp + 0x1c], eax
mov dword [esp], edi
call fcn.0041a4c0
mov ebp, dword [ebx]
test ebp, ebp
je 0x41bc20
cmp ebp, 1
jne 0x41bcb0
mov dword [esp], edi
call fcn.0041a7f0
mov eax, dword [esp + 0x1c]
call fcn.0041ae60
xor eax, eax
mov edx, dword [esp + 0x2c]
sub edx, dword [0x44c0fc]
jne 0x41bd2a
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], 0x41af20
mov dword [esp + 0x24], eax
call fcn.0041b1d0
mov eax, dword [0x433120]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x41bd18
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
lock or dword [esp], 0
call fcn.0041b1d0
mov eax, dword [0x433120]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x41bd00
lea ecx, [esp + 0x20]
mov dword [eax + 0xc], ecx
lock or dword [esp], 0
call esi
call fcn.0041b1d0
mov eax, dword [0x433120]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x41bcf0
mov edx, dword [esp + 0x28]
mov dword [eax + 0xc], edx
mov dword [ebx], 1
jmp 0x41bbed
mov dword [esp], 2
call dword [0x433108]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebx
mov dword [esp + 4], str._once__p_is__ld_n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x41bbed
mov eax, 0x16
jmp 0x41bc00
call fcn.0041b280
test eax, eax
jne 0x41bc9a
jmp 0x43207f
call fcn.0041b280
test eax, eax
jne 0x41bc76
jmp 0x432074
call fcn.0041b280
test eax, eax
jne 0x41bc50
jmp 0x43206d
call fcn.004140f0
nop
mov eax, dword [pe_dos_header]
ud2
lea eax, [esp + 0x20]
mov dword [0], eax
ud2
mov eax, dword [esp + 0x28]
mov dword [0], eax
ud2

Function at 0x41bf70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.0041b1d0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41bfe8
lea ebp, [ebx + 0x38]
xor edi, edi
mov dword [esp], ebp
call fcn.0041ea00
mov eax, dword [ebx + 0x28]
cmp dword [esp + 0x30], eax
jae 0x41bfc4
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x30]
cmp byte [eax + edx], 0
je 0x41bfc4
mov eax, dword [ebx + 0x2c]
mov edi, dword [eax + edx*4]
mov dword [esp], ebp
call fcn.0041ea50
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0041b280
mov ebx, eax
jmp 0x41bf9b
Function at 0x41c000
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
call fcn.0041b1d0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41c118
lea edi, [ebx + 0x38]
mov dword [esp], edi
call fcn.0041ea00
mov edx, dword [ebx + 0x2c]
cmp esi, dword [ebx + 0x28]
jb 0x41c0e4
lea ebp, [esi + 1]
mov dword [esp], edx
lea eax, [ebp*4]
mov dword [esp + 4], eax
call sub.msvcrt.dll_realloc
test eax, eax
je 0x41c124
mov dword [esp + 0x1c], eax
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
mov edx, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x18], eax
je 0x41c124
mov ecx, dword [ebx + 0x28]
mov eax, ebp
mov dword [esp + 4], 0
mov dword [esp + 0x1c], edx
sub eax, ecx
lea ecx, [edx + ecx*4]
shl eax, 2
mov dword [esp], ecx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0x28]
mov edx, dword [esp + 0x18]
mov ecx, ebp
mov dword [esp + 4], 0
sub ecx, eax
add eax, edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x44]
mov dword [edx + esi*4], eax
mov eax, dword [ebx + 0x30]
mov byte [eax + esi], 1
mov dword [esp], edi
call fcn.0041ea50
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
sub esp, 4
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0041b280
mov ebx, eax
jmp 0x41c035
mov dword [esp], edi
call fcn.0041ea50
mov eax, 0xc
jmp 0x41c10c

Function at 0x41c1c0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.0041b1d0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41c1e8
mov eax, dword [eax + 0x18]
add esp, 0x1c
ret
call fcn.0041b280
test eax, eax
jne 0x41c1dd
add esp, 0x1c
ret

Function at 0x41c250
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.0041b1d0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41c278
add eax, 0xc
add esp, 0x1c
ret
call fcn.0041b280
test eax, eax
jne 0x41c26d
jmp 0x41c270
Function at 0x41c2b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call fcn.0041b3b0
mov dword [eax + 4], esi
mov ebx, eax
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x41c2d2
call fcn.0041b3e0
test byte [ebx + 0x20], 0x30
jne 0x41c2ec
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_longjmp]
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
push edx
test eax, eax
je 0x41c32d
cmp dword [ebx + 0x14], 0
mov eax, dword [eax + 0x18]
je 0x41c36d
mov dword [ebx + 0x68], 1
mov esi, dword [ebx + 4]
test eax, eax
je 0x41c322
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
xor eax, eax
mov dword [ebx + 0x18], eax
test byte [ebx + 0x24], 4
jne 0x41c336
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push ecx
mov dword [ebx + 0x14], eax
mov eax, ebx
call fcn.0041b1b0
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edx
push edx
jmp 0x41c32d
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x41c381
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
xor eax, eax
mov esi, dword [ebx + 4]
mov dword [ebx + 0x18], eax
jmp 0x41c34e

Function at 0x41c390
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x44cafc]
test eax, eax
jne 0x41c3a0
xor eax, eax
ret
sub esp, 0x1c
call fcn.0041b1d0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41c3e0
mov edx, dword [eax + 0x10]
test edx, edx
jle 0x41c3d0
xor eax, eax
add esp, 0x1c
ret
test byte [eax + 0x20], 3
je 0x41c3c4
mov eax, dword [eax + 0x24]
and eax, 1
jmp 0x41c3c6
call fcn.0041b280
test eax, eax
je 0x41c3c4
jmp 0x41c3bd

Function at 0x41c3f0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.0041b1d0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41c430
mov edx, dword [esp + 0x20]
test edx, edx
jle 0x41c420
lock add dword [eax + 0x10], 1
add esp, 0x1c
ret
lock sub dword [eax + 0x10], 1
add esp, 0x1c
ret
call fcn.0041b280
test eax, eax
jne 0x41c40d
add esp, 0x1c
ret
Function at 0x41c530
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call fcn.0041b1d0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41c5a0
test byte [ebx + 0x20], 0xc
jne 0x41c560
mov eax, dword [0x44cafc]
test eax, eax
jne 0x41c570
add esp, 0x14
pop ebx
pop esi
ret
lea esi, [ebx + 0x1c]
mov dword [esp], esi
call fcn.0041a4c0
movzx eax, byte [ebx + 0x20]
test al, 3
je 0x41c592
mov edx, dword [ebx + 0x24]
test dl, 1
je 0x41c592
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jle 0x41c5b1
mov dword [esp], esi
call fcn.0041a7f0
add esp, 0x14
pop ebx
pop esi
ret
call fcn.0041b280
mov ebx, eax
test eax, eax
jne 0x41c551
add esp, 0x14
pop ebx
pop esi
ret
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [ebx + 0x24], edx
mov byte [ebx + 0x20], al
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x41c5d1
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
mov dword [esp], esi
call fcn.0041a7f0
call fcn.0041c440
nop
push esi
push ebx
sub esp, 0x14
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41c650
mov dword [esp], eax
call fcn.0041d960
xor ecx, ecx
mov ebx, edx
mov edx, 0xffffffff
cmp edx, eax
sbb ecx, ebx
cmovae edx, eax
mov ebx, edx
call fcn.0041b1d0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x41c6a0
test ebx, ebx
je 0x41c66a
call fcn.0041c530
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41c690
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0041da70
call fcn.0041c530
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret
call fcn.0041b1d0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41c6b0
call fcn.0041c530
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
call fcn.0041c530
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
jmp 0x41c63f
call fcn.0041b280
mov esi, eax
jmp 0x41c623
call fcn.0041b280
jmp 0x41c66a
Function at 0x430bb0
Capabilities:
Query environment variable

Disassembly:
push edi
sub esp, 0x18
mov eax, dword [esp + 0x20]
lea edi, [eax + 0x60]
mov dword [esp], edi
call sub.msvcrt.dll_malloc
test eax, eax
je 0x430052
mov edx, eax
lea edi, [edx + 4]
mov ecx, edx
xor eax, eax
mov dword [edx], 0
and edi, 0xfffffffc
mov dword [edx + 0x5c], 0
sub ecx, edi
add ecx, 0x60
shr ecx, 2
rep stosd dword es:[edi], eax
add esp, 0x18
lea eax, [edx + 0x60]
pop edi
ret
mov eax, edi
call fcn.00421dd0
mov edx, eax
test eax, eax
je 0x430b98
jmp 0x430029
call fcn.00430f14
nop
nop
nop
call fcn.00430f14
nop
nop
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [0x44c0fc]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 4], 0
mov dword [esp], 0x433180
call fcn.0041a940
mov dword [esp], str.GLIBCXX_TUNABLES
mov dword [0x433184], 0
mov dword [0x433188], 0
mov dword [0x43318c], 0
call sub.msvcrt.dll_getenv
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], str.obj_size
mov ebx, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 9
mov dword [esp + 0x24], str.obj_count
mov dword [esp + 0x28], 0x40
test eax, eax
jne 0x430c56
jmp 0x430d27
mov dword [esp], ebx
mov dword [esp + 4], 0x3a
call sub.msvcrt.dll_strchr
mov ebx, eax
test eax, eax
je 0x430cd0
xor eax, eax
cmp byte [ebx], 0x3a
sete al
add ebx, eax
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
xor eax, 0x62696c67
xor edx, 0x2e787863
or eax, edx
jne 0x430c40
mov eax, dword [ebx + 7]
mov edx, dword [ebx + 0xb]
xor eax, 0x5f68652e
xor edx, 0x6c6f6f70
or eax, edx
jne 0x430c40
cmp byte [ebx + 0xf], 0x2e
jne 0x430c40
add ebx, 0x10
lea esi, [esp + 0x14]
lea ebp, [esp + 0x2c]
mov edi, dword [esi]
test edi, edi
je 0x430cb7
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov eax, dword [esi + 4]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x430cc1
cmp byte [ebx + edi], 0x3d
je 0x430d55
add esi, 0xc
cmp ebp, esi
jne 0x430c9a
jmp 0x430c40
mov eax, dword [esp + 0x28]
mov edx, 0x100
mov ecx, 6
cmp eax, edx
cmovle edx, eax
mov eax, dword [esp + 0x1c]
test eax, eax
cmove eax, ecx
add eax, 0x2c
imul eax, edx
lea ebx, [eax*4]
mov dword [0x43318c], ebx
test ebx, ebx
jne 0x430d36
mov dword [esp], 0x430b20
call fcn.00401400
mov eax, dword [esp + 0x2c]
sub eax, dword [0x44c0fc]
jne 0x430da0
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x43318c], 0x3200
mov ebx, 0x3200
mov dword [esp], ebx
call sub.msvcrt.dll_malloc
mov dword [0x433188], eax
test eax, eax
je 0x430d93
xor edx, edx
mov dword [0x433184], eax
mov dword [eax], ebx
mov dword [eax + 4], edx
jmp 0x430d03
lea eax, [esp + 0x10]
xor ebp, ebp
mov dword [esp + 4], eax
lea eax, [ebx + edi + 1]
mov dword [esp + 8], ebp
mov dword [esp], eax
call sub.msvcrt.dll_strtoul
mov ebx, dword [esp + 0x10]
movzx edx, byte [ebx]
cmp dl, 0x3a
je 0x430d83
test dl, dl
jne 0x430c40
test eax, eax
js 0x430c40
mov dword [esi + 8], eax
jmp 0x430c40
xor ecx, ecx
mov dword [0x43318c], ecx
jmp 0x430d03
call fcn.004140f0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call fcn.00430f14
nop
nop
nop
call fcn.00430f14
nop
nop
nop
Function at 0x401ed0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ba9c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5bd200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
mov byte [edi], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov byte [edi + 0xc], 1
mov dword [ebp - 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov byte [edi + 0x18], 1
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0x24], 1
mov dword [edi + 0x30], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x34], 0
push 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 8
push 0xffffffffffffffff
push 0x575c74
call fcn.00533370
add esp, 0x18
mov dword [edi + 0x34], eax
mov ecx, edi
push 0
push esi
call fcn.00402090
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00538a45
mov esp, ebp
pop ebp
ret 4
Function at 0x40fd90
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c455
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5bd200]
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, ecx
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0xf01ff
call dword [0x556410]
push eax
call dword [0x556040]
test eax, eax
jne 0x40fdec
xor esi, esi
jmp 0x40ff2c
test edi, edi
mov dword [ebp - 0x14], 0
lea esi, [ebp - 0x14]
xorps xmm0, xmm0
cmovne esi, edi
movlpd qword [ebp - 0x20], xmm0
push 0x94
mov dword [ebp - 0x24], esi
mov dword [esi], 0x94
call fcn.0053905f
mov edi, eax
mov dword [ebp - 0x1c], 0x94
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 1
push dword [esi]
call fcn.0053905f
push dword [esi]
mov ebx, eax
push 0
push edi
call fcn.0053a920
mov esi, dword [0x5560f4]
lea eax, [edi + 4]
add esp, 0x14
mov dword [edi], 9
push eax
push str.SeRestorePrivilege
push 0
call esi
lea eax, [edi + 0x10]
push eax
push str.SeBackupPrivilege
push 0
call esi
lea eax, [edi + 0x1c]
push eax
push str.SeDebugPrivilege
push 0
call esi
lea eax, [edi + 0x28]
push eax
push str.SeSecurityPrivilege
push 0
call esi
lea eax, [edi + 0x34]
push eax
push str.SeTakeOwnershipPrivilege
push 0
call esi
lea eax, [edi + 0x40]
push eax
push str.SeImpersonatePrivilege
push 0
call esi
lea eax, [edi + 0x4c]
push eax
push str.SeSystemProfilePrivilege
push 0
call esi
lea eax, [edi + 0x58]
push eax
push str.SeShutdownPrivilege
push 0
call esi
lea eax, [edi + 0x64]
push eax
push str.SeIncreaseQuotaPrivilege
push 0
call esi
lea eax, [edi + 0x70]
push eax
push str.SeAssignPrimaryTokenPrivilege
push 0
call esi
lea eax, [edi + 0x7c]
push eax
push str.SeTcbPrivilege
push 0
call esi
lea eax, [edi + 0x88]
push eax
push str.SeTrustedCredManAccessPrivilege
push 0
call esi
lea eax, [edi + 0xc]
mov ecx, 0xc
nop
mov dword [eax], 2
lea eax, [eax + 0xc]
sub ecx, 1
jne 0x40fef0
mov eax, dword [ebp - 0x24]
push eax
push ebx
push dword [eax]
push edi
push ecx
push dword [ebp - 0x18]
call dword [0x5560ec]
test eax, eax
jne 0x40ff21
push ebx
xor esi, esi
call fcn.00538a53
add esp, 4
jmp 0x40ff23
mov esi, ebx
push edi
call fcn.00538a53
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xffffffff
je 0x40ff3f
test ecx, ecx
je 0x40ff3f
push ecx
call dword [0x5562f4]
mov eax, esi
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.00538a45
mov esp, ebp
pop ebp
ret
Function at 0x4448b0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5bd200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 8], ebx
push edi
mov edi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
je 0x444997
mov ecx, dword [esi + 0x3c]
mov eax, ecx
test ecx, ecx
je 0x4448f8
cmp dword [esi + 0x40], ebx
jae 0x4448f8
push ecx
call fcn.00538a53
add esp, 4
mov dword [esi + 0x3c], 0
jmp 0x4448fc
test eax, eax
jne 0x44490e
lea eax, [ebx + ebx]
push eax
call fcn.0053905f
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
push ebx
push edi
push eax
call fcn.0053a3a0
xor edx, edx
add esp, 0xc
mov dword [ebp - 0xc], edx
test ebx, ebx
je 0x444994
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x30]
mov bl, byte [edx + eax]
mov edx, dword [esi + 0x38]
mov edi, edx
movsx eax, bl
and edi, 0xfffd
xor eax, ecx
or edi, 2
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x5a95a8]
movzx eax, cl
add eax, dword [esi + 0x34]
imul eax, eax, 0x8088405
mov dword [esi + 0x30], ecx
mov ecx, edi
xor ecx, 1
imul ecx, edi
inc eax
mov dword [esi + 0x34], eax
shr eax, 0x18
xor eax, edx
shr ecx, 8
movzx eax, al
xor cl, bl
mov ebx, dword [ebp - 8]
shr edx, 8
xor edx, dword [eax*4 + 0x5a95a8]
mov dword [esi + 0x38], edx
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x3c]
mov byte [edx + eax], cl
inc edx
mov dword [ebp - 0xc], edx
cmp edx, ebx
jb 0x444922
mov edi, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4449d7
mov edx, dword [esi + 0x24]
lea eax, [edx + ebx]
cmp eax, dword [esi + 0x28]
jb 0x4449b2
mov dword [esi + 0x14], 0x30000
jmp 0x444a0a
push ebx
add ecx, edx
push edi
push ecx
call fcn.0053a3a0
add esp, 0xc
mov eax, ebx
add dword [esi + 0x24], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00538a45
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 4]
test eax, eax
je 0x444a03
push 0
lea ecx, [ebp - 8]
push ecx
push ebx
push edi
push eax
call dword [0x55640c]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00538a45
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x14], 0x1000000
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00538a45
mov esp, ebp
pop ebp
ret 8
Function at 0x4465e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4465eb
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x4466a7
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a95a8]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a95a8]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a95a8]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a95a8]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a95a8]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a95a8]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a95a8]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a95a8]
sub edi, 1
jne 0x446600
pop edi
test esi, esi
je 0x4466ca
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a95a8]
sub esi, 1
jne 0x4466b0
not ecx
mov eax, ecx
pop esi
pop ebp
ret