joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4120b0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x46f2a6
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.0040dbb0
mov ebp, eax
mov dword [esp + 0x10], 0
lea edi, [esi + 0x48]
mov dword [esp + 0x9c], 0
lea ecx, [edi + 4]
call fcn.00416210
test eax, eax
jne 0x412109
push eax
mov eax, dword [edi]
push 2
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00409950
mov eax, dword [edi]
push 0
mov eax, dword [eax + 4]
lea ecx, [esi + 0x48]
push 0
add ecx, eax
call fcn.00409910
cmp byte [esi + 0x34], 0
je 0x412160
lea eax, [esp + 0x5c]
lea ebx, [esi + 0xf0]
push eax
mov ecx, ebx
mov dword [esp + 0xa0], 0
call fcn.0040a1b0
push eax
call fcn.00458b6f
add esp, 8
cmp eax, 0xffffffff
je 0x412159
mov eax, dword [esp + 0x70]
cmp eax, dword [esi + 0x150]
jge 0x412160
push 0xe
jmp 0x4122c1
mov edx, dword [esi + 0x154]
lea ebx, [esi + 0xf0]
test edx, edx
jle 0x41227a
mov ecx, ebx
call fcn.004106c0
push 0x47b9b0
mov edx, ebx
lea ecx, [esp + 0x18]
call fcn.00418070
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 3
call fcn.0040a1b0
push eax
call fcn.00456bab
add esp, 4
test eax, eax
je 0x4121b1
call fcn.004520b2
push ebx
mov edx, str.Renaming_file
lea ecx, [esp + 0x60]
call fcn.0040c640
add esp, 4
push str._to
mov edx, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0], 4
call fcn.00417cb0
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xa0], 5
call fcn.00417ce0
add esp, 4
push 0
push eax
push str.log4cplus:
push 0x40c8b0
push 0x48fed8
mov ecx, ebp
mov byte [esp + 0xb0], 6
call fcn.0040cad0
lea ecx, [esp + 0x2c]
call fcn.00407790
lea ecx, [esp + 0x44]
call fcn.00407790
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 3
call fcn.00407790
lea ecx, [esp + 0x14]
call fcn.0040a1b0
push eax
mov ecx, ebx
call fcn.0040a1b0
push eax
call fcn.00457108
add esp, 8
test eax, eax
je 0x412262
call fcn.004520b2
mov eax, dword [eax]
push eax
lea eax, [esp + 0x18]
push eax
mov edx, ebx
mov ecx, ebp
call fcn.00410480
add esp, 8
lea ecx, [esp + 0x14]
jmp 0x4122b2
push str._has_no_backups_specified
mov edx, ebx
lea ecx, [esp + 0x60]
call fcn.00418070
add esp, 4
push 0
push eax
push str.log4cplus:
push 0x40c8b0
push 0x48fed8
mov ecx, ebp
mov byte [esp + 0xb0], 7
call fcn.0040cad0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 0
call fcn.00407790
push 0x12
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
push ebx
mov edx, edi
mov ecx, ebp
call fcn.00410640
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 0x4143a0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f2d0
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 0x4143e9
cmp byte [ebp + 8], 0
jne 0x4143e9
mov byte [ebp - 4], 1
push dword [edi + 0x30]
lea ecx, [ebp - 0x18]
call fcn.00417d20
mov esi, dword [ebp - 0x18]
lea ebx, [edi + 0x48]
mov dword [ebp - 4], 0
lea ecx, [ebx + 4]
call fcn.00416210
test eax, eax
jne 0x41440e
push eax
mov eax, dword [ebx]
push 2
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00409950
mov eax, dword [ebx]
push 0
mov eax, dword [eax + 4]
lea ecx, [edi + 0x48]
push 0
add ecx, eax
call fcn.00409910
cmp dword [edi + 0x100], 0
je 0x414527
call fcn.0040dbb0
lea ebx, [edi + 0x16c]
mov ecx, ebx
mov dword [ebp + 8], eax
call fcn.0040a1b0
push eax
call fcn.00456bab
add esp, 4
test eax, eax
je 0x414455
call fcn.004520b2
lea eax, [edi + 0xf0]
push eax
mov edx, str.Renaming_file
lea ecx, [ebp - 0x64]
call fcn.0040c640
add esp, 4
push str._to
mov edx, eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00417cb0
add esp, 4
push ebx
mov edx, eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00417ce0
add esp, 4
mov ecx, dword [ebp + 8]
push 0
push eax
push str.log4cplus:
push 0x40c8b0
push 0x48fed8
mov byte [ebp - 4], 5
call fcn.0040cad0
lea ecx, [ebp - 0x4c]
call fcn.00407790
lea ecx, [ebp - 0x34]
call fcn.00407790
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.00407790
mov ecx, ebx
call fcn.0040a1b0
push eax
lea ecx, [edi + 0xf0]
call fcn.0040a1b0
push eax
call fcn.00457108
add esp, 8
test eax, eax
jne 0x41450d
jmp 0x414514
call fcn.004520b2
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push eax
push ebx
lea edx, [edi + 0xf0]
call fcn.00410480
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.004291e0
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.004145c0
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.00412ce0
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 0x41459e
mov ecx, esi
call fcn.00431210
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 0x416340
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x46fdc8
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x416567
cmp byte [edi + 0x46], 0
je 0x416567
mov esi, dword [edi]
call fcn.00409c70
movzx eax, ax
push eax
mov ecx, edi
call dword [esi + 0xc]
movzx eax, ax
mov dword [esp + 0x1c], eax
call fcn.00409c70
movzx eax, ax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00409c30
add esp, 8
test al, al
je 0x4163c6
xor al, al
mov ecx, dword [esp + 0x54]
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.00402cb0
push eax
lea ecx, [esp + 0x3c]
call fcn.004077e0
push 0
push 0
lea ecx, [esp + 0x40]
call fcn.004086c0
push 0
push 8
lea ecx, [esp + 0x40]
call fcn.00408760
test al, al
je 0x416417
lea ecx, [esp + 0x38]
mov byte [esp + 0x14], 0
call fcn.004082e0
xorps xmm0, xmm0
push 8
lea ecx, [esp + 0x3c]
movq qword [eax], xmm0
call fcn.00408850
mov dword [esp + 0x5c], 0
lea ebp, [edi + 0x48]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.00406e10
mov ecx, eax
call fcn.00402c90
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.00407840
add esi, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00406e10
mov ecx, eax
call fcn.00402c90
mov ecx, dword [edi + 0x40]
lea ebx, [esp + 0x24]
mov edx, dword [ecx]
push ebx
push esi
push eax
push ebp
call dword [edx + 0x20]
sub eax, 0
je 0x41649a
dec eax
je 0x41649e
sub eax, 2
je 0x416547
lea ecx, [esp + 0x38]
xor bl, bl
call fcn.00408190
mov al, bl
mov ecx, dword [esp + 0x54]
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 + 0x30]
push eax
lea ecx, [esp + 0x3c]
call fcn.00406e10
mov ecx, eax
call fcn.00402c90
mov esi, dword [esp + 0x24]
sub esi, eax
je 0x4164e3
push dword [edi + 0x50]
lea eax, [esp + 0x38]
push esi
push 1
push eax
lea ecx, [esp + 0x48]
call fcn.00406e10
mov ecx, eax
call fcn.00402c90
push eax
call fcn.0045708a
add esp, 0x10
cmp esi, eax
jne 0x41647a
cmp byte [edi + 0x46], 0
je 0x416547
test esi, esi
jne 0x416422
mov ecx, dword [esp + 0x48]
or eax, 0xffffffff
sub eax, ecx
cmp eax, 8
jbe 0x41653e
lea ebx, [ecx + 8]
push esi
push ebx
lea ecx, [esp + 0x40]
call fcn.00408760
test al, al
je 0x416422
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x38]
mov byte [esp + 0x18], 0
call fcn.004082e0
xorps xmm0, xmm0
push ebx
lea ecx, [esp + 0x3c]
movq qword [eax + esi], xmm0
call fcn.00408850
jmp 0x416422
lea ecx, [esp + 0x38]
call fcn.00407a80
lea ecx, [esp + 0x38]
mov bl, 1
call fcn.00408190
mov al, bl
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x54]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418d60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x46f64b
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
push dword [0x490044]
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x418dcb
push 0x418
call fcn.0044e3b4
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], esi
test eax, eax
je 0x418db4
mov ecx, eax
call fcn.0040dcc0
mov esi, eax
jmp 0x418db6
xor esi, esi
push esi
mov dword [esp + 0x54], 0xffffffff
push dword [0x490044]
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 0x418e7c
test byte [ebp + 0xc], 2
je 0x418e3a
sub eax, ecx
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.00414e90
push eax
push dword [esp + 0x5c]
mov dword [esp + 0x58], 1
call fcn.00409310
add esp, 8
lea ecx, [esp + 0x18]
call fcn.00407790
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.00414e90
push eax
push dword [esp + 0x5c]
mov dword [esp + 0x58], 2
call fcn.00409310
add esp, 8
lea ecx, [esp + 0x30]
call fcn.00407790
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 0x418efe
mov ebx, dword [esp + 0x58]
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00405780
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.00409b10
push dword [esp + 0x14]
push ebx
call fcn.00409310
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 0x418f08
push ebx
push dword [esp + 0x5c]
call fcn.00409310
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 0x419610
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 0x46f4a3
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push dword [0x490044]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x41967c
push 0x418
call fcn.0044e3b4
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x2c], esi
test eax, eax
je 0x419665
mov ecx, eax
call fcn.0040dcc0
mov esi, eax
jmp 0x419667
xor esi, esi
push esi
mov dword [esp + 0x30], 0xffffffff
push dword [0x490044]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
add esi, 0xb0
mov ecx, esi
call fcn.0041d2e0
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.00432e30
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.004090f0
push dword [ebp + 8]
mov ecx, eax
mov dword [esp + 0x30], 1
call fcn.0041b1a0
lea ecx, [esp + 8]
call fcn.00407790
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x419a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46f453
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 7]
push eax
mov dword [esp + 0xc], edi
call fcn.004033a0
push eax
lea ecx, [esp + 9]
call fcn.004069e0
lea eax, [esp + 5]
push eax
lea ecx, [esp + 0xa]
call fcn.004069e0
lea eax, [esp + 6]
push eax
mov ecx, edi
call fcn.004077e0
push 0
push 0
mov ecx, edi
call fcn.00407d70
push 0xffffffffffffffff
push 0
push dword [esp + 0x24]
mov ecx, edi
call fcn.004079d0
mov dword [esp + 0x14], 0
mov al, byte [edi + 0x20]
and al, 0xfe
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0xffffffff
or al, 2
mov byte [edi + 0x20], al
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [esp + 0x14], 1
lea ecx, [edi + 0x38]
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.00407540
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x50], eax
mov eax, edi
pop edi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x41bc90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x470e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push dword [0x490044]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x41bd04
push esi
push 0x418
call fcn.0044e3b4
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x41bcdf
mov ecx, eax
call fcn.0040dcc0
mov esi, eax
jmp 0x41bce1
xor esi, esi
push esi
push dword [0x490044]
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 0x41d430
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x470e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push dword [0x490044]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x41d494
push 0x418
call fcn.0044e3b4
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], esi
test eax, eax
je 0x41d47d
mov ecx, eax
call fcn.0040dcc0
mov esi, eax
jmp 0x41d47f
xor esi, esi
push esi
mov dword [esp + 0x14], 0xffffffff
push dword [0x490044]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [esi + 0x18]
call fcn.0041d2e0
mov ecx, dword [esp + 8]
lea eax, [esi + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x470e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
push dword [0x490044]
mov ebx, edx
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x41d51a
push 0x418
call fcn.0044e3b4
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], esi
test eax, eax
je 0x41d503
mov ecx, eax
call fcn.0040dcc0
mov esi, eax
jmp 0x41d505
xor esi, esi
push esi
mov dword [esp + 0x1c], 0xffffffff
push dword [0x490044]
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.004300e0
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 0x421260
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x46fc14
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
cmp dword [esp + 0x28], 0
push edi
mov dword [esp + 0x10], ebx
je 0x4212ae
lea ecx, [ebx + 0x40]
mov dword [ebx + 0x14], 0x47dd9c
call fcn.004103d0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 1
mov ecx, ebx
call fcn.00420750
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], 1
mov eax, dword [ebx + 0x14]
mov dword [ebx], vtable.log4cplus::spi::LoggerImpl.1.0
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x14], vtable.log4cplus::spi::LoggerImpl.0
lea eax, [esp + 0xb]
push eax
call fcn.004033a0
push eax
lea ecx, [esp + 0x30]
call fcn.004069e0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xe]
call fcn.004069e0
lea eax, [esp + 0xa]
push eax
lea ecx, [ebx + 0x18]
call fcn.004077e0
push 0
push 0
lea ecx, [ebx + 0x18]
call fcn.00407d70
push 0xffffffffffffffff
push 0
push dword [esp + 0x2c]
lea ecx, [ebx + 0x18]
call fcn.004079d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x30], 0xffffffff
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x38], 1
pop edi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc

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

