joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486aa0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e888
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5fad8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x486b45
push 0x228
lea eax, [ebp - 0x238]
mov dword [ebp - 0x23c], 0x22c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x486b3e
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x486b3e
mov eax, dword [ecx]
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [eax + 8]
call eax
test al, al
je 0x486b3e
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x486b14
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x486b5d
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053658e
mov esp, ebp
pop ebp
ret
Function at 0x486c90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e8ee
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x5fad8c]
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, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x264], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x268], esi
mov dword [esi + 0x10], 0
jb 0x486d01
mov eax, dword [esi]
jmp 0x486d03
mov eax, esi
push 0
push 0x5e45cc
mov ecx, esi
mov byte [eax], 0
call fcn.00455d10
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 0
push edi
push eax
mov dword [ebp - 0x264], 1
call fcn.00486780
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
lea ecx, [ebp - 0x218]
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x486d8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push str.GetEnvironmentVariableW_failed___u___u
push 2
jmp 0x486eb1
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x486db9
xor ecx, ecx
jmp 0x486dd1
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486dc2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0047a540
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00486660
add esp, 8
mov ebx, eax
cmp esi, ebx
je 0x486e3f
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x486e1a
push 1
inc eax
push eax
push dword [esi]
call fcn.0045bf60
add esp, 0xc
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x486e32
mov eax, dword [esi]
jmp 0x486e34
mov eax, esi
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.004561f0
mov eax, dword [ebp - 0x234]
cmp eax, 0x10
jb 0x486e5c
push 1
inc eax
push eax
push dword [ebp - 0x248]
call fcn.0045bf60
add esp, 0xc
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
cmp eax, 8
jb 0x486e94
push 2
inc eax
push eax
push dword [ebp - 0x230]
call fcn.0045bf60
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x486e9e
mov eax, dword [esi]
jmp 0x486ea0
mov eax, esi
cmp dword [edi + 0x14], 0x10
jb 0x486ea8
mov edi, dword [edi]
push eax
push edi
push str.GetEnv:__s___s
push 4
call fcn.00482760
mov ecx, dword [ebp - 0x24c]
add esp, 0x10
cmp ecx, 8
jb 0x486ed6
push 2
inc ecx
push ecx
push dword [ebp - 0x260]
call fcn.0045bf60
add esp, 0xc
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.0053658e
mov esp, ebp
pop ebp
ret
Function at 0x486f60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e938
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5fad8c]
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 esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push 1
push 0x587ab4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00455d10
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push esi
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00483350
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
call fcn.00485380
add esp, 0x18
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x486ff2
inc eax
push 1
push eax
push dword [ebp - 0x40]
call fcn.0045bf60
add esp, 0xc
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x48701f
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.0045bf60
add esp, 0xc
lea eax, [ebp - 0x88]
mov dword [ebp - 0x14], 0xf
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x18], 0
push eax
mov ecx, edi
mov byte [ebp - 0x28], 0
call fcn.00487150
test al, al
jne 0x4870d1
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00487600
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x487063
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x5c]
mov edi, eax
cmp ecx, 8
jb 0x487085
push 2
inc ecx
push ecx
push dword [ebp - 0x70]
call fcn.0045bf60
add esp, 0xc
test edi, edi
jne 0x4870d1
lea eax, [ebp - 0x70]
push eax
call fcn.00485aa0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x48709d
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
jb 0x4870a5
mov esi, dword [esi]
push eax
push esi
push str.FileSystem::CreateDirectory_failed__path:_s___s
push 2
call fcn.00482760
mov eax, dword [ebp - 0x5c]
add esp, 0x10
cmp eax, 0x10
jb 0x4870cd
push 1
inc eax
push eax
push dword [ebp - 0x70]
call fcn.0045bf60
add esp, 0xc
xor bl, bl
jmp 0x4870d3
mov bl, 1
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x4870ea
push 1
inc ecx
push ecx
push dword [ebp - 0x58]
call fcn.0045bf60
add esp, 0xc
mov al, bl
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.0053658e
mov esp, ebp
pop ebp
ret 4
Function at 0x4874b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e9c8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5fad8c]
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 esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push 1
push 0x587ab4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00455d10
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push esi
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00483350
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
call fcn.00485380
add esp, 0x18
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x487542
inc eax
push 1
push eax
push dword [ebp - 0x40]
call fcn.0045bf60
add esp, 0xc
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x48756f
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.0045bf60
add esp, 0xc
lea eax, [ebp - 0x58]
mov dword [ebp - 0x14], 0xf
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x18], 0
push eax
mov byte [ebp - 0x28], 0
call fcn.00487600
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x487599
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x5c]
mov esi, eax
cmp ecx, 8
jb 0x4875b9
push 2
inc ecx
push ecx
push dword [ebp - 0x70]
call fcn.0045bf60
add esp, 0xc
mov ecx, dword [ebp - 0x44]
test esi, esi
setne bl
cmp ecx, 0x10
jb 0x4875d5
push 1
inc ecx
push ecx
push dword [ebp - 0x58]
call fcn.0045bf60
add esp, 0xc
mov al, bl
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.0053658e
mov esp, ebp
pop ebp
ret 4
Function at 0x4d7a20
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x9c
call fcn.00537170
mov eax, dword [0x5fad8c]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xb0]
push ebx
mov ebx, dword [esp + 0xac]
push ebp
mov ebp, dword [esp + 0xac]
push esi
mov esi, dword [esp + 0xac]
push edi
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov dword [esp + 0x10], 0
test edi, edi
je 0x4d7a8d
cmp edi, eax
je 0x4d7a81
test ebp, ebp
je 0x4d7b00
test ebx, ebx
js 0x4d7b00
mov dword [esp + 0x10], 1
mov dword [esi], edi
jmp 0x4d7a93
test eax, eax
je 0x4d7b00
mov edi, eax
push edi
call fcn.004bca30
add esp, 4
test al, 2
jne 0x4d7b00
test ebp, ebp
je 0x4d7c0b
push edi
mov dword [esp + 0x14], 1
call fcn.0048c570
add esp, 4
cmp eax, 0x90
jg 0x4d7b00
cmp eax, ebx
jge 0x4d7b1b
push dword [esp + 0x14]
push edi
push dword [esi + 4]
call fcn.004c47c0
add esp, 0xc
test eax, eax
je 0x4d7b00
push ebx
push ebp
push dword [esi + 4]
call fcn.004c4960
add esp, 0xc
test eax, eax
je 0x4d7b00
lea ebp, [esi + 0x10]
push ebp
lea eax, [esi + 0x14]
push eax
push dword [esi + 4]
call fcn.004c4720
add esp, 0xc
test eax, eax
jne 0x4d7b37
xor eax, eax
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0053658e
add esp, 0x9c
ret
cmp ebx, 0x90
ja 0x4d7b00
push ebx
lea eax, [esi + 0x14]
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
lea ebp, [esi + 0x10]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x90
je 0x4d7b5a
mov eax, 0x90
sub eax, ecx
push eax
lea eax, [esi + 0x14]
add eax, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ebx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x14]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x90
jl 0x4d7b60
mov ebp, dword [esp + 0x14]
push ebp
push edi
push dword [esi + 8]
call fcn.004c47c0
add esp, 0xc
test eax, eax
je 0x4d7c18
push edi
call fcn.0048c570
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 8]
call fcn.004c4960
add esp, 0x10
test eax, eax
je 0x4d7c18
xor ecx, ecx
nop dword [eax]
mov al, byte [esi + ecx + 0x14]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x90
jl 0x4d7bb0
push ebp
push edi
push dword [esi + 0xc]
call fcn.004c47c0
add esp, 0xc
test eax, eax
je 0x4d7c18
push edi
call fcn.0048c570
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 0xc]
call fcn.004c4960
add esp, 0x10
test eax, eax
je 0x4d7c18
push dword [esi + 8]
push dword [esi + 4]
call fcn.004c4980
xor ebp, ebp
add esp, 8
test eax, eax
mov ecx, 1
cmovne ebp, ecx
jmp 0x4d7c1a
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x4d7bef
jmp 0x4d7b5e
xor ebp, ebp
test ebx, ebx
je 0x4d7c30
lea eax, [esp + 0x18]
push 0x90
push eax
call fcn.00401320
add esp, 8
mov eax, ebp
jmp 0x4d7b02
Function at 0x4f3770
Capabilities:
Generate random numbers via winapi

