joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e800
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x6a8c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x62c]
mov dword [ebp - 0x62c], 0
push eax
push 0x67044c
push 1
push 0
push 0x67046c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x46e96f
mov ecx, dword [ebp - 0x62c]
test ecx, ecx
je 0x46e96f
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x50]
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.005ed310
push esi
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.005f6a7e
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x62c]
lea edx, [ebp - 0x210]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x62c]
lea edx, [ebp - 0x630]
push edx
mov dword [ebp - 0x630], 0
push 0x67045c
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
js 0x46e963
cmp dword [ebp - 0x630], 0
je 0x46e963
push 0x20a
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.005ed310
add esp, 0xc
lea eax, [ebp - 0x41c]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x20a
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.005ed310
push edi
lea eax, [ebp - 0x41c]
push eax
push str._s_s
push 0xffffffffffffffff
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.0044cd00
mov eax, dword [ebp - 0x630]
lea edx, [ebp - 0x628]
add esp, 0x24
mov ecx, dword [eax]
push 0
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x630]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x62c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005d584c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x470720
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [0x6b43bc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47074a
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
push ecx
push dword [ebp - 4]
call fcn.00479fe0
add esp, 8
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
xor ecx, ecx
push ecx
push dword [ebp - 4]
call fcn.00479fe0
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x470760
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [0x6b43bc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x470779
mov esi, dword [eax + 4]
jmp 0x47077b
xor esi, esi
mov eax, dword [ebp + 0xc]
cmp eax, 0x3fc
ja 0x47079c
test esi, esi
je 0x47079c
xor edx, edx
nop dword [eax + eax]
cmp dword [esi + edx*4], 0
je 0x4707aa
inc edx
cmp edx, 2
jl 0x470790
push dword [ebp + 8]
call fcn.005d5d3e
add esp, 4
pop esi
pop ebp
ret
mov ecx, dword [ebp + 8]
mov al, byte [ecx + eax]
mov byte [ecx], al
mov dword [esi + edx*4], ecx
pop esi
pop ebp
ret
Function at 0x470bb0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x6a8c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x6b4354
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ecx, dword [esi + 4]
push 0
push ecx
test eax, eax
je 0x470c14
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005d584c
mov esp, ebp
pop ebp
ret
push fcn.00450b30
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005d584c
mov esp, ebp
pop ebp
ret
Function at 0x4710b0
Capabilities:
Access peb ldr_data
Get ntdll base address

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 0x61a6a9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
mov eax, dword [0x6a8c7c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.asio::detail::win_iocp_io_context.0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], 0
call fcn.00470890
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0xffffffff
mov dword [esi + 0x60], 0
push 0xffffffffffffffff
push 0
push 0
push 0xffffffffffffffff
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x4711d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6b42fc]
cmp eax, dword [ecx + 4]
jg 0x47127c
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0x6b42d8
test edi, edi
jne 0x4712c9
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0xc
call fcn.005d585d
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 7
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
push 0x10
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.005d585d
add esp, 4
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
mov ecx, edi
movups xmmword [eax], xmm0
push 0
push eax
mov dword [eax], vtable.asio::detail::win_thread::func_struct_asio::detail::win_iocp_io_context::thread_function_.0
mov dword [eax + 0xc], esi
call fcn.00470c40
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x471257
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push dword [ebp - 0x20]
call fcn.005d588d
add esp, 8
mov dword [esi + 0x60], edi
mov eax, esi
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.005d584c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
push 0x6b42fc
call fcn.005d5ee3
add esp, 4
cmp dword [0x6b42fc], 0xffffffff
jne 0x4711c6
push 0x622520
mov dword [0x6b42dc], 0x6b42d8
mov dword [0x6b42d8], 0x67e1ec
call fcn.005d5d20
add esp, 4
push 0x6b42fc
call fcn.005d5e99
add esp, 4
jmp 0x4711c6
mov edx, str.iocp
lea ecx, [ebp - 0x1c]
call fcn.0044faf0
int3
Function at 0x471740
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61a710
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x6a8c7c]
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 esi, ecx
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x18]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x4717ba
mov ecx, esi
call fcn.00471940
push 0x6b42f4
push 0x450930
push 0x6b432c
call fcn.005d1d6d
add esp, 0xc
test eax, eax
je 0x4718ca
mov dword [ebx], 0
xor eax, eax
mov dword [ebx + 4], 0x6b42f4
jmp 0x4718ac
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.005d30f6
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
add esp, 4
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x54], xmm0
movups xmmword [ebp - 0x44], xmm0
mov ecx, esi
mov dword [ebp - 4], 1
push dword [0x6b43bc]
neg ecx
movq qword [ebp - 0x20], xmm0
lea eax, [esi + 0x14]
mov dword [ebp - 0x18], 0
sbb ecx, ecx
and ecx, eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x6b43bc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
push eax
push ecx
mov ecx, esi
xor edi, edi
call fcn.00471ba0
test eax, eax
je 0x47186c
nop word [eax + eax]
cmp edi, 0xffffffff
lea eax, [edi + 1]
push ebx
cmove eax, edi
mov edi, eax
lea eax, [ebp - 0x54]
push eax
push ecx
mov ecx, esi
call fcn.00471ba0
test eax, eax
jne 0x471850
push dword [ebp - 0x18]
push dword [0x6b43bc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor esi, esi
nop dword [eax]
mov eax, dword [ebp + esi*4 - 0x54]
test eax, eax
je 0x471891
push eax
call fcn.005d5d3e
add esp, 4
inc esi
cmp esi, 0xa
jl 0x471880
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push eax
call fcn.005d3130
add esp, 4
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 - 0x14]
xor ecx, ebp
call fcn.005d584c
mov esp, ebp
pop ebp
ret 4
call fcn.005f569e
int3

