joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4219d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x46fdd7
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], 0x47cdf4
call fcn.004104d0
mov ebx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x3c], 0
push ebx
mov ecx, ebp
mov dword [esp + 0x18], 1
call fcn.0041bfe0
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 0x47ce28
lea ecx, [esp + 0x1c]
mov byte [esi], 0
mov byte [edi], 0
call fcn.00408180
lea eax, [esp + 0x18]
push eax
push esi
mov ecx, ebx
mov byte [esp + 0x40], 2
call fcn.00431ad0
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.00407890
push str.ImmediateFlush
lea ecx, [esp + 0x1c]
call fcn.00408180
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, ebx
mov byte [esp + 0x40], 3
call fcn.00431ad0
lea ecx, [esp + 0x18]
call fcn.00407890
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 0x422f50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x470199
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.004030b0
push eax
mov ecx, esi
call fcn.004078e0
push 0
push 0
mov ecx, esi
call fcn.00407e70
push 0
push 0x8000
mov ecx, esi
call fcn.00407f10
test al, al
je 0x422fde
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.00407a90
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.00408030
mov dword [esp + 0x2c], 0
mov ecx, esi
mov dword [esp + 0xc], 1
call fcn.00407a90
push eax
mov ecx, esi
call fcn.00407940
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test edi, edi
je 0x423030
mov ecx, esi
call fcn.00407940
cmp edi, eax
jae 0x423030
push edi
mov ecx, esi
call fcn.0041b240
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.00406f70
push 0x484d28
lea eax, [esp + 0x1c]
push eax
call fcn.0044fc3b
int3
Function at 0x423670
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x470250
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.0040dcb0
push esi
lea edx, [esp + 0x18]
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.004230d0
add esp, 4
test al, al
je 0x4237f0
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x20], ecx
je 0x4236f0
add ecx, 0xffffffe8
call fcn.00407890
sub dword [esp + 0x24], 0x18
lea ecx, [esp + 0x2c]
call fcn.00407560
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.004066e0
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.004066e0
push esi
push dword [esp + 0x20]
lea ecx, [esp + 0x34]
call fcn.00428050
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 0x4237e7
sub esi, ebp
push 0xffffffffffffffff
push 0
push 0x49013c
lea ecx, [esp + 0x38]
call fcn.00403560
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push 0
add eax, edi
push eax
lea ecx, [esp + 0x38]
call fcn.00403560
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
call fcn.0040a2b0
push eax
call fcn.00458c70
add esp, 8
cmp eax, 0xffffffff
jne 0x4237e1
lea ecx, [esp + 0x2c]
call fcn.0040a2b0
push eax
call fcn.00457352
add esp, 4
test eax, eax
je 0x4237d2
call fcn.004521b2
mov eax, dword [eax]
push eax
lea edx, [esp + 0x30]
mov ecx, ebx
call fcn.00423510
add esp, 4
add edi, 0x18
dec esi
jne 0x423773
lea ecx, [esp + 0x2c]
call fcn.00407890
mov esi, dword [esp + 0x20]
test esi, esi
je 0x42381b
mov edi, dword [esp + 0x24]
cmp esi, edi
je 0x423812
mov ecx, esi
call fcn.00407890
add esi, 0x18
cmp esi, edi
jne 0x423800
mov esi, dword [esp + 0x20]
push esi
call fcn.0044e3fd
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 0x423bf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46fff7
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], 0x47af28
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.0040d6b0
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.0040d690
push eax
mov dword [esp + 0x2c], 2
call fcn.0040fda0
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x28], 1
call fcn.00406e80
mov edx, dword [esi]
push 0x20
mov ecx, esi
call dword [edx + 0x30]
cmp dword [ebp + 0x38], 0
mov word [ebp + 0x40], ax
jne 0x423cc3
push 0
push 4
mov ecx, ebp
call fcn.00409a50
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.0040f730
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.004030b0
mov ecx, dword [esp + 0x30]
call fcn.00407940
mov ecx, dword [esp + 0x30]
mov ebp, eax
call fcn.0040a2b0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 2
test ebp, ebp
je 0x423d30
push ebp
push eax
mov ecx, ebx
call fcn.0040f8c0
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 0x4318c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x470e39
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.0040fcf0
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.00407940
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00431680
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.004066e0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004066e0
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x18]
je 0x431a85
lea esp, [esp]
mov ecx, ebx
or esi, 0xffffffff
call fcn.00407940
cmp dword [ebx + 0x10], 0xffffffff
mov ecx, ebx
cmovb esi, dword [ebx + 0x10]
push esi
call fcn.00407a90
mov esi, dword [esp + 0x24]
push eax
push esi
push 0
mov ecx, edi
call fcn.00416160
test eax, eax
jne 0x431a5c
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x40]
push eax
call fcn.00414f90
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.0042bac0
mov eax, dword [esi]
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.004066e0
mov eax, dword [esp + 0x28]
mov esi, 0x490320
cmp eax, dword [esp + 0x18]
je 0x431a12
lea esi, [eax + 0x28]
push edi
mov ecx, ebp
call fcn.004306f0
mov edi, eax
cmp edi, esi
je 0x431a4e
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call fcn.004037a0
push eax
lea eax, [esp + 0x17]
push eax
mov ecx, edi
call fcn.004037a0
push eax
call fcn.00407440
add esp, 8
mov ecx, edi
push 0xffffffffffffffff
push 0
push esi
call fcn.00407ad0
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 1
call fcn.00407890
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.004066e0
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x18]
jne 0x431990
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x431ab0
mov edi, dword [esp + 0x30]
cmp esi, edi
je 0x431aa7
mov ecx, esi
call fcn.00407890
add esi, 0x18
cmp esi, edi
jne 0x431a95
mov esi, dword [esp + 0x2c]
push esi
call fcn.0044e3fd
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 0x433d90
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
or dword [esi + 8], 1
mov eax, dword [eax + 4]
lea edx, [esi + 0xc]
add edx, eax
mov eax, 1
lock xadd dword [edx], eax
push 0xffffffffffffffff
lea ebp, [esi + 0xc]
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp eax, 0xffffffff
je 0x433ab6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x10]
push eax
push 0
push esi
push 0x4337e0
push 0
push 0
call fcn.00459283
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x433b2f
mov ecx, dword [esi + 4]
push edi
mov ecx, dword [ecx + 4]
lea edi, [esi + 4]
add edi, ecx
or edx, 0xffffffff
lea ecx, [edi + 8]
lock xadd dword [ecx], edx
cmp edx, 1
sete al
test al, al
je 0x433b00
test edi, edi
je 0x433b00
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
and dword [esi + 8], 0xfffffffe
mov dword [esp + 0x10], str.Thread_creation_was_not_successful
call fcn.0040dcb0
push 1
lea ecx, [esp + 0x14]
push ecx
push str.log4cplus:ERROR
push 0x40c990
push 0x48ffe8
mov ecx, eax
call fcn.0040cce0
pop edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x433d9f
add ecx, 0xfffffffc
jmp 0x433a80
xor ecx, ecx
jmp 0x433a80

