joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10049420
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022b5a8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1029912c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.ap_stop...
call fcn.1000bbb0
mov eax, dword [0x102a9408]
add esp, 4
test eax, eax
je 0x10049464
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [ebp - 0x3c]
mov dword [0x102a9408], 0
call fcn.101b6300
push 0
push 0
mov dword [ebp - 4], 0
call fcn.101b77c0
mov ecx, eax
call fcn.101b8e10
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.101b6490
lea ecx, [ebp - 0x3c]
call fcn.101b6300
push 0
push 0
mov dword [ebp - 4], 1
call fcn.101b77c0
mov ecx, eax
call fcn.101b8ee0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.101b6490
cmp dword [0x102a9400], 0
je 0x10049503
lea ecx, [ebp - 0x3c]
call fcn.101b6300
mov dword [ebp - 4], 3
push dword [0x102a9400]
call fcn.101b77c0
mov ecx, eax
call fcn.101b6c20
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.101b6490
cmp dword [0x102a93a0], 0
je 0x1004953c
lea ecx, [ebp - 0x3c]
call fcn.101b6300
mov dword [ebp - 4], 4
push dword [0x102a93a0]
call fcn.101b77c0
mov ecx, eax
call fcn.101b6c20
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.101b6490
cmp dword [0x102a9384], 0
je 0x10049575
lea ecx, [ebp - 0x3c]
call fcn.101b6300
mov dword [ebp - 4], 5
push dword [0x102a9384]
call fcn.101b77c0
mov ecx, eax
call fcn.101b6c20
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.101b6490
cmp dword [0x102a93a4], 0
je 0x100495ae
lea ecx, [ebp - 0x3c]
call fcn.101b6300
mov dword [ebp - 4], 6
push dword [0x102a93a4]
call fcn.101b77c0
mov ecx, eax
call fcn.101b6c20
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.101b6490
cmp dword [0x102a93a8], 0
je 0x100495e7
lea ecx, [ebp - 0x6c]
call fcn.101b6300
mov dword [ebp - 4], 7
push dword [0x102a93a8]
call fcn.101b77c0
mov ecx, eax
call fcn.101b6c20
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
call fcn.101b6490
push 0
push 0x1024c6da
mov ecx, 0x10299f6c
mov dword [0x102a93a0], 0
mov dword [0x102a93a4], 0
mov dword [0x102a93a8], 0
mov dword [0x102a9404], 0
mov dword [0x102a9400], 0
call fcn.100025c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1004a170
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022b6e8
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x1029912c]
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, edx
mov dword [ebp - 0x454], ecx
mov dword [ebp - 0x450], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x450], ecx
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x470]
mov eax, dword [edi + 0x10]
inc eax
mov dword [ebp - 0x460], 0
push eax
mov dword [ebp - 0x45c], 0xf
mov byte [ebp - 0x470], 0
mov dword [ebp - 0x458], 2
call fcn.10008310
push edi
lea ecx, [ebp - 0x470]
call fcn.100062a0
push 0x1026847c
lea ecx, [ebp - 0x470]
call fcn.10006230
push esi
lea ecx, [ebp - 0x470]
call fcn.100062a0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x428], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x418], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x45c]
cmp edx, 0x10
jb 0x1004a2b7
mov ecx, dword [ebp - 0x470]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004a2ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a3f2
push edx
push ecx
call fcn.101d50ac
add esp, 8
push 0x400
push 0x40
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0xf
mov byte [ebp - 0x470], 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0x414], 0x10
lea edx, [ebp - 0x44c]
push edx
lea edx, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0x400
push edx
push eax
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], 0x400
push eax
lea eax, [ebp - 0x410]
lea ecx, [ebp - 0x428]
cmovae ecx, dword [ebp - 0x428]
push eax
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x1004a38a
mov esi, dword [ebp - 0x454]
movups xmm0, xmmword [ebp - 0x448]
mov edx, dword [ebp - 0x414]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x438]
movq qword [esi + 0x10], xmm0
cmp edx, 0x10
jb 0x1004a3d5
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004a3cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a3f7
jmp 0x1004a3cb
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidA]
test eax, eax
je 0x1004a331
mov edx, dword [ebp - 0x450]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a3b0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x448]
call fcn.100025c0
jmp 0x1004a331
push edx
push ecx
call fcn.101d50ac
add esp, 8
mov eax, esi
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.101d506b
mov esp, ebp
pop ebp
ret
call fcn.101f0b28
call fcn.101f0b28
int3
Function at 0x1004bfe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022b968
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1029912c]
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
cmp dword [edx + 0x14], 0x10
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
jb 0x1004c023
mov edx, dword [edx]
lea eax, [ebp - 0x24]
push eax
push 0xf003f
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x1004c16f
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jb 0x1004c059
mov eax, dword [esi]
lea edx, [ebp - 0x14]
push edx
push 0
lea edx, [ebp - 0x18]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
jne 0x1004c15f
mov ebx, dword [ebp - 0x14]
xorps xmm0, xmm0
inc ebx
movlpd qword [ebp - 0x20], xmm0
push ebx
call fcn.101d5a17
mov edi, eax
add esp, 4
test edi, edi
je 0x1004c0a3
push ebx
push 0
push edi
call fcn.101ee530
add esp, 0xc
mov byte [edi], 0
jmp 0x1004c0a5
xor edi, edi
push dword [ebp - 0x28]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push edi
mov dword [ebp - 0x1c], 0
call fcn.10050290
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0x10
jb 0x1004c0ce
mov esi, dword [esi]
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push 0
push esi
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x1004c104
cmp eax, 7
je 0x1004c104
cmp eax, 2
je 0x1004c104
mov ecx, dword [ebp - 0x28]
mov edi, 0xd
jmp 0x1004c115
mov ecx, dword [ebp - 0x28]
mov edx, 0x7a
mov eax, dword [ecx + 0x10]
cmp dword [ebp - 0x14], eax
cmova edi, edx
mov edx, ebx
lea esi, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1004c120
sub edx, esi
push edx
push ebx
call fcn.100025c0
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x1004c15f
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1004c15f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1004c15f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1004c16d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.101d506b
mov esp, ebp
pop ebp
ret
Function at 0x1004c190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1029912c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edx + 0x14], 0x10
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
jb 0x1004c1b7
mov edx, dword [edx]
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 4
test ecx, ecx
je 0x1004c21f
cmp dword [esi + 0x14], 0x10
jb 0x1004c1e7
mov esi, dword [esi]
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [ebp - 8]
cmp eax, 4
je 0x1004c20f
cmp eax, 5
mov ecx, 0xd
cmovne esi, ecx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1004c21d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.101d506b
mov esp, ebp
pop ebp
ret
Function at 0x1004f640
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x1004f671
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1004f660
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x10051540
Capabilities:
Create thread

