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

Disassembly:
push 0xffffffffffffffff
push 0x10189836
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.1001d560
mov ebp, eax
mov dword [esp + 0x10], 0
lea edi, [esi + 0x48]
mov dword [esp + 0x9c], 0
lea ecx, [edi + 4]
call fcn.10025990
test eax, eax
jne 0x10021a59
push eax
mov eax, dword [edi]
push 2
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.1000ea60
mov eax, dword [edi]
push 0
mov eax, dword [eax + 4]
lea ecx, [esi + 0x48]
push 0
add ecx, eax
call fcn.1000ea20
cmp byte [esi + 0x34], 0
je 0x10021ab0
lea eax, [esp + 0x5c]
lea ebx, [esi + 0xf0]
push eax
mov ecx, ebx
mov dword [esp + 0xa0], 0
call fcn.1000a1e0
push eax
call fcn.1016f578
add esp, 8
cmp eax, 0xffffffff
je 0x10021aa9
mov eax, dword [esp + 0x70]
cmp eax, dword [esi + 0x150]
jge 0x10021ab0
push 0xe
jmp 0x10021c11
mov edx, dword [esi + 0x154]
lea ebx, [esi + 0xf0]
test edx, edx
jle 0x10021bca
mov ecx, ebx
call fcn.10020040
push 0x101e2ba0
mov edx, ebx
lea ecx, [esp + 0x18]
call fcn.100276d0
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 3
call fcn.1000a1e0
push eax
call fcn.1016de22
add esp, 4
test eax, eax
je 0x10021b01
call fcn.1016323f
push ebx
mov edx, str.Renaming_file
lea ecx, [esp + 0x60]
call fcn.1001c2c0
add esp, 4
push str._to
mov edx, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0], 4
call fcn.10027310
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xa0], 5
call fcn.10027340
add esp, 4
push 0
push eax
push str.log4cplus:
push 0x1001c530
push 0x10205c60
mov ecx, ebp
mov byte [esp + 0xb0], 6
call fcn.1001c750
lea ecx, [esp + 0x2c]
call fcn.10007820
lea ecx, [esp + 0x44]
call fcn.10007820
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 3
call fcn.10007820
lea ecx, [esp + 0x14]
call fcn.1000a1e0
push eax
mov ecx, ebx
call fcn.1000a1e0
push eax
call fcn.1016e0a4
add esp, 8
test eax, eax
je 0x10021bb2
call fcn.1016323f
mov eax, dword [eax]
push eax
lea eax, [esp + 0x18]
push eax
mov edx, ebx
mov ecx, ebp
call fcn.1001fe00
add esp, 8
lea ecx, [esp + 0x14]
jmp 0x10021c02
push str._has_no_backups_specified
mov edx, ebx
lea ecx, [esp + 0x60]
call fcn.100276d0
add esp, 4
push 0
push eax
push str.log4cplus:
push 0x1001c530
push 0x10205c60
mov ecx, ebp
mov byte [esp + 0xb0], 7
call fcn.1001c750
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 0
call fcn.10007820
push 0x12
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
push ebx
mov edx, edi
mov ecx, ebp
call fcn.1001ffc0
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 0x10023c80
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10189860
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 0x10023cc9
cmp byte [ebp + 8], 0
jne 0x10023cc9
mov byte [ebp - 4], 1
push dword [edi + 0x30]
lea ecx, [ebp - 0x18]
call fcn.10027380
mov esi, dword [ebp - 0x18]
lea ebx, [edi + 0x48]
mov dword [ebp - 4], 0
lea ecx, [ebx + 4]
call fcn.10025990
test eax, eax
jne 0x10023cee
push eax
mov eax, dword [ebx]
push 2
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.1000ea60
mov eax, dword [ebx]
push 0
mov eax, dword [eax + 4]
lea ecx, [edi + 0x48]
push 0
add ecx, eax
call fcn.1000ea20
cmp dword [edi + 0x100], 0
je 0x10023e07
call fcn.1001d560
lea ebx, [edi + 0x16c]
mov ecx, ebx
mov dword [ebp + 8], eax
call fcn.1000a1e0
push eax
call fcn.1016de22
add esp, 4
test eax, eax
je 0x10023d35
call fcn.1016323f
lea eax, [edi + 0xf0]
push eax
mov edx, str.Renaming_file
lea ecx, [ebp - 0x64]
call fcn.1001c2c0
add esp, 4
push str._to
mov edx, eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.10027310
add esp, 4
push ebx
mov edx, eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.10027340
add esp, 4
mov ecx, dword [ebp + 8]
push 0
push eax
push str.log4cplus:
push 0x1001c530
push 0x10205c60
mov byte [ebp - 4], 5
call fcn.1001c750
lea ecx, [ebp - 0x4c]
call fcn.10007820
lea ecx, [ebp - 0x34]
call fcn.10007820
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.10007820
mov ecx, ebx
call fcn.1000a1e0
push eax
lea ecx, [edi + 0xf0]
call fcn.1000a1e0
push eax
call fcn.1016e0a4
add esp, 8
test eax, eax
jne 0x10023ded
jmp 0x10023df4
call fcn.1016323f
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push eax
push ebx
lea edx, [edi + 0xf0]
call fcn.1001fe00
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.10035390
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.10023ea0
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.10022630
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 0x10023e7e
mov ecx, esi
call fcn.1003d000
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 0x10025ac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x1018a188
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 0x10025ca0
cmp byte [edi + 0x46], 0
je 0x10025ca0
mov esi, dword [edi]
call fcn.1000e7d0
movzx eax, ax
push eax
mov ecx, edi
call dword [esi + 0xc]
movzx eax, ax
mov dword [esp + 0x14], eax
call fcn.1000e7d0
movzx eax, ax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1000e790
add esp, 8
test al, al
je 0x10025b46
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.10002fe0
push eax
lea ecx, [esp + 0x34]
call fcn.10007870
push 0
push 0
lea ecx, [esp + 0x38]
call fcn.10008750
push 0
push 8
lea ecx, [esp + 0x38]
call fcn.100087f0
test al, al
je 0x10025b91
push 0
push 8
push 0
lea ecx, [esp + 0x3c]
call fcn.1000ec70
push 8
lea ecx, [esp + 0x34]
call fcn.100088e0
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.10002fc0
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.100078d0
add esi, eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
call fcn.10006db0
mov ecx, eax
call fcn.10002fc0
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 0x10025c18
dec eax
je 0x10025c1c
sub eax, 2
je 0x10025c80
lea ecx, [esp + 0x30]
xor bl, bl
call fcn.10008220
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.10002fc0
mov esi, dword [esp + 0x1c]
sub esi, eax
je 0x10025c61
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.10002fc0
push eax
call fcn.10161d4c
add esp, 0x10
cmp esi, eax
jne 0x10025bf8
cmp byte [edi + 0x46], 0
je 0x10025c80
test esi, esi
jne 0x10025ba0
push esi
push 8
lea ecx, [esp + 0x38]
call fcn.1000d660
jmp 0x10025ba0
lea ecx, [esp + 0x30]
mov bl, 1
call fcn.10008220
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 0x10028350
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x10189bbb
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 0x100283bb
push 0x418
call fcn.10160269
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], esi
test eax, eax
je 0x100283a4
mov ecx, eax
call fcn.1001d670
mov esi, eax
jmp 0x100283a6
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 0x1002846c
test byte [ebp + 0xc], 2
je 0x1002842a
sub eax, ecx
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.10024710
push eax
push dword [esp + 0x5c]
mov dword [esp + 0x58], 1
call fcn.1000df50
add esp, 8
lea ecx, [esp + 0x18]
call fcn.10007820
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.10024710
push eax
push dword [esp + 0x5c]
mov dword [esp + 0x58], 2
call fcn.1000df50
add esp, 8
lea ecx, [esp + 0x30]
call fcn.10007820
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 0x100284ee
mov ebx, dword [esp + 0x58]
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.10005a70
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.1000e630
push dword [esp + 0x14]
push ebx
call fcn.1000df50
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 0x100284f8
push ebx
push dword [esp + 0x5c]
call fcn.1000df50
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 0x10028b20
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 0x10189a03
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 0x10028b8c
push 0x418
call fcn.10160269
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x2c], esi
test eax, eax
je 0x10028b75
mov ecx, eax
call fcn.1001d670
mov esi, eax
jmp 0x10028b77
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.1002c610
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.1003eb10
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.1000d8a0
push dword [ebp + 8]
mov ecx, eax
mov dword [esp + 0x30], 1
call fcn.1002a6b0
lea ecx, [esp + 8]
call fcn.10007820
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1002b0d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018aa9b
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 0x1002b144
push esi
push 0x418
call fcn.10160269
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x1002b11f
mov ecx, eax
call fcn.1001d670
mov esi, eax
jmp 0x1002b121
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 0x1002c760
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018aa9b
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 0x1002c7c4
push 0x418
call fcn.10160269
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], esi
test eax, eax
je 0x1002c7ad
mov ecx, eax
call fcn.1001d670
mov esi, eax
jmp 0x1002c7af
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.1002c610
mov ecx, dword [esp + 8]
lea eax, [esi + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x1018aa9b
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 0x1002c84a
push 0x418
call fcn.10160269
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], esi
test eax, eax
je 0x1002c833
mov ecx, eax
call fcn.1001d670
mov esi, eax
jmp 0x1002c835
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.1003bfe0
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 0x1002da10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018aa9b
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 0x1002da77
push 0x418
call fcn.10160269
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], esi
test eax, eax
je 0x1002da60
mov ecx, eax
call fcn.1001d670
mov esi, eax
jmp 0x1002da62
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.1003bfe0
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 0x1002db90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1018a107
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], 0x101e3ee4
call fcn.1001fd50
mov ebx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x3c], 0
push ebx
mov ecx, ebp
mov dword [esp + 0x18], 1
call fcn.1002b320
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.10008110
lea eax, [esp + 0x18]
push eax
push esi
mov ecx, ebx
mov byte [esp + 0x40], 2
call fcn.1003d680
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.10007820
push str.ImmediateFlush
lea ecx, [esp + 0x1c]
call fcn.10008110
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, ebx
mov byte [esp + 0x40], 3
call fcn.1003d680
lea ecx, [esp + 0x18]
call fcn.10007820
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 0x1002f0a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1018a4e9
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.10002fe0
push eax
mov ecx, esi
call fcn.10007870
push 0
push 0
mov ecx, esi
call fcn.10007e00
push 0
push 0x8000
mov ecx, esi
call fcn.10007ea0
test al, al
je 0x1002f12e
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.10007a20
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.10007fc0
mov dword [esp + 0x2c], 0
mov ecx, esi
mov dword [esp + 0xc], 1
call fcn.10007a20
push eax
mov ecx, esi
call fcn.100078d0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test edi, edi
je 0x1002f180
mov ecx, esi
call fcn.100078d0
cmp edi, eax
jae 0x1002f180
push edi
mov ecx, esi
call fcn.1002a650
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 0x101ec1f8
lea eax, [esp + 0x1c]
push eax
call fcn.1016780b
int3
Function at 0x1002f7c0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x1018a5a0
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.1001d560
push esi
lea edx, [esp + 0x18]
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.1002f220
add esp, 4
test al, al
je 0x1002f940
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x20], ecx
je 0x1002f840
add ecx, 0xffffffe8
call fcn.10007820
sub dword [esp + 0x24], 0x18
lea ecx, [esp + 0x2c]
call fcn.10007570
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.10006610
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.10006610
push esi
push dword [esp + 0x20]
lea ecx, [esp + 0x34]
call fcn.10034160
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 0x1002f937
sub esi, ebp
push 0xffffffffffffffff
push 0
push 0x10205f00
lea ecx, [esp + 0x38]
call fcn.10003490
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
add eax, edi
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.10003490
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
call fcn.1000a1e0
push eax
call fcn.1016f578
add esp, 8
cmp eax, 0xffffffff
jne 0x1002f931
lea ecx, [esp + 0x2c]
call fcn.1000a1e0
push eax
call fcn.1016e1ee
add esp, 4
test eax, eax
je 0x1002f922
call fcn.1016323f
mov eax, dword [eax]
push eax
lea edx, [esp + 0x30]
mov ecx, ebx
call fcn.1002f660
add esp, 4
add edi, 0x18
dec esi
jne 0x1002f8c3
lea ecx, [esp + 0x2c]
call fcn.10007820
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x20], 0
je 0x1002f982
lea ecx, [esp + 0x20]
call fcn.1000e600
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
je 0x1002f979
mov ecx, esi
call fcn.10007820
add esi, 0x18
cmp esi, edi
jne 0x1002f967
mov esi, dword [esp + 0x20]
push esi
call fcn.1016016c
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 0x1002fd60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1018a347
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], 0x101e2468
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.1000f790
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.1000f770
push eax
mov dword [esp + 0x2c], 2
call fcn.1001f610
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 0x1002fe33
push 0
push 4
mov ecx, ebp
call fcn.1000ea60
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.1001f010
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.10002fe0
mov ecx, dword [esp + 0x30]
call fcn.100078d0
mov ecx, dword [esp + 0x30]
mov ebp, eax
call fcn.1000a1e0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 2
test ebp, ebp
je 0x1002fea0
push ebp
push eax
mov ecx, ebx
call fcn.1001f1a0
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 0x10035300
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018aa9b
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 0x10035374
push esi
push 0x418
call fcn.10160269
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x1003534f
mov ecx, eax
call fcn.1001d670
mov esi, eax
jmp 0x10035351
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