Function at 0x4340a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47101f
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], 0x47dd54
call fcn.004104d0
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 0x47dc9c
lea ecx, [esp + 0x14]
mov byte [esi], 1
mov dword [edi + 0x10], 0xffffffff
call fcn.00408180
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x34], 2
push esi
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.00431ad0
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.00407890
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov dword [esp + 0x3c], str.LogLevelToMatch
call fcn.00431c30
mov esi, eax
call fcn.0040dc90
lea ecx, [eax + 0x14]
push esi
call fcn.00429ff0
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 0x434600
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x471114
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], 0
lea ecx, [edi + 0x40]
mov dword [esp + 0x14], edi
mov dword [edi + 0x14], 0x47dda0
call fcn.004104d0
mov dword [esp + 0x3c], 0
push 0x47dd94
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 1
call fcn.00408180
mov ecx, edi
mov dword [esp + 0x3c], 1
call fcn.00420850
mov dword [esp + 0x3c], 3
mov eax, dword [edi + 0x14]
mov dword [edi], vtable.log4cplus::spi::LoggerImpl.1.0
mov eax, dword [eax + 4]
lea ecx, [esp + 0x18]
mov dword [eax + edi + 0x14], vtable.log4cplus::spi::LoggerImpl.0
lea eax, [esp + 0xf]
push eax
call fcn.004037a0
push eax
lea ecx, [esp + 0x11]
call fcn.00407400
lea eax, [esp + 0xd]
push eax
lea ecx, [esp + 0x12]
call fcn.00407400
lea eax, [esp + 0xe]
push eax
lea ecx, [edi + 0x18]
call fcn.004078e0
push 0
push 0
lea ecx, [edi + 0x18]
call fcn.00407e70
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0x18]
call fcn.00407ad0
mov eax, dword [esp + 0x44]
mov dword [edi + 0x30], 0xffffffff
mov dword [edi + 0x34], 0
mov byte [edi + 0x38], 1
mov dword [edi + 0x3c], eax
lea ecx, [esp + 0x18]
call fcn.00407890
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x34]
mov dword [edi], vtable.log4cplus::spi::RootLogger.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x14], vtable.log4cplus::spi::RootLogger.1.0
mov dword [edi + 0x30], 0x2710
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x38
ret 0xc

