joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001f40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101877d8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101f9e50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x58]
call fcn.1001c270
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
push 0xea60
mov ecx, dword [ebp - 0x48]
call fcn.1001c640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.1001c480
call fcn.1001c2a0
call fcn.10007520
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0
push 1
lea ecx, [ebp - 0x14]
call fcn.100017c0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x44
call fcn.10002a40
jmp 0x10001fd6
lea ecx, [ebp - 0x14]
call fcn.10002b30
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x44
call fcn.100028d0
push eax
lea ecx, [ebp - 0x14]
call fcn.10002960
movzx eax, al
test eax, eax
je 0x100020a6
lea ecx, [ebp - 0x14]
call fcn.10002b10
mov ecx, eax
call fcn.10007770
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1000201a
mov dword [ebp - 0x30], 0
jmp 0x1000208a
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax]
mov byte [ebp - 0x15], cl
add dword [ebp - 0x1c], 1
cmp byte [ebp - 0x15], 0
jne 0x10002029
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x40]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3fffffff
jle 0x1000205f
mov dword [ebp - 0x2c], 0
jmp 0x10002084
mov eax, dword [ebp - 0x20]
shl eax, 1
call fcn.10165cb0
mov dword [ebp - 0x3c], esp
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.100074d0
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100020a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x44], eax
jmp 0x10001fce
lea esp, [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016059f
mov esp, ebp
pop ebp
ret

Function at 0x10009cf0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul edx, edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx + 0x10], 0
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul ecx, ecx, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x10325476
pop ebp
ret
Function at 0x1000a980
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
push 0
push 0
push 3
push 0
push 1
push 8
lea ecx, [ebp + 8]
call fcn.10007770
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x1000a9ca
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
lea ecx, [ebp + 8]
call fcn.10008290
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x1000ab20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10187d8b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x101f9e50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x238]
call fcn.10007560
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
je 0x1000ab8d
mov dword [ebp - 0x248], 0x20119
jmp 0x1000ab97
mov dword [ebp - 0x248], 0x20219
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x24c], eax
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x24c]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
jne 0x1000ac5d
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10161d70
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
mov dword [ebp - 0x220], 1
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x220]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
jne 0x1000ac50
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x238]
call fcn.10002770
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x238]
call fcn.1000a250
push eax
mov ecx, dword [ebp + 8]
call fcn.10008180
mov edx, dword [ebp - 0x244]
or edx, 1
mov dword [ebp - 0x244], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.10007890
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016059f
mov esp, ebp
pop ebp
ret
Function at 0x1000bd00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101f9e50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x1000bd1c
xor eax, eax
jmp 0x1000bd9a
mov byte [ebp - 0x14], 0x48
mov byte [ebp - 0x13], 0x68
mov byte [ebp - 0x12], 0x28
mov byte [ebp - 0x11], 0x4e
mov byte [ebp - 0x10], 0x61
mov byte [ebp - 0xf], 0x4d
mov byte [ebp - 0xe], 0x29
mov byte [ebp - 0xd], 0x75
mov byte [ebp - 0xc], 0x46
mov byte [ebp - 0xb], 0x30
mov byte [ebp - 0xa], 0x4f
mov byte [ebp - 9], 0x56
mov byte [ebp - 8], 0x2c
mov byte [ebp - 7], 0
mov eax, 1
shl eax, 2
mov byte [ebp + eax - 0x14], 0x2b
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x14], 0x7a
xor edx, edx
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
mov ecx, 8
lea esi, [ebp - 0x14]
mov edi, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016059f
mov esp, ebp
pop ebp
ret
Function at 0x1000be50
Capabilities:
Create directory
Delete file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10187a09
mov eax, dword fs:[0]
push eax
sub esp, 0x340
mov eax, dword [0x101f9e50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x338], ecx
mov eax, dword [ebp - 0x338]
mov dword [eax], 0
mov ecx, dword [ebp - 0x338]
mov byte [ecx + 4], 0
mov edx, dword [ebp - 0x338]
mov dword [edx + 8], 0x78
mov ecx, dword [ebp - 0x338]
add ecx, 0xc
call fcn.10007790
mov dword [ebp - 4], 0
call fcn.10046220
mov ecx, dword [ebp - 0x338]
mov dword [ecx], eax
call fcn.100015e0
mov ecx, eax
call fcn.1000ad80
mov edx, dword [ebp - 0x338]
mov byte [edx + 4], al
mov byte [ebp - 0x218], 0
push 0x103
push 0
lea eax, [ebp - 0x217]
push eax
call fcn.10161d70
add esp, 0xc
mov byte [ebp - 0x31c], 0
push 0x103
push 0
lea ecx, [ebp - 0x31b]
push ecx
call fcn.10161d70
add esp, 0xc
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea edx, [ebp - 0x113]
push edx
call fcn.10161d70
add esp, 0xc
mov dword [ebp - 0x33c], 0
push 0x104
push 0x104
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x218]
push ecx
call section..text
add esp, 0x10
lea edx, [ebp - 0x218]
push edx
push str._slog
push 0x104
lea eax, [ebp - 0x114]
push eax
call fcn.10007660
add esp, 0x10
mov dword [ebp - 0x33c], eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
je 0x1000bfa3
push 0
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.curl
lea eax, [ebp - 0x218]
push eax
push str._slog_s
push 0x104
lea ecx, [ebp - 0x114]
push ecx
call fcn.10007660
add esp, 0x14
mov dword [ebp - 0x33c], eax
lea edx, [ebp - 0x114]
push edx
mov ecx, dword [ebp - 0x338]
add ecx, 0xc
call fcn.1000a1d0
push str..txt
mov ecx, dword [ebp - 0x338]
add ecx, 0xc
call fcn.10002640
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x334]
call fcn.10008a90
mov byte [ebp - 4], 1
push str..txt.1
lea ecx, [ebp - 0x334]
call fcn.10002640
mov ecx, dword [ebp - 0x338]
add ecx, 0xc
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x348], esp
push ecx
mov ecx, edx
call fcn.100024f0
mov dword [ebp - 0x34c], eax
call fcn.1000a980
add esp, 0x18
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0x340], eax
cmp dword [ebp - 0x340], 0xa00000
jbe 0x1000c099
lea ecx, [ebp - 0x334]
call fcn.10007770
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea ecx, [ebp - 0x334]
call fcn.10007770
push eax
mov ecx, dword [ebp - 0x338]
add ecx, 0xc
call fcn.10007770
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [ebp - 0x338]
mov dword [ecx + 0x24], 0
push 0x101e1bec
mov ecx, dword [ebp - 0x338]
add ecx, 0xc
call fcn.10007770
push eax
call fcn.1016146f
add esp, 8
mov edx, dword [ebp - 0x338]
mov dword [edx + 0x24], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x334]
call fcn.10008290
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x338]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016059f
mov esp, ebp
pop ebp
ret
Function at 0x1000ce50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov dword [0x10207584], eax
mov ecx, dword [ebp + 0x14]
mov dword [0x10207588], ecx
mov edx, dword [ebp + 0x10]
mov dword [0x1020758c], edx
push 0
push 0
push 0
push 0x1000d710
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret

