joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10085630
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x101670b4], 0
je 0x10085685
mov eax, dword [0x101670bc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10085685
cmp dword [eax], 4
jbe 0x10085685
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x10085685
push 0
push 0x10169308
push 0x10169210
push 0
push eax
call fcn.101239e9
add esp, 0x14
test eax, eax
je 0x10085685
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 4]
mov dword [ecx], eax
mov al, 1
ret
xor al, al
ret

Function at 0x10085690
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x101670b4], 0
push esi
push edi
mov esi, eax
je 0x100856d9
mov eax, dword [0x101670bc]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
test eax, eax
je 0x100856d9
cmp dword [eax], 4
jbe 0x100856d9
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0x10085706
push 8
call fcn.100cfcae
add esp, 4
test eax, eax
je 0x100856de
mov dword [eax + 4], esi
mov dword [eax], vtable.t_visualDataItemPtr_struct_t_ccThemeWrap_.0
mov esi, eax
jmp 0x100856e0
pop edi
xor al, al
pop esi
ret
xor esi, esi
cmp dword [0x101670b4], 0
je 0x1008570e
mov edx, dword [0x101670bc]
push edx
call edi
test eax, eax
je 0x1008570e
cmp dword [eax], 4
jbe 0x1008570e
mov eax, dword [eax + 8]
mov dword [eax + 0x10], esi
pop edi
mov al, 1
pop esi
ret
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push esi
call eax
pop edi
mov al, 1
pop esi
ret

Function at 0x10086960
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi + 0x138], 0
push edi
jle 0x100869d3
cmp dword [esi + 0x12c], 0
jle 0x100869d3
cmp byte [esi + 0x30], 0
je 0x100869d3
mov eax, dword [esi + 0x80]
test eax, eax
je 0x10086998
call fcn.1007e510
test al, al
je 0x100869d3
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi + 0x140]
cmp eax, 0x28
jb 0x100869d3
add dword [esi + 0x13c], 0xfffffffe
cmp dword [esi + 0x13c], 0
jg 0x100869c7
mov eax, dword [esi + 0x138]
mov dword [esi + 0x13c], eax
mov byte [esi + 0x64], 1
call edi
mov dword [esi + 0x140], eax
mov ecx, dword [esi + 0x128]
cmp dword [esi + 0x12c], ecx
jne 0x100869eb
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp + 8]
add dword [esi + 0x134], edx
mov eax, dword [esi + 0x134]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fdiv qword [0x1014b6f8]
fld1
fcom st(1)
fnstsw ax
test ah, 5
jp 0x10086a17
fstp st(1)
jmp 0x10086a19
fstp st(0)
mov edi, dword [esi + 0x130]
sub ecx, edi
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fmulp st(1)
call fcn.100d7c00
add eax, edi
mov dword [esi + 0x12c], eax
pop edi
mov byte [esi + 0x64], 1
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1008b080
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x1f4]
add edi, 0x1e4
cmp dword [edi + 0xc], ebx
jbe 0x1008b0a5
call fcn.100d1cc3
mov esi, dword [edi + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x10], eax
cmp esi, dword [edi + 0x10]
jbe 0x1008b0b8
call fcn.100d1cc3
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
push ebx
push ecx
push esi
push eax
lea ebx, [esp + 0x20]
call fcn.100800a0
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x1dc]
sub edx, dword [edi + 0x1d8]
add edi, 0x1cc
sar edx, 2
xor esi, esi
test edx, edx
jbe 0x1008b118
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
sar eax, 2
cmp esi, eax
jb 0x1008b0fb
call fcn.100d1cc3
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx + esi*4]
mov ebx, dword [ebp + 8]
push edx
call fcn.1007d850
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
inc esi
sar eax, 2
cmp esi, eax
jb 0x1008b0e9
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], eax
cmp dword [edi + 0xc], eax
jbe 0x1008b129
call fcn.100d1cc3
mov esi, dword [edi + 0xc]
mov ebx, dword [edi]
cmp esi, dword [edi + 0x10]
jbe 0x1008b138
call fcn.100d1cc3
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
push ecx
push ebx
push esi
push eax
lea ebx, [esp + 0x20]
mov esi, edi
call fcn.100bbe30
mov esi, dword [ebp + 8]
cmp byte [esi + 0x30], 0
je 0x1008b165
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
push 0
mov ecx, esi
mov byte [esi + 0x30], 0
call eax
cmp dword [esi + 0x84], esi
je 0x1008b171
mov byte [esi + 0x64], 1
mov ecx, dword [esi + 0x12c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1008b2d0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x5c
push ebx
push edi
mov edi, eax
xor ecx, ecx
xor eax, eax
test edi, edi
je 0x1008b2f6
mov eax, dword [edi + 8]
add eax, dword [edi]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [edi + 0xc]
add eax, dword [edi + 4]
sar ecx, 1
cdq
sub eax, edx
sar eax, 1
push 2
push eax
push ecx
call dword [sym.imp.USER32.dll_MonitorFromPoint]
lea ecx, [esp + 0x38]
push ecx
push eax
mov dword [esp + 0x40], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x1008b339
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esi], edx
mov edx, dword [esp + 0x58]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
pop edi
pop ebx
add esp, 0x5c
ret
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov ebx, eax
call edi
xor edx, edx
xor ecx, ecx
mov dword [esi], ecx
mov dword [esi + 4], edx
push edx
mov dword [esi + 8], ebx
push str.Shell_TrayWnd
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
mov dword [esi + 0xc], eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x1008b3aa
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_SubtractRect]
pop edi
pop ebx
add esp, 0x5c
ret

