joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003570
Capabilities:
Capture screenshot
Hide graphical window

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x28]
mov dword [esp + 0x24], ecx
push eax
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
call esi
push 1
mov edi, eax
call esi
mov ecx, dword [esp + 0x30]
cmp ecx, edi
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
cmovg ecx, edi
cmp ebx, eax
mov dword [esp + 0x30], ecx
cmovg ebx, eax
mov dword [esp + 0x34], ebx
test edx, edx
jns 0x100035da
mov ebp, edx
neg ebp
xor edx, edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x2c]
test eax, eax
jns 0x100035f0
mov ebp, eax
neg ebp
xor eax, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x2c], eax
sub ecx, edx
sub ebx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
test ecx, ecx
jle 0x10003711
test ebx, ebx
jle 0x10003711
push 0
push dword [esp + 0x40]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebp, dword [esp + 0x40]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.USER32.dll_GetDC]
push ebp
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push esi
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
push dword [esp + 0x1c]
mov ebp, eax
push esi
mov dword [esp + 0x2c], ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
push ebx
push ebp
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
call ebp
push 0xcc0020
push dword [esp + 0x14]
mov esi, eax
push dword [esp + 0x1c]
push edi
push dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
push dword [esp + 0x2c]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push 5
push dword [esp + 0x40]
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x54]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
mov ebx, dword [esp + 0x28]
mov ecx, ebx
call sym.FreeImagePlus.dll_public:_int___thiscall_fipWinImage::copyFromBitmap_struct_HBITMAP____
push esi
push edi
call ebp
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, ebx
call sym.FreeImagePlus.dll_public:_unsigned_int___thiscall_fipImage::getBitsPerPixel_void_const
cmp eax, 0x20
jne 0x10003702
mov ecx, ebx
call sym.FreeImagePlus.dll_public:_int___thiscall_fipImage::convertTo24Bits_void_
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret 8
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x2a30dd20
Capabilities:
Terminate thread

