joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10025ef0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x10189c68
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x100260d0
cmp byte [edi + 0x46], 0
je 0x100260d0
mov esi, dword [edi]
call fcn.1000ec60
movzx eax, ax
push eax
mov ecx, edi
call dword [esi + 0xc]
movzx eax, ax
mov dword [esp + 0x14], eax
call fcn.1000ec60
movzx eax, ax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1000ec20
add esp, 8
test al, al
je 0x10025f76
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x13]
call fcn.10003050
push eax
lea ecx, [esp + 0x34]
call fcn.100078e0
push 0
push 0
lea ecx, [esp + 0x38]
call fcn.100087c0
push 0
push 8
lea ecx, [esp + 0x38]
call fcn.10008860
test al, al
je 0x10025fc1
push 0
push 8
push 0
lea ecx, [esp + 0x3c]
call fcn.1000f100
push 8
lea ecx, [esp + 0x34]
call fcn.10008950
mov dword [esp + 0x54], 0
lea ebx, [edi + 0x48]
lea esp, [esp]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
call fcn.100076e0
mov ecx, eax
call fcn.10003030
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.10007940
add esi, eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
call fcn.100076e0
mov ecx, eax
call fcn.10003030
mov ecx, dword [edi + 0x40]
lea ebp, [esp + 0x1c]
mov edx, dword [ecx]
push ebp
push esi
push eax
push ebx
call dword [edx + 0x20]
sub eax, 0
je 0x10026048
dec eax
je 0x1002604c
sub eax, 2
je 0x100260b0
lea ecx, [esp + 0x30]
xor bl, bl
call fcn.10008290
mov al, bl
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x46], 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
call fcn.100076e0
mov ecx, eax
call fcn.10003030
mov esi, dword [esp + 0x1c]
sub esi, eax
je 0x10026091
push dword [edi + 0x50]
lea eax, [esp + 0x30]
push esi
push 1
push eax
lea ecx, [esp + 0x40]
call fcn.100076e0
mov ecx, eax
call fcn.10003030
push eax
call fcn.1016233c
add esp, 0x10
cmp esi, eax
jne 0x10026028
cmp byte [edi + 0x46], 0
je 0x100260b0
test esi, esi
jne 0x10025fd0
push esi
push 8
lea ecx, [esp + 0x38]
call fcn.1000daf0
jmp 0x10025fd0
lea ecx, [esp + 0x30]
mov bl, 1
call fcn.10008290
mov al, bl
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x4c]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10028780
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x1018a11b
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
push dword [0x10205dd4]
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x100287eb
push 0x418
call fcn.10160697
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], esi
test eax, eax
je 0x100287d4
mov ecx, eax
call fcn.1001dab0
mov esi, eax
jmp 0x100287d6
xor esi, esi
push esi
mov dword [esp + 0x54], 0xffffffff
push dword [0x10205dd4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esp + 0x5c]
mov eax, dword [ebp]
lea ebx, [esi + 0x300]
push ebx
mov ecx, ebp
mov dword [esp + 0x1c], ebx
call dword [eax + 4]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp + 8]
cmp eax, ecx
jbe 0x1002889c
test byte [ebp + 0xc], 2
je 0x1002885a
sub eax, ecx
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.10024b40
push eax
push dword [esp + 0x5c]
mov dword [esp + 0x58], 1
call fcn.1000e3e0
add esp, 8
lea ecx, [esp + 0x18]
call fcn.10007890
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8
push ecx
push 0
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
call fcn.10024b40
push eax
push dword [esp + 0x5c]
mov dword [esp + 0x58], 2
call fcn.1000e3e0
add esp, 8
lea ecx, [esp + 0x30]
call fcn.10007890
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8
cmp eax, dword [ebp + 4]
jge 0x1002891e
mov ebx, dword [esp + 0x58]
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.10005ae0
mov ecx, dword [ebx]
mov edi, eax
mov ecx, dword [ecx + 4]
mov eax, 0x20
movzx esi, word [ecx + ebx + 0x40]
mov word [ecx + ebx + 0x40], ax
mov ecx, dword [ebx]
test byte [ebp + 0xc], 1
mov ecx, dword [ecx + 4]
mov edx, 0x40
mov eax, 0x80
cmovne eax, edx
xor eax, dword [ecx + ebx + 0x14]
and eax, 0x1c0
xor dword [ecx + ebx + 0x14], eax
mov eax, dword [ebp + 4]
cdq
push edx
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.1000eac0
push dword [esp + 0x14]
push ebx
call fcn.1000e3e0
mov eax, dword [ebx]
movzx ecx, di
mov eax, dword [eax + 4]
mov word [eax + ebx + 0x40], si
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x14], ecx
jmp 0x10028928
push ebx
push dword [esp + 0x5c]
call fcn.1000e3e0
mov ecx, dword [esp + 0x50]
add esp, 8
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8
Function at 0x10028f50
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 0x10189f63
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push dword [0x10205dd4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x10028fbc
push 0x418
call fcn.10160697
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x2c], esi
test eax, eax
je 0x10028fa5
mov ecx, eax
call fcn.1001dab0
mov esi, eax
jmp 0x10028fa7
xor esi, esi
push esi
mov dword [esp + 0x30], 0xffffffff
push dword [0x10205dd4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
add esi, 0xb0
mov ecx, esi
call fcn.1002ca40
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.1003ef30
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.1000dd30
push dword [ebp + 8]
mov ecx, eax
mov dword [esp + 0x30], 1
call fcn.1002aae0
lea ecx, [esp + 8]
call fcn.10007890
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1002b500
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018af3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push dword [0x10205dd4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1002b574
push esi
push 0x418
call fcn.10160697
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x1002b54f
mov ecx, eax
call fcn.1001dab0
mov esi, eax
jmp 0x1002b551
xor esi, esi
push esi
push dword [0x10205dd4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [esi + 0x238]
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 4]
add eax, 0x238
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x1018af3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push dword [0x10205dd4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1002cbf4
push 0x418
call fcn.10160697
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], esi
test eax, eax
je 0x1002cbdd
mov ecx, eax
call fcn.1001dab0
mov esi, eax
jmp 0x1002cbdf
xor esi, esi
push esi
mov dword [esp + 0x14], 0xffffffff
push dword [0x10205dd4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [esi + 0x18]
call fcn.1002ca40
mov ecx, dword [esp + 8]
lea eax, [esi + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x1018af3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
push dword [0x10205dd4]
mov ebx, edx
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1002cc7a
push 0x418
call fcn.10160697
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], esi
test eax, eax
je 0x1002cc63
mov ecx, eax
call fcn.1001dab0
mov esi, eax
jmp 0x1002cc65
xor esi, esi
push esi
mov dword [esp + 0x1c], 0xffffffff
push dword [0x10205dd4]
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.1003c410
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 0x1002de40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018af3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push dword [0x10205dd4]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1002dea7
push 0x418
call fcn.10160697
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], esi
test eax, eax
je 0x1002de90
mov ecx, eax
call fcn.1001dab0
mov esi, eax
jmp 0x1002de92
xor esi, esi
push esi
mov dword [esp + 0x18], 0xffffffff
push dword [0x10205dd4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esp + 0x2c]
lea eax, [edi + 0x18]
push dword [esp + 0x2c]
add esi, 0x330
push dword [esp + 0x2c]
mov ecx, esi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push eax
call fcn.1003c410
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x1c]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

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

Disassembly:
push 0xffffffffffffffff
push 0x1018a677
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], 0x101e3f24
call fcn.10020190
mov ebx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x3c], 0
push ebx
mov ecx, ebp
mov dword [esp + 0x18], 1
call fcn.1002b750
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.10008180
lea eax, [esp + 0x18]
push eax
push esi
mov ecx, ebx
mov byte [esp + 0x40], 2
call fcn.1003daa0
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.10007890
push str.ImmediateFlush
lea ecx, [esp + 0x1c]
call fcn.10008180
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, ebx
mov byte [esp + 0x40], 3
call fcn.1003daa0
lea ecx, [esp + 0x18]
call fcn.10007890
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 0x1002f4d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1018aa39
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.10003050
push eax
mov ecx, esi
call fcn.100078e0
push 0
push 0
mov ecx, esi
call fcn.10007e70
push 0
push 0x8000
mov ecx, esi
call fcn.10007f10
test al, al
je 0x1002f55e
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.10007a90
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.10008030
mov dword [esp + 0x2c], 0
mov ecx, esi
mov dword [esp + 0xc], 1
call fcn.10007a90
push eax
mov ecx, esi
call fcn.10007940
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test edi, edi
je 0x1002f5b0
mov ecx, esi
call fcn.10007940
cmp edi, eax
jae 0x1002f5b0
push edi
mov ecx, esi
call fcn.1002aa80
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.10006f10
push 0x101ec220
lea eax, [esp + 0x1c]
push eax
call fcn.10167c3b
int3
Function at 0x1002fbf0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x1018aaf0
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.1001d9a0
push esi
lea edx, [esp + 0x18]
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.1002f650
add esp, 4
test al, al
je 0x1002fd70
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x20], ecx
je 0x1002fc70
add ecx, 0xffffffe8
call fcn.10007890
sub dword [esp + 0x24], 0x18
lea ecx, [esp + 0x2c]
call fcn.10007560
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.10006680
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.10006680
push esi
push dword [esp + 0x20]
lea ecx, [esp + 0x34]
call fcn.10034590
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 0x1002fd67
sub esi, ebp
push 0xffffffffffffffff
push 0
push 0x10205f00
lea ecx, [esp + 0x38]
call fcn.10003500
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
add eax, edi
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.10003500
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
call fcn.1000a250
push eax
call fcn.1016f89f
add esp, 8
cmp eax, 0xffffffff
jne 0x1002fd61
lea ecx, [esp + 0x2c]
call fcn.1000a250
push eax
call fcn.1016e61e
add esp, 4
test eax, eax
je 0x1002fd52
call fcn.1016366f
mov eax, dword [eax]
push eax
lea edx, [esp + 0x30]
mov ecx, ebx
call fcn.1002fa90
add esp, 4
add edi, 0x18
dec esi
jne 0x1002fcf3
lea ecx, [esp + 0x2c]
call fcn.10007890
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x20], 0
je 0x1002fdb2
lea ecx, [esp + 0x20]
call fcn.1000ea90
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
je 0x1002fda9
mov ecx, esi
call fcn.10007890
add esi, 0x18
cmp esi, edi
jne 0x1002fd97
mov esi, dword [esp + 0x20]
push esi
call fcn.1016059a
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 0x10030190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1018a897
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], 0x101e4084
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.1000fbd0
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.1000fbb0
push eax
mov dword [esp + 0x2c], 2
call fcn.1001fa50
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x28], 1
call fcn.10006e20
mov edx, dword [esi]
push 0x20
mov ecx, esi
call dword [edx + 0x30]
cmp dword [ebp + 0x38], 0
mov word [ebp + 0x40], ax
jne 0x10030263
push 0
push 4
mov ecx, ebp
call fcn.1000eef0
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.1001f450
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.10003050
mov ecx, dword [esp + 0x30]
call fcn.10007940
mov ecx, dword [esp + 0x30]
mov ebp, eax
call fcn.1000a250
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 2
test ebp, ebp
je 0x100302d0
push ebp
push eax
mov ecx, ebx
call fcn.1001f5e0
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 0x10035740
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018af3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push dword [0x10205dd4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x100357b4
push esi
push 0x418
call fcn.10160697
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x1003578f
mov ecx, eax
call fcn.1001dab0
mov esi, eax
jmp 0x10035791
xor esi, esi
push esi
push dword [0x10205dd4]
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 0x100363a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018abf3
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.10006680
mov eax, dword [ebx + 4]
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.10006680
mov edi, dword [esp + 0x10]
cmp edi, dword [esp + 0x14]
je 0x100364b2
mov ebp, dword [esp + 0x44]
cmp byte [edi + 4], 0
je 0x1003647e
push dword [0x10205dd4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x10036448
push 0x418
call fcn.10160697
add esp, 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], esi
test eax, eax
je 0x10036431
mov ecx, eax
call fcn.1001dab0
mov esi, eax
jmp 0x10036433
xor esi, esi
push esi
mov dword [esp + 0x40], 0xffffffff
push dword [0x10205dd4]
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.1002aae0
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
call fcn.10007890
jmp 0x10036488
mov eax, dword [edi]
push ebp
call eax
add esp, 4
mov esi, eax
cmp dword [esi + 0x10], 0
jne 0x100364cc
mov eax, dword [ebx + 4]
add dword [esp + 0x10], 8
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.10006680
mov edi, dword [esp + 0x10]
cmp edi, dword [esp + 0x14]
jne 0x100363f1
mov eax, 0x10206070
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 0x10036b50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018af3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push dword [0x10205dd4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x10036bc4
push esi
push 0x418
call fcn.10160697
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x10036b9f
mov ecx, eax
call fcn.1001dab0
mov esi, eax
jmp 0x10036ba1
xor esi, esi
push esi
push dword [0x10205dd4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [esi + 0x148]
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 4]
add eax, 0x148
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x100373a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1018ae38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
lea ecx, [esp + 8]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x34]
mov eax, dword [eax + 4]
mov dword [eax + 0x30], 0x2710
mov dword [esp + 8], vtable.log4cplus::Logger.0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x10037414
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 0x10037414
test edx, edx
je 0x10037414
mov eax, dword [edx]
push 1
mov ecx, edx
call dword [eax]
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x24], 0xffffffff
call dword [eax + 0x44]
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 8]
call fcn.10006680
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
call fcn.10006680
mov eax, dword [esp + 4]
cmp eax, dword [esp + 8]
je 0x100374a6
lea esp, [esp]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x30], 0xffffffff
mov eax, dword [eax + 4]
lea ecx, [esp + 8]
mov byte [eax + 0x38], 1
mov eax, dword [esp + 0x14]
add dword [esp + 4], 8
mov dword [esp + 8], eax
lea eax, [esp + 0x10]
push eax
call fcn.10006680
mov eax, dword [esp + 4]
cmp eax, dword [esp + 8]
jne 0x10037470
cmp dword [esp + 0x10], 0
je 0x100374e1
push edi
lea ecx, [esp + 0x14]
call fcn.1000ea90
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x100374d7
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x18]
add esi, 8
cmp esi, edi
jne 0x100374c3
mov esi, dword [esp + 0x14]
push esi
call fcn.1016059a
add esp, 4
pop edi
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x1018af3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push dword [0x10205dd4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1003c8f4
push esi
push 0x418
call fcn.10160697
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x1003c8cf
mov ecx, eax
call fcn.1001dab0
mov esi, eax
jmp 0x1003c8d1
xor esi, esi
push esi
push dword [0x10205dd4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [esi + 0x15c]
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 4]
add eax, 0x15c
mov dword fs:[0], ecx
add esp, 0x10
ret