joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100936d5
Capabilities:
Get common file path

Disassembly:
push 0x298
mov eax, 0x10118019
call fcn.1006051e
cmp byte [0x10193a40], 0
jne 0x10093865
push 0x101925a8
lea ecx, [ebp - 0x2a4]
call fcn.10002155
xor esi, esi
mov dword [ebp - 4], esi
cmp byte [0x10193a40], 0
jne 0x10093850
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
push 8
mov edi, 0x10189180
lea edx, [ebp - 0x48]
push edi
push 0x13
mov ecx, 0x10189130
call fcn.100926c0
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
jne 0x100937d0
push 0x208
lea eax, [ebp - 0x2a0]
push esi
push eax
call fcn.1003e610
add esp, 0xc
lea eax, [ebp - 0x2a0]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x50
lea eax, [ebp - 0x98]
push esi
push eax
call fcn.1003e610
add esp, 0xc
call fcn.10090275
push 8
push edi
lea edx, [ebp - 0x98]
mov ecx, 0x101890e0
push 0x27
cmp dword [eax + 4], esi
jne 0x100937a3
mov ecx, 0x10189090
call fcn.100926c0
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x2a0]
call fcn.100643c0
mov ebx, eax
test ebx, ebx
je 0x10093849
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
lea edx, [ebp - 0x20]
push 0x10
mov ecx, 0x10189080
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x10189160
push edi
push 0xe
call fcn.10091fa0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [ebp - 0x20]
add esp, 0xc
push eax
push ebx
call esi
push 0x10
push edi
push 0xe
lea edx, [ebp - 0x20]
mov dword [0x10193a4c], eax
mov ecx, 0x10189070
call fcn.10091fa0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push ebx
call esi
push 0x10
push edi
push 0xe
lea edx, [ebp - 0x20]
mov dword [0x10193a48], eax
mov ecx, 0x10189060
call fcn.10091fa0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push ebx
call esi
mov dword [0x10193a44], eax
mov byte [0x10193a40], 1
cmp dword [ebp - 0x2a4], 0
je 0x10093865
push dword [ebp - 0x2a4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.100604c8
ret
Function at 0x1009bd4c
Capabilities:
Enumerate network shares

Disassembly:
push 0x18
mov eax, 0x101191d5
call fcn.100604ea
xor ebx, ebx
mov ecx, 0x101925dc
mov dword [ebp - 0x1c], ebx
call fcn.10004863
mov ecx, 0x101925e8
call fcn.10004863
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], ebx
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
push 0x1f6
push ebx
call dword [sym.imp.NETAPI32.dll_NetShareEnum]
mov ebx, eax
test ebx, ebx
je 0x1009bdad
cmp ebx, 0xea
jne 0x1009bea4
xor edi, edi
xor esi, esi
inc esi
inc edi
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x14], edi
jb 0x1009be8a
mov esi, dword [ebp - 0x18]
add esi, 0x24
cmp dword [esi - 0x20], 0
je 0x1009bdd8
cmp dword [esi - 0x20], 0x40000000
jne 0x1009be7a
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_IsValidSecurityDescriptor]
test eax, eax
je 0x1009be7a
mov ecx, dword [esi]
call fcn.1009beaf
test eax, eax
je 0x1009be7a
call fcn.100029f0
push eax
lea ecx, [ebp - 0x10]
call fcn.1000281b
and dword [ebp - 4], 0
mov ecx, dword [esi - 0xc]
call fcn.100026a7
push eax
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.1000262a
push 1
push 0x1013588c
lea ecx, [ebp - 0x10]
call fcn.10008b1c
lea eax, [ebp - 0x10]
mov ecx, 0x101925dc
push eax
call fcn.10007bda
mov ecx, dword [esi - 0x24]
call fcn.100026a7
push eax
push dword [esi - 0x24]
lea ecx, [ebp - 0x10]
call fcn.1000262a
push 1
push 0x1013588c
lea ecx, [ebp - 0x10]
call fcn.10008b1c
lea eax, [ebp - 0x10]
mov ecx, 0x101925e8
push eax
call fcn.10007bda
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.10002a86
add esi, 0x28
inc edi
cmp edi, dword [ebp - 0x14]
jbe 0x1009bdc5
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x18]
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
push 0
cmp ebx, 0xea
pop ebx
je 0x1009bd74
jmp 0x1009bea7
mov esi, dword [ebp - 0x1c]
mov eax, esi
call fcn.100604b3
ret