Disassembly:
jmp 0x10051f70
jmp 0x10052570
jmp fcn.100493c0
Function at 0x10072e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1029912c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
cmp dword [edi + 0x14], 0x10
jb 0x10072eb4
mov edi, dword [edi]
mov esi, dword [ebp + 8]
mov ecx, esi
mov edx, dword [esi + 0x14]
cmp edx, 0x10
jb 0x10072ec3
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
add eax, ecx
cmp edx, 0x10
jb 0x10072ecf
mov esi, dword [esi]
xor ecx, ecx
mov ebx, eax
sub ebx, esi
xor edx, edx
cmp esi, eax
cmova ebx, ecx
test ebx, ebx
je 0x10072ef3
mov al, byte [edx + esi]
xor al, byte [ebp + ecx - 8]
inc ecx
mov byte [edx + edi], al
and ecx, 3
inc edx
cmp edx, ebx
jne 0x10072ee0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101d506b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1007a570
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022e7bb
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1029912c]
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 dword [ebp - 0x34], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x40], eax
add eax, 0x30
push eax
push 0xc0
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ecx
call fcn.10023580
mov esi, eax
mov dword [ebp - 0x38], 0
add esp, 8
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0
mov ecx, esi
mov edi, dword [ebx + 0xc]
mov edx, esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x20], esi
test edi, edi
je 0x1007a5f2
lock inc dword [edi + 8]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x50], eax
mov al, byte [ebx + 4]
mov dword [ebp - 0x4c], edi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x1007a990
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], al
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
test edi, edi
je 0x1007a658
lea eax, [edi + 8]
lock inc dword [eax]
mov ecx, edx
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov ebx, dword [ebp + 0xc]
add ecx, 0x38
push dword [ebp - 0x28]
mov byte [ebp - 4], 2
mov eax, dword [ebx]
mov dword [esi + 0x2c], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x30], eax
call fcn.1007acc0
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x2c]
lea ecx, [ecx + 0xa8]
call fcn.10024980
mov byte [ebp - 4], 3
test edi, edi
je 0x1007a6aa
or eax, 0xffffffff
lea ecx, [edi + 8]
lock xadd dword [ecx], eax
jne 0x1007a6aa
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
test byte [ecx + 4], 0x10
je 0x1007a6c9
test eax, eax
jne 0x1007a6c9
mov al, 1
jmp 0x1007a6cb
xor al, al
push esi
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push 1
push eax
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.10022a80
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
call fcn.1007a8e0
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.101d506b
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1007a720
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022e7f8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x1029912c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1007a777
push dword [ebp + 8]
push 0x1007bb50
push ecx
call eax
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x64]
mov eax, dword [edi]
lea esi, [edi + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x70], eax
mov eax, dword [edi + 8]
push esi
mov dword [ebp - 0x6c], eax
call fcn.10030cc0
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x48]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 0xb]
push dword [0x102ad720]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1007a7ef
mov eax, dword [eax + 4]
test eax, eax
je 0x1007a7ef
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x1007a7ef
mov dword [eax + 8], 0
mov al, byte [ebx]
cmp al, 0x18
jb 0x1007a7e6
mov byte [ebx + 0x60], al
jmp 0x1007a7ff
push ebx
call fcn.100df630
add esp, 4
push 0x61
call fcn.101d507c
mov ebx, eax
add esp, 4
mov byte [ebx + 0x60], 0x18
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
lea edi, [ebx + 8]
mov eax, dword [ebp - 0x74]
lea ecx, [edi + 8]
mov dword [edi], eax
lea esi, [ecx + 8]
mov eax, dword [ebp - 0x70]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x6c]
mov dword [ecx], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x18], ecx
mov ecx, esi
push eax
mov dword [ebp - 0x18], esi
call fcn.10030cc0
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x24]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x48], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x4c], eax
mov dword [ebx], 0x1007c330
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], 0
call fcn.1007b470
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x1007a88a
mov edx, dword [ecx]
lea eax, [ebp - 0x5c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 3
push edx
push ecx
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 8]
call eax
add esp, 8
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1007a8bc
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1007ad70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022e8f2
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1029912c]
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 ebx, ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 8]
push dword [0x102ad738]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1007adcf
nop dword [eax + eax]
cmp dword [eax], esi
je 0x1007aeda
mov eax, dword [eax + 8]
test eax, eax
jne 0x1007adc0
push edi
push 0x80
mov dword [ebp - 0x30], edi
call fcn.10023580
mov esi, eax
mov dword [ebp - 0x28], 0
add esp, 8
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 1
mov ebx, dword [ebx + 0x14]
mov byte [ebp - 4], 2
lea ecx, [esi + 0x20]
push edi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], fcn.1007b320
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
call fcn.1007b840
mov dword [esi + 0x70], ebx
mov dword [esi + 0x78], 0
test ebx, ebx
je 0x1007ae4f
mov eax, dword [ebx + 8]
lock inc dword [eax + 0x18]
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x20]
mov ecx, ebx
push esi
push edi
call fcn.10022bf0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
test al, al
je 0x1007af20
mov eax, dword [edi]
xorps xmm0, xmm0
push dword [0x102ad738]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x102ad738]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
push 0x102a8ad8
push 0x1003c720
push 0x102a8ae0
mov byte [ebp - 4], 6
call fcn.101d1ed1
add esp, 0xc
test eax, eax
je 0x1007af46
jmp 0x1007aef7
cmp dword [eax + 4], 0
je 0x1007adcf
push edi
push edi
mov dword [ebp - 4], 0
call fcn.1007cf60
add esp, 8
jmp 0x1007af28
push 0
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebx + 0x18]
call fcn.1007b320
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.10022b80
push dword [ebp - 0x14]
push dword [0x102ad738]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [ebp - 0x30]
call fcn.1007b7b0
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.101d506b
mov esp, ebp
pop ebp
ret 8
call fcn.101f7e31
int3
Function at 0x1007af50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022e944
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x1029912c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x244], eax
add eax, 0x30
push eax
push 0x138
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], ecx
call fcn.10023580
mov ebx, eax
mov dword [ebp - 0x23c], 0
add esp, 8
mov dword [ebp - 0x240], ebx
mov dword [ebp - 4], 0
mov edx, ebx
mov eax, dword [esi + 0xc]
mov edi, ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], ebx
test eax, eax
je 0x1007b008
lock inc dword [eax + 8]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], ebx
mov esi, dword [esi + 8]
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x250], eax
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0x1007b5e0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
test eax, eax
je 0x1007b06e
lea ecx, [eax + 8]
lock inc dword [ecx]
mov edx, edi
mov dword [ebp - 0x220], ebx
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], eax
mov esi, dword [ebp - 0x228]
lea edi, [ebx + 0x28]
push dword [ebp - 0x22c]
mov byte [ebp - 4], 2
mov ecx, 0x21
rep movsd dword es:[edi], dword [esi]
lea ecx, [edx + 0xb0]
call fcn.1007b8b0
mov eax, dword [ebp - 0x220]
push dword [ebp - 0x230]
lea ecx, [eax + 0x120]
call fcn.10024980
mov ecx, dword [ebp - 0x224]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x1007b0cf
or eax, 0xffffffff
lea edx, [ecx + 8]
lock xadd dword [edx], eax
jne 0x1007b0cf
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x228]
lea ecx, [ebp - 0x21c]
call fcn.1001ff90
mov ecx, dword [ebp - 0x234]
test byte [ecx + 4], 0x10
je 0x1007b0f6
cmp dword [ebp - 0x18], 0
jne 0x1007b0f6
mov al, 1
jmp 0x1007b0f8
xor al, al
push ebx
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x21c]
push dword [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [ebp - 0x238]
call fcn.10022900
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
call fcn.1007b520
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101d506b
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1007b150
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10227a08
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x1029912c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1007b1a6
push dword [ebp + 8]
push 0x1007c410
push ebx
call eax
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x74]
mov eax, dword [esi]
mov dword [ebp - 0x7c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x78], eax
lea eax, [esi + 8]
push eax
call fcn.1006c120
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 0xb]
push dword [0x102ad720]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1007b212
mov eax, dword [eax + 4]
test eax, eax
je 0x1007b212
mov edi, dword [eax + 8]
test edi, edi
je 0x1007b212
mov dword [eax + 8], 0
mov al, byte [edi]
cmp al, 0x1a
jb 0x1007b209
mov byte [edi + 0x68], al
jmp 0x1007b222
push edi
call fcn.100df630
add esp, 4
push 0x69
call fcn.101d507c
mov edi, eax
add esp, 4
mov byte [edi + 0x68], 0x1a
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
lea esi, [edi + 8]
mov eax, dword [ebp - 0x7c]
lea ecx, [esi + 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x78]
mov dword [esi + 4], eax
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006c120
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x54], eax
mov dword [edi], 0x1007cce0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], 0
call fcn.10020000
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x1007b2a0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007b2a0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1007b2a0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x6c]
call fcn.100151d0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x14]
mov eax, dword [ebx + 0x10]
push ecx
push ebx
mov eax, dword [eax + 8]
call eax
add esp, 8
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1007b2d7
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4