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

Disassembly:
push 0xffffffffffffffff
push 0x47409b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push dword [0x495114]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x41f974
push esi
push 0x418
call fcn.00452817
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x41f94f
mov ecx, eax
call fcn.00411990
mov esi, eax
jmp 0x41f951
xor esi, esi
push esi
push dword [0x495114]
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 0x4210c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x47409b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push dword [0x495114]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x421124
push 0x418
call fcn.00452817
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], esi
test eax, eax
je 0x42110d
mov ecx, eax
call fcn.00411990
mov esi, eax
jmp 0x42110f
xor esi, esi
push esi
mov dword [esp + 0x14], 0xffffffff
push dword [0x495114]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [esi + 0x18]
call fcn.00420f70
mov ecx, dword [esp + 8]
lea eax, [esi + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x47409b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
push dword [0x495114]
mov ebx, edx
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4211aa
push 0x418
call fcn.00452817
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], esi
test eax, eax
je 0x421193
mov ecx, eax
call fcn.00411990
mov esi, eax
jmp 0x421195
xor esi, esi
push esi
mov dword [esp + 0x1c], 0xffffffff
push dword [0x495114]
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.00433db0
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 0x424ef0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x474384
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
cmp dword [esp + 0x28], 0
push edi
mov dword [esp + 0x10], ebx
je 0x424f3e
lea ecx, [ebx + 0x40]
mov dword [ebx + 0x14], 0x482808
call fcn.004140a0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 1
mov ecx, ebx
call fcn.004243e0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], 1
mov eax, dword [ebx + 0x14]
mov dword [ebx], vtable.log4cplus::spi::LoggerImpl.1.0
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x14], vtable.log4cplus::spi::LoggerImpl.0
lea eax, [esp + 0xb]
push eax
call fcn.004044a0
push eax
lea ecx, [esp + 0x30]
call fcn.00404fb0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xe]
call fcn.00404fb0
lea eax, [esp + 0xa]
push eax
lea ecx, [ebx + 0x18]
call fcn.00404480
push 0
push 0
lea ecx, [ebx + 0x18]
call fcn.004047e0
push 0xffffffffffffffff
push 0
push dword [esp + 0x2c]
lea ecx, [ebx + 0x18]
call fcn.004046a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x30], 0xffffffff
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x38], 1
pop edi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc

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