Function at 0x1009bf62
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call fcn.10066ced
cmp dword [0x101925f4], 0
jne 0x1009bfbd
mov edx, dword [0x10193b38]
lea eax, [ebp - 4]
push eax
push 4
xor esi, esi
pop ecx
mov dword [ebp - 4], esi
call fcn.10064df2
pop ecx
test eax, eax
je 0x1009bfbd
push esi
push esi
push esi
push 0x1009bfc0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov ecx, 0x101925f4
call int.1000afb7
cmp dword [0x101925f4], esi
jne 0x1009bfbd
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
leave
ret
Function at 0x1009e0ed
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, ecx
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test edi, edi
je 0x1009e1d5
mov edx, dword [0x10193b38]
lea eax, [ebp - 4]
and dword [ebp - 4], 0
push eax
push 4
pop ecx
call fcn.10064df2
pop ecx
test eax, eax
je 0x1009e1d5
push esi
push 0x10190228
push 0xc
call fcn.10038d70
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1009e16f
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100029f0
push eax
mov ecx, esi
call fcn.1000281b
call fcn.100029f0
push eax
lea ecx, [esi + 4]
call fcn.1000281b
call fcn.100029f0
push eax
lea ecx, [esi + 8]
call fcn.1000281b
mov edi, dword [ebp - 8]
jmp 0x1009e171
xor esi, esi
test esi, esi
je 0x1009e1cb
push 6
push str.chasha
mov ecx, esi
call fcn.1000262a
push edi
lea ecx, [esi + 4]
call fcn.100026c3
xor eax, eax
push eax
push eax
push esi
push 0x1009e1d8
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x1009e1c3
cmp dword [ebp + 8], 0
je 0x1009e1ba
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1009e1d4
push ecx
mov ecx, esi
call fcn.100045af
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop edi
leave
ret
Function at 0x1009ee07
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x10119849
call fcn.100604ea
mov esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
jne 0x1009ee23
xor eax, eax
jmp 0x1009ef3a
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009ee1c
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push 0xa
mov ecx, esi
mov dword [ebp - 0x10], ebx
call fcn.1009f90d
cmp dword [ebp - 0x10], ebx
je 0x1009ee51
push dword [ebp + 0xc]
push edi
call dword [ebp - 0x10]
jmp 0x1009ef3a
mov dword [ebp + 8], ebx
lea eax, [ebp + 8]
mov dword [ebp - 4], ebx
push eax
push 0x10135070
mov ecx, esi
call fcn.1009fc19
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1009ee71
or dword [esi], 0xffffffff
mov eax, dword [ebp + 8]
test eax, eax
je 0x1009ef28
mov ecx, dword [eax]
push ebx
push edi
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x1009ef25
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
mov dword [ebp + 0xc], ebx
push 4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
xor edi, edi
inc edi
test eax, eax
je 0x1009eec0
mov eax, dword [ebp + 0xc]
shl eax, 0x10
sar eax, 0x1c
cmp eax, 2
je 0x1009eeb8
cmp eax, 3
jne 0x1009eec0
test esi, esi
je 0x1009ef20
mov dword [esi], edi
jmp 0x1009ef20
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
mov dword [ebp + 0xc], ebx
push 3
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
test eax, eax
je 0x1009eef1
mov eax, dword [ebp + 0xc]
and eax, 0xf00
cmp eax, 0x300
jne 0x1009eef1
test esi, esi
je 0x1009ef20
mov dword [esi], 3
jmp 0x1009ef20
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
mov dword [ebp + 0xc], ebx
push 5
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
test eax, eax
je 0x1009ef25
mov eax, dword [ebp + 0xc]
and eax, 0xf0000
cmp eax, 0x30000
jne 0x1009ef25
test esi, esi
je 0x1009ef20
mov dword [esi], 4
mov eax, dword [ebp + 8]
jmp 0x1009ef2a
mov eax, dword [ebp + 8]
mov edi, ebx
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x1009ef38
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
call fcn.100604b3
ret 8

