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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101876c8
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.1001ee80
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.1001f250
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.1001f090
call fcn.1001eeb0
call fcn.10001060
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0
push 1
lea ecx, [ebp - 0x14]
call fcn.10002570
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x44
call fcn.10003c90
jmp 0x10002d86
lea ecx, [ebp - 0x14]
call fcn.10003d70
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x44
call fcn.10003b20
push eax
lea ecx, [ebp - 0x14]
call fcn.10003bb0
movzx eax, al
test eax, eax
je 0x10002e56
lea ecx, [ebp - 0x14]
call fcn.10003d50
mov ecx, eax
call fcn.10003750
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10002dca
mov dword [ebp - 0x30], 0
jmp 0x10002e3a
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 0x10002dd9
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 0x10002e0f
mov dword [ebp - 0x2c], 0
jmp 0x10002e34
mov eax, dword [ebp - 0x20]
shl eax, 1
call fcn.10165be0
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.10001070
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 0x10002e51
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x44], eax
jmp 0x10002d7e
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.101604df
mov esp, ebp
pop ebp
ret

Function at 0x10009e10
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 0x1000a9a0
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.10003750
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x1000a9ea
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.100034a0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x1000ab40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10187c7b
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.10003820
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
je 0x1000abad
mov dword [ebp - 0x248], 0x20119
jmp 0x1000abb7
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 0x1000ac7d
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10161f10
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 0x1000ac70
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x238]
call fcn.100039e0
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x238]
call fcn.1000a370
push eax
mov ecx, dword [ebp + 8]
call fcn.10003850
mov edx, dword [ebp - 0x244]
or edx, 1
mov dword [ebp - 0x244], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.100039c0
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.101604df
mov esp, ebp
pop ebp
ret
Function at 0x1000bd20
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 0x1000bd3c
xor eax, eax
jmp 0x1000bdba
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.101604df
mov esp, ebp
pop ebp
ret
Function at 0x1000be70
Capabilities:
Create directory
Delete file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101878f9
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.10003300
mov dword [ebp - 4], 0
call fcn.10046140
mov ecx, dword [ebp - 0x338]
mov dword [ecx], eax
call fcn.10002390
mov ecx, eax
call fcn.1000ada0
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.10161f10
add esp, 0xc
mov byte [ebp - 0x31c], 0
push 0x103
push 0
lea ecx, [ebp - 0x31b]
push ecx
call fcn.10161f10
add esp, 0xc
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea edx, [ebp - 0x113]
push edx
call fcn.10161f10
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 fcn.10001dd0
add esp, 0x10
lea edx, [ebp - 0x218]
push edx
push str._slog
push 0x104
lea eax, [ebp - 0x114]
push eax
call fcn.10001cb0
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 0x1000bfc3
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.10001cb0
add esp, 0x14
mov dword [ebp - 0x33c], eax
lea edx, [ebp - 0x114]
push edx
mov ecx, dword [ebp - 0x338]
add ecx, 0xc
call fcn.1000a2f0
push str..txt
mov ecx, dword [ebp - 0x338]
add ecx, 0xc
call fcn.10003560
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x334]
call fcn.10003330
mov byte [ebp - 4], 1
push str..txt.1
lea ecx, [ebp - 0x334]
call fcn.10003560
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.100032a0
mov dword [ebp - 0x34c], eax
call fcn.1000a9a0
add esp, 0x18
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0x340], eax
cmp dword [ebp - 0x340], 0xa00000
jbe 0x1000c0b9
lea ecx, [ebp - 0x334]
call fcn.10003750
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea ecx, [ebp - 0x334]
call fcn.10003750
push eax
mov ecx, dword [ebp - 0x338]
add ecx, 0xc
call fcn.10003750
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [ebp - 0x338]
mov dword [ecx + 0x24], 0
push 0x101e1de0
mov ecx, dword [ebp - 0x338]
add ecx, 0xc
call fcn.10003750
push eax
call fcn.101613b4
add esp, 8
mov edx, dword [ebp - 0x338]
mov dword [edx + 0x24], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x334]
call fcn.100034a0
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.101604df
mov esp, ebp
pop ebp
ret
Function at 0x1000d040
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov dword [0x10207564], eax
mov ecx, dword [ebp + 0x14]
mov dword [0x10207568], ecx
mov edx, dword [ebp + 0x10]
mov dword [0x1020756c], edx
push 0
push 0
push 0
push 0x1000d900
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 0x10010650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10188769
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 0x100106c5
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x100106bb
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 0x100106e4
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 0x100106d0
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 0x10011f70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1018820b
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 0x10011fc0
lea ecx, [esi + 0x158]
mov dword [esi + 4], 0x101e2354
call fcn.100107e0
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.100111f0
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.10011ee0
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.10012250
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x18
Function at 0x100124f0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x101887f6
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.1001f850
mov ebp, eax
mov dword [esp + 0x10], 0
lea edi, [esi + 0x48]
mov dword [esp + 0x9c], 0
lea ecx, [edi + 4]
call fcn.10017470
test eax, eax
jne 0x10012549
push eax
mov eax, dword [edi]
push 2
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.1000f250
mov eax, dword [edi]
push 0
mov eax, dword [eax + 4]
lea ecx, [esi + 0x48]
push 0
add ecx, eax
call fcn.1000f210
cmp byte [esi + 0x34], 0
je 0x100125a0
lea eax, [esp + 0x5c]
lea ebx, [esi + 0xf0]
push eax
mov ecx, ebx
mov dword [esp + 0xa0], 0
call fcn.1000a370
push eax
call fcn.1016f44c
add esp, 8
cmp eax, 0xffffffff
je 0x10012599
mov eax, dword [esp + 0x70]
cmp eax, dword [esi + 0x150]
jge 0x100125a0
push 0xe
jmp 0x10012701
mov edx, dword [esi + 0x154]
lea ebx, [esi + 0xf0]
test edx, edx
jle 0x100126ba
mov ecx, ebx
call fcn.10010b30
push 0x101e2440
mov edx, ebx
lea ecx, [esp + 0x18]
call fcn.100198b0
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 3
call fcn.1000a370
push eax
call fcn.1016de9e
add esp, 4
test eax, eax
je 0x100125f1
call fcn.1016380f
push ebx
mov edx, str.Renaming_file
lea ecx, [esp + 0x60]
call fcn.100191e0
add esp, 4
push str._to
mov edx, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0], 4
call fcn.10019290
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xa0], 5
call fcn.100192c0
add esp, 4
push 0
push eax
push str.log4cplus:
push 0x1001baa0
push 0x10205c48
mov ecx, ebp
mov byte [esp + 0xb0], 6
call fcn.1001bcb0
lea ecx, [esp + 0x2c]
call fcn.100039c0
lea ecx, [esp + 0x44]
call fcn.100039c0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 3
call fcn.100039c0
lea ecx, [esp + 0x14]
call fcn.1000a370
push eax
mov ecx, ebx
call fcn.1000a370
push eax
call fcn.1016e120
add esp, 8
test eax, eax
je 0x100126a2
call fcn.1016380f
mov eax, dword [eax]
push eax
lea eax, [esp + 0x18]
push eax
mov edx, ebx
mov ecx, ebp
call fcn.100108d0
add esp, 8
lea ecx, [esp + 0x14]
jmp 0x100126f2
push str._has_no_backups_specified
mov edx, ebx
lea ecx, [esp + 0x60]
call fcn.100198b0
add esp, 4
push 0
push eax
push str.log4cplus:
push 0x1001baa0
push 0x10205c48
mov ecx, ebp
mov byte [esp + 0xb0], 7
call fcn.1001bcb0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 0
call fcn.100039c0
push 0x12
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
push ebx
mov edx, edi
mov ecx, ebp
call fcn.10010ab0
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 0x10014760
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10188820
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 0x100147a9
cmp byte [ebp + 8], 0
jne 0x100147a9
mov byte [ebp - 4], 1
push dword [edi + 0x30]
lea ecx, [ebp - 0x18]
call fcn.10019550
mov esi, dword [ebp - 0x18]
lea ebx, [edi + 0x48]
mov dword [ebp - 4], 0
lea ecx, [ebx + 4]
call fcn.10017470
test eax, eax
jne 0x100147ce
push eax
mov eax, dword [ebx]
push 2
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.1000f250
mov eax, dword [ebx]
push 0
mov eax, dword [eax + 4]
lea ecx, [edi + 0x48]
push 0
add ecx, eax
call fcn.1000f210
cmp dword [edi + 0x100], 0
je 0x100148e7
call fcn.1001f850
lea ebx, [edi + 0x16c]
mov ecx, ebx
mov dword [ebp + 8], eax
call fcn.1000a370
push eax
call fcn.1016de9e
add esp, 4
test eax, eax
je 0x10014815
call fcn.1016380f
lea eax, [edi + 0xf0]
push eax
mov edx, str.Renaming_file
lea ecx, [ebp - 0x64]
call fcn.100191e0
add esp, 4
push str._to
mov edx, eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.10019290
add esp, 4
push ebx
mov edx, eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.100192c0
add esp, 4
mov ecx, dword [ebp + 8]
push 0
push eax
push str.log4cplus:
push 0x1001baa0
push 0x10205c48
mov byte [ebp - 4], 5
call fcn.1001bcb0
lea ecx, [ebp - 0x4c]
call fcn.100039c0
lea ecx, [ebp - 0x34]
call fcn.100039c0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.100039c0
mov ecx, ebx
call fcn.1000a370
push eax
lea ecx, [edi + 0xf0]
call fcn.1000a370
push eax
call fcn.1016e120
add esp, 8
test eax, eax
jne 0x100148cd
jmp 0x100148d4
call fcn.1016380f
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push eax
push ebx
lea edx, [edi + 0xf0]
call fcn.100108d0
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.10020f30
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.10014980
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.10013120
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 0x1001495e
mov ecx, esi
call fcn.10020d40
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100175a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x1018ac18
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 0x10017780
cmp byte [edi + 0x46], 0
je 0x10017780
mov esi, dword [edi]
call fcn.1000efc0
movzx eax, ax
push eax
mov ecx, edi
call dword [esi + 0xc]
movzx eax, ax
mov dword [esp + 0x14], eax
call fcn.1000efc0
movzx eax, ax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1000ef80
add esp, 8
test al, al
je 0x10017626
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.10004530
push eax
lea ecx, [esp + 0x34]
call fcn.10004540
push 0
push 0
lea ecx, [esp + 0x38]
call fcn.10004450
push 0
push 8
lea ecx, [esp + 0x38]
call fcn.10004360
test al, al
je 0x10017671
push 0
push 8
push 0
lea ecx, [esp + 0x3c]
call fcn.1000f460
push 8
lea ecx, [esp + 0x34]
call fcn.10004320
mov dword [esp + 0x54], 0
lea ebx, [edi + 0x48]
lea esp, [esp]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
call fcn.100036f0
mov ecx, eax
call fcn.100049e0
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.10003770
add esi, eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
call fcn.100036f0
mov ecx, eax
call fcn.100049e0
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 0x100176f8
dec eax
je 0x100176fc
sub eax, 2
je 0x10017760
lea ecx, [esp + 0x30]
xor bl, bl
call fcn.100034a0
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.100036f0
mov ecx, eax
call fcn.100049e0
mov esi, dword [esp + 0x1c]
sub esi, eax
je 0x10017741
push dword [edi + 0x50]
lea eax, [esp + 0x30]
push esi
push 1
push eax
lea ecx, [esp + 0x40]
call fcn.100036f0
mov ecx, eax
call fcn.100049e0
push eax
call fcn.101624dc
add esp, 0x10
cmp esi, eax
jne 0x100176d8
cmp byte [edi + 0x46], 0
je 0x10017760
test esi, esi
jne 0x10017680
push esi
push 8
lea ecx, [esp + 0x38]
call fcn.1000dd00
jmp 0x10017680
lea ecx, [esp + 0x30]
mov bl, 1
call fcn.100034a0
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 0x1001a3a0
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 0x1001a414
push esi
push 0x418
call fcn.1016120f
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x1001a3ef
mov ecx, eax
call fcn.1001f940
mov esi, eax
jmp 0x1001a3f1
xor esi, esi
push esi
push dword [0x10205db8]
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 0x1001c1d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x10188e4b
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
push dword [0x10205db8]
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1001c23b
push 0x418
call fcn.1016120f
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], esi
test eax, eax
je 0x1001c224
mov ecx, eax
call fcn.1001f940
mov esi, eax
jmp 0x1001c226
xor esi, esi
push esi
mov dword [esp + 0x54], 0xffffffff
push dword [0x10205db8]
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 0x1001c2ec
test byte [ebp + 0xc], 2
je 0x1001c2aa
sub eax, ecx
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.100155f0
push eax
push dword [esp + 0x5c]
mov dword [esp + 0x58], 1
call fcn.1000e700
add esp, 8
lea ecx, [esp + 0x18]
call fcn.100039c0
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.100155f0
push eax
push dword [esp + 0x5c]
mov dword [esp + 0x58], 2
call fcn.1000e700
add esp, 8
lea ecx, [esp + 0x30]
call fcn.100039c0
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 0x1001c36e
mov ebx, dword [esp + 0x58]
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.10007da0
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.1000ede0
push dword [esp + 0x14]
push ebx
call fcn.1000e700
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 0x1001c378
push ebx
push dword [esp + 0x5c]
call fcn.1000e700
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