Disassembly:
mov eax, 4
call fcn.00537170
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push 1
push esi
xor edi, edi
call fcn.004be5f0
mov ebx, eax
push ebx
push esi
call fcn.004be4d0
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x4f37f9
push 0xf0000040
push 1
push edi
push edi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4f37d3
push ebp
push ebx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 0x14]
test eax, eax
cmovne edi, ebx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi*8]
push eax
push edi
push esi
call fcn.004be540
push esi
call fcn.004be690
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4f37f9
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 1
push esi
call fcn.004be5f0
mov ebx, eax
push ebx
push esi
call fcn.004be4d0
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x4f3868
push 0xf0000040
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
xor edi, edi
lea eax, [esp + 0x1c]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4f384e
push ebp
push ebx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 0x14]
test eax, eax
cmovne edi, ebx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi*8]
push eax
push edi
push esi
call fcn.004be540
push esi
call fcn.004be690
add esp, 0x10
mov edi, eax
test edi, edi
jne 0x4f37f1
push esi
call fcn.004be690
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4f3e30
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00537170
mov edx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 0x10
lea eax, [edx + 0xf]
lea ecx, [esi + 0xf]
cmp esi, eax
ja 0x4f3e74
cmp ecx, edx
jb 0x4f3e74
push edi
mov ecx, esi
sub edx, esi
mov edi, 0x10
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edi, 1
jne 0x4f3e63
pop edi
jmp 0x4f3e81
movups xmm1, xmmword [esi]
movups xmm0, xmmword [edx]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
push 0x10
push esi
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x18]
push esi
push dword [eax + 4]
call fcn.004bd560
add esp, 0x14
pop esi
test eax, eax
je 0x4f3eab
cmp dword [esp], 0x10
jne 0x4f3eab
mov eax, 1
pop ecx
ret
xor eax, eax
pop ecx
ret
Function at 0x4f3ff0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4f4053
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4f4053
push ebx
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0xc]
cmp edx, eax
mov ebx, eax
cmovb ebx, edx
xor ecx, ecx
test ebx, ebx
je 0x4f4026
mov al, byte [ecx + esi]
xor byte [edi + ecx + 0x10], al
inc ecx
cmp ecx, ebx
jb 0x4f4017
mov eax, dword [edi + 0xc]
cmp edx, eax
jbe 0x4f4051
sub edx, eax
mov eax, 0x10
cmp edx, eax
cmova edx, eax
xor ecx, ecx
test edx, edx
je 0x4f4051
nop dword [eax]
mov eax, dword [edi + 0xc]
add eax, ecx
mov al, byte [eax + esi]
xor byte [edi + ecx + 0x30], al
inc ecx
cmp ecx, edx
jb 0x4f4040
pop edi
pop ebx
pop esi
ret
Function at 0x5223e0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x5223f4
mov dword [esp + 0x18], fcn.00520bc0
jmp fcn.0048ec30
mov dword [esp + 0x18], fcn.0051fe60
jmp fcn.0048e960
Function at 0x5385c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f3a1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x90]
push dword [0x603f88]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x53860e
mov eax, dword [eax + 4]
jmp 0x538610
xor eax, eax
push 1
push 0x98
push eax
push dword [ebp - 0x10]
call fcn.0053cd10
mov esi, eax
mov dword [ebp - 0x14], 0
add esp, 0x10
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x538651
lea eax, [ebp + 8]
lea ecx, [esi + 8]
push eax
mov dword [ebp - 0x20], ecx
call fcn.00545b40
mov dword [esi], 0x53ebb0
jmp 0x538653
xor esi, esi
lea ecx, [ebp - 0x1c]
mov dword [edi], esi
mov dword [ebp - 0x18], 0
call fcn.00570590
lea ecx, [ebp + 8]
call fcn.0054cee0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x8c