Disassembly:
push 0xc
mov eax, 0x2a353dc6
call fcn.2a302657
mov ebx, ecx
xor ecx, ecx
cmp dword [ebx], 0xb
mov edi, ecx
mov dword [ebp - 0x14], edi
jne 0x2a30de11
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
or dword [ebx + 0x1a0], 0xffffffff
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
lea esi, [eax + 0x12c]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, esi
jae 0x2a30ddca
mov edi, esi
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebx + 0x2d8]
mov esi, dword [ebx]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
cmp esi, 0xb
jne 0x2a30ddc7
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, edi
jb 0x2a30dd8e
mov edi, dword [ebp - 0x14]
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp dword [ebx], 0xb
jne 0x2a30ddf1
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_TerminateThread]
xor edi, edi
inc edi
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor ecx, ecx
mov dword [ebx + 0x2d8], ecx
cmp dword [ebx + 0x18], 0
lea esi, [ebx + 0x1a0]
mov dword [esi], ecx
je 0x2a30de46
test di, di
jne 0x2a30de43
push esi
push dword [ebx + 0x18]
call fcn.2a3303aa
xor ecx, ecx
cmp dword [esi], ecx
jne 0x2a30de46
push esi
push dword [ebx + 0x14]
mov dword [ebx + 0x18], ecx
call fcn.2a3303aa
xor ecx, ecx
jmp 0x2a30de46
mov dword [ebx + 0x18], ecx
cmp word [ebx + 0x144], cx
je 0x2a30decd
push ecx
push ecx
lea ecx, [ebp - 0x18]
call fcn.2a3303aa
mov edi, dword [0x2a36bb18]
xor eax, eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebx + 0x40]
push eax
mov eax, dword [0x2a36bb0c]
push str.Cstring
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x2a35835c]
call esi
mov esi, dword [edi + 0xd0]
pop ecx
movzx eax, ax
mov ecx, esi
push eax
push 0
call dword [0x2a35835c]
call esi
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0
push eax
call fcn.2a3303aa
cmp dword [ebp - 0x14], 0
je 0x2a30debf
lea ecx, [ebp - 0x18]
call fcn.2a3303aa
test al, al
je 0x2a30debf
lea ecx, [ebp - 0x18]
call fcn.2a33ed32
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.2a3303aa
xor ecx, ecx
cmp dword [ebx + 0x34], 0
je 0x2a30def1
mov eax, dword [0x2a36b7ac]
push dword [ebx + 0x34]
mov esi, dword [eax + 0x284]
mov ecx, esi
call dword [0x2a35835c]
call esi
pop ecx
xor ecx, ecx
mov dword [ebx + 0x34], ecx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x2a30df25
push eax
mov eax, dword [0x2a36bb38]
cmp word [ebx + 0x196], cx
je 0x2a30df0f
mov esi, dword [eax + 0x124]
jmp 0x2a30df15
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x2a35835c]
call esi
xor eax, eax
pop ecx
mov dword [ebx + 0x20], eax
mov dword [ebx], 2
call fcn.2a302bc2
ret
Function at 0x2a32caab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x2a35572a
call fcn.2a304215
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x42c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x2a32cccc
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
inc eax
push 2
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
call fcn.2a3303aa
add esp, 0x10
test eax, eax
js 0x2a32ccc6
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x2a32cb4f
push edi
call fcn.2a32df9a
pop ecx
test al, al
je 0x2a32cb4f
mov eax, edi
call fcn.2a352aa0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x2a32cb61
push edi
lea ecx, [ebp - 0x424]
call fcn.2a3303aa
mov esi, dword [ebp - 0x424]
push 3
push edi
push dword [ebp - 0x41c]
push eax
call fcn.2a3303aa
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x2a32ccc6
push 0x60
push ebx
push eax
call fcn.2a32e256
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x2a32cbb9
push 2
push ebx
push dword [ebp - 0x41c]
call fcn.2a32e256
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x2a32cbb9
call fcn.2a32b317
mov ebx, eax
jmp 0x2a32cc95
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x2a32cbe0
call fcn.2a32b317
jmp 0x2a32cc88
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x2a32cbd6
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x2a32cc13
mov ebx, 0x8007000e
jmp 0x2a32cc8a
push ecx
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.2a3303aa
jmp 0x2a32cc39
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x2a32cc0c
mov eax, dword [ebp - 0x41c]
push eax
push dword [ebp - 0x428]
push eax
push dword [ebp - 0x418]
call fcn.2a3303aa
mov eax, dword [ebp - 0x418]
add esp, 0x10
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.2a3303aa
mov ebx, eax
test edi, edi
je 0x2a32cc95
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x2a32ccae
lea ecx, [ebp - 0x418]
call fcn.2a32b98d
or dword [ebp - 4], 0xffffffff
jmp 0x2a32ccbe
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x2a32ccb4
mov eax, ebx
jmp 0x2a32ccfa
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x2a32cce1
lea ecx, [ebp - 0x418]
call fcn.2a32b98d
or dword [ebp - 4], 0xffffffff
jmp 0x2a32ccf1
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x2a32cce7
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.2a30424f
ret 0x10
Function at 0x2a3303aa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x2a3303b9
pop dword [ebp - 0x50]
mov eax, 0x807d4f85
sub eax, 0x564a4bcc
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x9c062d60
add dword [ebp - 0x60], 0xb24c17eb
mov dword [ebp - 0x5c], 0x9720f46c
add dword [ebp - 0x5c], 0x9b1257d9
mov dword [ebp - 0x58], 0x8067de63
add dword [ebp - 0x58], 0xcbe465cb
mov dword [ebp - 0x54], 0x508b061f
sub dword [ebp - 0x54], 0x508b061f
lea eax, [ebp - 0x60]
push eax
mov eax, 0x1f19f1d7
sub eax, 0xf4e47153
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x70137e0e
sub dword [ebp - 0x60], 0xfba114b8
mov dword [ebp - 0x5c], 0x71db2cd6
sub dword [ebp - 0x5c], 0x306ecb61
mov dword [ebp - 0x58], 0x221e327a
sub dword [ebp - 0x58], 0xbeaec60e
mov dword [ebp - 0x54], 0x958da386
sub dword [ebp - 0x54], 0x958da386
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0xe27cc6f7
sub eax, 0xb847466b
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x4df79
push 0
call eax
mov ecx, 0x52dd
mov esi, eax
mov edx, 0x1dc9c23d
add edx, 0xc6e33c3
add edx, dword [ebp - 0x50]
mov edi, 0x68900255
xor dword [ebp - 0x38], 0xf14a1cff
mov ebx, dword [edx]
xor ebx, edi
xor dword [ebp - 0x24], 0x4e2db90c
mov dword [esi], ebx
add dword [ebp - 0x14], 0x4f95010e
add esi, 0xde412309
add esi, 0x21bedcfb
add edx, 0x75d9337a
sub edx, 0x75d93376
loop 0x2a3304cf
add eax, 0x55195d81
add eax, 0xaae7e0c6
xor ebx, ebx
add ebx, eax
add eax, 0xb7b04d30
sub eax, 0xb7b04d2b
mov ecx, 0x66486c0f
sub ecx, 0x3c186c0f
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x698571c6
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1ba47d8a
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x431072
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x401014a
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4310d2
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x8d00fd8
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x100019dd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x1009f1f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x404]
push 0x400
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call fcn.1003a980
add esp, 0xc
cmp dword [esi + 0xc], ebx
je 0x10001b4c
mov dword [esi + 0xc], ebx
cmp dword [esi + 8], ebx
jne 0x10001b4c
push edi
push str..GlobalPipe_s
lea eax, [ebp - 0x404]
push 0x3ff
push eax
call fcn.100014b9
add esp, 0x10
lea eax, [ebp - 0x404]
push ebx
push 0x40000000
push 3
push ebx
push ebx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 8], eax
test eax, eax
je 0x10001b60
cmp eax, 0xffffffff
je 0x10001b60
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [esi + 0xc4], eax
test eax, eax
jne 0x10001a92
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
xor eax, eax
jmp 0x10001b4f
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [esi + 0xec], eax
test eax, eax
je 0x10001a84
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [esi + 0x114], eax
test eax, eax
je 0x10001a84
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push ebx
push esi
push 0x10002596
push ebx
push ebx
call edi
mov dword [esi + 0xc0], eax
test eax, eax
je 0x10001a84
push ebx
push ebx
push esi
push 0x10002665
push ebx
push ebx
call edi
mov dword [esi + 0xe8], eax
test eax, eax
je 0x10001a84
push ebx
push ebx
push esi
push 0x10002734
push ebx
push ebx
call edi
mov dword [esi + 0x110], eax
test eax, eax
je 0x10001a84
push ebx
push ebx
push esi
push 0x10002456
push ebx
push ebx
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x10001a84
push ebx
push ebx
lea ecx, [esi + 0x10]
mov dword [ebp - 0x408], ebx
call fcn.100035a2
push eax
push str.MethodSupport
lea ecx, [ebp - 0x408]
call fcn.1000319f
lea eax, [ebp - 0x408]
mov ecx, esi
push eax
call fcn.10001da4
push dword [ebp - 0x408]
call fcn.1007abd0
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001fb78
leave
ret 4
mov dword [esi + 8], ebx
jmp 0x10001a84
Function at 0x10007be4
Capabilities:
Create process on windows