Function at 0x10090410
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esi + 0x48]
test byte [eax], 8
jne 0x10090424
mov dword [esi + 0x40], 0x6f
xor eax, eax
pop ecx
ret
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x1009043a
push 1
lea eax, [esp + 7]
push eax
push esi
call ecx
add esp, 0xc
jmp 0x1009044f
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [esp + 0xb]
push 1
push edx
call fcn.100d174e
add esp, 0x10
cmp eax, 1
je 0x1009045f
mov dword [esi + 0x40], 0x66
xor eax, eax
pop ecx
ret
mov al, byte [esp + 3]
cmp al, 0x21
je 0x1009049a
cmp al, 0x2c
je 0x1009048d
cmp al, 0x3b
je 0x10090480
mov dword [edi], 0
mov dword [esi + 0x40], 0x6b
xor eax, eax
pop ecx
ret
mov dword [edi], 4
mov eax, 1
pop ecx
ret
mov dword [edi], 2
mov eax, 1
pop ecx
ret
mov dword [edi], 3
mov eax, 1
pop ecx
ret
Function at 0x10090790
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 0x48]
test byte [eax], 8
jne 0x100907a8
mov dword [esi + 0x40], 0x6f
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x100907be
push 1
lea eax, [esp + 0xb]
push eax
push esi
call ecx
add esp, 0xc
jmp 0x100907d3
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [esp + 0xf]
push 1
push edx
call fcn.100d174e
add esp, 0x10
cmp eax, 1
je 0x100907e4
mov dword [esi + 0x40], 0x66
xor eax, eax
pop esi
pop ecx
ret
movzx eax, byte [esp + 7]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
call fcn.10090800
pop esi
pop ecx
ret

Function at 0x10090800
Capabilities:
Read file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esi + 0x48]
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x1009081b
push 1
lea ecx, [esp + 0xb]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x10090830
mov edx, dword [edi + 0x38]
push edx
push 1
lea eax, [esp + 0xf]
push 1
push eax
call fcn.100d174e
add esp, 0x10
cmp eax, 1
jne 0x1009087c
mov cl, byte [esp + 7]
test cl, cl
jbe 0x10090888
lea eax, [edi + 0x44]
mov byte [eax], cl
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx + 0x3c]
mov dword [ebx], eax
inc eax
test edx, edx
je 0x1009085e
movzx ecx, byte [esp + 7]
push ecx
push eax
push esi
call edx
add esp, 0xc
jmp 0x10090873
mov edx, dword [ecx + 0x38]
movzx ecx, byte [esp + 7]
push edx
push ecx
push 1
push eax
call fcn.100d174e
add esp, 0x10
movzx edx, byte [esp + 7]
cmp eax, edx
je 0x1009088e
mov dword [esi + 0x40], 0x66
xor eax, eax
pop edi
pop ecx
ret
mov dword [ebx], 0
mov eax, 1
pop edi
pop ecx
ret

Function at 0x100909a0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x100909ba
push 2
lea eax, [esp + 4]
push eax
push esi
call ecx
add esp, 0xc
jmp 0x100909cf
mov ecx, dword [eax + 0x38]
push ecx
push 2
lea edx, [esp + 8]
push 1
push edx
call fcn.100d174e
add esp, 0x10
cmp eax, 2
je 0x100909df
mov dword [esi + 0x40], 0x66
xor eax, eax
pop ecx
ret
mov ax, word [esp]
movzx ecx, ah
movzx edx, al
mov eax, dword [esp + 8]
shl ecx, 8
or ecx, edx
mov dword [eax], ecx
mov eax, 1
pop ecx
ret
Function at 0x10090a00
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [edi + 0x48]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x10090a20
push 1
lea ecx, [esp + 0xf]
push ecx
push edi
call eax
add esp, 0xc
jmp 0x10090a35
mov edx, dword [esi + 0x38]
push edx
push 1
lea eax, [esp + 0x13]
push 1
push eax
call fcn.100d174e
add esp, 0x10
cmp eax, 1
jne 0x10090a82
mov cl, byte [esp + 0xb]
test cl, cl
jbe 0x10090a8f
lea eax, [esi + 0x44]
mov byte [eax], cl
mov ecx, dword [edi + 0x48]
mov edx, dword [ecx + 0x3c]
mov dword [ebp], eax
inc eax
test edx, edx
je 0x10090a64
movzx ecx, byte [esp + 0xb]
push ecx
push eax
push edi
call edx
add esp, 0xc
jmp 0x10090a79
mov edx, dword [ecx + 0x38]
movzx ecx, byte [esp + 0xb]
push edx
push ecx
push 1
push eax
call fcn.100d174e
add esp, 0x10
movzx edx, byte [esp + 0xb]
cmp eax, edx
je 0x10090aa1
pop esi
mov dword [edi + 0x40], 0x66
xor eax, eax
pop ebp
pop ecx
ret
mov dword [ebp], 0
mov byte [esi + 0x44], 0
mov dword [esi + 0x34], 0
pop esi
mov eax, 1
pop ebp
pop ecx
ret

Function at 0x10090ab0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, eax
mov esi, dword [edi + 0x48]
mov eax, dword [esi + 0x3c]
xor ebx, ebx
cmp eax, ebx
je 0x10090ad1
push 1
lea ecx, [esp + 0x13]
push ecx
push edi
call eax
add esp, 0xc
jmp 0x10090ae6
mov edx, dword [esi + 0x38]
push edx
push 1
lea eax, [esp + 0x17]
push 1
push eax
call fcn.100d174e
add esp, 0x10
cmp eax, 1
jb 0x10090afc
movzx ecx, byte [esp + 0xf]
cmp ecx, 8
jle 0x10090b03
mov dword [edi + 0x40], 0x66
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov eax, 1
shl eax, cl
mov dword [esi + 8], ecx
inc ecx
mov edx, 1
mov dword [esi + 0xc], eax
inc eax
mov dword [esi + 0x10], eax
inc eax
shl edx, cl
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov eax, 0x1002
mov byte [esi + 0x44], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea edi, [esi + 0x2144]
mov dword [esi + 0x1c], edx
mov ecx, 0x1000
rep stosd dword es:[edi], eax
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x10090ed0
Capabilities:
Read file on windows

Disassembly:
mov cl, byte [esi]
push ebp
mov ebp, dword [esp + 8]
push edi
test cl, cl
jne 0x10090f73
mov ecx, dword [ebx + 0x48]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x10090ef5
push 1
push esi
push ebx
call eax
add esp, 0xc
jmp 0x10090f06
mov eax, dword [ecx + 0x38]
push eax
push 1
push 1
push esi
call fcn.100d174e
add esp, 0x10
cmp eax, 1
je 0x10090f17
pop edi
mov dword [ebx + 0x40], 0x66
xor eax, eax
pop ebp
ret
mov al, byte [esi]
test al, al
jne 0x10090f29
pop edi
mov dword [ebx + 0x40], 0x70
xor eax, eax
pop ebp
ret
mov ecx, dword [ebx + 0x48]
mov edx, dword [ecx + 0x3c]
lea edi, [esi + 1]
test edx, edx
je 0x10090f43
movzx ecx, al
push ecx
push edi
push ebx
call edx
add esp, 0xc
jmp 0x10090f56
mov edx, dword [ecx + 0x38]
push edx
movzx eax, al
push eax
push 1
push edi
call fcn.100d174e
add esp, 0x10
mov cl, byte [esi]
movzx edx, cl
cmp eax, edx
jne 0x10090f0b
mov al, byte [edi]
mov byte [edi], 2
mov byte [ebp], al
dec cl
pop edi
mov byte [esi], cl
mov eax, 1
pop ebp
ret
mov al, byte [esi + 1]
movzx edx, al
mov dl, byte [edx + esi]
inc al
dec cl
pop edi
mov byte [ebp], dl
mov byte [esi + 1], al
mov byte [esi], cl
mov eax, 1
pop ebp
ret

Function at 0x100911d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101290b3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi + 4], fcn.100cf978
mov dword [esi + 8], fcn.100cfa42
mov dword [esi + 0xc], fcn.100cf89b
xor edi, edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0x1fff8
mov dword [esi], vtable.t_heap.0
mov dword [esp + 0x14], edi
mov eax, 0x40
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
lea eax, [esi + 0x68]
push eax
mov dword [esi + 0x24], 0x1332ba5
mov dword [esi + 0x28], 1
mov dword [esi + 0x34], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
call fcn.1007fca0
lea ecx, [esi + 0x80]
push ecx
mov byte [esp + 0x18], 1
call fcn.100850a0
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x10096220
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x10130161
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x16c]
mov esi, ecx
mov ecx, dword [0x1016c5c8]
mov ebx, edx
push ecx
lea edx, [esp + 0x24]
xor edi, edi
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [esp + 0x20], edi
jne 0x10096299
mov ecx, esi
call fcn.100619a0
push 0x10148df0
jmp 0x1009641c
cmp ebx, edi
je 0x10096410
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x1c]
mov ebp, dword [ebx + eax*4]
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100962b1
sub eax, edx
sar eax, 1
je 0x10096410
lea edi, [esp + 0x30]
call fcn.10062500
mov eax, ebp
mov edx, edi
call fcn.10062710
mov dword [esp + 0x164], 1
cmp byte [esp + 0x14c], 0
lea eax, [esp + 0x3c]
jne 0x100962f5
mov eax, dword [esp + 0x38]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebp, 0xffffffff
cmp eax, ebp
je 0x100963be
shr eax, 4
not al
and al, 1
je 0x100963be
mov dword [esp + 0x164], ebp
cmp byte [esp + 0x14c], 0
mov dword [esp + 0x30], vtable.t_str.0
jne 0x10096345
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x3c]
cmp eax, ecx
je 0x10096345
push eax
call fcn.100cf89b
add esp, 4
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 1
mov dword [esp + 0x1c], eax
jl 0x100962a5
mov dword [esp + 0x24], vtable.t_mutex::t_locker.0
mov dword [esp + 0x28], 0
push esi
mov edi, 0x101670c0
mov dword [esp + 0x168], 2
call fcn.100657b0
test al, al
je 0x10096402
mov dword [esp + 0x28], edi
lea edi, [esp + 0x1b]
mov byte [esp + 0x1b], 0
call fcn.10091880
mov eax, dword [esp + 0x2c]
push eax
push esi
mov ecx, ebx
call fcn.10095d00
add esp, 8
mov edi, 0x101670c0
mov bl, al
mov dword [esp + 0x164], ebp
call fcn.100658f0
mov al, bl
jmp 0x1009642d
mov ecx, esi
call fcn.100619a0
push str.invalid_parameter.
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
cmp byte [esp + 0x14c], 0
mov dword [esp + 0x30], vtable.t_str.0
jne 0x1009642b
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x3c]
cmp eax, edx
je 0x1009642b
push eax
call fcn.100cf89b
add esp, 4
jmp 0x1009642b
mov ecx, esi
call fcn.100619a0
push 0x101492b4
jmp 0x1009641c
mov ecx, esi
call fcn.100619a0
push str.invalid_parameter.
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
xor al, al
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.100cf604
add esp, 0x154
ret
Function at 0x100969c0
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x10130161
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x16c]
mov esi, ecx
mov ecx, dword [0x1016c5c8]
mov ebx, edx
push ecx
lea edx, [esp + 0x24]
xor edi, edi
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [esp + 0x20], edi
jne 0x10096a39
mov ecx, esi
call fcn.100619a0
push 0x10148df0
jmp 0x10096bba
cmp ebx, edi
je 0x10096bae
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x1c]
mov ebp, dword [ebx + eax*4]
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10096a51
sub eax, edx
sar eax, 1
je 0x10096bae
lea edi, [esp + 0x30]
call fcn.10062500
mov eax, ebp
mov edx, edi
call fcn.10062710
mov dword [esp + 0x164], 1
cmp byte [esp + 0x14c], 0
lea eax, [esp + 0x3c]
jne 0x10096a95
mov eax, dword [esp + 0x38]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebp, 0xffffffff
cmp eax, ebp
je 0x10096b5c
shr eax, 4
not al
and al, 1
je 0x10096b5c
mov dword [esp + 0x164], ebp
cmp byte [esp + 0x14c], 0
mov dword [esp + 0x30], vtable.t_str.0
jne 0x10096ae5
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x3c]
cmp eax, ecx
je 0x10096ae5
push eax
call fcn.100cf89b
add esp, 4
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 1
mov dword [esp + 0x1c], eax
jl 0x10096a45
mov dword [esp + 0x24], vtable.t_mutex::t_locker.0
mov dword [esp + 0x28], 0
push esi
mov edi, 0x101670c0
mov dword [esp + 0x168], 2
call fcn.100657b0
test al, al
je 0x10096ba0
mov dword [esp + 0x28], edi
lea edi, [esp + 0x1b]
mov byte [esp + 0x1b], 0
call fcn.10091880
mov ecx, dword [esp + 0x2c]
push ebx
push esi
call fcn.10096460
add esp, 8
mov edi, 0x101670c0
mov bl, al
mov dword [esp + 0x164], ebp
call fcn.100658f0
mov al, bl
jmp 0x10096bcb
mov ecx, esi
call fcn.100619a0
push str.invalid_parameter.
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
cmp byte [esp + 0x14c], 0
mov dword [esp + 0x30], vtable.t_str.0
jne 0x10096bc9
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x3c]
cmp eax, edx
je 0x10096bc9
push eax
call fcn.100cf89b
add esp, 4
jmp 0x10096bc9
mov ecx, esi
call fcn.100619a0
push 0x101492b4
jmp 0x10096bba
mov ecx, esi
call fcn.100619a0
push str.invalid_parameter.
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
xor al, al
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.100cf604
add esp, 0x154
ret
Function at 0x10097310
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x1012be78
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x1016c5c8]
mov ebp, dword [esp + 0x38]
mov esi, ecx
push eax
lea ecx, [esp + 0x20]
xor ebx, ebx
push ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [esp + 0x1c], ebx
jne 0x1009738b
mov ecx, ebp
call fcn.100619a0
push 0x10148df0
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], vtable.t_lockerMemSharable.0
push ebp
mov edi, 0x10166c78
mov dword [esp + 0x34], ebx
call fcn.100657b0
test al, al
je 0x10097400
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], edi
push eax
mov edi, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call fcn.100912d0
add esp, 8
test al, al
jne 0x10097411
mov ecx, ebp
call fcn.100619a0
push 0x10148d10
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
mov edi, 0x10166c78
mov dword [esp + 0x30], 0xffffffff
call fcn.100658f0
jmp 0x10097375
mov ecx, ebp
call fcn.100619a0
push 0x10148e00
jmp 0x10097366
call fcn.10098b10
mov edx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x14]
mov ecx, ebp
call fcn.1009f920
test al, al
jne 0x10097439
push str.Attach
mov ecx, ebp
call fcn.10001360
jmp 0x100973e9
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], ebx
call fcn.10098b10
mov ecx, ebp
mov ebx, eax
call fcn.1009fc80
test al, al
jne 0x1009747b
push 0x10149370
mov ecx, ebp
call fcn.10001360
lea esi, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.10069d10
jmp 0x10097375
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov ebx, dword [esp + 0x18]
mov dword [esi], eax
mov cx, word [edi + 0x22]
mov word [esi + 0x34], cx
mov dx, word [edi + 0x20]
mov word [esi + 0x36], dx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x18]
movzx ecx, word [eax + ebx]
add eax, ebx
push ecx
add eax, 2
push eax
lea edx, [esi + 4]
push edx
call fcn.100d6ec0
mov eax, dword [edi + 0x1c]
add eax, ebx
mov dword [esi + 0x38], eax
mov ecx, dword [eax]
add dword [esi + 0x38], 4
mov dword [esi + 0x3c], ecx
add esp, 0xc
lea esi, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.10069d10
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x1009a9b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1012bdc6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 0x10], 1
mov dword [esi + 0x1c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov ecx, 0x40
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov edx, 0x1332ba5
mov dword [esi + 0xc], edx
mov dword [esi + 0x50], fcn.100cf978
mov dword [esi + 0x54], fcn.100cfa42
mov dword [esi + 0x58], fcn.100cf89b
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], 0x1fff8
mov dword [esi + 0x4c], vtable.t_heap.0
mov dword [esp + 0x14], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, 0x34
mov dword [esi + 0x6c], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
lea eax, [esi + 0x98]
push eax
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], 1
mov dword [esi + 0x70], 0x30
mov dword [esi + 0x74], 0xc
call fcn.100ab170
lea ecx, [esi + 0x120]
push ecx
mov byte [esp + 0x18], 1
call fcn.100aa710
lea edx, [esi + 0x5e4]
push edx
mov byte [esp + 0x18], 2
call fcn.1007fca0
lea eax, [esi + 0x5fc]
push eax
mov byte [esp + 0x18], 3
call fcn.1007fca0
lea ecx, [esi + 0x614]
push ecx
mov byte [esp + 0x18], 4
call fcn.1007fca0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4