Function at 0x434810
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46f128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov esi, ecx
call fcn.0041bd90
mov edi, eax
mov ecx, edi
call fcn.0041d3e0
mov ecx, dword [esi + 8]
push dword [ebp + 8]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
lea eax, [esp + 8]
push eax
mov ecx, edi
call fcn.004091f0
lea esi, [edi + 0x98]
push esi
mov ecx, eax
mov dword [esp + 0x30], 0
call fcn.0041b2a0
lea ecx, [esp + 8]
call fcn.00407890
mov ecx, esi
call fcn.0040a2b0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x24]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x434fd0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4711e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x50]
push eax
mov edx, str.SYSTEMCurrentControlSetServicesEventLog_
lea ecx, [esp + 0x7c]
call fcn.0040c740
push 0x47ce88
mov edx, eax
lea ecx, [esp + 0x68]
mov dword [esp + 0xa0], 0
call fcn.00417db0
lea ecx, [esi + 0x68]
push ecx
mov edx, eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xa4], 1
call fcn.00417de0
add esp, 0xc
lea ecx, [esp + 0x60]
call fcn.00407890
lea ecx, [esp + 0x78]
mov byte [esp + 0x98], 4
call fcn.00407890
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 2
push 0
push 0
push 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x2c], 0
call fcn.0040a2b0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [esp + 0x14], 1
mov edi, dword [esp + 0x10]
jne 0x4351c4
push str.NTEventLogAppender.dll
lea ecx, [esp + 0x34]
call fcn.00408180
push str.EventMessageFile
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 5
call fcn.00408180
mov eax, dword [esp + 0x40]
add eax, eax
push eax
lea ecx, [esp + 0x34]
call fcn.0040a2b0
push eax
push 1
push 0
lea ecx, [esp + 0x28]
call fcn.0040a2b0
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
push edi
call esi
lea ecx, [esp + 0x18]
call fcn.00407890
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 4
call fcn.00407890
push str.NTEventLogAppender.dll
lea ecx, [esp + 0x34]
call fcn.00408180
push str.CategoryMessageFile
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 6
call fcn.00408180
mov eax, dword [esp + 0x40]
add eax, eax
push eax
lea ecx, [esp + 0x34]
call fcn.0040a2b0
push eax
push 1
push 0
lea ecx, [esp + 0x28]
call fcn.0040a2b0
push eax
push edi
call esi
lea ecx, [esp + 0x18]
call fcn.00407890
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 4
call fcn.00407890
push str.TypesSupported
lea ecx, [esp + 0x1c]
call fcn.00408180
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 7
call fcn.0040a2b0
push eax
push edi
call esi
lea ecx, [esp + 0x18]
call fcn.00407890
push str.CategoryCount
lea ecx, [esp + 0x1c]
call fcn.00408180
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 5
call fcn.0040a2b0
push eax
push edi
call esi
lea ecx, [esp + 0x18]
call fcn.00407890
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x48]
call fcn.00407890
mov ecx, dword [esp + 0x90]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x94
ret
Function at 0x437490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4715ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebx, ecx
push esi
mov dword [esp + 0xc], 0
push edi
lea ecx, [ebx + 0x40]
mov dword [esp + 0x14], ebx
mov dword [ebx + 4], 0x47ea74
call fcn.004104d0
mov ebp, dword [esp + 0x40]
push ecx
mov dword [esp + 0x3c], 0
push ebp
mov ecx, ebx
mov dword [esp + 0x18], 1
call fcn.0041bfe0
mov dword [esp + 0x38], 1
mov eax, dword [ebx + 4]
mov dword [ebx], vtable.log4cplus::Win32ConsoleAppender.0
mov eax, dword [eax + 4]
lea esi, [ebx + 0x38]
mov dword [eax + ebx + 4], vtable.log4cplus::Win32ConsoleAppender.1.0
lea edi, [ebx + 0x39]
add ebx, 0x3c
push 0x47e724
lea ecx, [esp + 0x1c]
mov byte [esi], 1
mov byte [edi], 0
mov dword [ebx], 0
call fcn.00408180
lea eax, [esp + 0x18]
push eax
push esi
mov ecx, ebp
mov byte [esp + 0x40], 2
call fcn.00431ad0
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.00407890
push 0x47ce28
lea ecx, [esp + 0x1c]
call fcn.00408180
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, ebp
mov byte [esp + 0x40], 3
call fcn.00431ad0
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.00407890
push 0x47e710
lea ecx, [esp + 0x1c]
call fcn.00408180
lea eax, [esp + 0x18]
push eax
push ebx
mov ecx, ebp
mov byte [esp + 0x40], 4
call fcn.00431e40
lea ecx, [esp + 0x18]
call fcn.00407890
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8