Function at 0x538690
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f3e1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x90]
push dword [0x603f88]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5386de
mov eax, dword [eax + 4]
jmp 0x5386e0
xor eax, eax
push 1
push 0x98
push eax
push dword [ebp - 0x10]
call fcn.0053cd10
mov esi, eax
mov dword [ebp - 0x14], 0
add esp, 0x10
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x53871e
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 8]
call fcn.00545b40
mov dword [esi], 0x53ec70
jmp 0x538720
xor esi, esi
lea ecx, [ebp - 0x1c]
mov dword [edi], esi
mov dword [ebp - 0x18], 0
call fcn.00570590
lea ecx, [ebp + 8]
call fcn.0054cee0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x8c
Function at 0x538750
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f421
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x60]
push dword [0x603f88]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x53879c
mov eax, dword [eax + 4]
jmp 0x53879e
xor eax, eax
push 1
push 0x68
push eax
push dword [ebp - 0x10]
call fcn.0053cd10
mov edi, eax
mov dword [ebp - 0x14], 0
add esp, 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x5387ea
lea esi, [edi + 8]
lea eax, [ebp + 8]
mov dword [ebp - 0x20], esi
push eax
mov ecx, esi
call fcn.00548eb0
mov eax, dword [ebp + 0x58]
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x5c]
mov dword [esi + 0x54], eax
mov dword [edi], 0x53edb0
jmp 0x5387ec
xor edi, edi
lea ecx, [ebp - 0x1c]
mov dword [ebx], edi
mov dword [ebp - 0x18], 0
call fcn.00570610
lea ecx, [ebp + 0x18]
call fcn.0054d730
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x5c

