joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b050
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and al, 0xc8
call fcn.1000a1cd
push 0x804016d7
movsd dword es:[edi], dword [esi]
mov esp, 0xfffffa
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.1000a1cd
cmp byte [eax], ch
pop ebp
dec edx
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.1000a1ab
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.1000a1dd
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000a192
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.1000a1cd
inc esi
xchg ebx, eax
add eax, 0x104688a
add byte [eax], al
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.1000a1cd
add dword [eax], edx
sub eax, 0xe0658057
add byte [eax - 0x39ff1e9b], al
inc ebp
loop 0x1000b210
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
mov byte [ebp - 0x12], 0x8a
mov byte [ebp - 0x11], 0xa3
mov byte [ebp - 0x10], 0xe2
lea eax, [ebp - 0x20]
push eax
call fcn.1000a1dd
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000a192
add esp, 0xc
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x654]
push eax
push 0x104
call dword [ebp - 0x370]
mov dword [ebp - 0x550], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [ebp + eax - 0x12d]
cmp eax, 0x5c
jne 0x1000b279
inc ebp
ljmp 0xc6b2
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x550]
invalid
Function at 0x1000b5b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.1000a13e
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x1000b5da
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x1000b623
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x1000b5cd
call fcn.1000a1cd
invalid
Function at 0x100113a0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esi + 0x54]
sub esp, 0xc
mov ecx, eax
push ebx
and ecx, 0xc
cmp cl, 0xc
push edi
mov bl, 1
jne 0x100113f9
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [esp + 0xc], eax
call edi
mov edx, dword [esi + 4]
push edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0xfffffffe
call edi
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [esp + 8]
push ecx
push edi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov al, bl
pop ebx
add esp, 0xc
ret
shr eax, 2
test al, 1
je 0x10011432
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
push ecx
movzx edx, di
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov al, bl
pop ebx
add esp, 0xc
ret
mov eax, dword [esi + 0x28]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x10011465
mov ecx, dword [esi + 4]
or byte [esi + 0x58], 2
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
mov al, bl
pop ebx
add esp, 0xc
ret
Function at 0x100132d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [ecx]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
push eax
push edx
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001333e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x1001330f
cmp eax, 2
jne 0x1001332a
test esi, esi
mov eax, dword [esp]
je 0x10013338
test eax, eax
je 0x10013333
test al, 1
jne 0x1001332a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x10013338
mov eax, 0xd
pop ecx
ret 8
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8

Function at 0x10014690
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x1006e020]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
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 0x100146fa
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x100146e3
cmp eax, 4
jne 0x100146fa
cmp dword [esp + 8], 0x5a
jb 0x100146fa
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.10056d50
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov eax, 1
call fcn.10056d50
add esp, 0x118
ret
Function at 0x10018760
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x100591f8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006e020]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
mov eax, dword [0x1006eb44]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
mov ecx, dword [ebp + 0x480]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
add esi, 1
mov ecx, esi
lea ebx, [esp + 0x24]
call fcn.10015350
mov edx, dword [ebp + 0x480]
push esi
mov edi, eax
push edi
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
mov edi, ebx
call fcn.10011c20
mov esi, dword [esp + 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esi - 8], eax
mov word [esi + eax*2], 0
lea eax, [ebp + 0x4c4]
call fcn.10015ac0
lea eax, [esi - 0xc]
cmp eax, 0x1006eb34
je 0x10018815
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10018815
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4