Function at 0x1009f9d7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push edi
push 4
pop edi
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push eax
push str.UserExperience
push str.Software360TotalSecurityExperience
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 4], 0
jne 0x1009fa47
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push eax
push str.EnableUE
push str.Software360Safe
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 4], 0
jne 0x1009fa47
xor eax, eax
jmp 0x1009fa4a
xor eax, eax
inc eax
pop edi
leave
ret
Function at 0x1009faf7
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
jne 0x1009fb13
mov eax, 0x80070057
jmp 0x1009fc10
mov ecx, 0x101921a4
call fcn.1009ec57
xor edi, edi
push edi
push 0x80
push 3
push edi
push 7
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [esp + 0xc], ebx
cmp ebx, 0xffffffff
jne 0x1009fb4d
mov eax, 0x80004005
jmp 0x1009fc10
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LockFile]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edi
push eax
push ebx
mov esi, edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0x3200000
jge 0x1009fbea
cmp dword [esp + 0x10], esi
jne 0x1009fbea
cmp edi, 4
jle 0x1009fbea
lea eax, [edi + 4]
push eax
call fcn.1004c039
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1009fbe6
lea eax, [edi + 4]
xor esi, esi
push eax
push esi
push ebx
call fcn.1003e610
add esp, 0xc
mov dword [esp + 0x14], esi
lea eax, [esp + 0x14]
push esi
push eax
push edi
push ebx
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1009fbdc
cmp dword [esp + 0x14], edi
jne 0x1009fbdc
mov eax, 0xfeff
cmp word [ebx], ax
jne 0x1009fbd5
lea eax, [edi - 2]
push eax
lea eax, [ebx + 2]
push eax
jmp 0x1009fbd7
push edi
push ebx
call fcn.1009ea17
xor esi, esi
push ebx
inc esi
call fcn.10041699
pop ecx
mov ebx, dword [esp + 0xc]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
neg esi
sbb esi, esi
and esi, 0x7fffbffb
lea eax, [esi - 0x7fffbffb]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100a0fe3
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
mov dword [esi], vtable.CCoolScrollBar.0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100a100d
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, esi
call fcn.100a0fa9
cmp dword [esi + 0x14], 0
je 0x100a1022
push dword [esi + 0x14]
call fcn.10038598
pop esi
ret

Function at 0x100a4386
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add ecx, 0x74
pop ebp
jmp fcn.100026c3

Function at 0x100ac2f4
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x28], 0
je 0x100ac307
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [esi + 0x20]
push 0x10
pop edi
sub ecx, edi
call fcn.10002a86
mov ecx, dword [esi + 0x1c]
sub ecx, edi
call fcn.10002a86
mov ecx, dword [esi + 0x18]
sub ecx, edi
call fcn.10002a86
mov ecx, dword [esi + 0x14]
sub ecx, edi
call fcn.10002a86
mov ecx, dword [esi + 0x10]
sub ecx, edi
call fcn.10002a86
mov ecx, dword [esi + 4]
sub ecx, edi
pop edi
pop esi
jmp fcn.10002a86
Function at 0x100ae814
Capabilities:
Hide graphical window

Disassembly:
push 0xc
mov eax, 0x1011b3eb
call fcn.100604ea
mov edi, ecx
mov edx, dword [edi + 0x200]
mov ecx, dword [edi + 0x30]
call fcn.100af0e8
push 0
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x4f
lea ecx, [ebp - 0x14]
call fcn.100026e3
mov esi, eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push 0x1c0
call fcn.100026e3
sub esp, 0xc
mov byte [ebp - 4], 1
mov edx, dword [eax]
mov ecx, dword [edi + 0x20c]
push 0
push 0x100
push dword [esi]
call fcn.100cb08c
mov ecx, dword [ebp - 0x10]
add esp, 0x18
lea ecx, [ecx - 0x10]
call fcn.10002a86
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.10002a86
push 1
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_EndDialog]
call fcn.100604b3
ret