Function at 0x471a20
Capabilities:
Get thread local storage value

Disassembly:
push esi
push dword [0x6b43bc]
mov esi, ecx
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x471a4b
nop dword [eax]
cmp dword [eax], esi
je 0x471a4d
mov eax, dword [eax + 8]
test eax, eax
jne 0x471a40
pop esi
ret
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x471a4b
pop esi
jmp fcn.00470570
Function at 0x472490
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x6a8c7c]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push 0x6b42f4
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push 0x450930
push 0x6b432c
mov esi, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 1
call fcn.005d1d6d
add esp, 0xc
test eax, eax
je 0x472546
push 0
push 0
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 1
lea eax, [esp + 0x28]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSASend]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6b42fc]
cmp eax, dword [ecx + 4]
jg 0x47254b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x472521
mov edx, 0x2746
jmp 0x47252d
cmp eax, 0x4d2
jne 0x472536
mov edx, 0x274d
lea ecx, [esp + 4]
call fcn.00470420
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.005d584c
mov esp, ebp
pop ebp
ret
call fcn.005f569e
push 0x6b42fc
call fcn.005d5ee3
add esp, 4
cmp dword [0x6b42fc], 0xffffffff
jne 0x47250f
push 0x622520
mov dword [0x6b42dc], 0x6b42d8
mov dword [0x6b42d8], 0x67e1ec
call fcn.005d5d20
add esp, 4
push 0x6b42fc
call fcn.005d5e99
add esp, 4
jmp 0x47250f

