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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10188c93
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push dword [0x10205db8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1001ca0c
push 0x418
call fcn.1016120f
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x2c], esi
test eax, eax
je 0x1001c9f5
mov ecx, eax
call fcn.1001f940
mov esi, eax
jmp 0x1001c9f7
xor esi, esi
push esi
mov dword [esp + 0x30], 0xffffffff
push dword [0x10205db8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
add esi, 0xb0
mov ecx, esi
call fcn.10020820
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.1002eab0
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.1000df70
push dword [ebp + 8]
mov ecx, eax
mov dword [esp + 0x30], 1
call fcn.1001b2f0
lea ecx, [esp + 8]
call fcn.100039c0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1001f940
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10189159
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
call fcn.10003820
sub esp, 8
lea ecx, [edi + 0x18]
mov dword [esp + 0x24], 0
call fcn.10016320
sub esp, 8
lea ecx, [edi + 0xb0]
mov byte [esp + 0x24], 1
call fcn.10016320
lea ecx, [edi + 0x148]
push ecx
mov byte [esp + 0x20], 2
call fcn.10020150
mov byte [esp + 0x1c], 3
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
call fcn.10020620
mov dword [edi + 0x15c], eax
lea ecx, [edi + 0x164]
mov byte [esp + 0x1c], 4
call fcn.10003820
lea ecx, [edi + 0x17c]
mov byte [esp + 0x1c], 5
call fcn.10003820
lea esi, [edi + 0x194]
mov byte [esp + 0x1c], 6
mov ecx, esi
mov dword [esp + 0x10], esi
call fcn.10003820
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 7
call fcn.10003820
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 8
call fcn.10003820
lea ecx, [esi + 0x48]
mov byte [esp + 0x1c], 9
call fcn.10003820
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 0xa
call fcn.10003820
lea ecx, [esi + 0x78]
mov byte [esp + 0x1c], 0xb
call fcn.10003820
lea ecx, [esp + 0xb]
call fcn.10004530
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov word [esi + 0x9c], 0
mov byte [esi + 0x9e], 0
lea esi, [edi + 0x238]
mov byte [esp + 0x1c], 0xc
sub esp, 8
mov ecx, esi
mov dword [esp + 0x18], esi
call fcn.10016320
lea ecx, [esi + 0x98]
mov byte [esp + 0x1c], 0xd
call fcn.10003820
mov byte [esp + 0x1c], 0xe
lea ecx, [esi + 0xb0]
call fcn.10003300
lea ecx, [edi + 0x300]
mov byte [esp + 0x1c], 0xf
call fcn.10003820
lea ecx, [edi + 0x318]
mov byte [esp + 0x1c], 0x10
call fcn.10003820
lea ecx, [edi + 0x330]
mov byte [esp + 0x1c], 0x11
call fcn.100317d0
mov byte [esp + 0x1c], 0x12
lea ecx, [esp + 0xb]
mov dword [edi + 0x408], 0
call fcn.10004530
push 0x200
lea ecx, [edi + 0x40c]
mov dword [edi + 0x40c], 0
mov dword [edi + 0x410], 0
mov dword [edi + 0x414], 0
call fcn.100215c0
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x1001fd30
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10189233
push eax
mov dword fs:[0], esp
sub esp, 0x18
cmp byte [0x102063cc], 0
push ebx
push esi
push edi
jne 0x1001fe9c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push eax
mov dword [0x10205db8], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1001fdb1
push 0x418
call fcn.1016120f
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 0
test eax, eax
je 0x1001fd9a
mov ecx, eax
call fcn.1001f940
jmp 0x1001fd9c
xor eax, eax
push eax
mov dword [esp + 0x30], 0xffffffff
push dword [0x10205db8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [0x1020611c]
test ebx, ebx
jne 0x1001fdc6
call fcn.1001f460
mov ebx, dword [0x1020611c]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [esp + 0x14]
xor edi, edi
or edi, dword [esp + 0x10]
push 0
add edi, 0x2ac18000
push 0x989680
adc esi, 0xfe624e21
push esi
push edi
call fcn.101675d0
push 0
push 0x989680
push edx
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call fcn.10164300
push 0
sub edi, eax
push 0xa
sbb esi, edx
push esi
push edi
call fcn.101675d0
movq xmm0, qword [esp + 0x10]
movq qword [ebx + 0x30], xmm0
mov dword [esp + 0x18], eax
movq xmm0, qword [esp + 0x18]
lea ecx, [esp + 0x10]
movq qword [ebx + 0x38], xmm0
call fcn.1001ee80
mov dword [esp + 0x10], vtable.log4cplus::Logger.0
mov dword [esp + 0x2c], 1
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1001fe80
mov eax, dword [ecx + 0x14]
lea edx, [ecx + 0x14]
mov eax, dword [eax + 4]
add edx, eax
or ecx, 0xffffffff
lea eax, [edx + 8]
lock xadd dword [eax], ecx
cmp ecx, 1
sete al
test al, al
je 0x1001fe80
test edx, edx
je 0x1001fe80
mov eax, dword [edx]
push 1
mov ecx, edx
call dword [eax]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], vtable.log4cplus::spi::AppenderAttachable.0
call fcn.10035e70
mov byte [0x102063cc], 1
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10020970
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018a3fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push dword [0x10205db8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x100209d4
push 0x418
call fcn.1016120f
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], esi
test eax, eax
je 0x100209bd
mov ecx, eax
call fcn.1001f940
mov esi, eax
jmp 0x100209bf
xor esi, esi
push esi
mov dword [esp + 0x14], 0xffffffff
push dword [0x10205db8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [esi + 0x18]
call fcn.10020820
mov ecx, dword [esp + 8]
lea eax, [esi + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x100209f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018a3fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
push dword [0x10205db8]
mov ebx, edx
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x10020a5a
push 0x418
call fcn.1016120f
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], esi
test eax, eax
je 0x10020a43
mov ecx, eax
call fcn.1001f940
mov esi, eax
jmp 0x10020a45
xor esi, esi
push esi
mov dword [esp + 0x1c], 0xffffffff
push dword [0x10205db8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esp + 0x2c]
mov eax, dword [edi + 4]
push dword [esp + 0x2c]
add eax, 0x18
push dword [esp + 0x2c]
add esi, 0x330
push dword [esp + 0x2c]
mov ecx, esi
push ebx
push eax
call fcn.10031b70
mov ecx, dword [edi + 4]
push esi
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10020ea0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018a3fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push dword [0x10205db8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x10020f14
push esi
push 0x418
call fcn.1016120f
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x10020eef
mov ecx, eax
call fcn.1001f940
mov esi, eax
jmp 0x10020ef1
xor esi, esi
push esi
push dword [0x10205db8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [esi + 0x194]
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 4]
add eax, 0x194
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10021f40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10189759
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
mov dword [esp + 0x4c], 0
push ebp
mov dword [esp + 0x14], 0
push esi
mov esi, dword [esp + 0x5c]
push edi
lea ebp, [esi + 4]
mov edi, ecx
mov dword [esi], vtable.log4cplus::helpers::Properties.0
mov dword [esp + 0x24], edi
mov dword [ebp], 0
mov dword [ebp + 4], 0
call fcn.10020620
mov dword [ebp], eax
mov dword [esi + 0xc], 0
mov dword [esp + 0x58], 0
mov ebx, dword [esp + 0x64]
mov ecx, ebx
mov dword [esp + 0x1c], 1
call fcn.10003770
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.10021e30
mov dword [esp + 0x58], 1
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.10001260
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.10001260
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x18]
je 0x10022109
lea esp, [esp]
mov ecx, ebx
or esi, 0xffffffff
call fcn.10003770
cmp dword [ebx + 0x10], 0xffffffff
mov ecx, ebx
cmovb esi, dword [ebx + 0x10]
push esi
call fcn.10004980
mov esi, dword [esp + 0x24]
push eax
push esi
push 0
mov ecx, edi
call fcn.100172c0
test eax, eax
jne 0x100220dc
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x40]
push eax
call fcn.100155f0
mov edi, eax
mov esi, dword [esp + 0x24]
mov byte [esp + 0x58], 2
push dword [esp + 0x14]
lea eax, [esp + 0x2c]
add esi, 4
push eax
mov ecx, esi
call fcn.100224f0
mov eax, dword [esi]
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.10001260
mov eax, dword [esp + 0x28]
mov esi, 0x10205f88
cmp eax, dword [esp + 0x18]
je 0x10022092
lea esi, [eax + 0x28]
push edi
mov ecx, ebp
call fcn.100223d0
mov edi, eax
cmp edi, esi
je 0x100220ce
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call fcn.10004560
push eax
lea eax, [esp + 0x17]
push eax
mov ecx, edi
call fcn.10004560
push eax
call fcn.10007900
add esp, 8
mov ecx, edi
push 0xffffffffffffffff
push 0
push esi
call fcn.10004760
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 1
call fcn.100039c0
mov eax, dword [esp + 0x30]
add dword [esp + 0x14], 0x18
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.10001260
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x18]
jne 0x10022010
mov esi, dword [esp + 0x60]
mov byte [esp + 0x58], 0
cmp dword [esp + 0x2c], 0
je 0x10022164
lea ecx, [esp + 0x2c]
call fcn.1000edb0
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp esi, edi
je 0x10022142
lea ebx, [ebx]
mov ecx, esi
call fcn.100039c0
add esi, 0x18
cmp esi, edi
jne 0x10022130
mov esi, dword [esp + 0x2c]
push esi
call fcn.101604da
mov eax, dword [esp + 0x64]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 8
mov ecx, dword [esp + 0x50]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 8
Function at 0x100236a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101894e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], 0
mov dword [edi], 0x101e3840
mov dword [esp + 0x18], edi
mov dword [edi + 0x60], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [esp + 0x28], 0
mov eax, dword [edi]
mov dword [esp + 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ebp, dword [eax + 4]
add ebp, edi
mov ecx, ebp
call fcn.10010700
lea eax, [esp + 0x14]
lea ebx, [edi + 0x10]
push eax
mov ecx, ebp
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x3c], 0
call fcn.10010630
push eax
mov dword [esp + 0x2c], 2
call fcn.100190c0
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x28], 1
call fcn.10001600
mov edx, dword [esi]
push 0x20
mov ecx, esi
call dword [edx + 0x30]
cmp dword [ebp + 0x38], 0
mov word [ebp + 0x40], ax
jne 0x10023773
push 0
push 4
mov ecx, ebp
call fcn.1000f250
mov dword [esp + 0x28], 3
mov eax, dword [edi]
mov dword [esp + 0x1c], ebx
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, ebx
call fcn.100182e0
mov byte [esp + 0x28], 4
lea ecx, [ebx + 0x40]
mov dword [ebx], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.10004530
mov ecx, dword [esp + 0x30]
call fcn.10003770
mov ecx, dword [esp + 0x30]
mov ebp, eax
call fcn.1000a370
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 2
test ebp, ebp
je 0x100237e0
push ebp
push eax
mov ecx, ebx
call fcn.10018420
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x100293b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10189979
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
mov dword [esp + 0x28], 0
push edi
lea ecx, [esp + 0xb]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
call fcn.10004530
push eax
mov ecx, esi
call fcn.10004540
push 0
push 0
mov ecx, esi
call fcn.100048a0
push 0
push 0x8000
mov ecx, esi
call fcn.10005370
test al, al
je 0x1002943e
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.10004980
mov edi, eax
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x4000
rep stosd dword es:[edi], eax
push 0x8000
mov ecx, esi
call fcn.10005330
mov dword [esp + 0x2c], 0
mov ecx, esi
mov dword [esp + 0xc], 1
call fcn.10004980
push eax
mov ecx, esi
call fcn.10003770
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test edi, edi
je 0x10029490
mov ecx, esi
call fcn.10003770
cmp edi, eax
jae 0x10029490
push edi
mov ecx, esi
call fcn.1001e4d0
mov ecx, dword [esp + 0x24]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
push str.GetCurrentDirectory
lea ecx, [esp + 0x1c]
call fcn.10001270
push 0x101ec3e4
lea eax, [esp + 0x1c]
push eax
call fcn.10167b6b
int3
Function at 0x10029ad0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x10189a30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x14], 0
call fcn.1001f850
push esi
lea edx, [esp + 0x18]
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.10029530
add esp, 4
test al, al
je 0x10029c50
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x20], ecx
je 0x10029b50
add ecx, 0xffffffe8
call fcn.100039c0
sub dword [esp + 0x24], 0x18
lea ecx, [esp + 0x2c]
call fcn.10003820
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.10001260
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
lea edi, [ebp*2]
mov dword [esp + 0x1c], eax
add edi, ebp
lea eax, [esp + 0x20]
shl edi, 3
push eax
lea ecx, [esp + 0x20]
add esi, edi
call fcn.10001260
push esi
push dword [esp + 0x20]
lea ecx, [esp + 0x34]
call fcn.1002a300
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
add esp, 8
cmp ebp, esi
je 0x10029c47
sub esi, ebp
push 0xffffffffffffffff
push 0
push 0x10205fa4
lea ecx, [esp + 0x38]
call fcn.10005130
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
add eax, edi
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.10005130
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
call fcn.1000a370
push eax
call fcn.1016f44c
add esp, 8
cmp eax, 0xffffffff
jne 0x10029c41
lea ecx, [esp + 0x2c]
call fcn.1000a370
push eax
call fcn.1016fb76
add esp, 4
test eax, eax
je 0x10029c32
call fcn.1016380f
mov eax, dword [eax]
push eax
lea edx, [esp + 0x30]
mov ecx, ebx
call fcn.10029970
add esp, 4
add edi, 0x18
dec esi
jne 0x10029bd3
lea ecx, [esp + 0x2c]
call fcn.100039c0
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x20], 0
je 0x10029c92
lea ecx, [esp + 0x20]
call fcn.1000edb0
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
je 0x10029c89
mov ecx, esi
call fcn.100039c0
add esi, 0x18
cmp esi, edi
jne 0x10029c77
mov esi, dword [esp + 0x20]
push esi
call fcn.101604da
add esp, 4
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret
Function at 0x1002f380
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x10189d63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
mov ebx, ecx
push esi
mov eax, dword [ebx]
push edi
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.10001260
mov eax, dword [ebx + 4]
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.10001260
mov edi, dword [esp + 0x10]
cmp edi, dword [esp + 0x14]
je 0x1002f492
mov ebp, dword [esp + 0x44]
cmp byte [edi + 4], 0
je 0x1002f45e
push dword [0x10205db8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1002f428
push 0x418
call fcn.1016120f
add esp, 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], esi
test eax, eax
je 0x1002f411
mov ecx, eax
call fcn.1001f940
mov esi, eax
jmp 0x1002f413
xor esi, esi
push esi
mov dword [esp + 0x40], 0xffffffff
push dword [0x10205db8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [esp + 0x18]
push ebp
push eax
mov eax, dword [edi]
add esi, 0x318
call eax
add esp, 8
push esi
mov ecx, eax
mov dword [esp + 0x40], 1
call fcn.1001b2f0
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
call fcn.100039c0
jmp 0x1002f468
mov eax, dword [edi]
push ebp
call eax
add esp, 4
mov esi, eax
cmp dword [esi + 0x10], 0
jne 0x1002f4ac
mov eax, dword [ebx + 4]
add dword [esp + 0x10], 8
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.10001260
mov edi, dword [esp + 0x10]
cmp edi, dword [esp + 0x14]
jne 0x1002f3d1
mov eax, 0x10206054
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
mov ecx, dword [esp + 0x34]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret 4
Function at 0x1002fdd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10189d9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea ecx, [edi + 0x14]
mov dword [esp + 0xc], edi
mov dword [edi + 4], 0x101e3da0
call fcn.100107e0
mov eax, dword [edi + 4]
mov dword [edi], vtable.log4cplus::spi::Filter.0
mov eax, dword [eax + 4]
mov dword [esp + 8], 1
mov dword [eax + edi + 4], vtable.log4cplus::spi::Filter.1.0
mov dword [edi + 8], 0
mov dword [esp + 0x30], 1
mov eax, dword [edi + 4]
mov dword [edi], vtable.log4cplus::spi::LogLevelMatchFilter.1.0
mov eax, dword [eax + 4]
lea esi, [edi + 0xc]
mov dword [eax + edi + 4], vtable.log4cplus::spi::LogLevelMatchFilter.0
push str.AcceptOnMatch
lea ecx, [esp + 0x14]
mov byte [esi], 1
mov dword [edi + 0x10], 0xffffffff
call fcn.10003850
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x34], 2
push esi
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.10022180
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.100039c0
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov dword [esp + 0x3c], str.LogLevelToMatch
call fcn.10022c40
mov esi, eax
call fcn.1001f830
lea ecx, [eax + 0x14]
push esi
call fcn.1002f4d0
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x10], eax
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8