Disassembly:
push 0xffffffffffffffff
push 0x47409b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push dword [0x495114]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x425447
push 0x418
call fcn.00452817
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], esi
test eax, eax
je 0x425430
mov ecx, eax
call fcn.00411990
mov esi, eax
jmp 0x425432
xor esi, esi
push esi
mov dword [esp + 0x18], 0xffffffff
push dword [0x495114]
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.00433db0
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 0x425560
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x474407
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], 0x481890
call fcn.004140a0
mov ebx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x3c], 0
push ebx
mov ecx, ebp
mov dword [esp + 0x18], 1
call fcn.0041fb60
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.00403790
lea eax, [esp + 0x18]
push eax
push esi
mov ecx, ebx
mov byte [esp + 0x40], 2
call fcn.00435690
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.00403900
push str.ImmediateFlush
lea ecx, [esp + 0x1c]
call fcn.00403790
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, ebx
mov byte [esp + 0x40], 3
call fcn.00435690
lea ecx, [esp + 0x18]
call fcn.00403900
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 0x426ae0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x474809
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.00404470
push eax
mov ecx, esi
call fcn.00404480
push 0
push 0
mov ecx, esi
call fcn.004047e0
push 0
push 0x8000
mov ecx, esi
call fcn.004052b0
test al, al
je 0x426b6e
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.004048c0
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.00405270
mov dword [esp + 0x2c], 0
mov ecx, esi
mov dword [esp + 0xc], 1
call fcn.004048c0
push eax
mov ecx, esi
call fcn.004036b0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test edi, edi
je 0x426bc0
mov ecx, esi
call fcn.004036b0
cmp edi, eax
jae 0x426bc0
push edi
mov ecx, esi
call fcn.0041edb0
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.004011b0
push 0x4897d0
lea eax, [esp + 0x1c]
push eax
call fcn.00454903
int3
Function at 0x427200
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4748c0
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.00411880
push esi
lea edx, [esp + 0x18]
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.00426c60
add esp, 4
test al, al
je 0x427380
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x20], ecx
je 0x427280
add ecx, 0xffffffe8
call fcn.00403900
sub dword [esp + 0x24], 0x18
lea ecx, [esp + 0x2c]
call fcn.00403760
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.004011a0
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.004011a0
push esi
push dword [esp + 0x20]
lea ecx, [esp + 0x34]
call fcn.0042bbe0
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 0x427377
sub esi, ebp
push 0xffffffffffffffff
push 0
push 0x4951fc
lea ecx, [esp + 0x38]
call fcn.00405070
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push 0
add eax, edi
push eax
lea ecx, [esp + 0x38]
call fcn.00405070
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
call fcn.00409cb0
push eax
call fcn.0045d0af
add esp, 8
cmp eax, 0xffffffff
jne 0x427371
lea ecx, [esp + 0x2c]
call fcn.00409cb0
push eax
call fcn.0045b792
add esp, 4
test eax, eax
je 0x427362
call fcn.00456953
mov eax, dword [eax]
push eax
lea edx, [esp + 0x30]
mov ecx, ebx
call fcn.004270a0
add esp, 4
add edi, 0x18
dec esi
jne 0x427303
lea ecx, [esp + 0x2c]
call fcn.00403900
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4273ab
mov edi, dword [esp + 0x24]
cmp esi, edi
je 0x4273a2
mov ecx, esi
call fcn.00403900
add esi, 0x18
cmp esi, edi
jne 0x427390
mov esi, dword [esp + 0x20]
push esi
call fcn.00451fcd
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 0x427780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x474647
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], 0x48199c
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.00411280
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.00411260
push eax
mov dword [esp + 0x2c], 2
call fcn.00413970
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x28], 1
call fcn.00401540
mov edx, dword [esi]
push 0x20
mov ecx, esi
call dword [edx + 0x30]
cmp dword [ebp + 0x38], 0
mov word [ebp + 0x40], ax
jne 0x427853
push 0
push 4
mov ecx, ebp
call fcn.00409c60
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.00413300
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.00404470
mov ecx, dword [esp + 0x30]
call fcn.004036b0
mov ecx, dword [esp + 0x30]
mov ebp, eax
call fcn.00409cb0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 2
test ebp, ebp
je 0x4278c0
push ebp
push eax
mov ecx, ebx
call fcn.00413490
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 0x42cdf0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x47409b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push dword [0x495114]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x42ce64
push esi
push 0x418
call fcn.00452817
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x42ce3f
mov ecx, eax
call fcn.00411990
mov esi, eax
jmp 0x42ce41
xor esi, esi
push esi
push dword [0x495114]
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 0x42da60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x474a13
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.004011a0
mov eax, dword [ebx + 4]
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.004011a0
mov edi, dword [esp + 0x10]
cmp edi, dword [esp + 0x14]
je 0x42db72
mov ebp, dword [esp + 0x44]
cmp byte [edi + 4], 0
je 0x42db3e
push dword [0x495114]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x42db08
push 0x418
call fcn.00452817
add esp, 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], esi
test eax, eax
je 0x42daf1
mov ecx, eax
call fcn.00411990
mov esi, eax
jmp 0x42daf3
xor esi, esi
push esi
mov dword [esp + 0x40], 0xffffffff
push dword [0x495114]
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.0041ee10
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00403900
jmp 0x42db48
mov eax, dword [edi]
push ebp
call eax
add esp, 4
mov esi, eax
cmp dword [esi + 0x10], 0
jne 0x42db8c
mov eax, dword [ebx + 4]
add dword [esp + 0x10], 8
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.004011a0
mov edi, dword [esp + 0x10]
cmp edi, dword [esp + 0x14]
jne 0x42dab1
mov eax, 0x49536c
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 0x42e1f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x47409b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push dword [0x495114]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x42e264
push esi
push 0x418
call fcn.00452817
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x42e23f
mov ecx, eax
call fcn.00411990
mov esi, eax
jmp 0x42e241
xor esi, esi
push esi
push dword [0x495114]
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 0x42ea40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x474c78
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 0x42eab4
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 0x42eab4
test edx, edx
je 0x42eab4
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.004011a0
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
call fcn.004011a0
mov eax, dword [esp + 4]
cmp eax, dword [esp + 8]
je 0x42eb46
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.004011a0
mov eax, dword [esp + 4]
cmp eax, dword [esp + 8]
jne 0x42eb10
mov esi, dword [esp + 0x10]
test esi, esi
je 0x42eb75
push edi
mov edi, dword [esp + 0x18]
cmp esi, edi
je 0x42eb6b
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x18]
add esi, 8
cmp esi, edi
jne 0x42eb57
mov esi, dword [esp + 0x14]
push esi
call fcn.00451fcd
add esp, 4
pop edi
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x47409b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push dword [0x495114]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x434294
push esi
push 0x418
call fcn.00452817
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x43426f
mov ecx, eax
call fcn.00411990
mov esi, eax
jmp 0x434271
xor esi, esi
push esi
push dword [0x495114]
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
Function at 0x435480
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4754e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov dword [esp + 0x48], 0
push ebx
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x54]
push ebp
push esi
lea ebp, [ebx + 4]
mov esi, ecx
mov dword [ebx], vtable.log4cplus::helpers::Properties.0
push edi
mov dword [esp + 0x24], esi
mov dword [ebp], 0
mov dword [ebp + 4], 0
call fcn.004138c0
mov dword [ebp], eax
mov dword [ebx + 0xc], 0
mov dword [esp + 0x58], 0
mov ebx, dword [esp + 0x64]
mov ecx, ebx
mov dword [esp + 0x1c], 1
call fcn.004036b0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00435240
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.004011a0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004011a0
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x18]
je 0x435645
lea esp, [esp]
mov ecx, ebx
or esi, 0xffffffff
call fcn.004036b0
cmp dword [ebx + 0x10], 0xffffffff
mov ecx, ebx
cmovb esi, dword [ebx + 0x10]
push esi
call fcn.004048c0
mov esi, dword [esp + 0x24]
push eax
push esi
push 0
mov ecx, edi
call fcn.00419cc0
test eax, eax
jne 0x43561c
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x40]
push eax
call fcn.0040f6b0
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.0042f690
mov eax, dword [esi]
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.004011a0
mov eax, dword [esp + 0x28]
mov esi, 0x4953e0
cmp eax, dword [esp + 0x18]
je 0x4355d2
lea esi, [eax + 0x28]
push edi
mov ecx, ebp
call fcn.004342b0
mov edi, eax
cmp edi, esi
je 0x43560e
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call fcn.004044a0
push eax
lea eax, [esp + 0x17]
push eax
mov ecx, edi
call fcn.004044a0
push eax
call fcn.00407840
add esp, 8
mov ecx, edi
push 0xffffffffffffffff
push 0
push esi
call fcn.004046a0
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 1
call fcn.00403900
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.004011a0
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x18]
jne 0x435550
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x435670
mov edi, dword [esp + 0x30]
cmp esi, edi
je 0x435667
mov ecx, esi
call fcn.00403900
add esi, 0x18
cmp esi, edi
jne 0x435655
mov esi, dword [esp + 0x2c]
push esi
call fcn.00451fcd
add esp, 4
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 8
Function at 0x436360
Capabilities:
Initialize winsock library

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
call fcn.00411880
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0
push 1
push 0x495118
mov edi, eax
call esi
sub eax, 0
je 0x436415
dec eax
je 0x4363bb
dec eax
je 0x436464
push 1
lea eax, [esp + 0x14]
push eax
push str.log4cplus:ERROR
push 0x410560
push 0x494fe8
mov ecx, edi
mov dword [esp + 0x24], str.Unknown_WinSock_state.
call fcn.004108b0
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 0x495118
call ebp
dec eax
je 0x43640a
dec eax
je 0x436464
push 1
lea eax, [esp + 0x14]
push eax
push str.log4cplus:ERROR
push 0x410560
push 0x494fe8
mov ecx, edi
mov dword [esp + 0x24], str.Unknown_WinSock_state.
call fcn.004108b0
jmp 0x4363d0
call ebx
test eax, eax
jne 0x4363d0
push eax
call esi
jmp 0x4363d0
push 0x495440
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x436459
push 1
push 0
push 0x495118
call esi
push 1
lea eax, [esp + 0x14]
push eax
push str.log4cplus:ERROR
push 0x410560
push 0x494fe8
mov ecx, edi
mov dword [esp + 0x24], 0x482408
call fcn.004108b0
push 1
push 2
push 0x495118
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret