joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4787b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x478901
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x110
jne 0x4787f2
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push ecx
push edx
push ebx
mov ecx, edi
call fcn.00478420
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18
mov esi, dword [ebp + 0x10]
cmp ebx, 0x111
jne 0x4788bd
mov edx, 1
cmp dx, si
jne 0x47882c
mov eax, dword [edi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
mov dword [ecx], 0
mov eax, 1
pop ebx
pop ebp
ret 0x18
mov edx, 2
cmp dx, si
je 0x47880b
mov edx, 0x3fb
cmp dx, si
jne 0x478865
mov ecx, dword [ebp + 0x14]
lea eax, [ebp + 0x10]
push eax
push ecx
push edx
shr esi, 0x10
push esi
mov ecx, edi
call fcn.004786d0
mov edx, dword [ebp + 0x18]
pop edi
pop esi
mov dword [edx], eax
mov eax, 1
pop ebx
pop ebp
ret 0x18
mov eax, 0x4b1
cmp ax, si
jne 0x478894
mov edx, dword [ebp + 0x14]
lea ecx, [ebp + 0x10]
push ecx
push edx
push eax
shr esi, 0x10
push esi
mov ecx, edi
call fcn.00477ac0
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
mov dword [ecx], eax
mov eax, 1
pop ebx
pop ebp
ret 0x18
mov edx, 0x803e
cmp dx, si
jne 0x4788bd
mov ecx, 0x4eff30
call fcn.00464980
mov eax, dword [ebp + 0x18]
pop edi
pop esi
mov dword [eax], 0
mov eax, 1
pop ebx
pop ebp
ret 0x18
mov edx, dword [ebp + 0x14]
lea ecx, [ebp + 0x10]
push ecx
push edx
push esi
push ebx
mov ecx, edi
mov dword [ebp + 0x10], 1
call fcn.0045a760
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4787e6
mov eax, dword [ebp + 0x14]
push 0
push ecx
mov ecx, dword [ebp + 8]
push eax
push esi
push ebx
push ecx
lea ecx, [edi + 0x24]
call fcn.00478660
test eax, eax
jne 0x4787e6
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18
Function at 0x4789e0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push esi
mov esi, dword [ebp + 0xc]
test byte [esi + 0xc], 1
push edi
mov edi, dword [esi + 0x30]
mov dword [ebp - 0x2bc], eax
je 0x478a3f
mov edx, dword [edi + 4]
push 0x208
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push edx
call ebx
test eax, eax
je 0x478a3f
mov ecx, dword [esi + 0x1c]
lea eax, [ebp - 0x2ac]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
test byte [esi + 0xc], 2
je 0x478a6b
mov eax, dword [edi + 4]
push 0xc009
push 0x2b4
lea edx, [ebp - 0x2b8]
push edx
push 0
push eax
call ebx
test eax, eax
je 0x478a6b
mov ecx, dword [ebp - 0x2b4]
mov dword [esi + 0x24], ecx
test byte [esi + 0xc], 0x20
je 0x478ab3
mov eax, dword [edi + 4]
push 0x400b
push 0x2b4
lea edx, [ebp - 0x2b8]
push edx
push 0
push eax
call ebx
test eax, eax
je 0x478aa5
mov ecx, dword [ebp - 0x2b4]
mov edx, dword [ebp - 0x2bc]
mov dword [esi + 0x28], ecx
mov dword [edx], 0
jmp 0x478abf
mov eax, dword [ebp - 0x2bc]
mov dword [eax], 0
jmp 0x478abf
mov ecx, dword [ebp - 0x2bc]
mov dword [ecx], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00499155
mov esp, ebp
pop ebp
ret 0xc
Function at 0x479b60
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [eax], 1
mov byte [ebx + 0x78c], 1
mov eax, dword [esi + 0x20]
test eax, eax
je 0x479d0d
cmp word [eax], 0
je 0x479d0d
push 0x5c
push eax
call fcn.00433dc0
add esp, 8
cmp eax, 0xffffffff
jne 0x479d0d
mov eax, dword [esi + 0x20]
push 0x2f
push eax
call fcn.00433dc0
add esp, 8
cmp eax, 0xffffffff
jne 0x479d0d
mov ecx, dword [esi + 0x20]
push ecx
mov ecx, 0x4efc00
call fcn.00463ef0
push eax
mov ecx, 0x4efc00
call fcn.0044e2d0
test eax, eax
je 0x479c2d
mov edx, dword [esi + 0x20]
push edx
push 0x113
call fcn.004966e0
add esp, 4
push eax
lea eax, [ebp - 0x21c]
push 0x208
push eax
call fcn.004342c0
push 0
call fcn.004966e0
mov edx, dword [ebx + 4]
add esp, 0x14
push 0x10
push eax
lea ecx, [ebp - 0x21c]
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x479d0d
mov eax, dword [esi + 0x20]
push edi
mov edi, dword [esi + 0x2c]
push eax
mov ecx, edi
call fcn.0044cbb0
test byte [edi + 0x6d0], 1
jne 0x479c91
push 0x410
push 0x2b4
lea ecx, [ebp - 0x2c8]
push ecx
push 0x80
mov ecx, edi
call fcn.00403fa0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add edi, 0x620
test eax, eax
je 0x479c83
lea edx, [ebp - 0xb4]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x479cdc
push 0x4ccd04
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x479cdc
mov ecx, edi
call fcn.0044cbf0
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, edi
call fcn.00403fa0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call esi
push 0x4c47c4
lea edx, [ebp - 0x21c]
push edx
call esi
lea eax, [ebp - 0x21c]
push eax
mov ecx, 0x4efc00
call fcn.0044ed90
mov edx, dword [ebx + 0x4dc]
lea ecx, [ebp - 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebx + 0x4dc]
push 1
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
mov ecx, 0x4e83f4
call fcn.00443190
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00499155
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47a360
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x2b0
lea eax, [ebp - 0x2b4]
push 0
push eax
mov esi, ecx
mov dword [ebp - 0x2b8], 0
call fcn.00499330
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add esp, 0xc
push 0x4101
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push 0x4ccd04
call ebx
mov edx, dword [esi + 0xbac]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x1003
push edx
call edi
push 0x4100
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
push 0x4ccd04
call ebx
mov ecx, dword [esi + 0xbac]
push eax
push 0
push 0x1003
push ecx
call edi
push 5
push 4
push 0x20
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0x4c7b1c
mov dword [esi + 0x77c], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
push 0x20
push 0x10
push 0x10
push 1
mov ebx, eax
push 4
push ebx
call edi
push ebx
mov dword [ebp - 0x2bc], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x2bc]
mov eax, dword [esi + 0x77c]
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push edx
push 0xffffffffffffffff
push eax
call ebx
mov ecx, dword [ebp - 0x2bc]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edx, dword [0x4effcc]
push 0x20
push 0x10
push 0x10
push 1
push 0xd5
push edx
call edi
push eax
mov dword [ebp - 0x2bc], eax
push 0xffffffffffffffff
mov eax, dword [esi + 0x77c]
push eax
call ebx
mov ecx, dword [ebp - 0x2bc]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edx, dword [0x4effcc]
push 0x20
push 0x10
push 0x10
push 1
push 0xd4
push edx
call edi
push eax
mov dword [ebp - 0x2bc], eax
mov eax, dword [esi + 0x77c]
push 0xffffffffffffffff
push eax
call ebx
mov ecx, dword [ebp - 0x2bc]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edx, dword [0x4effcc]
push 0x20
push 0x10
push 0x10
push 1
push 0xd3
push edx
call edi
push eax
mov dword [ebp - 0x2bc], eax
mov eax, dword [esi + 0x77c]
push 0xffffffffffffffff
push eax
call ebx
mov ecx, dword [ebp - 0x2bc]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edx, dword [0x4effcc]
push 0x20
push 0x10
push 0x10
push 1
push 0xd6
push edx
call edi
mov edi, eax
mov eax, dword [esi + 0x77c]
push edi
push 0xffffffffffffffff
push eax
call ebx
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [esi + 0x77c]
mov edx, dword [esi + 0x4dc]
push ecx
push 0
push 0x1109
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00499155
mov esp, ebp
pop ebp
ret
Function at 0x47a6b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
lea eax, [ebp + 8]
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esi + 0x788]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x110a
push edx
call ebx
mov edi, eax
mov eax, dword [esi + 0x788]
push edi
push 2
push 0x1102
push eax
call ebx
mov ecx, dword [esi + 0x788]
push edi
push 4
push 0x110a
push ecx
call ebx
mov edi, eax
test edi, edi
je 0x47a789
lea ecx, [ecx]
xor eax, eax
lea edx, [ebp - 0x2c]
push edx
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x788]
push 0x113e
push eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], 4
call ebx
mov edx, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
push edx
mov ecx, dword [eax + 8]
mov eax, dword [eax]
push eax
mov dword [ebp - 4], ecx
mov ecx, dword [ecx]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x1c]
push 0x10000000
push edx
call eax
push edi
test eax, eax
je 0x47a794
mov ecx, dword [esi + 0x788]
push 6
push 0x110a
push ecx
call ebx
mov edi, eax
test edi, edi
jne 0x47a710
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 0x788]
push 9
push 0x110b
push edx
mov byte [esi + 0x990], 0
call ebx
mov eax, dword [esi + 0x788]
push edi
push 2
push 0x1102
push eax
call ebx
mov al, 1
pop edi
mov byte [esi + 0x990], al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x47b7d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4e87c9], 0
push esi
sete al
mov byte [0x4e87c9], al
movzx eax, al
neg eax
sbb eax, eax
mov esi, ecx
mov ecx, dword [esi + 0x28]
and eax, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
cmp byte [0x4e87c9], dl
push 0
setne dl
lea ecx, [esi + 0x3c]
push edx
push 0xe801
call fcn.004495e0
mov ecx, dword [esi + 4]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push ecx
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea edx, [ebp - 0x14]
push edx
mov ecx, esi
call fcn.004792d0
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x47b875
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
push 0x14
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x14]
sub edx, ecx
push edx
push eax
push ecx
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00499155
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47b940
Capabilities:
List drag and drop files
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9106
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x7f02
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
mov dword [ebp - 0x224], eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x220], eax
mov byte [ebp - 0x21c], 1
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x47ba36
push 0xf
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x47ba30
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x47ba30
push 0
lea ecx, [ebp - 0x258]
call fcn.00442820
push 0
push 0
push 0xffffffffffffffff
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x47ba21
push 0x103
lea ecx, [ebp - 0x218]
push ecx
push esi
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
test eax, eax
je 0x47ba1c
push 0
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x258]
call fcn.00446790
inc esi
cmp esi, ebx
jb 0x47b9f0
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0
call fcn.00442840
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47df30
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x914
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x8ec], ecx
push eax
mov ecx, esi
mov dword [ebp - 0x8d4], eax
call fcn.0047ab50
mov ebx, eax
test ebx, ebx
jne 0x47df7b
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov dword [ebp - 0x910], eax
lea edx, [ebp - 0x914]
push edx
mov dword [ebp - 0x90c], eax
mov dword [ebp - 0x908], eax
mov dword [ebp - 0x904], eax
mov dword [ebp - 0x900], eax
mov dword [ebp - 0x8fc], eax
mov dword [ebp - 0x8f8], eax
mov dword [ebp - 0x8f4], eax
mov dword [ebp - 0x8f0], eax
lea eax, [esi + 0x788]
push 0
mov dword [ebp - 0x8e8], eax
mov eax, dword [eax]
push 0x113e
push eax
mov dword [ebp - 0x910], ebx
mov dword [ebp - 0x914], 4
call dword [sym.imp.USER32.dll_SendMessageW]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x8f0]
mov dword [ebp - 0x8e0], eax
je 0x47df67
mov edx, dword [ebp - 0x8ec]
push edi
lea ecx, [ebp - 0x20c]
push ecx
lea edi, [esi + 0xbe0]
push edx
mov ecx, edi
call fcn.00441930
mov ecx, dword [ebp - 0x8d4]
lea eax, [ebp - 0x61c]
push eax
push ecx
mov ecx, edi
call fcn.00441930
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x61c]
push ecx
call fcn.00433e00
lea edx, [ebp - 0x414]
push edx
call fcn.00433e00
add esp, 8
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea edx, [ebp - 0x20c]
test eax, eax
je 0x47e09c
mov eax, dword [ebp - 0x8d4]
push edx
push eax
mov ecx, esi
call fcn.0047d6c0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x8e4]
push ecx
push edx
mov ecx, edi
call fcn.00441c80
test al, al
jne 0x47e0c2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x8e4]
lea eax, [ebp - 0x8d8]
push eax
lea ecx, [ebp - 0x8dc]
push ecx
push edx
mov ecx, edi
call fcn.004418c0
mov eax, dword [ebp - 0x8d8]
mov esi, dword [ebp - 0x8e0]
mov dword [esi], eax
mov ecx, dword [ebp - 0x8d8]
mov edx, dword [ebp - 0x8dc]
push ecx
push edx
mov ecx, edi
call fcn.00441960
push 0x208
push 0x2b4
lea ecx, [ebp - 0x8d0]
push ecx
push 0
push eax
mov dword [esi + 4], eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x47e135
mov ecx, dword [ebp - 0x8e8]
lea edx, [ebp - 0x8c4]
push edx
push ebx
call fcn.00443c60
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00499155
mov esp, ebp
pop ebp
ret 8
Function at 0x47e2b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9238
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov esi, ecx
push 9
mov dword [eax], 1
mov eax, dword [esi + 0x788]
push 0x110a
push eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x47e3f7
mov edx, dword [esi + 0x788]
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0x113e
push edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 4
call edi
neg eax
sbb eax, eax
and eax, dword [ebp - 0x18]
mov edi, eax
je 0x47e3f7
push 0x3c
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00499330
mov ecx, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], str.properties
mov dword [ebp - 0x7c], 0xc
mov edx, dword [edi + 4]
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x5c], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
je 0x47e3f7
push str.ShellExecuteEx:
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00403450
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00403350
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x47e3cc
mov esi, dword [eax]
jmp 0x47e3ce
mov esi, eax
push 0
call fcn.004966e0
add esp, 4
push 0x10
push eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 4]
push esi
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x30]
call fcn.004016d0
mov eax, 0x47e3f7
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47e4d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b92a6
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
push 0x7f02
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov ebx, dword [sym.imp.USER32.dll_SetCursor]
push eax
mov dword [ebp - 0x2e4], eax
call ebx
mov dword [ebp - 0x2e0], eax
mov byte [ebp - 0x2dc], 1
mov esi, dword [esi + edi*4 - 0x810]
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00420760
cmp dword [eax + 0x14], 8
jb 0x47e549
mov eax, dword [eax]
mov ax, word [eax]
mov word [ebp - 0x18], ax
xor eax, eax
push 0x43
mov dword [ebp - 0x16], 0x5c003a
mov word [ebp - 0x12], ax
call fcn.004966e0
add esp, 4
push eax
lea ecx, [ebp - 0x198]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor edx, edx
push edx
push edx
push edx
push edx
push edx
push 0x3f
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov word [ebp - 0x98], dx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp word [ebp - 0x98], 0
je 0x47e5df
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x198]
push eax
call edi
push str.__X:_
lea ecx, [ebp - 0x198]
push ecx
call edi
lea edx, [ebp - 0x198]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov cx, word [ebp - 0x18]
mov word [ebp + eax*2 - 0x19e], cx
jmp 0x47e60a
push 0x4c8c30
lea edx, [ebp - 0x198]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov cx, word [ebp - 0x18]
mov word [ebp + eax*2 - 0x19c], cx
push esi
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00473310
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00438d80
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0
call fcn.00473240
mov ecx, dword [ebp - 0x2e0]
push ecx
call ebx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4828d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push ecx
mov eax, esp
push 0x10000
push 0x56000000
push 0
push ecx
mov dword [eax], 0
mov eax, esp
mov esi, ecx
mov dword [eax], 0x4e81cc
mov eax, dword [esi + 4]
push eax
lea ecx, [esi + 0x138]
call fcn.00482540
push 0
push ecx
mov dword [esi + 0x2c], eax
mov eax, esp
push 0
push 0x56000000
mov dword [esi + 0x17c], 2
push 0
mov dword [esi + 0x198], 6
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], 0x4e81cc
mov eax, dword [esi + 0x13c]
push eax
lea ecx, [esi + 0x310]
call fcn.00482120
lea ecx, [esi + 0x310]
call fcn.004585c0
push 0
push ecx
mov eax, esp
push 0x10000
push 0x56000000
push 0
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], 0x4e81cc
mov eax, dword [esi + 0x13c]
push eax
lea ecx, [esi + 0x1a0]
call fcn.004820a0
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [ebp - 0x14]
xor eax, eax
push ecx
push edx
mov dword [esi + 0x1e4], 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call ebx
push 1
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.004792d0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4829f7
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
push 0x14
push ecx
mov ecx, dword [ebp - 0x14]
sub edx, ecx
push edx
mov edx, dword [ebp - 0x10]
push edx
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push ecx
mov eax, esp
push 0x200
push 0x56010000
push 0
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], 0x4e81cc
mov eax, dword [esi + 0x13c]
push eax
lea ecx, [esi + 0x500]
call fcn.00482420
mov ecx, dword [esi + 0x2c]
lea eax, [ebp - 0x24]
push eax
push ecx
call ebx
cmp byte [esi + 0x99d], 0
lea ecx, [esi + 0x15c]
je 0x482aaa
mov edx, dword [esi + 0x504]
mov byte [esi + 0x992], 1
mov dword [esi + 0x15c], edx
call fcn.00459c40
mov eax, dword [esi + 0x15c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x482a7c
mov ecx, dword [esi + 0x15c]
push 5
push ecx
call ebx
mov edx, dword [esi + 0x160]
push 0
push edx
call ebx
xor eax, eax
cmp dword [esi + 0x178], eax
je 0x482a97
mov dword [esi + 0x178], eax
lea ecx, [esi + 0x15c]
mov dword [esi + 0x19c], eax
call fcn.00459c40
jmp 0x482ae9
mov eax, dword [esi + 0x314]
mov dword [esi + 0x160], eax
call fcn.00459c40
mov ecx, dword [esi + 0x1a4]
mov dword [esi + 0x15c], ecx
lea ecx, [esi + 0x15c]
call fcn.00459c40
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
push 1
sub edx, 0x1e
push edx
lea ecx, [esi + 0x15c]
call fcn.00459ee0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push 1
sub eax, 0x1e
cdq
sub eax, edx
sar eax, 1
push eax
lea ecx, [esi + 0x1c4]
call fcn.00459ee0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00499155
mov esp, ebp
pop ebp
ret