Function at 0x538820
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f461
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x80]
push dword [0x603f88]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x53886f
mov eax, dword [eax + 4]
jmp 0x538871
xor eax, eax
push 1
push 0x88
push eax
push dword [ebp - 0x10]
call fcn.0053cd10
mov edi, eax
mov dword [ebp - 0x14], 0
add esp, 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x5388c6
lea esi, [edi + 8]
lea eax, [ebp + 8]
mov dword [ebp - 0x20], esi
push eax
mov ecx, esi
call fcn.00547960
mov eax, dword [ebp + 0x70]
mov dword [esi + 0x68], eax
mov eax, dword [ebp + 0x74]
mov dword [esi + 0x6c], eax
mov eax, dword [ebp + 0x78]
mov dword [esi + 0x70], eax
mov dword [edi], 0x53ee80
jmp 0x5388c8
xor edi, edi
lea ecx, [ebp - 0x1c]
mov dword [ebx], edi
mov dword [ebp - 0x18], 0
call fcn.00570690
mov esi, dword [ebp + 0x6c]
test esi, esi
je 0x538901
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x538901
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x538901
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x64]
test ecx, ecx
je 0x538919
mov esi, dword [ecx]
lea eax, [ebp + 0x40]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x7c
Function at 0x538930
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f4a1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x88]
push dword [0x603f88]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x53897f
mov eax, dword [eax + 4]
jmp 0x538981
xor eax, eax
push 1
push 0x90
push eax
push dword [ebp - 0x10]
call fcn.0053cd10
mov edi, eax
mov dword [ebp - 0x14], 0
add esp, 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x5389d9
lea esi, [edi + 8]
lea eax, [ebp + 8]
mov dword [ebp - 0x20], esi
push eax
mov ecx, esi
call fcn.00547a90
mov eax, dword [ebp + 0x78]
mov dword [esi + 0x70], eax
mov eax, dword [ebp + 0x7c]
mov dword [esi + 0x74], eax
mov eax, dword [ebp + 0x80]
mov dword [esi + 0x78], eax
mov dword [edi], 0x53efb0
jmp 0x5389db
xor edi, edi
lea ecx, [ebp + 8]
mov dword [ebx], edi
mov dword [ebp - 0x18], 0
call fcn.0054d320
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x84

Function at 0x538a10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f4e1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x78]
push dword [0x603f88]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x538a5c
mov eax, dword [eax + 4]
jmp 0x538a5e
xor eax, eax
push 1
push 0x80
push eax
push dword [ebp - 0x10]
call fcn.0053cd10
mov edi, eax
mov dword [ebp - 0x14], 0
add esp, 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x538ad4
lea esi, [edi + 8]
lea eax, [ebp + 8]
mov dword [ebp - 0x20], esi
push eax
mov ecx, esi
call fcn.00549030
mov eax, dword [ebp + 0x60]
mov dword [esi + 0x58], eax
mov eax, dword [ebp + 0x64]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp + 0x68]
mov dword [esi + 0x60], eax
mov eax, dword [ebp + 0x6c]
mov dword [esi + 0x64], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x6c], 0
mov dword [esi + 0x68], eax
mov dword [ebp + 0x70], 0
mov dword [edi], 0x53f0d0
jmp 0x538ad6
xor edi, edi
lea ecx, [ebp - 0x1c]
mov dword [ebx], edi
mov dword [ebp - 0x18], 0
call fcn.00570750
mov esi, dword [ebp + 0x6c]
test esi, esi
je 0x538b0f
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x538b0f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x538b0f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea ecx, [ebp + 0x18]
call fcn.0054d730
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x74