Function at 0x100af0e8
Capabilities:
Open clipboard

Disassembly:
push edi
push ecx
mov edi, edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100af150
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100af101
sub ecx, edx
push ebx
sar ecx, 1
push esi
lea ebx, [ecx*2 + 2]
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x100af147
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push ebx
push eax
call fcn.1000885c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
pop ebx
pop edi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
ret

Function at 0x100af7f2
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10188074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x208
xor ebx, ebx
mov dword [ecx + 0x54], 1
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.1003e610
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.control.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 5
push ebx
push str.nusrmgr.cpl
lea eax, [ebp - 0x20c]
push eax
push str.Open
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteW]
call ebx
cmp eax, 0x20
jg 0x100af8a7
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.mshta.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 5
push 0
push str.res:__nusrmgr.cpl_nusrmgr.hta
lea eax, [ebp - 0x20c]
push eax
push str.open
push 0
call ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10038cf9
leave
ret
Function at 0x100b03a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push 0x101532fc
mov edi, ecx
push 0x79
push dword [0x10193b38]
and dword [edi], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x100b0443
push ebx
push esi
push dword [0x10193b38]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [0x10193b38]
mov ebx, eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x100b0442
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
test eax, eax
je 0x100b043b
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x100b0434
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x100b042a
push dword [ebp - 4]
push dword [ebp - 8]
push eax
call fcn.1003e090
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x100b0f15
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push 4
push esi
push 0x100b0eb2
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xa4], eax
test eax, eax
je 0x100b0f5a
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x100b0f46
xor ecx, ecx
call fcn.1006e76f
push ebx
push dword [esi + 0xa4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x100b0f3f
pop esi
pop ebx
ret

Function at 0x100b29cf
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push edi
mov edi, ecx
je 0x100b29e3
xor ecx, ecx
inc ecx
call fcn.100b2c6a
push 0
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x2714
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x2715
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [edi + 0x60]
call fcn.10093272
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
pop ebp
ret 4
Function at 0x100bd234
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x10190228
push 0x10
mov ebx, ecx
call fcn.10038d70
mov esi, eax
xor edi, edi
pop ecx
pop ecx
test esi, esi
je 0x100bd25c
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
jmp 0x100bd25e
mov esi, edi
test esi, esi
je 0x100bd2e6
mov ecx, dword [ebx + 0xf8]
xor edx, edx
push 1
call fcn.100979e3
mov ecx, dword [ebx + 0x10c]
xor edx, edx
push 1
call fcn.100979e3
pop ecx
pop ecx
mov ecx, dword [ebx + 0x1bc]
test ecx, ecx
je 0x100bd2af
push 1
call fcn.10102322
mov ecx, dword [ebx + 0x1bc]
call fcn.101024d9
mov ecx, dword [ebx + 0x1bc]
push 5
call fcn.101023ad
mov eax, dword [ebp + 8]
cmp esi, eax
je 0x100bd2c5
push dword [ebp + 8]
mov ecx, esi
push dword [eax + 4]
push dword [eax]
call fcn.10020121
mov eax, dword [ebx + 0x30]
push edi
push edi
push esi
push 0x100bcf79
push edi
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100bd2e6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x100bd6c1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
mov ecx, dword [esi + 0xb8]
mov edx, eax
call fcn.100692ab
cmp eax, 0x64
jb 0x100bd745
call edi
mov dword [esi + 0xb8], eax
call fcn.100c11aa
mov ecx, eax
call fcn.100c10ff
test al, al
je 0x100bd733
xor ebx, ebx
cmp dword [esi + 0x84], ebx
jle 0x100bd721
push dword [esi + 0x54]
mov ecx, dword [esi + 0x30]
xor edx, edx
push ebx
push ebx
push ebx
call fcn.100b99b0
add esp, 0x10
cmp eax, 7
jne 0x100bd729
push ebx
mov ecx, esi
call fcn.100bf3c4
call edi
mov dword [esi + 0xb8], eax
jmp 0x100bd745
push 0
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.100bc9a5
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x100bf3c4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 0
jne 0x100bf3f2
call fcn.100c11aa
mov ecx, eax
call fcn.100c10ff
test al, al
je 0x100bf3f2
mov ecx, esi
call fcn.100bf36a
pop esi
pop ebp
ret 4

Function at 0x100c0b89
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push esi
push 0x100c057d
push edi
push edi
mov dword [esi + 0xbf8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x100c0bcd
push 0x7d0
push edi
mov edx, str.initfail_ct
mov ecx, str.rbstool
call fcn.10065584
pop ecx
pop ecx
xor eax, eax
jmp 0x100c0bd0
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x100c0bd6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov byte [esi + 0xbf4], bl
cmp dword [edi], 0xb88
jb 0x100c0c3e
mov eax, dword [edi + 0xb7c]
lea ecx, [esi + 0xc40]
and eax, 1
mov dword [esi + 0xc3c], eax
lea eax, [edi + 0x8f4]
push eax
call fcn.100026c3
cmp dword [esi + 0xc3c], ebx
je 0x100c0c3e
cmp dword [edi], 0x4b98
jb 0x100c0c66
mov eax, dword [edi + 0x4b94]
cmp eax, 1
je 0x100c0c38
cmp eax, 2
jne 0x100c0c3e
mov dword [edi + 0xd4], ebx
cmp dword [edi], 0x4b98
jb 0x100c0c66
mov eax, dword [edi + 0x4b94]
lea ecx, [esi + 0x30]
mov dword [esi + 0xc44], eax
push dword [edi + 0x4b94]
push dword [esi + 0xc3c]
call fcn.10078aae
push edi
mov ecx, esi
mov dword [esi + 0x28], ebx
call fcn.100c0b89
test eax, eax
jne 0x100c0c7d
mov dword [edi + 4], ebx
jmp 0x100c0d1e
cmp dword [edi + 0x8e8], ebx
je 0x100c0cc5
push ebx
push ebx
push esi
push 0x100c0d27
push 0x2710
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x100c0cbe
push ebx
mov dword [esi + 0xbfc], 1
push dword [edi + 0x8e8]
push 0x2714
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x100c0cc5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
mov dword [esi + 0xc48], 1
jmp 0x100c0cfb
lea eax, [esp + 0xc]
push eax
call fcn.100bf609
test eax, eax
jne 0x100c0cfb
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [esp + 0x18]
push eax
call edi
test eax, eax
jne 0x100c0cd7
mov ecx, esi
mov dword [esi + 0xc48], ebx
call fcn.100bfff3
call fcn.100c02f5
mov eax, dword [esi + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100c28c7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x10188074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x208
lea eax, [ebp - 0x414]
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call fcn.1003e610
push edi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.1003e610
add esp, 0x18
lea eax, [ebp - 0x414]
mov edi, 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x100c295e
lea ecx, [ebp - 0x414]
call fcn.10008840
test eax, eax
je 0x100c295e
lea edx, [ebp - 0x414]
lea ecx, [esi + 0xa0]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x100c293a
lea eax, [ebp - 0x414]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.1000262a
xor eax, eax
inc eax
jmp 0x100c29e5
push edi
lea eax, [ebp - 0x20c]
push eax
push dword [0x10193b38]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str....._firstaid
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
call fcn.10008840
test eax, eax
je 0x100c29b5
lea edx, [ebp - 0x20c]
lea ecx, [esi + 0xa0]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x100c29a2
lea eax, [ebp - 0x20c]
jmp 0x100c294b
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x100c29e3
lea edx, [ebp - 0x20c]
lea ecx, [esi + 0xa0]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x100c29d6
jmp 0x100c29ad
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10038cf9
leave
ret

Function at 0x100c303d
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x100c3065
push 0xffffffffffffffff
push eax
mov byte [esi + 0xd0], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esi + 0x5c]
call fcn.10093272
push 2
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
ret