Function at 0x10018830
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x100591f8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006e020]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
mov eax, dword [0x1006eb44]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
mov ecx, dword [ebp + 0x488]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
add esi, 1
mov ecx, esi
lea ebx, [esp + 0x24]
call fcn.10015350
mov edx, dword [ebp + 0x488]
push esi
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, ebx
call fcn.10011c20
mov esi, dword [esp + 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esi - 8], eax
mov word [esi + eax*2], 0
lea eax, [ebp + 0x4c8]
call fcn.10015ac0
lea eax, [esi - 0xc]
cmp eax, 0x1006eb34
je 0x100188dc
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x100188dc
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x100191c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov esi, eax
call fcn.10019250
call fcn.100192c0
push 1
mov ecx, esi
call fcn.10019430
mov eax, dword [esi + 0x4c8]
mov ecx, dword [esi + 0x488]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 4]
push 0x4e1
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov eax, dword [esi + 0x484]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call edi
mov ecx, dword [esi + 0x484]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call ebx
mov edx, dword [esi + 0x488]
push 0
push edx
call edi
mov eax, dword [esi + 0x488]
push 0
push eax
call ebx
xor ebx, ebx
call fcn.10019800
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10019430
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x10059fb8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006e020]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [esp + 0x28], 0
push 0
jne 0x10019499
mov eax, dword [ebx + 0x4b0]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
mov ecx, dword [ebx + 0x4b0]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call edi
mov edx, dword [ebx + 0x4b4]
push 0
push edx
call esi
mov eax, dword [ebx + 0x4b4]
push 0
push eax
jmp 0x10019633
mov ecx, dword [ebx + 0x4b4]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x18b
push ecx
call ebp
test eax, eax
jne 0x10019585
mov eax, dword [ebx + 0x4d8]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10019585
mov esi, dword [eax + 8]
sub esi, ecx
sar esi, 2
test esi, esi
mov dword [esp + 0x14], esi
jle 0x10019585
mov edx, dword [ebx + 0x4b4]
push 0
push 0
push 0x184
push edx
call ebp
xor edi, edi
test esi, esi
jle 0x10019585
jmp 0x10019500
mov esi, dword [ebx + 0x4d8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10019519
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1001951f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
lea eax, [eax + edi*4]
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebx + 0x16c]
call sub.SetupUi.dll_public:_class_WTL::CString___thiscall_CSetupManager::GetDeploymentName_wchar_t_const__
mov eax, dword [eax]
mov edx, dword [ebx + 0x4b4]
push eax
push 0
push 0x180
push edx
call ebp
mov eax, dword [esp + 0x28]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x10019578
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10019578
mov eax, dword [esp + 0x28]
add eax, 0xfffffff4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
add edi, 1
cmp edi, dword [esp + 0x14]
jl 0x10019500
lea edx, [esp + 0x14]
lea ecx, [ebx + 0x4c8]
push edx
call fcn.10019900
lea esi, [ebx + 0x4cc]
mov edi, eax
mov eax, esi
mov dword [esp + 0x20], 0
call fcn.10015ac0
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x100195d9
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x100195d9
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esi]
push eax
mov eax, dword [ebx + 0x4b4]
push 0xffffffffffffffff
push 0x1a2
push eax
call ebp
mov ecx, dword [ebx + 0x4b4]
push 0
push eax
push 0x186
push ecx
call ebp
mov edx, dword [ebx + 0x4b0]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push edx
call esi
mov eax, dword [ebx + 0x4b0]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov ecx, dword [ebx + 0x4b4]
push 1
push ecx
call esi
mov edx, dword [ebx + 0x4b4]
push 5
push edx
call edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x10019650
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x4c8]
mov ecx, dword [esi + 0x488]
sub esp, 0x14
push ebx
push ebp
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4e1
push edx
call edi
cmp dword [esp + 0x24], 0
jne 0x100196c3
mov eax, dword [esi + 0x484]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call edi
mov ecx, dword [esi + 0x484]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call ebx
mov edx, dword [esi + 0x488]
push 0
push edx
call edi
mov eax, dword [esi + 0x488]
push 0
push eax
call ebx
pop edi
pop ebp
pop ebx
add esp, 0x14
ret 4
mov ecx, dword [esi + 0x16c]
cmp byte [ecx + 0x1f8], 0
jne 0x100196e1
mov eax, 0x4e8
mov dword [esp + 0x24], 0x4e9
jmp 0x10019706
cmp dword [esi + 0x4c0], 4
jne 0x100196f9
mov eax, 0x4eb
mov dword [esp + 0x24], 0x4ec
jmp 0x10019706
mov eax, 0x4ee
mov dword [esp + 0x24], 0x4ef
mov edx, dword [esi + 4]
push eax
push edx
call edi
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [esp + 0x10]
push edx
push eax
call edi
test eax, eax
je 0x10019739
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x484]
push ecx
push eax
call ebx
mov ecx, dword [esi + 0x484]
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push ecx
call ebp
mov edx, dword [esi + 0x484]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x10]
push eax
push ecx
call edi
test eax, eax
je 0x100197b7
mov eax, dword [esi + 4]
lea edx, [esp + 0x18]
push edx
push eax
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x488]
push ecx
push eax
call ebx
mov ecx, dword [esi + 0x488]
push 1
push ecx
call ebp
mov edx, dword [esi + 0x488]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x1001ab80
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x10059118
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006e020]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov eax, dword [0x1006eb44]
mov dword [esp + 0x14], eax
mov ecx, 0x825
lea ebx, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.10015350
cmp dword [esp + 0x2c], 0x426
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
jne 0x1001abfa
mov eax, dword [ebp + 0x320]
test eax, eax
je 0x1001ac1f
push eax
call ebx
add eax, 1
cmp eax, 0x825
jge 0x1001ac1f
mov ecx, dword [ebp + 0x320]
push ecx
jmp 0x1001ac18
mov eax, dword [ebp + 0x394]
test eax, eax
je 0x1001ac1f
push eax
call ebx
add eax, 1
cmp eax, 0x825
jge 0x1001ac1f
mov edx, dword [ebp + 0x394]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edi, [esp + 0x14]
call fcn.10011c20
mov esi, dword [esp + 0x14]
push esi
call ebx
mov dword [esi - 8], eax
mov word [esi + eax*2], 0
mov eax, dword [ebp + 0x16c]
mov ecx, dword [eax + 0x194]
lea edx, [esp + 0x28]
push esi
push edx
call fcn.10049e10
add esp, 8
mov byte [esp + 0x20], 1
mov eax, dword [esp + 0x28]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
jne 0x1001acbf
mov ecx, dword [ebp + 0x16c]
mov ecx, dword [ecx + 0x19c]
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.10049e10
add esp, 8
mov edi, eax
lea eax, [esp + 0x28]
mov byte [esp + 0x20], 2
call fcn.10015ac0
mov eax, dword [esp + 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x1001acbf
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1001acbf
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x28]
push eax
call ebx
test eax, eax
je 0x1001ace2
mov ecx, dword [esp + 0x28]
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x28]
lea edx, [eax - 0xc]
cmp edx, 0x1006eb34
je 0x1001ad0f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1001ad0f
mov eax, dword [esp + 0x28]
add eax, 0xfffffff4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esi - 0xc]
cmp ecx, 0x1006eb34
je 0x1001ad31
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1001ad31
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x1001cc60
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov eax, dword [esi + 4]
push 0x408
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001cd09
mov ecx, dword [esi + 4]
push 0x408
push ecx
call edi
lea edi, [esi + 0xcc]
push eax
mov ecx, edi
call sub.LiteHtml.dll_public:_int___thiscall_CLiteHtmlCtrl::SubclassWindow_struct_HWND____
push edi
call fcn.100135e0
mov edx, dword [esi + 0xd0]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x1001ccce
mov eax, dword [esi + 0xd0]
push ecx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 0xd0]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [esi + 0x174]
push 0
push 0
push edx
mov ecx, edi
call sub.LiteHtml.dll_public:_bool___thiscall_CLiteHtmlCtrl::Load_wchar_t_const___struct_HINSTANCE_____wchar_t_const__
mov eax, dword [esi + 0xd0]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0x24
push esi
mov ecx, edi
call sub.LiteHtml.dll_public:_void___thiscall_CLiteHtmlCtrl::SetNotify_class_ILiteHtmlNotify__
pop edi
pop esi
ret
Function at 0x1001d800
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x1005c3a6
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x1006e020]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006e020]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x238]
mov eax, dword [ebp + 0x16c]
mov esi, dword [eax + 0x204]
test esi, esi
mov ecx, dword [0x1006eb44]
mov dword [esp + 0x14], ecx
je 0x1001d8a0
mov edx, esi
shr edx, 0x10
jne 0x1001d872
movzx eax, si
push eax
lea ecx, [esp + 0x18]
call fcn.10013a10
jmp 0x1001d8a0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x1001d8a0
mov ecx, edi
lea edx, [esp + 0x14]
call fcn.10011c80
test eax, eax
je 0x1001d8a0
mov ecx, dword [esp + 0x14]
lea eax, [edi + edi]
push eax
push esi
push ecx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov dword [esp + 0x230], 0
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
lea ecx, [eax + 2]
lea ebx, [esp + 0x14]
call fcn.10015350
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov edi, ebx
call fcn.10011c20
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add ebp, 0x474
mov dword [esi - 8], eax
push ebp
mov ecx, ebx
mov word [esi + eax*2], 0
call fcn.1001e870
test eax, eax
je 0x1001d94f
mov eax, ebx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov esi, str.Log_
call fcn.100170d0
mov edi, eax
mov eax, ebp
mov byte [esp + 0x230], 1
call fcn.10015ac0
mov eax, dword [esp + 0x18]
lea edx, [eax - 0xc]
cmp edx, 0x1006eb34
je 0x1001d9d7
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1001d9d7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
jmp 0x1001d9d7
push 0x1005e67c
push 0x1005e67c
mov dword [esp + 0x20], 0x104
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov esi, ebp
call fcn.100158a0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x1001d9d7
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1001d9a0
mov esi, eax
lea edx, [esp + 0x1c]
mov eax, ebp
call fcn.10013510
mov ecx, dword [ebp]
mov eax, dword [ecx - 8]
lea ecx, [eax + 2]
mov ebx, ebp
call fcn.10015350
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov edi, ebp
call fcn.10011c20
mov edx, dword [ebp]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp]
mov dword [ecx - 8], eax
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x1001d9fd
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1001d9fd
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.10056d50
add esp, 0x220
ret 4
Function at 0x1001e170
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x100591f8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006e020]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
cmp dword [esi - 0xc], 0
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
jl 0x1001e1b6
lea ecx, [esi - 0xc]
push ecx
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x1001e1db
test esi, esi
mov edx, dword [0x1006eb44]
mov dword [esp + 0x24], edx
jne 0x1001e1c8
xor eax, eax
jmp 0x1001e1cb
push esi
call ebp
push esi
mov ebx, eax
lea esi, [esp + 0x28]
call fcn.100158a0
mov esi, dword [esp + 0x24]
mov dword [esp + 0x1c], 0
mov eax, dword [esi - 8]
lea ecx, [eax + 2]
lea ebx, [esp + 0x24]
call fcn.10015350
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov edi, ebx
call fcn.10011c20
mov esi, dword [esp + 0x24]
push esi
call ebp
mov dword [esi - 8], eax
push esi
mov word [esi + eax*2], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
cmp eax, 4
sete cl
lea edx, [esi - 0xc]
cmp edx, 0x1006eb34
mov edi, ecx
je 0x1001e243
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1001e243
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4