Disassembly:
push 0xffffffffffffffff
push 0x470e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push dword [0x490044]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4217b7
push 0x418
call fcn.0044e3b4
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], esi
test eax, eax
je 0x4217a0
mov ecx, eax
call fcn.0040dcc0
mov esi, eax
jmp 0x4217a2
xor esi, esi
push esi
mov dword [esp + 0x18], 0xffffffff
push dword [0x490044]
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.004300e0
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 0x4218d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x46fc97
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], 0x47cddc
call fcn.004103d0
mov ebx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x3c], 0
push ebx
mov ecx, ebp
mov dword [esp + 0x18], 1
call fcn.0041bee0
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 0x47ce10
lea ecx, [esp + 0x1c]
mov byte [esi], 0
mov byte [edi], 0
call fcn.00408080
lea eax, [esp + 0x18]
push eax
push esi
mov ecx, ebx
mov byte [esp + 0x40], 2
call fcn.004319c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.00407790
push str.ImmediateFlush
lea ecx, [esp + 0x1c]
call fcn.00408080
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, ebx
mov byte [esp + 0x40], 3
call fcn.004319c0
lea ecx, [esp + 0x18]
call fcn.00407790
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 0x422e50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x470079
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.00402cb0
push eax
mov ecx, esi
call fcn.004077e0
push 0
push 0
mov ecx, esi
call fcn.00407d70
push 0
push 0x8000
mov ecx, esi
call fcn.00407e10
test al, al
je 0x422ede
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.00407990
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.00407f30
mov dword [esp + 0x2c], 0
mov ecx, esi
mov dword [esp + 0xc], 1
call fcn.00407990
push eax
mov ecx, esi
call fcn.00407840
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test edi, edi
je 0x422f30
mov ecx, esi
call fcn.00407840
cmp edi, eax
jae 0x422f30
push edi
mov ecx, esi
call fcn.0041b140
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.00406f60
push 0x484d38
lea eax, [esp + 0x1c]
push eax
call fcn.0044fb3b
int3
Function at 0x423570
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x470130
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.0040dbb0
push esi
lea edx, [esp + 0x18]
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.00422fd0
add esp, 4
test al, al
je 0x4236f0
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x20], ecx
je 0x4235f0
add ecx, 0xffffffe8
call fcn.00407790
sub dword [esp + 0x24], 0x18
lea ecx, [esp + 0x2c]
call fcn.00407540
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.004065e0
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.004065e0
push esi
push dword [esp + 0x20]
lea ecx, [esp + 0x34]
call fcn.00427f50
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 0x4236e7
sub esi, ebp
push 0xffffffffffffffff
push 0
push 0x49013c
lea ecx, [esp + 0x38]
call fcn.00403160
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push 0
add eax, edi
push eax
lea ecx, [esp + 0x38]
call fcn.00403160
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
call fcn.0040a1b0
push eax
call fcn.00458b6f
add esp, 8
cmp eax, 0xffffffff
jne 0x4236e1
lea ecx, [esp + 0x2c]
call fcn.0040a1b0
push eax
call fcn.00457252
add esp, 4
test eax, eax
je 0x4236d2
call fcn.004520b2
mov eax, dword [eax]
push eax
lea edx, [esp + 0x30]
mov ecx, ebx
call fcn.00423410
add esp, 4
add edi, 0x18
dec esi
jne 0x423673
lea ecx, [esp + 0x2c]
call fcn.00407790
mov esi, dword [esp + 0x20]
test esi, esi
je 0x42371b
mov edi, dword [esp + 0x24]
cmp esi, edi
je 0x423712
mov ecx, esi
call fcn.00407790
add esi, 0x18
cmp esi, edi
jne 0x423700
mov esi, dword [esp + 0x20]
push esi
call fcn.0044e2fc
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