Disassembly:
push 0x4d4
mov eax, 0x1007e79e
call fcn.1001fc07
mov edi, ecx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [ebx + 0x108]
mov eax, dword [ecx]
call dword [eax + 4]
and dword [ebp - 4], 0
mov ecx, eax
call sub.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x4dc]
call fcn.10006f10
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call sub.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov esi, dword [ebp - 0x4dc]
push str.sysclosebutton
push esi
call fcn.100096be
pop ecx
pop ecx
test eax, eax
je 0x10007d9f
push str.btn_cancel
push esi
call fcn.100096be
pop ecx
pop ecx
test eax, eax
je 0x10007d9f
push str.sysminbutton
push esi
call fcn.100096be
pop ecx
pop ecx
test eax, eax
jne 0x10007c7c
push eax
push 0xf020
jmp 0x10007da6
push str.btn_inst
push esi
call fcn.100096be
pop ecx
pop ecx
test eax, eax
jne 0x10007c99
mov ecx, edi
call fcn.100096f4
jmp 0x10007db4
push str.btn_browser
push esi
call fcn.100096be
pop ecx
pop ecx
test eax, eax
jne 0x10007d3c
mov ecx, dword [ebx + 0x108]
mov eax, dword [ecx]
call dword [eax + 0xbc]
mov ecx, eax
call sub.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x4e0]
call fcn.10006f10
push 1
push dword [ebp - 0x4e0]
lea ecx, [ebp - 0x4d8]
push dword [edi + 4]
call fcn.10006e92
mov byte [ebp - 4], 4
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x4d8]
call fcn.10007b6a
cmp eax, 1
jne 0x10007d20
mov ecx, dword [edi + 0x6f4]
lea edx, [ebp - 0x2a6]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
lea eax, [ebp - 0x2a6]
mov ecx, edi
push eax
call fcn.10009839
push dword [ebp - 0x9c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x4e0]
lea ecx, [ecx - 0x10]
call fcn.1000918a
jmp 0x10007db4
push str.btn_ok
push esi
call fcn.100096be
pop ecx
pop ecx
test eax, eax
jne 0x10007d53
push eax
push eax
push 0x10
jmp 0x10007dab
push str.btn_license
push esi
call fcn.100096be
pop ecx
pop ecx
test eax, eax
jne 0x10007dba
mov ecx, dword [ebx + 0x108]
mov eax, dword [ecx]
call dword [eax + 0xbc]
mov ecx, eax
call sub.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x4e0]
call fcn.10006f10
push 1
xor eax, eax
push eax
push eax
push dword [ebp - 0x4e0]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x10007d2c
push 0
push 0xf060
push 0x112
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [ebp - 0x4dc]
lea ecx, [esi - 0x10]
call fcn.1000918a
call fcn.1001fbb1
ret 4
Function at 0x10009504
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
push 4
pop eax
test esi, esi
lea ebx, [esi - 0x348]
cmove ebx, eax
push eax
mov dword [ebp - 0x14], ebx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
and dword [ebp - 8], 0
mov edi, eax
and dword [ebp - 0xc], 0
xor eax, eax
inc eax
mov dword [ebp - 0x10], edi
push eax
push dword [ebx]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000963f
lea eax, [esi + 0x1c]
cmp dword [ebp - 4], 0
je 0x100095a3
mov ebx, dword [ebp - 4]
lea edi, [esi + 0x1c]
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x10009597
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 8]
call dword [eax + 4]
inc dword [ebp - 8]
test eax, eax
jne 0x10009593
xor ebx, ebx
test ebx, ebx
jne 0x1000956d
mov edi, dword [ebp - 0x10]
lea eax, [esi + 0x1c]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x14]
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x1000962c
test eax, eax
je 0x1000963f
cmp dword [esi + 0x20], 0x10
jne 0x100095df
mov eax, dword [esi + 0x1c]
cmp eax, dword [ebx]
jne 0x100095df
mov eax, dword [esi + 0x24]
push 1
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
lea ecx, [esi + 0x1c]
push ecx
mov ecx, esi
call dword [eax]
test eax, eax
jne 0x10009601
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [esi + 0x20]
cmp eax, 0x12
je 0x1000963f
sub eax, 0xf
je 0x1000962c
sub eax, 0x91
je 0x1000962c
sub eax, 0x78
je 0x1000962c
sub eax, 0xe8
je 0x1000962c
and dword [ebp - 8], 0
mov dword [ebp - 4], 1
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
lea eax, [esi + 0x1c]
jne 0x10009561
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x20], 0x12
jne 0x1000965e
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0xc], 0
pop edi
pop esi
setne al
pop ebx
leave
ret
Function at 0x10009781
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1009f1f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
push 4
pop eax
test edi, edi
mov dword [ebp - 0x18], edi
lea ebx, [edi - 0x384]
cmove ebx, eax
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10009829
push esi
push dword [edi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10009828
push dword [ebx]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x1000981d
push dword [ebx]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x1000981d
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1000981d
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.1000772d
cmp dword [ebp + 8], 0
lea edi, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov esi, eax
lea eax, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
lea ecx, [ecx + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x10009811
push 1
push eax
call fcn.1000834c
jmp 0x10009828
push 0x50
push eax
push dword [ebx]
call fcn.100094da
jmp 0x10009828
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001fb78
leave
ret 4

Function at 0x10009839
Capabilities:
Get disk information

Disassembly:
push 8
mov eax, 0x1007e8ab
call fcn.1001fbd3
mov dword [ebp - 0x14], ecx
call fcn.100081c1
push eax
lea ecx, [ebp - 0x10]
call fcn.10006ee7
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
test edi, edi
je 0x100098b0
push edi
call fcn.1000757f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.10009466
push 3
lea ecx, [ebp - 0x10]
call fcn.10008d1b
push 3
lea ecx, [ebp - 0x10]
call fcn.1000927b
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x100098b3
push edi
call fcn.1000757f
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push edi
add ecx, 0x708
call fcn.10009466
inc ebx
jmp 0x100098b3
mov esi, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
call fcn.1000918a
mov eax, ebx
call fcn.1001fb9c
ret 4