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

Disassembly:
push 0xffffffffffffffff
push 0x10189996
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.1001d670
mov ebp, eax
mov dword [esp + 0x10], 0
lea edi, [esi + 0x48]
mov dword [esp + 0x9c], 0
lea ecx, [edi + 4]
call fcn.10025a90
test eax, eax
jne 0x10021b69
push eax
mov eax, dword [edi]
push 2
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.1000ebb0
mov eax, dword [edi]
push 0
mov eax, dword [eax + 4]
lea ecx, [esi + 0x48]
push 0
add ecx, eax
call fcn.1000eb70
cmp byte [esi + 0x34], 0
je 0x10021bc0
lea eax, [esp + 0x5c]
lea ebx, [esi + 0xf0]
push eax
mov ecx, ebx
mov dword [esp + 0xa0], 0
call fcn.1000a250
push eax
call fcn.1016f62a
add esp, 8
cmp eax, 0xffffffff
je 0x10021bb9
mov eax, dword [esp + 0x70]
cmp eax, dword [esi + 0x150]
jge 0x10021bc0
push 0xe
jmp 0x10021d21
mov edx, dword [esi + 0x154]
lea ebx, [esi + 0xf0]
test edx, edx
jle 0x10021cda
mov ecx, ebx
call fcn.10020150
push 0x101e2ba0
mov edx, ebx
lea ecx, [esp + 0x18]
call fcn.100277d0
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 3
call fcn.1000a250
push eax
call fcn.1016df32
add esp, 4
test eax, eax
je 0x10021c11
call fcn.1016334f
push ebx
mov edx, str.Renaming_file
lea ecx, [esp + 0x60]
call fcn.1001c3d0
add esp, 4
push str._to
mov edx, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0], 4
call fcn.10027410
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xa0], 5
call fcn.10027440
add esp, 4
push 0
push eax
push str.log4cplus:
push 0x1001c640
push 0x10205c60
mov ecx, ebp
mov byte [esp + 0xb0], 6
call fcn.1001c860
lea ecx, [esp + 0x2c]
call fcn.10007890
lea ecx, [esp + 0x44]
call fcn.10007890
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 3
call fcn.10007890
lea ecx, [esp + 0x14]
call fcn.1000a250
push eax
mov ecx, ebx
call fcn.1000a250
push eax
call fcn.1016e1b4
add esp, 8
test eax, eax
je 0x10021cc2
call fcn.1016334f
mov eax, dword [eax]
push eax
lea eax, [esp + 0x18]
push eax
mov edx, ebx
mov ecx, ebp
call fcn.1001ff10
add esp, 8
lea ecx, [esp + 0x14]
jmp 0x10021d12
push str._has_no_backups_specified
mov edx, ebx
lea ecx, [esp + 0x60]
call fcn.100277d0
add esp, 4
push 0
push eax
push str.log4cplus:
push 0x1001c640
push 0x10205c60
mov ecx, ebp
mov byte [esp + 0xb0], 7
call fcn.1001c860
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 0
call fcn.10007890
push 0x12
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
push ebx
mov edx, edi
mov ecx, ebp
call fcn.100200d0
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 0x10023d80
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101899c0
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 0x10023dc9
cmp byte [ebp + 8], 0
jne 0x10023dc9
mov byte [ebp - 4], 1
push dword [edi + 0x30]
lea ecx, [ebp - 0x18]
call fcn.10027480
mov esi, dword [ebp - 0x18]
lea ebx, [edi + 0x48]
mov dword [ebp - 4], 0
lea ecx, [ebx + 4]
call fcn.10025a90
test eax, eax
jne 0x10023dee
push eax
mov eax, dword [ebx]
push 2
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.1000ebb0
mov eax, dword [ebx]
push 0
mov eax, dword [eax + 4]
lea ecx, [edi + 0x48]
push 0
add ecx, eax
call fcn.1000eb70
cmp dword [edi + 0x100], 0
je 0x10023f07
call fcn.1001d670
lea ebx, [edi + 0x16c]
mov ecx, ebx
mov dword [ebp + 8], eax
call fcn.1000a250
push eax
call fcn.1016df32
add esp, 4
test eax, eax
je 0x10023e35
call fcn.1016334f
lea eax, [edi + 0xf0]
push eax
mov edx, str.Renaming_file
lea ecx, [ebp - 0x64]
call fcn.1001c3d0
add esp, 4
push str._to
mov edx, eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.10027410
add esp, 4
push ebx
mov edx, eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.10027440
add esp, 4
mov ecx, dword [ebp + 8]
push 0
push eax
push str.log4cplus:
push 0x1001c640
push 0x10205c60
mov byte [ebp - 4], 5
call fcn.1001c860
lea ecx, [ebp - 0x4c]
call fcn.10007890
lea ecx, [ebp - 0x34]
call fcn.10007890
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.10007890
mov ecx, ebx
call fcn.1000a250
push eax
lea ecx, [edi + 0xf0]
call fcn.1000a250
push eax
call fcn.1016e1b4
add esp, 8
test eax, eax
jne 0x10023eed
jmp 0x10023ef4
call fcn.1016334f
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push eax
push ebx
lea edx, [edi + 0xf0]
call fcn.1001ff10
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.10035490
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.10023fa0
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.10022740
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 0x10023f7e
mov ecx, esi
call fcn.1003d0e0
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 0x10025bc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x10189608
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 0x10025da0
cmp byte [edi + 0x46], 0
je 0x10025da0
mov esi, dword [edi]
call fcn.1000e920
movzx eax, ax
push eax
mov ecx, edi
call dword [esi + 0xc]
movzx eax, ax
mov dword [esp + 0x14], eax
call fcn.1000e920
movzx eax, ax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1000e8e0
add esp, 8
test al, al
je 0x10025c46
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.10003050
push eax
lea ecx, [esp + 0x34]
call fcn.100078e0
push 0
push 0
lea ecx, [esp + 0x38]
call fcn.100087c0
push 0
push 8
lea ecx, [esp + 0x38]
call fcn.10008860
test al, al
je 0x10025c91
push 0
push 8
push 0
lea ecx, [esp + 0x3c]
call fcn.1000edc0
push 8
lea ecx, [esp + 0x34]
call fcn.10008950
mov dword [esp + 0x54], 0
lea ebx, [edi + 0x48]
lea esp, [esp]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
call fcn.100076e0
mov ecx, eax
call fcn.10003030
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.10007940
add esi, eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
call fcn.100076e0
mov ecx, eax
call fcn.10003030
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 0x10025d18
dec eax
je 0x10025d1c
sub eax, 2
je 0x10025d80
lea ecx, [esp + 0x30]
xor bl, bl
call fcn.10008290
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.100076e0
mov ecx, eax
call fcn.10003030
mov esi, dword [esp + 0x1c]
sub esi, eax
je 0x10025d61
push dword [edi + 0x50]
lea eax, [esp + 0x30]
push esi
push 1
push eax
lea ecx, [esp + 0x40]
call fcn.100076e0
mov ecx, eax
call fcn.10003030
push eax
call fcn.10161e5c
add esp, 0x10
cmp esi, eax
jne 0x10025cf8
cmp byte [edi + 0x46], 0
je 0x10025d80
test esi, esi
jne 0x10025ca0
push esi
push 8
lea ecx, [esp + 0x38]
call fcn.1000d7b0
jmp 0x10025ca0
lea ecx, [esp + 0x30]
mov bl, 1
call fcn.10008290
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 0x10028450
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x10189d1b
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 0x100284bb
push 0x418
call fcn.10160375
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], esi
test eax, eax
je 0x100284a4
mov ecx, eax
call fcn.1001d780
mov esi, eax
jmp 0x100284a6
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 0x1002856c
test byte [ebp + 0xc], 2
je 0x1002852a
sub eax, ecx
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.10024810
push eax
push dword [esp + 0x5c]
mov dword [esp + 0x58], 1
call fcn.1000e0a0
add esp, 8
lea ecx, [esp + 0x18]
call fcn.10007890
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.10024810
push eax
push dword [esp + 0x5c]
mov dword [esp + 0x58], 2
call fcn.1000e0a0
add esp, 8
lea ecx, [esp + 0x30]
call fcn.10007890
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 0x100285ee
mov ebx, dword [esp + 0x58]
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.10005ae0
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.1000e780
push dword [esp + 0x14]
push ebx
call fcn.1000e0a0
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 0x100285f8
push ebx
push dword [esp + 0x5c]
call fcn.1000e0a0
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 0x10028c20
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 0x10189b63
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 0x10028c8c
push 0x418
call fcn.10160375
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x2c], esi
test eax, eax
je 0x10028c75
mov ecx, eax
call fcn.1001d780
mov esi, eax
jmp 0x10028c77
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.1002c710
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.1003ebf0
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.1000d9f0
push dword [ebp + 8]
mov ecx, eax
mov dword [esp + 0x30], 1
call fcn.1002a7b0
lea ecx, [esp + 8]
call fcn.10007890
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1002b1d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018abab
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 0x1002b244
push esi
push 0x418
call fcn.10160375
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x1002b21f
mov ecx, eax
call fcn.1001d780
mov esi, eax
jmp 0x1002b221
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 0x1002c860
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018abab
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 0x1002c8c4
push 0x418
call fcn.10160375
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], esi
test eax, eax
je 0x1002c8ad
mov ecx, eax
call fcn.1001d780
mov esi, eax
jmp 0x1002c8af
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.1002c710
mov ecx, dword [esp + 8]
lea eax, [esi + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x1018abab
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 0x1002c94a
push 0x418
call fcn.10160375
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], esi
test eax, eax
je 0x1002c933
mov ecx, eax
call fcn.1001d780
mov esi, eax
jmp 0x1002c935
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.1003c0d0
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 0x1002db10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018abab
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 0x1002db77
push 0x418
call fcn.10160375
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], esi
test eax, eax
je 0x1002db60
mov ecx, eax
call fcn.1001d780
mov esi, eax
jmp 0x1002db62
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.1003c0d0
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 0x1002dc90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1018a247
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.1001fe60
mov ebx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x3c], 0
push ebx
mov ecx, ebp
mov dword [esp + 0x18], 1
call fcn.1002b420
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.10008180
lea eax, [esp + 0x18]
push eax
push esi
mov ecx, ebx
mov byte [esp + 0x40], 2
call fcn.1003d760
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.10007890
push str.ImmediateFlush
lea ecx, [esp + 0x1c]
call fcn.10008180
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, ebx
mov byte [esp + 0x40], 3
call fcn.1003d760
lea ecx, [esp + 0x18]
call fcn.10007890
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 0x1002f1a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1018a629
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.10003050
push eax
mov ecx, esi
call fcn.100078e0
push 0
push 0
mov ecx, esi
call fcn.10007e70
push 0
push 0x8000
mov ecx, esi
call fcn.10007f10
test al, al
je 0x1002f22e
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.10007a90
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.10008030
mov dword [esp + 0x2c], 0
mov ecx, esi
mov dword [esp + 0xc], 1
call fcn.10007a90
push eax
mov ecx, esi
call fcn.10007940
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test edi, edi
je 0x1002f280
mov ecx, esi
call fcn.10007940
cmp edi, eax
jae 0x1002f280
push edi
mov ecx, esi
call fcn.1002a750
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.10006f10
push 0x101ec210
lea eax, [esp + 0x1c]
push eax
call fcn.1016791b
int3
Function at 0x1002f8c0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x1018a6e0
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.1001d670
push esi
lea edx, [esp + 0x18]
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.1002f320
add esp, 4
test al, al
je 0x1002fa40
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x20], ecx
je 0x1002f940
add ecx, 0xffffffe8
call fcn.10007890
sub dword [esp + 0x24], 0x18
lea ecx, [esp + 0x2c]
call fcn.10007560
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.10006680
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.10006680
push esi
push dword [esp + 0x20]
lea ecx, [esp + 0x34]
call fcn.10034260
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 0x1002fa37
sub esi, ebp
push 0xffffffffffffffff
push 0
push 0x10205f00
lea ecx, [esp + 0x38]
call fcn.10003500
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
add eax, edi
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.10003500
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
call fcn.1000a250
push eax
call fcn.1016f62a
add esp, 8
cmp eax, 0xffffffff
jne 0x1002fa31
lea ecx, [esp + 0x2c]
call fcn.1000a250
push eax
call fcn.1016e2fe
add esp, 4
test eax, eax
je 0x1002fa22
call fcn.1016334f
mov eax, dword [eax]
push eax
lea edx, [esp + 0x30]
mov ecx, ebx
call fcn.1002f760
add esp, 4
add edi, 0x18
dec esi
jne 0x1002f9c3
lea ecx, [esp + 0x2c]
call fcn.10007890
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x20], 0
je 0x1002fa82
lea ecx, [esp + 0x20]
call fcn.1000e750
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
je 0x1002fa79
mov ecx, esi
call fcn.10007890
add esi, 0x18
cmp esi, edi
jne 0x1002fa67
mov esi, dword [esp + 0x20]
push esi
call fcn.10160278
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 0x1002fe60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1018a487
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.1000f890
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.1000f870
push eax
mov dword [esp + 0x2c], 2
call fcn.1001f720
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x28], 1
call fcn.10006e20
mov edx, dword [esi]
push 0x20
mov ecx, esi
call dword [edx + 0x30]
cmp dword [ebp + 0x38], 0
mov word [ebp + 0x40], ax
jne 0x1002ff33
push 0
push 4
mov ecx, ebp
call fcn.1000ebb0
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.1001f120
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.10003050
mov ecx, dword [esp + 0x30]
call fcn.10007940
mov ecx, dword [esp + 0x30]
mov ebp, eax
call fcn.1000a250
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 2
test ebp, ebp
je 0x1002ffa0
push ebp
push eax
mov ecx, ebx
call fcn.1001f2b0
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 0x10035400
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1018abab
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 0x10035474
push esi
push 0x418
call fcn.10160375
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x1003544f
mov ecx, eax
call fcn.1001d780
mov esi, eax
jmp 0x10035451
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