Function at 0x100303f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10189e97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
mov dword [esp + 0xc], 0
push edi
lea ecx, [ebp + 0x3c]
mov dword [esp + 0x14], ebp
mov dword [ebp + 4], 0x101e3e40
call fcn.100107e0
mov ebx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x3c], 0
push ebx
mov ecx, ebp
mov dword [esp + 0x18], 1
call fcn.1001a5f0
mov dword [esp + 0x38], 1
mov eax, dword [ebp + 4]
mov dword [ebp], vtable.log4cplus::ConsoleAppender.0
mov eax, dword [eax + 4]
lea esi, [ebp + 0x38]
mov dword [eax + ebp + 4], vtable.log4cplus::ConsoleAppender.1.0
lea edi, [ebp + 0x39]
push str.logToStdErr
lea ecx, [esp + 0x1c]
mov byte [esi], 0
mov byte [edi], 0
call fcn.10003850
lea eax, [esp + 0x18]
push eax
push esi
mov ecx, ebx
mov byte [esp + 0x40], 2
call fcn.10022180
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.100039c0
push str.ImmediateFlush
lea ecx, [esp + 0x1c]
call fcn.10003850
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, ebx
mov byte [esp + 0x40], 3
call fcn.10022180
lea ecx, [esp + 0x18]
call fcn.100039c0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x100305d0
Capabilities:
Initialize winsock library

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
call fcn.1001f850
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0
push 1
push 0x10205dbc
mov edi, eax
call esi
sub eax, 0
je 0x10030685
dec eax
je 0x1003062b
dec eax
je 0x100306d4
push 1
lea eax, [esp + 0x14]
push eax
push str.log4cplus:ERROR
push 0x1001ba80
push 0x10205d58
mov ecx, edi
mov dword [esp + 0x24], str.Unknown_WinSock_state.
call fcn.1001bdc0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebx, dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ecx]
push 0
push 0x10205dbc
call ebp
dec eax
je 0x1003067a
dec eax
je 0x100306d4
push 1
lea eax, [esp + 0x14]
push eax
push str.log4cplus:ERROR
push 0x1001ba80
push 0x10205d58
mov ecx, edi
mov dword [esp + 0x24], str.Unknown_WinSock_state.
call fcn.1001bdc0
jmp 0x10030640
call ebx
test eax, eax
jne 0x10030640
push eax
call esi
jmp 0x10030640
push 0x10206128
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x100306c9
push 1
push 0
push 0x10205dbc
call esi
push 1
lea eax, [esp + 0x14]
push eax
push str.log4cplus:ERROR
push 0x1001ba80
push 0x10205d58
mov ecx, edi
mov dword [esp + 0x24], str.Could_not_initialize_WinSock.
call fcn.1001bdc0
push 1
push 2
push 0x10205dbc
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret