joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008ae00
Capabilities:
Get disk information
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x100bbcf8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
test esi, esi
je 0x1008af9e
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1008ae36
sub eax, edx
sar eax, 1
je 0x1008af9e
push esi
lea ecx, [esp + 0x38]
call fcn.1007f440
push esi
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x1008aef9
push 2
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x3c]
call fcn.1007f840
push 0x100c2258
mov ecx, eax
mov byte [esp + 0x30], 1
call fcn.10080210
test eax, eax
lea ecx, [esp + 0xc]
sete bl
mov byte [esp + 0x2c], 0
call fcn.1007ece0
test bl, bl
je 0x1008aef9
push 0x100ce8d0
lea ecx, [esp + 0x10]
call fcn.1007f440
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x38], 2
call fcn.1007fbb0
add esp, 0xc
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 3
call fcn.1007f5b0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.1007ece0
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.1007ece0
lea ecx, [esp + 0x34]
call fcn.1007ed80
cmp eax, 3
lea ecx, [esp + 0x34]
jg 0x1008af4e
call fcn.1007ee00
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x1008af1f
jmp dword [eax*4 + 0x1008afbc]
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1007ece0
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret
push 0x100c1584
call fcn.1007ef20
lea ecx, [esp + 0x14]
call fcn.10086790
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 4
call fcn.1007ee00
push eax
lea ecx, [esp + 0x1c]
call fcn.10086810
test eax, eax
mov byte [esp + 0x2c], 0
lea ecx, [esp + 0x14]
jne 0x1008afb2
call fcn.100864e0
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1007ece0
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret
call fcn.100864e0
jmp case.0x1008af1f.2

Function at 0x1008b2c0
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.1008ae00
add esp, 4
test eax, eax
jne 0x1008b2d4
pop esi
ret
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
pop esi
mov eax, ecx
ret

Function at 0x1008b340
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2bc
mov eax, dword [0x100e87b8]
xor eax, esp
mov dword [esp + 0x2b8], eax
mov eax, dword [esp + 0x2c4]
push esi
mov esi, dword [esp + 0x2c4]
push 0x410
push 0x2b4
lea ecx, [esp + 0x10]
push ecx
push 0x80
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea edx, [esp + 0x21c]
push edx
mov ecx, esi
call fcn.1007f440
mov ecx, dword [esp + 0x2bc]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100af9b2
add esp, 0x2bc
ret
Function at 0x1008b430
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x100e87b8]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x114
lea eax, [esp + 4]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1008b496
cmp dword [esp + 4], 6
jne 0x1008b496
cmp dword [esp + 8], 0
jne 0x1008b496
mov eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.100af9b2
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor eax, eax
call fcn.100af9b2
add esp, 0x118
ret

Function at 0x1008b530
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x100bbe02
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x100e87b8]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov esi, dword [esp + 0x138]
push 0x114
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x13c], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push str.Microsoft_Windows
mov ecx, esi
mov dword [esp + 0x14], 0x114
call fcn.1007f440
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x134], 0
mov dword [esp + 0xc], 1
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1008b683
mov eax, dword [esp + 0x20]
sub eax, 0
je 0x1008b677
sub eax, 1
je 0x1008b646
sub eax, 1
je 0x1008b5f7
mov ecx, esi
call fcn.1007eea0
jmp 0x1008b683
mov eax, dword [esp + 0x14]
cmp eax, 4
ja 0x1008b607
push 0x100ce930
jmp 0x1008b67c
cmp eax, 5
jne 0x1008b633
mov eax, dword [esp + 0x18]
cmp eax, 2
jne 0x1008b61c
push str.2003
jmp 0x1008b67c
cmp eax, 1
jb 0x1008b628
push 0x100ce91c
jmp 0x1008b67c
test eax, eax
jne 0x1008b683
push str.2000
jmp 0x1008b67c
cmp eax, 6
jne 0x1008b683
cmp dword [esp + 0x18], 0
jne 0x1008b683
push str.Vista
jmp 0x1008b67c
cmp dword [esp + 0x14], 4
jne 0x1008b660
cmp dword [esp + 0x18], 0x5a
jb 0x1008b660
push 0x100ce8fc
mov ecx, esi
call fcn.1007f620
cmp dword [esp + 0x18], 0
mov ecx, esi
jne 0x1008b670
push 0x100ce8f4
jmp 0x1008b67e
push 0x100ce8ec
jmp 0x1008b67e
push 0x100ce8e4
mov ecx, esi
call fcn.1007f620
mov eax, esi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.100af9b2
add esp, 0x12c
ret

Function at 0x1008b6b0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
ret
Function at 0x1008b6d0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x100bbe40
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x1008b831
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1008b703
sub eax, esi
sar eax, 1
je 0x1008b831
push edx
lea ecx, [esp + 0x20]
call fcn.1007f440
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0
call fcn.1007fe10
cmp ax, 0x5c
lea ecx, [esp + 0x1c]
jne 0x1008b762
mov dword [esp + 0x14], 0xffffffff
call fcn.1007ece0
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
push 0
call fcn.1007fe10
cmp ax, 0x2f
lea ecx, [esp + 0x1c]
jne 0x1008b796
mov dword [esp + 0x14], 0xffffffff
call fcn.1007ece0
mov eax, 3
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
push 1
lea eax, [esp + 0xc]
push eax
call fcn.1007f840
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 1
call fcn.1007f5b0
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call fcn.1007ece0
push 0x100c2678
lea ecx, [esp + 0x20]
call fcn.1007f620
lea ecx, [esp + 0x1c]
xor esi, esi
call fcn.1007ee00
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 6
ja case.default.0x1008b7e4
jmp dword [eax*4 + 0x1008b858]
mov esi, 1
jmp case.0x1008b7e4.12
mov esi, 2
jmp case.0x1008b7e4.12
push 0x3ee
push str..WindowsPortableAPI.cpp
push 0
call fcn.10001230
add esp, 0xc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.1007ece0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
push 0x3d1
push str..WindowsPortableAPI.cpp
push 0
call fcn.10001230
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x1008b8e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x100e87b8]
xor eax, esp
mov dword [esp + 0x114], eax
call fcn.1008b4b0
test eax, eax
je 0x1008b95a
push 0x114
lea eax, [esp + 4]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1008b946
cmp dword [esp + 4], 5
sbb eax, eax
add eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.100af9b2
add esp, 0x118
ret
push 0x435
push str..WindowsPortableAPI.cpp
push 0
call fcn.10001230
add esp, 0xc
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor eax, eax
call fcn.100af9b2
add esp, 0x118
ret
Function at 0x1008b980
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x100e87b8]
xor eax, esp
mov dword [esp + 0x114], eax
call fcn.1008b8e0
test eax, eax
je 0x1008ba04
push 0x114
lea eax, [esp + 4]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1008b9f0
cmp dword [esp + 4], 5
jne 0x1008ba04
mov eax, 1
cmp dword [esp + 8], eax
je 0x1008ba06
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.100af9b2
add esp, 0x118
ret
push 0x453
push str..WindowsPortableAPI.cpp
push 0
call fcn.10001230
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.100af9b2
add esp, 0x118
ret

Function at 0x1008bbf0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x100e87b8]
xor eax, esp
mov dword [esp + 0x114], eax
call fcn.1008b4b0
test eax, eax
jne 0x1008bc72
push 0x114
push eax
lea eax, [esp + 8]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1008bc5e
cmp dword [esp + 4], 4
jne 0x1008bc72
cmp dword [esp + 8], 0xa
jb 0x1008bc72
mov eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.100af9b2
add esp, 0x118
ret
push 0x4df
push str..WindowsPortableAPI.cpp
push 0
call fcn.10001230
add esp, 0xc
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor eax, eax
call fcn.100af9b2
add esp, 0x118
ret

Function at 0x1008bd30
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x100e87b8]
xor eax, esp
mov dword [esp + 0x114], eax
call fcn.1008b8e0
test eax, eax
je 0x1008bdb3
push 0x114
lea eax, [esp + 4]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1008bd9f
cmp dword [esp + 4], 5
jne 0x1008bdb3
cmp dword [esp + 8], 2
jne 0x1008bdb3
mov eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.100af9b2
add esp, 0x118
ret
push 0x517
push str..WindowsPortableAPI.cpp
push 0
call fcn.10001230
add esp, 0xc
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor eax, eax
call fcn.100af9b2
add esp, 0x118
ret

Function at 0x1008bfd0
Capabilities:
Copy file

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x1008c01e
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1008bfe0
sub eax, edx
sar eax, 1
je 0x1008c01e
mov edx, dword [esp + 0xc]
test edx, edx
je 0x1008c01e
mov eax, edx
push esi
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1008c000
sub eax, esi
sar eax, 1
pop esi
je 0x1008c01e
push 0
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
pop edi
ret
push 0x5a3
push str..WindowsPortableAPI.cpp
push 0
call fcn.10001230
add esp, 0xc
xor eax, eax
pop edi
ret
Function at 0x1008c110
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x100bbe70
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0xc]
call fcn.1007f440
push 3
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call fcn.1007f840
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.1007f5b0
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.1007ece0
lea ecx, [esp + 8]
call fcn.1007ee00
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
call fcn.1007ece0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x1008cbd0
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x100bbf21
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov dword [esp + 0x10], ebx
push 0x3e8
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], 0x3e8
mov dword [esp + 0x18], ebx
call fcn.10021bf0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esp + 0x30], 1
je 0x1008cc3a
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 1
jne 0x1008cc40
call esi
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x1008cc93
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1008cc62
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 1
jne 0x1008cc68
call esi
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
push eax
mov ecx, esi
call fcn.1007f440
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], bl
je 0x1008cccb
mov edx, dword [esp + 0x24]
sub edx, eax
sar edx, 1
push edx
jmp 0x1008ccc0
mov esi, dword [esp + 0x38]
push 0x100c0988
mov ecx, esi
call fcn.1007f440
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], bl
je 0x1008cccb
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::allocator_wchar_t_::deallocate_wchar_t___unsigned_int_]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x1008d5f0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x100bc0f0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
xor ebx, ebx
cmp esi, ebx
je 0x1008d78a
lea ecx, [esp + 0x34]
call fcn.1007ecd0
push esi
mov dword [esp + 0x30], ebx
call fcn.10081320
add esp, 4
test eax, eax
je 0x1008d652
lea eax, [esp + 0xc]
push esi
push eax
call fcn.100819b0
add esp, 8
mov byte [esp + 0x2c], 1
jmp 0x1008d663
push 2
push esi
lea ecx, [esp + 0x14]
call fcn.1007f340
mov byte [esp + 0x2c], 2
push eax
lea ecx, [esp + 0x38]
call fcn.1007f5b0
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], bl
call fcn.1007ece0
push 0x5c
lea ecx, [esp + 0x38]
call fcn.1007eee0
push 0x5c
lea ecx, [esp + 0x38]
call fcn.10080140
lea ecx, [esp + 0xc]
push ecx
push 0x105
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
call fcn.10021bf0
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov byte [esp + 0x2c], 3
je 0x1008d6c4
mov edx, dword [esp + 0x1c]
sub edx, eax
sar edx, 1
jne 0x1008d6ca
call esi
mov eax, dword [esp + 0x18]
push 0x104
push eax
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x50]
call fcn.1007ee00
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1008d74d
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1008d6ff
mov ecx, dword [esp + 0x1c]
sub ecx, eax
sar ecx, 1
jne 0x1008d705
call esi
mov eax, dword [esp + 0x18]
push str.NTFS
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x1008d74d
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call fcn.1001fec0
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1007ece0
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x2c], bl
je 0x1008d76d
mov edx, dword [esp + 0x20]
sub edx, eax
sar edx, 1
push edx
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::allocator_wchar_t_::deallocate_wchar_t___unsigned_int_]
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], 0xffffffff
call fcn.1007ece0
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x1008e920
Capabilities:
Resume thread

Disassembly:
push esi
xor eax, eax
mov esi, ecx
cmp dword [esi + 0x2c], eax
push 0x128
setne al
push str..WindowsWorkerThread.cpp
push eax
call fcn.10001230
mov ecx, dword [esi + 0x2c]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov al, dl
pop esi
ret