Function at 0x4726d0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x6a8c7c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [ebp + 0x18], 0
push 0
je 0x472724
mov ecx, dword [edi + 4]
push 0
push ebx
call fcn.00471ad0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005d584c
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x47274c
mov ecx, dword [edi + 4]
push 0x2719
push ebx
call fcn.00471ad0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005d584c
mov esp, ebp
pop ebp
ret 0x18
push ebx
push dword [ebp + 0x14]
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 0x10]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
je 0x4727a8
cmp eax, 0x3e5
je 0x4727a8
push dword [ebp - 8]
mov ecx, dword [edi + 4]
push eax
push ebx
call fcn.00471ad0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005d584c
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [edi + 4]
push ebx
call fcn.00471a60
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005d584c
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4737f0
Capabilities:
Contain obfuscated stackstrings

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 0x61a960
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6c
mov eax, dword [0x6a8c7c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x78]
push 0
movups xmmword [ebp - 0x78], xmm0
movq qword [ebp - 0x68], xmm0
call fcn.0053e6d0
lea eax, [esi + 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x30]
call fcn.0053e3d0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x78]
call fcn.00540400
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.0053eb70
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x63726f66
mov dword [ebp - 0x24], 0x75615065
lea edx, [ecx + 1]
mov dword [ebp - 0x20], 0x6c416573
mov word [ebp - 0x1c], 0x6c
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4738a7
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.0044e6f0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00473bd0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
cmovae edx, dword [ebp - 0x60]
sub esp, 0x18
mov ecx, esp
call fcn.0044d9e0
mov ecx, esi
call fcn.00473e90
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x473928
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47391e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4739a1
push edx
push ecx
call fcn.005d588d
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp edx, 0x10
jb 0x47396a
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x473960
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4739a6
push edx
push ecx
call fcn.005d588d
add esp, 8
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.0053eb70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005d584c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005f564e
call fcn.005f564e
int3
Function at 0x478b20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b090
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6a8c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.005d585d
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.005d4465
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
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
Function at 0x483570
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61be15
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x6a8c7c]
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 esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x44]
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x4835ca
mov eax, dword [ecx]
lea edx, [ebp - 0x44]
push edx
call dword [eax]
mov edx, eax
mov dword [ebp - 0x20], edx
mov ecx, dword [esi + 0x80]
mov eax, dword [ecx]
mov dword [ebp - 0x74], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 3
test edx, edx
je 0x483647
lea eax, [ebp - 0x44]
cmp edx, eax
jne 0x48363d
mov eax, dword [edx]
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
test ecx, ecx
je 0x483647
mov edx, dword [ecx]
lea eax, [ebp - 0x44]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor ecx, ecx
mov dword [ebp - 0x20], 0
test ecx, ecx
je 0x483647
mov edx, dword [ecx]
lea eax, [ebp - 0x44]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x483640
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 4
mov ebx, dword [esi + 0x7c]
push dword [0x6b43a8]
mov esi, dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48366c
cmp dword [eax], esi
je 0x48366c
mov eax, dword [eax + 8]
test eax, eax
jne 0x483661
lea eax, [ebp - 0x74]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x6c]
push eax
push 0x58
call fcn.00470720
mov esi, eax
mov dword [ebp - 0x78], 0
add esp, 8
mov dword [ebp - 0x7c], esi
mov byte [ebp - 4], 6
lea eax, [ebp - 0x74]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x487420
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.00487570
push ecx
mov ecx, dword [ebx + 8]
push esi
call fcn.00471010
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x4836f5
mov edx, dword [ecx]
lea eax, [ebp - 0x6c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
push 0x6b42f4
push 0x450930
push 0x6b432c
mov dword [edi], 0
call fcn.005d1d6d
add esp, 0xc
test eax, eax
je 0x483755
mov ecx, dword [ebp + 0x30]
mov dword [edi + 4], 0x6b42f4
test ecx, ecx
je 0x483735
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
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 - 0x14]
xor ecx, ebp
call fcn.005d584c
mov esp, ebp
pop ebp
ret 0x2c
call fcn.005f569e
int3
Function at 0x486d90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c288
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push esi
push edi
mov eax, dword [0x6a8c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov eax, dword [edi + 8]
lea esi, [edi + 0x10]
push esi
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
call fcn.004833d0
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
test ecx, ecx
je 0x486df3
lock inc dword [ecx + 4]
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
mov eax, dword [ebx]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x70], eax
lea eax, [ebx + 0x10]
push eax
call fcn.0047ce30
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
lea ebx, [edi + 4]
push dword [0x6b43a8]
mov edi, dword [edi]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x486e5f
nop word [eax + eax]
cmp dword [eax], esi
je 0x486f0f
mov eax, dword [eax + 8]
test eax, eax
jne 0x486e50
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x70]
push eax
push 0xc8
call fcn.00470720
mov esi, eax
mov dword [ebp - 0x14], 0
add esp, 8
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 4
lea eax, [ebp - 0xc0]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x488b00
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.00488c80
push esi
mov byte [ebp - 4], 3
mov ecx, edi
push ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.00472840
lea ecx, [ebp - 0x68]
call fcn.00478d50
lea ecx, [ebp - 0xb8]
call fcn.00478d50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + 4], 0
je 0x486e5f
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004894b0
add esp, 8
jmp 0x486eea
Function at 0x487730
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c38a
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x6a8c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
lea eax, [esi + 0x10]
push eax
call fcn.00483320
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
lea edi, [esi + 4]
mov ebx, dword [esi]
push dword [0x6b43a8]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4877ab
cmp dword [eax], esi
je 0x4877c6
mov eax, dword [eax + 8]
test eax, eax
jne 0x4877a0
mov esi, dword [ebp - 0x78]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x1c], eax
cmp byte [esi + 0x400], 0
jne 0x4877e2
mov byte [esi + 0x400], 1
jmp 0x4877f1
cmp dword [eax + 4], 0
je 0x4877ab
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.00489640
add esp, 8
jmp 0x487865
push 0x80
call fcn.005d585d
add esp, 4
mov esi, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x78]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x488fb0
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.004890a0
push esi
mov byte [ebp - 4], 2
mov ecx, ebx
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.00472840
lea ecx, [ebp - 0x1c]
call fcn.00488f20
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x48788d
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x48788d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x48788d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4878a5
mov edx, dword [ecx]
lea eax, [ebp - 0x60]
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 edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8