Function at 0x1001dab0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10189469
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.10007560
sub esp, 8
lea ecx, [edi + 0x18]
mov dword [esp + 0x24], 0
call fcn.1001e430
sub esp, 8
lea ecx, [edi + 0xb0]
mov byte [esp + 0x24], 1
call fcn.1001e430
lea ecx, [edi + 0x148]
push ecx
mov byte [esp + 0x20], 2
call fcn.1001f300
mov byte [esp + 0x1c], 3
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
call fcn.1001f9f0
mov dword [edi + 0x15c], eax
lea ecx, [edi + 0x164]
mov byte [esp + 0x1c], 4
call fcn.10007560
lea ecx, [edi + 0x17c]
mov byte [esp + 0x1c], 5
call fcn.10007560
lea esi, [edi + 0x194]
mov byte [esp + 0x1c], 6
mov ecx, esi
mov dword [esp + 0x10], esi
call fcn.10007560
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 7
call fcn.10007560
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 8
call fcn.10007560
lea ecx, [esi + 0x48]
mov byte [esp + 0x1c], 9
call fcn.10007560
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 0xa
call fcn.10007560
lea ecx, [esi + 0x78]
mov byte [esp + 0x1c], 0xb
call fcn.10007560
lea ecx, [esp + 0xb]
call fcn.10003050
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.1001e430
lea ecx, [esi + 0x98]
mov byte [esp + 0x1c], 0xd
call fcn.10007560
mov byte [esp + 0x1c], 0xe
lea ecx, [esi + 0xb0]
call fcn.10007790
lea ecx, [edi + 0x300]
mov byte [esp + 0x1c], 0xf
call fcn.10007560
lea ecx, [edi + 0x318]
mov byte [esp + 0x1c], 0x10
call fcn.10007560
lea ecx, [edi + 0x330]
mov byte [esp + 0x1c], 0x11
call fcn.1003c070
mov byte [esp + 0x1c], 0x12
lea ecx, [esp + 0xb]
mov dword [edi + 0x408], 0
call fcn.10003050
push 0x200
lea ecx, [edi + 0x40c]
mov dword [edi + 0x40c], 0
mov dword [edi + 0x410], 0
mov dword [edi + 0x414], 0
call fcn.1002e800
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x1001dea0
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 0x10189563
push eax
mov dword fs:[0], esp
sub esp, 0x18
cmp byte [0x102063e0], 0
push ebx
push esi
push edi
jne 0x1001e00c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push eax
mov dword [0x10205dd4], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1001df21
push 0x418
call fcn.10160697
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 0
test eax, eax
je 0x1001df0a
mov ecx, eax
call fcn.1001dab0
jmp 0x1001df0c
xor eax, eax
push eax
mov dword [esp + 0x30], 0xffffffff
push dword [0x10205dd4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [0x10206138]
test ebx, ebx
jne 0x1001df36
call fcn.1001d5b0
mov ebx, dword [0x10206138]
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.101676a0
push 0
push 0x989680
push edx
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call fcn.101643d0
push 0
sub edi, eax
push 0xa
sbb esi, edx
push esi
push edi
call fcn.101676a0
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.1001c270
mov dword [esp + 0x10], vtable.log4cplus::Logger.0
mov dword [esp + 0x2c], 1
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1001dff0
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 0x1001dff0
test edx, edx
je 0x1001dff0
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.10039cb0
mov byte [0x102063e0], 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 0x100200b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10189d09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov dword [esp + 0x14], 0
push esi
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 0x20]
push edi
mov edi, ecx
mov eax, dword [edi + 0x30]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x1c], 0
mov esi, dword [edi + 0x30]
mov dword [esp + 0x10], 1
mov ecx, dword [esi]
cmp ecx, dword [ebp]
je 0x10020125
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x1002011b
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp]
mov dword [esi], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi + 0x2c]
test esi, esi
je 0x10020144
lea esp, [esp]
push dword [esi + 4]
mov ecx, dword [esi + 8]
push edi
push 1
call ecx
mov esi, dword [esi]
add esp, 0xc
test esi, esi
jne 0x10020130
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x100218c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1018978b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
cmp dword [esp + 0x2c], 0
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 4], 0
je 0x10021910
lea ecx, [esi + 0x158]
mov dword [esi + 4], 0x101e2828
call fcn.10020190
mov dword [esp + 0x14], 0
mov dword [esp + 4], 1
push ecx
push dword [esp + 0x30]
push dword [esp + 0x30]
push ecx
push dword [esp + 0x2c]
mov ecx, esi
call fcn.10020b40
mov dword [esp + 0x14], 2
mov eax, dword [esi + 4]
mov dword [esi], vtable.log4cplus::FileAppender.0
mov eax, dword [eax + 4]
mov ecx, esi
mov dword [eax + esi + 4], vtable.log4cplus::FileAppender.1.0
call fcn.10021830
push dword [esp + 0x24]
mov dword [esp + 0x18], 3
mov eax, dword [esi + 4]
push dword [esp + 0x24]
mov dword [esi], vtable.log4cplus::RollingFileAppender.0
mov eax, dword [eax + 4]
mov ecx, esi
mov dword [eax + esi + 4], vtable.log4cplus::RollingFileAppender.1.0
call fcn.10021ba0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x18
Function at 0x10021e40
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x10189d96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.1001d9a0
mov ebp, eax
mov dword [esp + 0x10], 0
lea edi, [esi + 0x48]
mov dword [esp + 0x9c], 0
lea ecx, [edi + 4]
call fcn.10025dc0
test eax, eax
jne 0x10021e99
push eax
mov eax, dword [edi]
push 2
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.1000eef0
mov eax, dword [edi]
push 0
mov eax, dword [eax + 4]
lea ecx, [esi + 0x48]
push 0
add ecx, eax
call fcn.1000eeb0
cmp byte [esi + 0x34], 0
je 0x10021ef0
lea eax, [esp + 0x5c]
lea ebx, [esi + 0xf0]
push eax
mov ecx, ebx
mov dword [esp + 0xa0], 0
call fcn.1000a250
push eax
call fcn.1016f89f
add esp, 8
cmp eax, 0xffffffff
je 0x10021ee9
mov eax, dword [esp + 0x70]
cmp eax, dword [esi + 0x150]
jge 0x10021ef0
push 0xe
jmp 0x10022051
mov edx, dword [esi + 0x154]
lea ebx, [esi + 0xf0]
test edx, edx
jle 0x1002200a
mov ecx, ebx
call fcn.10020480
push 0x101e2be0
mov edx, ebx
lea ecx, [esp + 0x18]
call fcn.10027b00
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 3
call fcn.1000a250
push eax
call fcn.1016e252
add esp, 4
test eax, eax
je 0x10021f41
call fcn.1016366f
push ebx
mov edx, str.Renaming_file
lea ecx, [esp + 0x60]
call fcn.1001c700
add esp, 4
push str._to
mov edx, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0], 4
call fcn.10027740
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xa0], 5
call fcn.10027770
add esp, 4
push 0
push eax
push str.log4cplus:
push 0x1001c970
push 0x10205c60
mov ecx, ebp
mov byte [esp + 0xb0], 6
call fcn.1001cb90
lea ecx, [esp + 0x2c]
call fcn.10007890
lea ecx, [esp + 0x44]
call fcn.10007890
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 3
call fcn.10007890
lea ecx, [esp + 0x14]
call fcn.1000a250
push eax
mov ecx, ebx
call fcn.1000a250
push eax
call fcn.1016e4d4
add esp, 8
test eax, eax
je 0x10021ff2
call fcn.1016366f
mov eax, dword [eax]
push eax
lea eax, [esp + 0x18]
push eax
mov edx, ebx
mov ecx, ebp
call fcn.10020240
add esp, 8
lea ecx, [esp + 0x14]
jmp 0x10022042
push str._has_no_backups_specified
mov edx, ebx
lea ecx, [esp + 0x60]
call fcn.10027b00
add esp, 4
push 0
push eax
push str.log4cplus:
push 0x1001c970
push 0x10205c60
mov ecx, ebp
mov byte [esp + 0xb0], 7
call fcn.1001cb90
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 0
call fcn.10007890
push 0x12
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
push ebx
mov edx, edi
mov ecx, ebp
call fcn.10020400
mov ecx, dword [esp + 0x98]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 4
Function at 0x100240b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10189dc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
cmp byte [edi + 0x34], 0
je 0x100240f9
cmp byte [ebp + 8], 0
jne 0x100240f9
mov byte [ebp - 4], 1
push dword [edi + 0x30]
lea ecx, [ebp - 0x18]
call fcn.100277b0
mov esi, dword [ebp - 0x18]
lea ebx, [edi + 0x48]
mov dword [ebp - 4], 0
lea ecx, [ebx + 4]
call fcn.10025dc0
test eax, eax
jne 0x1002411e
push eax
mov eax, dword [ebx]
push 2
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.1000eef0
mov eax, dword [ebx]
push 0
mov eax, dword [eax + 4]
lea ecx, [edi + 0x48]
push 0
add ecx, eax
call fcn.1000eeb0
cmp dword [edi + 0x100], 0
je 0x10024237
call fcn.1001d9a0
lea ebx, [edi + 0x16c]
mov ecx, ebx
mov dword [ebp + 8], eax
call fcn.1000a250
push eax
call fcn.1016e252
add esp, 4
test eax, eax
je 0x10024165
call fcn.1016366f
lea eax, [edi + 0xf0]
push eax
mov edx, str.Renaming_file
lea ecx, [ebp - 0x64]
call fcn.1001c700
add esp, 4
push str._to
mov edx, eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.10027740
add esp, 4
push ebx
mov edx, eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.10027770
add esp, 4
mov ecx, dword [ebp + 8]
push 0
push eax
push str.log4cplus:
push 0x1001c970
push 0x10205c60
mov byte [ebp - 4], 5
call fcn.1001cb90
lea ecx, [ebp - 0x4c]
call fcn.10007890
lea ecx, [ebp - 0x34]
call fcn.10007890
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.10007890
mov ecx, ebx
call fcn.1000a250
push eax
lea ecx, [edi + 0xf0]
call fcn.1000a250
push eax
call fcn.1016e4d4
add esp, 8
test eax, eax
jne 0x1002421d
jmp 0x10024224
call fcn.1016366f
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push eax
push ebx
lea edx, [edi + 0xf0]
call fcn.10020240
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.100357d0
movq xmm0, qword [ebp - 0x2c]
sub esp, 0x10
mov eax, esp
mov ecx, edi
movq qword [eax], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [eax + 8], xmm0
call fcn.100242d0
mov eax, dword [edi]
push 0x12
mov ecx, edi
call dword [eax + 0x28]
push dword [edi + 0x168]
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.10022a70
movq xmm0, qword [ebp - 0x44]
movq qword [edi + 0x1a0], xmm0
mov dword [ebp - 0x3c], 0
movq xmm0, qword [ebp - 0x3c]
add esp, 4
movq qword [edi + 0x1a8], xmm0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x100242ae
mov ecx, esi
call fcn.1003d420
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4