joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464adb
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4c7f8b
call fcn.004c2540
sub esp, 0xc
mov eax, dword [ebp + 8]
call fcn.00460432
cmp eax, 0xffffffff
je 0x464b82
push esi
push eax
mov eax, dword [ebp + 8]
lea esi, [ebp + 8]
call fcn.00460631
cmp dword [ebp + 8], 0
je 0x464b81
mov eax, dword [0x4e9150]
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
call fcn.00404408
push dword [eax]
lea eax, [ebp - 0x10]
push str._e__select___s_
push eax
call fcn.00405c38
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
add esp, 0xc
cmp eax, dword [0x4e9154]
je 0x464b46
push eax
call fcn.004013aa
mov esi, dword [ebp - 0x10]
push 1
push 0
push esi
push str.explorer.exe
push 0x4ceec8
push dword [0x4eb3d8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0xc]
cmp eax, dword [0x4e9154]
je 0x464b75
push eax
call fcn.004013aa
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
call fcn.004043e2
pop esi
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4657d1
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4c4972
call fcn.004c2540
sub esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.0049be6f
mov dword [esp], str.Internet_Exploreriexplore.exe
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040302d
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x465810
push eax
call fcn.004013aa
mov eax, dword [0x4e9150]
mov dword [ebp - 0x10], eax
push 0x8291
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00409034
push dword [eax]
lea eax, [ebp - 0x10]
push str._s_lrcsearch.html
push eax
call fcn.00405c38
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
add esp, 0x10
cmp eax, dword [0x4e9154]
je 0x465850
push eax
call fcn.004013aa
push esi
mov esi, dword [ebp - 0x10]
push edi
mov edi, dword [ebp - 0x18]
push 1
push 0
push esi
push edi
push 0x4ceec8
push dword [0x4eb3d8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.0049bf52
lea eax, [esi - 0xc]
cmp eax, dword [0x4e9154]
je 0x465885
push eax
call fcn.004013aa
lea eax, [edi - 0xc]
cmp eax, dword [0x4e9154]
pop edi
pop esi
je 0x465898
push eax
call fcn.004013aa
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword fs:[0], ecx
leave
ret
Function at 0x468b99
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov si, word [eax + 0xc]
cmp si, 0x2e
push edi
mov edi, ecx
jne 0x468bbe
push 0
push 0x7f13
push 0x111
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x468be7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
and ax, 0xfffe
je 0x468be7
or esi, 0x20
cmp si, 0x61
jne 0x468be7
push 0xb
push 2
push 0xffffffffffffffff
add edi, 0x4f8
push edi
call fcn.0041480b
pop edi
xor eax, eax
pop esi
ret
Function at 0x46b962
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x4ea818]
push edi
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46b9e7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46b9e7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x46b9e7
movzx ecx, word [edi + 2]
lea eax, [edi + 8]
mov dword [ebp - 0xc], eax
movzx eax, word [edi + 6]
mov dword [ebp - 8], eax
movzx eax, word [edi + 4]
mov esi, ebx
call fcn.0044e59c
xor esi, esi
cmp dword [ebx + 0x48], esi
jne 0x46b9f0
push dword [ebp + 8]
call fcn.00433d66
pop ecx
shl al, 5
lea ecx, [ebx + 0x85]
xor al, byte [ecx]
mov esi, ebx
and al, 0x20
xor byte [ecx], al
movzx eax, word [edi + 6]
push eax
call fcn.00449975
test eax, eax
jne 0x46b9ee
xor eax, eax
jmp 0x46baae
xor esi, esi
cmp byte [ebp + 0xc], 0
mov dword [ebp - 4], esi
je 0x46ba14
push dword [ebp + 0x18]
movzx eax, word [ebp + 0x10]
push dword [ebp + 0x14]
push eax
movsx eax, word [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0044dff6
jmp 0x46ba4d
test byte [ebx + 0x85], 0x20
je 0x46ba39
push 0x2040
push esi
push esi
push esi
push dword [ebp + 8]
push dword [0x4ea818]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 4], eax
jmp 0x46ba4d
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [eax], ecx
lea eax, [ebp - 4]
mov dword [ebp + 0xc], esp
push eax
call fcn.00405af0
cmp dword [ebp - 4], esi
je 0x46baa4
push dword [ebx + 0xa0]
push dword [ebp - 4]
push dword [ebx + 0x48]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp eax, 0xffffffff
je 0x46baa4
mov eax, dword [ebp - 8]
cmp eax, esi
jle 0x46ba8d
mov edi, dword [ebp - 0xc]
mov dword [ebp + 0xc], eax
cmp word [edi], si
je 0x46ba86
push edi
lea esi, [ebx + 0x4c]
call fcn.0040a8c3
xor esi, esi
inc edi
inc edi
dec dword [ebp + 0xc]
jne 0x46ba76
push dword [ebx + 0x48]
mov esi, dword [ebx + 0x50]
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
cmp eax, esi
je 0x46baa1
xor esi, esi
jmp 0x46baa4
xor esi, esi
inc esi
lea ecx, [ebp - 4]
call fcn.00405ad7
mov eax, esi
pop edi
pop esi
leave
ret 0x14
Function at 0x46d7de
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4e7384]
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 0x1a0]
mov ebx, ecx
push dword [ebx]
mov dword [ebp + 0x194], eax
xor esi, esi
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], esi
call fcn.00401247
mov edi, eax
cmp edi, esi
je 0x46d82e
cmp dword [ebp - 0x70], esi
je 0x46d82a
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x46d898
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x46d849
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.0046d7de
cmp eax, esi
mov dword [ebp - 0x78], eax
jne 0x46d8b0
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x46d836
cmp dword [ebp - 0x70], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x46d87c
push dword [ebp - 0x70]
call edi
mov dword [ebp - 0x70], esi
push dword [ebp + 0x1a0]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 0x70], esi
mov ebx, eax
je 0x46d896
push dword [ebp - 0x70]
call edi
mov eax, ebx
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
pop ebx
call fcn.004c2215
add ebp, 0x198
leave
ret 4
cmp dword [ebp - 0x70], esi
je 0x46d8be
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x78]
jmp 0x46d898
Function at 0x46dbb7
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov eax, 0x10024
lea ebp, [esp - 0xffa4]
call fcn.004c2440
mov eax, dword [0x4e7384]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push edi
mov dword [ebp + 0xffa0], eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x7fa0]
push eax
xor edi, edi
push edi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x6c], edi
mov esi, 0x8000
push edi
jmp 0x46dc9f
lea eax, [ebp - 0x74]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0xffac]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46dcb5
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push edi
push 0x20006
push edi
lea eax, [ebp + 0x7fa0]
push eax
push edi
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0xffb0]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x46dd3d
push dword [ebp - 0x70]
push dword [ebp - 0x74]
call fcn.0046dbb7
pop ecx
pop ecx
push dword [ebp - 0x74]
mov dword [ebp - 0x64], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x64], edi
je 0x46dd49
inc dword [ebp - 0x6c]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x7fa0]
push eax
push edi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x6c]
push dword [ebp + 0xffac]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
call ebx
test eax, eax
je 0x46dc05
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x3fa0]
push eax
lea eax, [ebp - 0x70]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x7fa0]
push eax
mov dword [ebp - 0x64], edi
push edi
jmp 0x46dd22
push dword [ebp - 0x68]
lea eax, [ebp + 0x3fa0]
push eax
push dword [ebp - 0x70]
lea eax, [ebp + 0x7fa0]
push edi
push eax
push dword [ebp + 0xffb0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x46dd38
inc dword [ebp - 0x64]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x3fa0]
push eax
lea eax, [ebp - 0x70]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x7fa0]
push eax
push dword [ebp - 0x64]
push dword [ebp + 0xffac]
mov dword [ebp - 0x68], 0x4000
mov dword [ebp - 0x6c], esi
call ebx
test eax, eax
je 0x46dcdc
xor eax, eax
inc eax
jmp 0x46dd4b
push dword [ebp + 0xffac]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp + 0xffa0]
pop edi
pop esi
pop ebx
call fcn.004c2215
add ebp, 0xffa4
leave
ret
Function at 0x46e0b8
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x7a0]
sub esp, 0x820
mov eax, dword [0x4e7384]
push ebx
push esi
push edi
mov dword [ebp + 0x79c], eax
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x64], bx
mov ecx, 0x1ff
lea edi, [ebp - 0x62]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 0x7a8]
push 0x400
lea eax, [ebp - 0x64]
push eax
lea esi, [edi + 4]
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp + 0x7a8], eax
mov eax, dword [esi]
push eax
mov dword [ebp - 0x68], eax
call dword [sym.imp.USER32.dll_GetDC]
push dword [edi + 0x24]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
mov dword [ebp - 0x6c], eax
call edi
push 0x420
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 0x7a8]
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x6c]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x80]
push dword [ebp - 0x6c]
call edi
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
push 2
lea ecx, [ebp - 0x7c]
push ecx
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [esi]
call edi
push 0xffffffffffffffec
push dword [esi]
mov dword [ebp + 0x7a8], eax
call edi
push eax
push ebx
push dword [ebp + 0x7a8]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
push 0x16
push ebx
push esi
lea eax, [ebp - 0x7c]
call fcn.00403a68
lea esi, [ebp - 0x6c]
call fcn.00433d7b
mov ecx, dword [ebp + 0x79c]
pop edi
pop esi
pop ebx
call fcn.004c2215
add ebp, 0x7a0
leave
ret 4
Function at 0x47225b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push dword [esi + 0x23c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x472363
lea eax, [ebx + ebx + 2]
add eax, 3
and eax, 0xfffffffc
call fcn.004c2440
cmp esp, edi
mov dword [ebp - 4], esp
je 0x472363
inc ebx
push ebx
push dword [ebp - 4]
push dword [esi + 0x23c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 4]
call fcn.00403c4e
test eax, eax
je 0x472363
push edi
push edi
push 0x184
push dword [esi + 0x240]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, esi
call fcn.00471e90
mov ebx, dword [sym.imp.SHELL32.dll_ExtractIconExW]
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [ebp - 4]
call ebx
mov edi, eax
test edi, edi
jle 0x472329
lea ecx, [esi + 0x20]
or eax, 0xffffffff
call fcn.00452936
mov eax, dword [esi + 0x20]
push edi
push 0
push eax
push 0
push dword [ebp - 4]
call ebx
mov edi, eax
test edi, edi
jne 0x472309
and word [esi + 0x34], ax
jmp 0x472329
or eax, 0xffffffff
lea ecx, [esi + 0x20]
call fcn.00452936
push 0x104
push dword [ebp - 4]
lea eax, [esi + 0x34]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
push edi
lea edi, [esi + 0x240]
mov eax, edi
call fcn.0047d585
push dword [esi + 0x30]
mov eax, edi
call fcn.00447b38
push 1
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 0x30]
push 0x10428
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
lea esp, [ebp - 0xc]
pop edi
pop ebx
leave
ret
Function at 0x47282a
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4c48f4
call fcn.004c2540
sub esp, 0x18
push ebx
push esi
push 0xc8
push dword [edi + 4]
call fcn.0045a3eb
pop ecx
pop ecx
push 0
push 0x30
push 0x30
push 1
push 0x80
push dword [0x4ea814]
call dword [sym.imp.USER32.dll_LoadImageW]
lea esi, [edi + 0x54]
push eax
call fcn.004034c1
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f1
push dword [edi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x8292
lea eax, [ebp - 0x1c]
call fcn.00409034
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov dword [esp], str.__Unicode_
push eax
call fcn.00402ee8
push dword [ebp - 0x1c]
push 0x3f3
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [0x4e9150]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
push dword [0x4eb3e0]
mov esi, str.ttplayer_mail.ttplayer.com
push esi
lea eax, [ebp - 0x18]
push str.mailto:_s_subjectAbout
push eax
call fcn.00405c38
add esp, 0x10
push 0x3ed
push dword [edi + 4]
call ebx
lea edx, [edi + 0x58]
mov ecx, eax
mov eax, edx
call fcn.0040c6b8
push str.nanling
push dword [edi + 0x5c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ebx, dword [ebp - 0x18]
lea eax, [edi + 0x58]
call fcn.0046e1c3
mov eax, esi
lea esi, [edi + 0x58]
call fcn.0046e247
xor eax, eax
push eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0049b2c2
push dword [ebp - 0x10]
mov eax, dword [0x4e9150]
push dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push str._d__d__d
push eax
call fcn.00405c38
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 0x24
push dword [ebp - 0x14]
push 0x410
push dword [edi + 4]
call esi
mov eax, dword [0x4e9150]
push 0x81
push dword [0x4eaf68]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004035cf
push 0x4cffc0
push 0x4ce63c
lea eax, [ebp - 0x10]
push eax
call fcn.0040761f
mov ebx, dword [ebp - 0x10]
push ebx
push 0x431
push dword [edi + 4]
call esi
lea eax, [ebx - 0xc]
cmp eax, dword [0x4e9154]
pop esi
pop ebx
je 0x4729b9
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x4729cd
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x4729e1
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x4729f5
push eax
call fcn.004013aa
mov ecx, dword [ebp - 0xc]
xor eax, eax
inc eax
mov dword fs:[0], ecx
leave
ret

Function at 0x473085
Capabilities:
Get graphical window text

Disassembly:
push 0
push 0xd
push 0x113
push dword [0x4eb3d8]
mov dword [0x4ead4c], 1
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
ret
Function at 0x4735cd
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebx, eax
shl ebx, 0x10
cmp dword [ebp + 0x10], esi
je 0x4735f3
or ebx, 0x1000000
mov eax, dword [0x4e9150]
push 0x40
mov dword [ebp + 0x10], eax
pop edi
add edi, edi
lea esi, [ebp + 0x10]
call fcn.004153eb
lea ecx, [edi + 1]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
lea ecx, [ebp + 0x10]
mov esi, eax
call fcn.00402f7b
cmp esi, edi
je 0x4735fe
mov esi, dword [ebp + 8]
lea ecx, [ebp + 0x10]
call fcn.00402de7
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x473641
push eax
call fcn.004013aa
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x478d94
Capabilities:
Delete file

Disassembly:
mov eax, 0x4c47da
call fcn.004c2540
sub esp, 0xc
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push 0
push 0x188
lea edi, [ebx + 0x54]
push dword [edi]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x478e8d
push eax
lea ecx, [ebp - 0x18]
mov eax, ebx
call fcn.004789c9
and dword [ebp - 4], 0
mov eax, dword [0x4e9150]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
lea eax, [ebp - 0x14]
push 0x81a7
push eax
call fcn.00405bca
add esp, 0xc
push 0x24
push dword [0x4eb3dc]
push dword [ebp - 0x14]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x478e6d
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x10]
mov eax, edi
call fcn.0047d59b
test eax, eax
je 0x478e32
push 1
push eax
call fcn.00478b1a
push dword [ebp - 0x10]
mov eax, edi
call fcn.0047d5fd
push 0
push 0
push 0x18b
push dword [edi]
call esi
cmp dword [ebp - 0x10], eax
jl 0x478e52
and dword [ebp - 0x10], 0
push dword [ebp - 0x10]
mov eax, edi
call fcn.00447b38
push 0
push 0x10428
push 0x111
push dword [ebx + 4]
call esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x478e81
push eax
call fcn.004013aa
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x18]
call fcn.004bc986
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x47a430
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4c477f
call fcn.004c2540
sub esp, 0x418
mov eax, dword [0x4e7384]
and word [ebp - 0x218], 0
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
push 1
push dword [ebp + 8]
stosw word es:[edi], ax
lea eax, [ebp - 0x218]
push eax
push dword [0x4eb3d8]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x47a534
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscat]
mov edi, 0x4d21bc
je 0x47a4ad
lea eax, [ebp - 0x218]
push edi
push eax
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x218]
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x218]
push edi
push eax
call esi
push dword [0x4eb3dc]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push str..lnk
push eax
call esi
add esp, 0x18
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x80f2
lea eax, [ebp - 0x424]
call fcn.00409034
and dword [ebp - 4], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x218]
push ecx
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0047a39b
mov esi, eax
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff4
add esp, 0x10
cmp eax, dword [0x4e9154]
je 0x47a531
push eax
call fcn.004013aa
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
call fcn.004c2215
leave
ret

Function at 0x47df87
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 0
push 0
mov edi, eax
push 0x46b
add edi, 4
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 2
push dword [edi]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
call fcn.0040afde
push 1
push dword [edi]
call esi
push 0x15
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
call fcn.00403a68
pop edi
pop esi
leave
ret
Function at 0x481950
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov ebx, eax
je 0x4819a0
lea eax, [ebx - 0x24]
neg ebx
sbb ebx, ebx
and ebx, eax
push 0xffffffffffffffe6
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClassLongW]
test eax, 0x20000
jne 0x4819b8
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add ebx, 0x24
push ebx
movsd dword es:[edi], dword [esi]
call fcn.004822b4
jmp 0x4819b8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4819b8
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xc]
and dword [eax], 0
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8

Function at 0x4831f7
Capabilities:
Suspend thread

Disassembly:
cmp dword [esi + 0x28], 0
jne 0x483211
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esi + 0x28], ecx
mov eax, dword [esi + 0x28]
ret

Function at 0x483215
Capabilities:
Resume thread

Disassembly:
cmp dword [esi + 0x28], 0
je 0x48322d
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc eax
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x28], eax
xor eax, eax
cmp dword [esi + 0x28], eax
sete al
ret

Function at 0x484897
Capabilities:
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x25c]
sub esp, 0x2dc
mov eax, dword [0x4e7384]
push ebx
push esi
mov ebx, ecx
push edi
xor esi, esi
mov dword [ebp + 0x258], eax
xor eax, eax
cmp ebx, esi
mov ecx, 0xac
lea edi, [ebp - 0x58]
mov dword [ebp - 0x5c], esi
rep stosd dword es:[edi], eax
jne 0x4848f4
cmp edx, dword [ebp + 0x26c]
jne 0x48496c
push 0x208
push 0x2b4
lea eax, [ebp - 0x5c]
push eax
push esi
push dword [ebp + 0x26c]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ebx, [ebp - 0x50]
push 8
pop ecx
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x264]
push 0x146
push dword [edi + 0x74]
mov dword [ebp - 0x80], 0x21
call esi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x26c]
test eax, eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x60], eax
je 0x484944
or dword [ebp - 0x80], 6
lea ecx, [ebp - 0x6c]
push ecx
xor ecx, ecx
push eax
inc ecx
call fcn.004905f0
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0x40b
push dword [edi + 0x74]
call esi
mov ecx, dword [ebp + 0x258]
pop edi
pop esi
pop ebx
call fcn.004c2215
add ebp, 0x25c
leave
ret 0xc
push esi
push 0x104
lea eax, [ebp - 0x50]
push eax
push edx
mov edx, dword [ebp + 0x268]
call fcn.0049058c
test eax, eax
jne 0x4848f1
or eax, 0xffffffff
jmp 0x484954