Function at 0x1008f340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100bc36b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x20]
xor ebx, ebx
push 0x10
mov dword [esi], vtable.CWorkerThread.0
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 8], bl
mov dword [esi + 0x10], eax
mov byte [esi + 9], bl
mov dword [esi + 0xc], 2
call fcn.100af9da
add esp, 4
cmp eax, ebx
je 0x1008f3a3
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [esi + 0x34], eax
jmp 0x1008f3a6
mov dword [esi + 0x34], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x1008fec0
Capabilities:
Create thread

Disassembly:
push esi
push edi
xor edi, edi
cmp byte [esp + 0xc], 0
mov esi, ecx
je 0x1008fed2
mov edi, 4
xor eax, eax
cmp dword [esi + 0x2c], eax
push 0x51
sete al
push str..WindowsWorkerThread.cpp
mov byte [esi + 8], 1
push eax
call fcn.10001230
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esi + 4]
push ecx
push edi
push esi
push 0x1008e840
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, esi
mov dword [esi + 0x2c], eax
call fcn.1008fa90
test al, al
je 0x1008ff24
cmp dword [esi + 0x2c], 0
je 0x1008ff24
pop edi
mov eax, 1
pop esi
ret 8
pop edi
xor eax, eax
pop esi
ret 8
Function at 0x100985c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x100bd3f9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100e87b8]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov edi, ecx
mov ecx, esi
call edx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10098602
sub eax, edx
sar eax, 1
je 0x1009865b
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
call edx
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push esi
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov dword [esp + 0x40], 0
call fcn.10098130
push esi
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.10096a80
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100af9b2
add esp, 0x30
ret 4

Function at 0x100996d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100bd5cd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push 0
push 0
push 0
push 0
push 0x100c0988
push 0x100c0988
push 0x100c0988
mov ecx, esi
mov byte [esp + 0x30], 3
call fcn.10098c70
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x10099d10
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x100bd6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100e87b8]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x18], ecx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::clear_void_]
xor ebx, ebx
cmp ebp, ebx
jne 0x10099d72
push 0x31
push str..DBackupIniFile.cpp
push ebx
call fcn.10001230
add esp, 0xc
or eax, 0xffffffff
jmp 0x10099e89
push ebp
call dword [sym.imp.MSVCR80.dll_ftell]
push 0x30
mov dword [esp + 0x24], eax
lea eax, [esp + 0x32]
push ebx
push eax
mov word [esp + 0x38], bx
call sub.MSVCR80.dll_memset
push ebp
push 0x18
lea ecx, [esp + 0x40]
push 2
push ecx
call dword [sym.imp.MSVCR80.dll_fread]
mov esi, eax
add esp, 0x20
cmp esi, ebx
jg 0x10099db2
mov eax, 0xfffffff8
jmp 0x10099e89
push 0xffffffffffffffff
push ebx
push 0x100cefa0
push ebx
call fcn.100365f0
add esp, 0x10
cmp eax, ebx
mov dword [esp + 0x14], eax
setne byte [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x68], ebx
push eax
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.MSVCR80.dll_wcsstr]
mov ecx, dword [esp + 0x20]
mov edi, eax
add esp, 8
test edi, edi
lea eax, [esp + 0x28]
push eax
jne 0x10099e2a
add ebx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
push ebp
push 0x18
lea ecx, [esp + 0x30]
push 2
push ecx
call dword [sym.imp.MSVCR80.dll_fread]
xor edx, edx
add esp, 0x10
test eax, eax
setl dl
sub edx, 1
and edx, eax
mov esi, edx
mov word [esp + esi*2 + 0x28], di
je 0x10099e3f
mov eax, dword [esp + 0x14]
jmp 0x10099dd6
mov word [edi], 0
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
lea ecx, [esp + 0x28]
sub edi, ecx
sar edi, 1
add ebx, edi
mov edx, dword [esp + 0x1c]
push 0
lea eax, [edx + ebx*2 + 4]
push eax
push ebp
call dword [sym.imp.MSVCR80.dll_fseek]
add esp, 0xc
test eax, eax
jge 0x10099e73
cmp byte [esp + 0x20], 0
je 0x10099e6c
mov ecx, dword [esp + 0x14]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, 0xfffffff9
jmp 0x10099e89
cmp byte [esp + 0x20], 0
je 0x10099e87
mov edx, dword [esp + 0x14]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.100af9b2
add esp, 0x58
ret