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

Disassembly:
push 0xffffffffffffffff
push 0x1018954b
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 0x10021730
lea ecx, [esi + 0x158]
mov dword [esi + 4], 0x101e2808
call fcn.1001ffb0
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.10020960
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.10021650
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.100219c0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x18
Function at 0x10021c60
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x10189ab6
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.1001d7c0
mov ebp, eax
mov dword [esp + 0x10], 0
lea edi, [esi + 0x48]
mov dword [esp + 0x9c], 0
lea ecx, [edi + 4]
call fcn.10025be0
test eax, eax
jne 0x10021cb9
push eax
mov eax, dword [edi]
push 2
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.1000ec00
mov eax, dword [edi]
push 0
mov eax, dword [eax + 4]
lea ecx, [esi + 0x48]
push 0
add ecx, eax
call fcn.1000ebc0
cmp byte [esi + 0x34], 0
je 0x10021d10
lea eax, [esp + 0x5c]
lea ebx, [esi + 0xf0]
push eax
mov ecx, ebx
mov dword [esp + 0xa0], 0
call fcn.1000a150
push eax
call fcn.1016f6ff
add esp, 8
cmp eax, 0xffffffff
je 0x10021d09
mov eax, dword [esp + 0x70]
cmp eax, dword [esi + 0x150]
jge 0x10021d10
push 0xe
jmp 0x10021e71
mov edx, dword [esi + 0x154]
lea ebx, [esi + 0xf0]
test edx, edx
jle 0x10021e2a
mov ecx, ebx
call fcn.100202a0
push 0x101e2bc0
mov edx, ebx
lea ecx, [esp + 0x18]
call fcn.10027920
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 3
call fcn.1000a150
push eax
call fcn.1016e0b2
add esp, 4
test eax, eax
je 0x10021d61
call fcn.101634cf
push ebx
mov edx, str.Renaming_file
lea ecx, [esp + 0x60]
call fcn.1001c520
add esp, 4
push str._to
mov edx, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0], 4
call fcn.10027560
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xa0], 5
call fcn.10027590
add esp, 4
push 0
push eax
push str.log4cplus:
push 0x1001c790
push 0x10205c60
mov ecx, ebp
mov byte [esp + 0xb0], 6
call fcn.1001c9b0
lea ecx, [esp + 0x2c]
call fcn.10007790
lea ecx, [esp + 0x44]
call fcn.10007790
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 3
call fcn.10007790
lea ecx, [esp + 0x14]
call fcn.1000a150
push eax
mov ecx, ebx
call fcn.1000a150
push eax
call fcn.1016e334
add esp, 8
test eax, eax
je 0x10021e12
call fcn.101634cf
mov eax, dword [eax]
push eax
lea eax, [esp + 0x18]
push eax
mov edx, ebx
mov ecx, ebp
call fcn.10020060
add esp, 8
lea ecx, [esp + 0x14]
jmp 0x10021e62
push str._has_no_backups_specified
mov edx, ebx
lea ecx, [esp + 0x60]
call fcn.10027920
add esp, 4
push 0
push eax
push str.log4cplus:
push 0x1001c790
push 0x10205c60
mov ecx, ebp
mov byte [esp + 0xb0], 7
call fcn.1001c9b0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 0
call fcn.10007790
push 0x12
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
push ebx
mov edx, edi
mov ecx, ebp
call fcn.10020220
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 0x10023ed0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10189ae0
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 0x10023f19
cmp byte [ebp + 8], 0
jne 0x10023f19
mov byte [ebp - 4], 1
push dword [edi + 0x30]
lea ecx, [ebp - 0x18]
call fcn.100275d0
mov esi, dword [ebp - 0x18]
lea ebx, [edi + 0x48]
mov dword [ebp - 4], 0
lea ecx, [ebx + 4]
call fcn.10025be0
test eax, eax
jne 0x10023f3e
push eax
mov eax, dword [ebx]
push 2
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.1000ec00
mov eax, dword [ebx]
push 0
mov eax, dword [eax + 4]
lea ecx, [edi + 0x48]
push 0
add ecx, eax
call fcn.1000ebc0
cmp dword [edi + 0x100], 0
je 0x10024057
call fcn.1001d7c0
lea ebx, [edi + 0x16c]
mov ecx, ebx
mov dword [ebp + 8], eax
call fcn.1000a150
push eax
call fcn.1016e0b2
add esp, 4
test eax, eax
je 0x10023f85
call fcn.101634cf
lea eax, [edi + 0xf0]
push eax
mov edx, str.Renaming_file
lea ecx, [ebp - 0x64]
call fcn.1001c520
add esp, 4
push str._to
mov edx, eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.10027560
add esp, 4
push ebx
mov edx, eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.10027590
add esp, 4
mov ecx, dword [ebp + 8]
push 0
push eax
push str.log4cplus:
push 0x1001c790
push 0x10205c60
mov byte [ebp - 4], 5
call fcn.1001c9b0
lea ecx, [ebp - 0x4c]
call fcn.10007790
lea ecx, [ebp - 0x34]
call fcn.10007790
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.10007790
mov ecx, ebx
call fcn.1000a150
push eax
lea ecx, [edi + 0xf0]
call fcn.1000a150
push eax
call fcn.1016e334
add esp, 8
test eax, eax
jne 0x1002403d
jmp 0x10024044
call fcn.101634cf
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push eax
push ebx
lea edx, [edi + 0xf0]
call fcn.10020060
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.10035610
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.100240f0
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.10022890
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 0x100240ce
mov ecx, esi
call fcn.1003d260
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 0x10025d10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x1018a3b8
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 0x10025ef0
cmp byte [edi + 0x46], 0
je 0x10025ef0
mov esi, dword [edi]
call fcn.1000e970
movzx eax, ax
push eax
mov ecx, edi
call dword [esi + 0xc]
movzx eax, ax
mov dword [esp + 0x14], eax
call fcn.1000e970
movzx eax, ax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1000e930
add esp, 8
test al, al
je 0x10025d96
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.10002c50
push eax
lea ecx, [esp + 0x34]
call fcn.100077e0
push 0
push 0
lea ecx, [esp + 0x38]
call fcn.10008680
push 0
push 8
lea ecx, [esp + 0x38]
call fcn.10008720
test al, al
je 0x10025de1
push 0
push 8
push 0
lea ecx, [esp + 0x3c]
call fcn.1000ee10
push 8
lea ecx, [esp + 0x34]
call fcn.10008850
mov dword [esp + 0x54], 0
lea ebx, [edi + 0x48]
lea esp, [esp]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
call fcn.10006db0
mov ecx, eax
call fcn.10002c30
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.10007840
add esi, eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
call fcn.10006db0
mov ecx, eax
call fcn.10002c30
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 0x10025e68
dec eax
je 0x10025e6c
sub eax, 2
je 0x10025ed0
lea ecx, [esp + 0x30]
xor bl, bl
call fcn.10008190
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.10006db0
mov ecx, eax
call fcn.10002c30
mov esi, dword [esp + 0x1c]
sub esi, eax
je 0x10025eb1
push dword [edi + 0x50]
lea eax, [esp + 0x30]
push esi
push 1
push eax
lea ecx, [esp + 0x40]
call fcn.10006db0
mov ecx, eax
call fcn.10002c30
push eax
call fcn.10161fdc
add esp, 0x10
cmp esi, eax
jne 0x10025e48
cmp byte [edi + 0x46], 0
je 0x10025ed0
test esi, esi
jne 0x10025df0
push esi
push 8
lea ecx, [esp + 0x38]
call fcn.1000d900
jmp 0x10025df0
lea ecx, [esp + 0x30]
mov bl, 1
call fcn.10008190
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 0x100285a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x10189e3b
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 0x1002860b
push 0x418
call fcn.101604f5
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], esi
test eax, eax
je 0x100285f4
mov ecx, eax
call fcn.1001d8d0
mov esi, eax
jmp 0x100285f6
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 0x100286bc
test byte [ebp + 0xc], 2
je 0x1002867a
sub eax, ecx
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.10024960
push eax
push dword [esp + 0x5c]
mov dword [esp + 0x58], 1
call fcn.1000e1e0
add esp, 8
lea ecx, [esp + 0x18]
call fcn.10007790
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.10024960
push eax
push dword [esp + 0x5c]
mov dword [esp + 0x58], 2
call fcn.1000e1e0
add esp, 8
lea ecx, [esp + 0x30]
call fcn.10007790
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 0x1002873e
mov ebx, dword [esp + 0x58]
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.10005720
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.1000e7d0
push dword [esp + 0x14]
push ebx
call fcn.1000e1e0
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 0x10028748
push ebx
push dword [esp + 0x5c]
call fcn.1000e1e0
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 0x10028d70
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 0x10189c83
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 0x10028ddc
push 0x418
call fcn.101604f5
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x2c], esi
test eax, eax
je 0x10028dc5
mov ecx, eax
call fcn.1001d8d0
mov esi, eax
jmp 0x10028dc7
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.1002c890
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.1003ed70
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.1000db60
push dword [ebp + 8]
mov ecx, eax
mov dword [esp + 0x30], 1
call fcn.1002a900
lea ecx, [esp + 8]
call fcn.10007790
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1002b320
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018ac3b
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 0x1002b394
push esi
push 0x418
call fcn.101604f5
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x1002b36f
mov ecx, eax
call fcn.1001d8d0
mov esi, eax
jmp 0x1002b371
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 0x1002c9e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018ac3b
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 0x1002ca44
push 0x418
call fcn.101604f5
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], esi
test eax, eax
je 0x1002ca2d
mov ecx, eax
call fcn.1001d8d0
mov esi, eax
jmp 0x1002ca2f
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.1002c890
mov ecx, dword [esp + 8]
lea eax, [esi + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x1018ac3b
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 0x1002caca
push 0x418
call fcn.101604f5
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], esi
test eax, eax
je 0x1002cab3
mov ecx, eax
call fcn.1001d8d0
mov esi, eax
jmp 0x1002cab5
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.1003c250
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 0x1002dc90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018ac3b
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 0x1002dcf7
push 0x418
call fcn.101604f5
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], esi
test eax, eax
je 0x1002dce0
mov ecx, eax
call fcn.1001d8d0
mov esi, eax
jmp 0x1002dce2
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.1003c250
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 0x1002de10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1018a357
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], 0x101e3f04
call fcn.1001ffb0
mov ebx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x3c], 0
push ebx
mov ecx, ebp
mov dword [esp + 0x18], 1
call fcn.1002b570
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.10008080
lea eax, [esp + 0x18]
push eax
push esi
mov ecx, ebx
mov byte [esp + 0x40], 2
call fcn.1003d8e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.10007790
push str.ImmediateFlush
lea ecx, [esp + 0x1c]
call fcn.10008080
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, ebx
mov byte [esp + 0x40], 3
call fcn.1003d8e0
lea ecx, [esp + 0x18]
call fcn.10007790
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 0x1002f320
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1018a739
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.10002c50
push eax
mov ecx, esi
call fcn.100077e0
push 0
push 0
mov ecx, esi
call fcn.10007d70
push 0
push 0x8000
mov ecx, esi
call fcn.10007e10
test al, al
je 0x1002f3ae
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.10007990
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.10007f30
mov dword [esp + 0x2c], 0
mov ecx, esi
mov dword [esp + 0xc], 1
call fcn.10007990
push eax
mov ecx, esi
call fcn.10007840
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test edi, edi
je 0x1002f400
mov ecx, esi
call fcn.10007840
cmp edi, eax
jae 0x1002f400
push edi
mov ecx, esi
call fcn.1002a8a0
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.10006f00
push 0x101ec1e8
lea eax, [esp + 0x1c]
push eax
call fcn.10167a9b
int3
Function at 0x1002fa40
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x1018a7f0
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.1001d7c0
push esi
lea edx, [esp + 0x18]
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.1002f4a0
add esp, 4
test al, al
je 0x1002fbc0
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x20], ecx
je 0x1002fac0
add ecx, 0xffffffe8
call fcn.10007790
sub dword [esp + 0x24], 0x18
lea ecx, [esp + 0x2c]
call fcn.10007540
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.10006580
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.10006580
push esi
push dword [esp + 0x20]
lea ecx, [esp + 0x34]
call fcn.100343e0
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 0x1002fbb7
sub esi, ebp
push 0xffffffffffffffff
push 0
push 0x10205f00
lea ecx, [esp + 0x38]
call fcn.10003100
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
add eax, edi
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.10003100
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
call fcn.1000a150
push eax
call fcn.1016f6ff
add esp, 8
cmp eax, 0xffffffff
jne 0x1002fbb1
lea ecx, [esp + 0x2c]
call fcn.1000a150
push eax
call fcn.1016e47e
add esp, 4
test eax, eax
je 0x1002fba2
call fcn.101634cf
mov eax, dword [eax]
push eax
lea edx, [esp + 0x30]
mov ecx, ebx
call fcn.1002f8e0
add esp, 4
add edi, 0x18
dec esi
jne 0x1002fb43
lea ecx, [esp + 0x2c]
call fcn.10007790
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x20], 0
je 0x1002fc02
lea ecx, [esp + 0x20]
call fcn.1000e7a0
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
je 0x1002fbf9
mov ecx, esi
call fcn.10007790
add esi, 0x18
cmp esi, edi
jne 0x1002fbe7
mov esi, dword [esp + 0x20]
push esi
call fcn.101603f8
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 0x1002ffe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1018a597
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], 0x101e1068
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.1000f990
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.1000f970
push eax
mov dword [esp + 0x2c], 2
call fcn.1001f870
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x28], 1
call fcn.10006e10
mov edx, dword [esi]
push 0x20
mov ecx, esi
call dword [edx + 0x30]
cmp dword [ebp + 0x38], 0
mov word [ebp + 0x40], ax
jne 0x100300b3
push 0
push 4
mov ecx, ebp
call fcn.1000ec00
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.1001f270
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.10002c50
mov ecx, dword [esp + 0x30]
call fcn.10007840
mov ecx, dword [esp + 0x30]
mov ebp, eax
call fcn.1000a150
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 2
test ebp, ebp
je 0x10030120
push ebp
push eax
mov ecx, ebx
call fcn.1001f400
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 0x10035580
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018ac3b
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 0x100355f4
push esi
push 0x418
call fcn.101604f5
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x100355cf
mov ecx, eax
call fcn.1001d8d0
mov esi, eax
jmp 0x100355d1
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