Function at 0x437750
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x471630
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
push dword [ebp + 0x10]
lea ecx, [esp + 0x34]
push dword [ebp + 0xc]
call fcn.004093d0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], 0
call fcn.004220b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 1
call fcn.00407940
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00407770
mov ebx, eax
xor esi, esi
push 0
lea eax, [esp + 0x14]
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [ebp + 8]
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4377e1
add esi, dword [esp + 0x10]
cmp esi, edi
jne 0x4377b2
jmp 0x43781c
mov ecx, dword [0x490374]
test ecx, ecx
jne 0x4377f6
call fcn.0040d8c0
mov ecx, dword [0x490374]
push 0
lea eax, [esp + 0x18]
push eax
push str.log4cplus:ERROR
push 0x40c990
push 0x48ffe8
add ecx, 4
mov dword [esp + 0x28], str.Win32ConsoleAppender::write_handle__WriteFile_has_failed.
call fcn.0040cce0
lea ecx, [esp + 0x18]
call fcn.00408290
lea ecx, [esp + 0x30]
call fcn.00407890
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x437d90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x471695
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
mov ebp, ecx
push esi
mov dword [esp + 0xc], 0
push edi
lea ecx, [ebp + 0x64]
mov dword [esp + 0x14], ebp
mov dword [ebp + 4], 0x47eda0
call fcn.004104d0
mov ebx, dword [esp + 0x70]
push ecx
mov dword [esp + 0x6c], 0
push ebx
mov ecx, ebp
mov dword [esp + 0x18], 1
call fcn.0041bfe0
mov dword [esp + 0x68], 1
mov eax, dword [ebp + 4]
mov dword [ebp], vtable.log4cplus::Log4jUdpAppender.0
mov eax, dword [eax + 4]
mov dword [eax + ebp + 4], vtable.log4cplus::Log4jUdpAppender.1.0
mov dword [ebp + 0x3c], 0xffffffff
mov dword [ebp + 0x40], 1
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x38], vtable.log4cplus::helpers::Socket.0
lea ecx, [ebp + 0x48]
mov byte [esp + 0x68], 2
call fcn.00407560
lea edi, [ebp + 0x60]
mov byte [esp + 0x68], 3
push str.localhost
lea ecx, [esp + 0x34]
mov dword [edi], 0x1388
call fcn.00408180
push str.host
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 4
call fcn.00408180
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
mov byte [esp + 0x74], 5
call fcn.004315e0
push eax
lea ecx, [ebp + 0x48]
call fcn.004026f0
lea ecx, [esp + 0x48]
call fcn.00407890
lea ecx, [esp + 0x18]
call fcn.00407890
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 3
call fcn.00407890
push str.port
lea ecx, [esp + 0x34]
call fcn.00408180
lea eax, [esp + 0x30]
push eax
push edi
mov ecx, ebx
mov byte [esp + 0x70], 6
call fcn.00431ce0
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 3
call fcn.00407890
mov ecx, ebp
call fcn.00437f50
mov eax, ebp
pop edi
mov ecx, dword [esp + 0x5c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 8