joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4faaa0
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x334
mov eax, dword [0x596f48]
xor eax, esp
mov dword [esp + 0x330], eax
push esi
lea eax, [esp + 0x114]
push eax
call fcn.00522730
lea ecx, [esp + 0x114]
push ecx
push 0x553a88
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
xor esi, esi
call fcn.004ade80
test eax, eax
je 0x4fabdb
lea edx, [esp + 4]
push edx
call fcn.00522730
lea eax, [esp + 0x224]
push eax
mov esi, 2
call fcn.00522730
push 0
lea ecx, [esp + 0x228]
push ecx
call fcn.004acea0
mov edx, dword [esp + 0x22c]
push edx
lea eax, [esp + 8]
push str.__s___startup
push eax
call fcn.00523500
add esp, 0xc
call fcn.004a3690
test eax, eax
je 0x4fab4e
call fcn.004a3690
push eax
lea ecx, [esp + 8]
push str.__instance___s_
push ecx
call fcn.005236a0
add esp, 0xc
mov eax, dword [0x598104]
cmp dword [eax + 0x10], 0
je 0x4fab6f
mov edx, dword [eax + 0x10]
push edx
lea eax, [esp + 8]
push str.__config___s_
push eax
call fcn.005236a0
add esp, 0xc
lea ecx, [esp + 0x224]
push ecx
call fcn.00401260
mov edx, dword [esp + 0x11c]
push edx
push str.reg:__s_n
call fcn.0048f0a0
mov eax, dword [esp + 0x14]
push eax
push str.set:__s_n
call fcn.0048f0a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x12c]
mov dl, byte [eax]
add esp, 0x10
cmp dl, byte [ecx]
jne 0x4fabc2
test dl, dl
je 0x4fabcc
mov dl, byte [eax + 1]
add eax, 1
add ecx, 1
cmp dl, byte [ecx]
je 0x4fabb1
movzx ecx, byte [ecx]
movzx eax, byte [eax]
sub eax, ecx
jne 0x4fabd1
mov esi, 1
lea edx, [esp + 4]
push edx
call fcn.00401260
lea eax, [esp + 0x114]
push eax
call fcn.00401260
mov ecx, dword [esp + 0x334]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0054899c
add esp, 0x334
ret
Function at 0x4ff420
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x224
mov eax, dword [0x596f48]
xor eax, esp
mov dword [esp + 0x220], eax
push 0x553a88
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call fcn.004b3170
lea eax, [esp]
push eax
call fcn.00522730
lea ecx, [esp + 0x110]
push ecx
call fcn.00522730
push 0
lea edx, [esp + 0x114]
push edx
call fcn.004acea0
mov eax, dword [esp + 0x118]
push eax
lea ecx, [esp + 4]
push str.__s___startup
push ecx
call fcn.00523500
add esp, 0xc
call fcn.004a3690
test eax, eax
je 0x4ff4a8
call fcn.004a3690
push eax
lea edx, [esp + 4]
push str.__instance___s_
push edx
call fcn.005236a0
add esp, 0xc
mov eax, dword [0x598104]
cmp dword [eax + 0x10], 0
je 0x4ff4c9
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 4]
push str.__config___s_
push ecx
call fcn.005236a0
add esp, 0xc
lea edx, [esp + 0x110]
push edx
call fcn.00401260
mov eax, dword [esp + 8]
push eax
push 0x553a88
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call fcn.004b3080
lea ecx, [esp]
push ecx
call fcn.00401260
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0054899c
add esp, 0x224
ret
Function at 0x511fe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, dword [esp + 0x60]
push edi
mov edi, eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x34], ebp
cmp byte [edi], 0
je 0x5120ef
mov al, byte [edi]
cmp al, 0x25
jne 0x5120b1
mov al, byte [edi + 1]
add edi, 1
cmp al, 0x25
jne 0x51206b
cmp byte [esi], al
jne 0x5120f4
add esi, 1
add edi, 1
jmp 0x5120e6
cmp al, 0x30
jb 0x5120a8
cmp al, 0x39
ja 0x5120a8
movzx ebx, al
sub ebx, 0x30
add edi, 1
mov dword [esp + ebx*4 + 0x38], esi
cmp byte [esi], 0
je 0x5120a0
mov eax, dword [esp + 0x68]
push eax
lea ecx, [esi + ebp]
mov eax, edi
call fcn.00511a10
test eax, eax
jne 0x5120a0
add ebp, 1
cmp byte [esi + ebp], al
jne 0x512085
mov dword [esp + ebx*4 + 0x10], ebp
add esi, ebp
jmp 0x5120e4
test al, al
je 0x5120ef
add edi, 1
jmp 0x5120e6
cmp dword [esp + 0x68], ebp
je 0x5120c3
cmp byte [esi], al
jne 0x5120f4
add esi, 1
add edi, 1
jmp 0x5120e6
push esi
call fcn.00521900
push edi
mov ebx, eax
call fcn.00521900
mov ebp, eax
push ebp
push edi
push ebx
push esi
call fcn.00414440
test eax, eax
jne 0x5120f4
add esi, ebx
add edi, ebp
xor ebp, ebp
cmp byte [edi], 0
jne 0x512048
cmp byte [esi], 0
je 0x51210d
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
push ecx
push edx
call fcn.00523040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x10
mov eax, dword [esp + 0x6c]
push ebp
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
call fcn.00511ac0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x10
Function at 0x518920
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x24
push edi
mov edi, dword [esp + 0x2c]
push 0
push edi
call fcn.00516010
mov eax, dword [esp + 0x30]
test eax, eax
je 0x518947
push eax
call fcn.004b7100
mov dword [edi + 0x28], 0
jmp 0x518965
mov eax, dword [0x58a6dc]
mov ecx, dword [0x58a6e4]
push eax
push ecx
push 0x55068a
call fcn.004b68e0
mov dword [edi + 0x28], 1
test eax, eax
mov dword [edi + 0x14], eax
je 0x518b79
mov edx, dword [esp + 0x34]
push ebp
or eax, 0xffffffff
push esi
mov esi, dword [0x597d94]
mov dword [edi + 8], eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov eax, dword [esp + 0x40]
push 0x7f00
push 0
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call esi
push eax
push 0
push 0
push 0x515e90
push str.EVERYTHING_DROPDOWNLIST_BORDER
push 0
call fcn.004a9be0
push 0x7f00
push 0
call esi
push eax
push 0
push 0
push 0x517650
push str.EVERYTHING_DROPDOWNLIST
push 0
call fcn.004a9be0
mov ecx, dword [0x59812c]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x86000000
push 0x55068a
push str.EVERYTHING_DROPDOWNLIST_BORDER
push 0x88
call fcn.004a9d30
mov cl, byte [edi + 0x184]
push 0
mov dword [edi + 0xc], eax
mov edx, dword [0x59812c]
mov eax, dword [edi + 0x60]
push edx
push 0
push eax
push 0
push 0
neg cl
push 0
push 0
push 0x86200000
push 0x55068a
push str.EVERYTHING_DROPDOWNLIST
sbb ecx, ecx
and ecx, 0x400000
or ecx, 0x88
push ecx
call fcn.004a9d30
push edi
push eax
mov dword [edi + 0x10], eax
call fcn.004ac210
mov eax, edi
call fcn.00516f00
cmp dword [edi + 0x18], 0
je 0x518a6d
push edi
call fcn.004c4580
mov edx, dword [edi + 0xc]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 8
push edx
call esi
mov eax, dword [edi + 0x10]
push 8
push eax
call esi
mov ecx, dword [edi + 0x68]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [edi + 0x10], 0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [edi], edx
mov dword [edi + 4], eax
je 0x518b4d
mov ebp, dword [0x597da8]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
call ebp
test eax, eax
je 0x518b3d
cmp dword [esp + 0x18], 0x12
je 0x518b6f
lea esi, [esp + 0x14]
call fcn.005160c0
test eax, eax
jne 0x518b54
cmp dword [esp + 0x18], 0x100
jne 0x518b00
cmp dword [esp + 0x1c], 9
je 0x518b5b
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
call dword [0x597d78]
test eax, eax
jle 0x518b62
lea eax, [esp + 0x14]
push eax
mov eax, edi
call fcn.00517b30
test eax, eax
jne 0x518b43
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x14]
push edx
call dword [0x597d54]
jmp 0x518b43
call dword [sym.imp.USER32.dll_WaitMessage]
cmp dword [edi + 0x10], 0
jne 0x518ac4
push str.no_search_history_hwnd_n
jmp 0x518b67
push str.outside_click_n
jmp 0x518b67
push str.tab_out_n
jmp 0x518b67
push str.no_getmsg_n
call fcn.0048f0a0
add esp, 4
push 0
push edi
call fcn.00516010
pop esi
pop ebp
pop edi
add esp, 0x24
ret 0x10
Function at 0x5243c0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
push ebx
push edi
push 1
push eax
xor edi, edi
call fcn.004a9410
mov ebx, eax
cmp ebx, 0xffffffff
je 0x52446d
push esi
lea ecx, [esp + 0xc]
push ecx
push ebx
call fcn.004ab260
test eax, eax
je 0x524465
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, edx
or eax, ecx
je 0x524456
mov eax, edx
add eax, 1
adc ecx, edi
mov esi, eax
or esi, ecx
je 0x524465
test ecx, ecx
jg 0x524465
jl 0x524416
cmp eax, 0x80000000
jae 0x524465
mov esi, dword [esp + 0x18]
add edx, 1
push edx
push esi
call fcn.00522750
test eax, eax
je 0x524465
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 8]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push edx
push ebx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x524465
mov eax, dword [esi]
cmp dword [esp + 0x1c], eax
jne 0x524465
mov ecx, dword [esi + 8]
mov byte [eax + ecx], 0
jmp 0x524460
mov edx, dword [esp + 0x18]
push edx
call fcn.00523180
mov edi, 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
pop edi
pop ebx
add esp, 8
ret 8

Function at 0x528860
Capabilities:
Encode data using xor

Disassembly:
mov dl, byte [eax + 0x34]
push ebx
push esi
xor esi, esi
cmp dword [eax + 0x38], esi
lea ebx, [esi + 1]
jle 0x52889a
push ebp
push edi
movzx edi, dl
mov ecx, dword [eax + 0x260]
mov ebp, ecx
shr ebp, 0x18
xor ebp, edi
shl ecx, 8
xor ecx, dword [ebp*4 + 0x596210]
add esi, ebx
mov dword [eax + 0x260], ecx
cmp esi, dword [eax + 0x38]
jl 0x528874
pop edi
pop ebp
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], bl
mov esi, dword [eax + 0x38]
mov ecx, esi
sub ecx, ebx
je 0x528922
sub ecx, ebx
je 0x528907
sub ecx, ebx
je 0x5288fb
mov byte [esi + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
Function at 0x5482c8
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x52c
mov eax, dword [0x596f48]
mov dword [ebp - 4], eax
mov eax, dword [0x58de80]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x5482f7
call eax
cmp eax, ebx
mov dword [ebp - 0x528], eax
jne 0x548484
push dword [0x596eb0]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x528], eax
je 0x548484
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x54832f
mov byte [ebp - 0x41c], bl
push esi
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x548347
mov byte [ebp - 0x524], bl
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x528]
call edi
test eax, eax
jne 0x548368
mov byte [ebp - 0x10c], bl
push esi
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call edi
test eax, eax
pop edi
jne 0x548385
mov byte [ebp - 0x214], bl
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0054822b
lea eax, [ebp - 0x52c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5483a8
sub eax, edx
mov ecx, eax
lea eax, [ebp - 0x314]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x5483bc
sub eax, esi
add eax, ecx
mov byte [ebp + eax - 0x213], bl
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0054822b
lea eax, [ebp - 0x52c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x5483f1
sub eax, ecx
lea ecx, [ebp - 0x314]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x548403
sub ecx, esi
add ecx, eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x524]
push eax
mov byte [ebp + ecx - 0x10b], bl
call fcn.0054815c
test eax, eax
pop esi
jne 0x548444
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x524]
push eax
call fcn.0054815c
test eax, eax
jne 0x548472
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.0054815c
test eax, eax
jne 0x548484
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.0054815c
test eax, eax
je 0x548484
push dword [ebp - 0x528]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x528], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x528]
pop ebx
call fcn.0054899c
leave
ret

Function at 0x54899c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x596f48]
jne 0x5489a6
repz ret
jmp fcn.00549bfe
Function at 0x54bd00
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x597280]
je 0x54bd1b
inc edi
cmp edi, 0x17
jb 0x54bd0c
cmp edi, 0x17
jae 0x54be9b
push ebp
push 3
call fcn.0054dfd0
cmp eax, 1
pop ecx
je 0x54be67
push 3
call fcn.0054dfd0
test eax, eax
pop ecx
jne 0x54bd4f
cmp dword [0x596f50], 1
je 0x54be67
cmp ebx, 0xfc
je 0x54be9a
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x5987c8
push ebp
call fcn.0054df6b
add esp, 0xc
test eax, eax
je 0x54bd85
push esi
push esi
push esi
push esi
push esi
call fcn.0054ae85
add esp, 0x14
push 0x104
mov esi, 0x5987e1
push esi
push 0
mov byte [0x5988e5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x54bdc9
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0054df6b
add esp, 0xc
test eax, eax
je 0x54bdc9
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0054ae85
add esp, 0x14
push esi
call fcn.0054dee0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x54be0e
push esi
call fcn.0054dee0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x598adc
push 0x56f2cc
sub ecx, eax
push ecx
push eax
call fcn.0054de2b
add esp, 0x14
test eax, eax
je 0x54be0e
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0054ae85
add esp, 0x14
jmp 0x54be10
xor esi, esi
push 0x5866b0
push ebx
push ebp
call fcn.0054ddba
add esp, 0xc
test eax, eax
je 0x54be30
push esi
push esi
push esi
push esi
push esi
call fcn.0054ae85
add esp, 0x14
push dword [edi*8 + 0x597284]
push ebx
push ebp
call fcn.0054ddba
add esp, 0xc
test eax, eax
je 0x54be52
push esi
push esi
push esi
push esi
push esi
call fcn.0054ae85
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0054dbfd
add esp, 0xc
jmp 0x54be9a
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x54be9a
cmp ebp, 0xffffffff
je 0x54be9a
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x597284]
push dword [esi]
call fcn.0054dee0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
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.1003a930
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.1007ab70
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001fb34
leave
ret 4
mov dword [esi + 8], ebx
jmp 0x10001a84
Function at 0x10007be4
Capabilities:
Create process on windows

Disassembly:
push 0x4d4
mov eax, 0x1007e73e
call fcn.1001fbc3
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.1001fb6d
ret 4
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.1001fb34
leave
ret 4

Function at 0x10009839
Capabilities:
Get disk information

Disassembly:
push 8
mov eax, 0x1007e84b
call fcn.1001fb8f
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.1001fb58
ret 4