joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ea570
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [0x5f33a0]
mov eax, dword [esp + 4]
mov edx, dword [0x5f33a8]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x5e1e10]
movzx eax, cl
add eax, dword [0x5f33a4]
mov dword [0x5f33a0], ecx
imul ecx, eax, 0x8088405
mov eax, dword [esp + 4]
inc ecx
mov dword [0x5f33a4], ecx
shr ecx, 0x18
xor ecx, edx
shr edx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x5e1e10]
mov dword [0x5f33a8], edx
ret 4

Function at 0x4ea810
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x4c]
push esi
mov esi, dword [esp + 0x54]
push edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push ebx
mov dword [esp + 0x18], esi
call fcn.004bc640
xor edx, edx
mov ecx, dword [esp + edx + 0x18]
mov eax, ecx
shr eax, 0x18
mov byte [esp + edx + 0x2c], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + edx + 0x2d], al
mov eax, ecx
shr eax, 8
mov byte [esp + edx + 0x2e], al
mov byte [esp + edx + 0x2f], cl
add edx, 4
cmp edx, 0x14
jb 0x4ea847
test ebp, ebp
je 0x4ea88c
cmp byte [esi], 0
je 0x4ea88c
mov ecx, 0x18
mov esi, ebp
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
jmp 0x4ea8b4
lea edi, [ebx + 0x60]
mov ecx, 0x40
mov eax, edi
xor byte [eax], 0x6a
lea eax, [eax + 1]
sub ecx, 1
jne 0x4ea896
push ebx
call fcn.004bc760
push 0x40
push edi
push ebx
call fcn.004bc7a0
test ebp, ebp
je 0x4ea8cb
cmp byte [esi], 0
jne 0x4ea8cb
mov eax, dword [esp + 0x10]
mov ecx, 0x18
mov esi, ebx
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov byte [eax], 1
push 0x14
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.004bc7a0
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.004bc640
pop edi
pop esi
pop ebp
xor edx, edx
pop ebx
lea esp, [esp]
mov ecx, dword [esp + edx + 8]
mov eax, ecx
shr eax, 0x18
mov byte [esp + edx + 0x1c], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + edx + 0x1d], al
mov eax, ecx
shr eax, 8
mov byte [esp + edx + 0x1e], al
mov byte [esp + edx + 0x1f], cl
add edx, 4
cmp edx, 0x14
jb 0x4ea8f0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4ea935
push eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0xc]
call fcn.00531d40
add esp, 0xc
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00530218
add esp, 0x34
ret 0x14
Function at 0x4ea950
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
lea ebx, [esi + 0x60]
cmp edi, 0x40
jbe 0x4ea987
push esi
call fcn.004bc760
push edi
push dword [esp + 0x18]
push esi
call fcn.004bc7a0
push ebx
push esi
call fcn.004eacf0
mov dword [esi + 0xa0], 0x14
jmp 0x4ea99f
push edi
push dword [esp + 0x18]
push ebx
call fcn.00531d40
add esp, 0xc
mov dword [esi + 0xa0], edi
test edi, edi
je 0x4ea9c3
mov edx, 0xffffffa0
mov eax, ebx
sub edx, esi
jmp 0x4ea9b0
xor byte [eax], 0x36
lea eax, [eax + 1]
mov edi, dword [esi + 0xa0]
lea ecx, [edx + eax]
cmp ecx, edi
jb 0x4ea9b0
mov eax, 0x40
sub eax, edi
push eax
lea eax, [esi + 0x60]
add eax, edi
push 0x36
push eax
call fcn.00532770
add esp, 0xc
push esi
call fcn.004bc760
push 0x40
push ebx
push esi
call fcn.004bc7a0
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x4ee690
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x10c
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
push edi
mov edi, dword [esp + 0x118]
push 0
push 0
push 0
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x55770c]
mov ecx, edi
call esi
mov eax, dword [edi]
push 0x40
mov esi, dword [eax + 0xc]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [0x55770c]
mov ecx, edi
call esi
cmp eax, 0x40
jne 0x4ee78f
cmp byte [esp + 8], 0x4d
jne 0x4ee78f
cmp byte [esp + 9], 0x5a
jne 0x4ee78f
mov eax, dword [edi]
push 0
push 0
push dword [esp + 0x4c]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x55770c]
mov ecx, edi
call esi
mov eax, dword [edi]
push 0x108
mov esi, dword [eax + 0xc]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [0x55770c]
mov ecx, edi
call esi
cmp eax, 0x108
jne 0x4ee78f
cmp byte [esp + 8], 0x50
jne 0x4ee78f
cmp byte [esp + 9], 0x45
jne 0x4ee78f
cmp byte [esp + 0xa], 0
jne 0x4ee78f
cmp byte [esp + 0xb], 0
jne 0x4ee78f
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x21]
cmp cl, 0xb
jne 0x4ee78f
cmp al, 1
jne 0x4ee773
cmp dword [esp + 0x7c], 4
jbe 0x4ee773
mov eax, dword [esp + 0xa0]
jmp 0x4ee791
cmp cl, 0xb
jne 0x4ee78f
cmp al, 2
jne 0x4ee78f
cmp dword [esp + 0x8c], 4
jbe 0x4ee78f
mov eax, dword [esp + 0xb0]
jmp 0x4ee791
xor eax, eax
mov ecx, dword [esp + 0x110]
pop edi
pop esi
xor ecx, esp
call fcn.00530218
add esp, 0x10c
ret 4
Function at 0x4f0cd0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x2004
call fcn.00530230
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x2000], eax
cmp dword [ecx + 0x34], 2
mov eax, 5
push ebx
mov ebx, dword [esp + 0x200c]
push ebp
push esi
push edi
jne 0x4f0dc7
push 0x800
push 0x558718
lea eax, [esp + 0x18]
push eax
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
push SysReAllocString
call fcn.004d0070
cmp word [esp + 0x10], 0
je 0x4f0d59
xor esi, esi
nop
push dword [esi*4 + 0x58b5d8]
lea eax, [esp + 0x14]
push eax
call fcn.004c1ba0
test eax, eax
je 0x4f0d50
inc esi
cmp esi, 5
jb 0x4f0d30
jmp 0x4f0f1e
mov eax, dword [esi*4 + 0x58b600]
jmp 0x4f0dc7
push 0x800
push 0x558718
lea eax, [esp + 0x18]
push eax
push 0x558718
push str.http_shellopencommand
push SysReAllocString
call fcn.004d0070
xor edi, edi
mov edi, edi
mov ebp, dword [edi*4 + 0x58b5ec]
mov esi, ebp
lea ecx, [esi + 2]
lea esp, [esp]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4f0d90
lea eax, [esp + 0x10]
sub esi, ecx
push eax
sar esi, 1
call fcn.004a3770
push esi
push ebp
push eax
call fcn.004c1bf0
test eax, eax
je 0x4f0dc0
inc edi
cmp edi, 5
jb 0x4f0d80
jmp 0x4f0f1e
mov eax, dword [edi*4 + 0x58b600]
xor ecx, ecx
cmp eax, 4
ja case.0x4f0dd2.3
jmp dword [eax*4 + 0x4f0f50]
push 1
push 0x558718
push ebx
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, eax
jmp 0x4f0f19
push ebx
push str._new_window__s
lea eax, [esp + 0x18]
push 0x800
push eax
call fcn.00404ce0
add esp, 0x10
lea eax, [esp + 0x10]
push 1
push 0x558718
push eax
push str.firefox.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, eax
jmp 0x4f0f19
push ebx
push str.__new_window__s
lea eax, [esp + 0x18]
push 0x800
push eax
call fcn.00404ce0
add esp, 0x10
lea eax, [esp + 0x10]
push 1
push ebx
push eax
push str.chrome.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, eax
jmp 0x4f0f19
push 0x800
push 0x558718
lea eax, [esp + 0x18]
push eax
push 0x558718
push str.http_shellopencommand
push SysReAllocString
call fcn.004d0070
cmp word [esp + 0x10], 0x22
jne 0x4f0f1e
lea eax, [esp + 0x12]
push 0x22
push eax
call fcn.005317e5
mov esi, eax
add esp, 8
test esi, esi
je 0x4f0f1e
push 9
push str.opera.exe
lea eax, [esp + 0x18]
push eax
call fcn.004a3770
push eax
call fcn.004c1bf0
test eax, eax
jne 0x4f0f1e
push ebx
push str._newwindow__s
mov word [esi + 2], ax
lea eax, [esp + 0x1018]
push 0x800
push eax
call fcn.00404ce0
add esp, 0x10
lea eax, [esp + 0x1010]
push 1
push ebx
push eax
lea eax, [esp + 0x1c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, eax
jmp 0x4f0f19
cmp eax, 5
je 0x4f0f1e
cmp eax, 3
je 0x4f0f1e
cmp ecx, 0x20
ja 0x4f0f35
push 1
push 0x558718
push 0
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x2010]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x2004
ret 4
Function at 0x4f1970
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x4c
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x5c]
push ebx
mov ebx, dword [esp + 0x58]
push ebp
push esi
mov esi, dword [esp + 0x5c]
mov ebp, ecx
push edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x70]
push 0
push ebx
mov dword [esp + 0x18], ebx
mov dword [ebp + 8], ebx
mov byte [ebp + 0x32], al
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7f00
push 0
mov dword [esp + 0x20], 0x30
mov dword [esp + 0x24], 0x828
mov dword [esp + 0x28], 0x4f1c30
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x3c], 6
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], str.RarHtmlClassName
mov dword [esp + 0x48], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov eax, dword [ebp + 0x28]
mov dword [ebp], esi
test eax, eax
je 0x4f1a32
push eax
call fcn.0053867f
add esp, 4
test edi, edi
jne 0x4f1a3a
xor eax, eax
jmp 0x4f1a43
push edi
call fcn.00538fcb
add esp, 4
mov dword [ebp + 0x28], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4f1a57
push eax
call fcn.00538fcb
add esp, 4
mov dword [ebp + 0x2c], eax
lea eax, [esp + 0x48]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x4c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp + 4]
test eax, eax
je 0x4f1a8b
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x48]
sub edi, ebx
push dword [esp + 0x10]
mov esi, dword [ebp]
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esp + 0x4c]
push ebp
push esi
push 0
push eax
mov eax, dword [esp + 0x64]
sub eax, ecx
push eax
push edi
push ecx
push ebx
push 0x40000000
push 0
push str.RarHtmlClassName
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp byte [ebp + 0x1c], 0
mov dword [ebp + 4], eax
jne 0x4f1b2a
cmp dword [ebp + 0x10], 0
jne 0x4f1b2a
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x4f1b40
cmp dword [ebp + 0x2c], 0
jne 0x4f1b40
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x4f1b40
push eax
mov ecx, ebp
call fcn.004f1610
mov esi, eax
test esi, esi
je 0x4f1b40
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.0053867f
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00530218
add esp, 0x4c
ret 0x14
test eax, eax
je 0x4f1b40
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x4c
ret 0x14
Function at 0x4f25f0
Capabilities:
Get disk information
Query environment variable

Disassembly:
mov eax, 0x4408
call fcn.00530230
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x4404], eax
mov eax, dword [esp + 0x4410]
lea ecx, [esp + 0x1004]
push edi
mov edi, dword [esp + 0x4410]
push 0x800
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4f2873
cmp eax, 0x800
jae 0x4f2873
push 0x800
lea eax, [esp + 0x100c]
mov ecx, 0x5c6810
push eax
push eax
call fcn.0045dd10
lea eax, [esp + 0x1008]
push eax
call fcn.004a3770
push 0x3a
push eax
call fcn.005317e5
add esp, 8
test eax, eax
je 0x4f26a8
cmp byte [0x5f5406], 0
jne 0x4f26a8
push esi
push 0x65
call fcn.004b7300
push 0x528
mov esi, eax
call fcn.004b7300
push 0x31
push esi
push eax
push edi
call fcn.004feae0
pop esi
cmp eax, 1
jne 0x4f2859
mov byte [0x5f5406], al
push 0x800
lea eax, [esp + 0x100c]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.004bdae0
lea eax, [esp + 8]
push eax
call fcn.004a37e0
cmp word [esp + 8], 0
je 0x4f2776
lea eax, [esp + 8]
push eax
call fcn.00491350
test al, al
jne 0x4f2776
push 0
lea eax, [esp + 0xc]
push eax
call fcn.00415680
test al, al
jne 0x4f2776
lea eax, [esp + 8]
push eax
call fcn.004a3770
cmp word [eax], 0
je 0x4f281f
push 0x14e
call fcn.004b7300
push eax
lea eax, [esp + 0xc]
push eax
push str.__s__n_s
lea eax, [esp + 0x2014]
push 0xa00
push eax
call fcn.00404ce0
add esp, 0x14
push 0x34
push 0x65
call fcn.004b7300
push eax
lea eax, [esp + 0x2010]
push eax
push edi
call fcn.004feae0
cmp eax, 6
jne 0x4f2859
push 0
push 0
lea eax, [esp + 0x10]
push eax
call fcn.00490c10
lea eax, [esp + 8]
push eax
call fcn.00491350
test al, al
je 0x4f26e7
push 0x800
lea eax, [esp + 0x340c]
push eax
lea eax, [esp + 0x1010]
push eax
call fcn.004a2840
push 0
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
lea eax, [esp + 0x3424]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4f2873
test dword [esp + 4], 0x80000
je 0x4f2873
lea eax, [esp + 0x3408]
push eax
push 0x65e
call fcn.004b7300
push eax
lea eax, [esp + 0x2010]
push 0xa00
push eax
call fcn.00404ce0
add esp, 0x10
push 0x30
push 0x65
call fcn.004b7300
push eax
lea eax, [esp + 0x2010]
push eax
push edi
call fcn.004feae0
xor al, al
pop edi
mov ecx, dword [esp + 0x4404]
xor ecx, esp
call fcn.00530218
add esp, 0x4408
ret 8
lea eax, [esp + 8]
push eax
push 0x6c
call fcn.004b7300
push eax
lea eax, [esp + 0x2010]
push 0xa00
push eax
call fcn.00404ce0
add esp, 0x10
push 0x30
push 0x65
call fcn.004b7300
push eax
lea eax, [esp + 0x2010]
push eax
push edi
call fcn.004feae0
xor al, al
pop edi
mov ecx, dword [esp + 0x4404]
xor ecx, esp
call fcn.00530218
add esp, 0x4408
ret 8
mov ecx, dword [esp + 0x4408]
mov al, 1
pop edi
xor ecx, esp
call fcn.00530218
add esp, 0x4408
ret 8
Function at 0x4f5060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c0
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x1bc], eax
mov ecx, dword [esp + 0x1c4]
push ebx
mov bh, byte [esp + 0x1cc]
mov bl, byte [esp + 0x1d0]
movzx eax, bh
mov dword [esp + 0x54], eax
mov eax, dword [0x5d3758]
mov dword [esp + 0xc], ecx
mov ecx, 0x5c8968
push 1
mov dword [0x5f53f4], 0
mov dword [0x5f53f8], 0
mov byte [0x5f53ed], bl
mov dword [esp + 0x48], str.GETARC
mov dword [esp + 0x54], 0x4f52f0
mov dword [esp + 0x80], str.GETARCADV
mov dword [esp + 0x8c], 0x4f3fd0
mov dword [esp + 0xb8], str.GETARCOPT
mov dword [esp + 0xc4], 0x4f7020
mov dword [esp + 0xf0], str.GETARCFILES
mov dword [esp + 0xfc], 0x4f69e0
mov dword [esp + 0x128], str.GETARCBACKUP
mov dword [esp + 0x134], 0x4f48c0
mov dword [esp + 0x160], str.GETARCTIME
mov dword [esp + 0x16c], 0x4f73c0
mov dword [esp + 0x198], str.GETARCCMT
mov dword [esp + 0x1a4], 0x4f4b90
mov dword [esp + 8], 0x34
mov dword [esp + 0xc], 0x28a
mov dword [esp + 0x14], eax
call fcn.004dab70
mov dword [esp + 0x14], eax
test bl, bl
je 0x4f5177
push 0x3f0
jmp 0x4f518d
movzx eax, byte [0x5b4504]
neg eax
sbb eax, eax
and eax, 0xfffffd08
add eax, 0x3de
push eax
call fcn.004b7300
mov dword [esp + 0x18], eax
mov ecx, 0x5d37b8
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], 7
mov dword [esp + 0x24], eax
mov eax, dword [0x5d3758]
mov dword [esp + 0x40], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x158], eax
mov dword [esp + 0x190], eax
lea eax, [esp + 0x38]
push 7
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x28], 0
push eax
mov dword [esp + 0x44], 0x38
mov dword [esp + 0x48], 0x20
mov dword [esp + 0x7c], 0x38
mov dword [esp + 0x80], 0x20
mov dword [esp + 0xb4], 0x38
mov dword [esp + 0xb8], 0x20
mov dword [esp + 0xec], 0x38
mov dword [esp + 0xf0], 0x20
mov dword [esp + 0x124], 0x38
mov dword [esp + 0x128], 0x20
mov dword [esp + 0x15c], 0x38
mov dword [esp + 0x160], 0x20
mov dword [esp + 0x194], 0x38
mov dword [esp + 0x198], 0x20
call fcn.004b66f0
test bh, bh
jne 0x4f52b2
lea eax, [esp + 4]
push eax
call dword [sym.imp.COMCTL32.dll_PropertySheetW]
test eax, eax
jle 0x4f52ae
cmp word [0x5b332a], 0
jne 0x4f52b2
cmp byte [0x5b22f8], bh
jne 0x4f52b2
test bl, bl
jne 0x4f52b2
xor bl, bl
jmp 0x4f52b4
mov bl, 1
push 7
lea eax, [esp + 0x3c]
mov ecx, 0x5d37b8
push eax
call fcn.004b66a0
mov ecx, dword [esp + 0x1c0]
mov al, bl
pop ebx
xor ecx, esp
mov byte [0x5c640c], 0
call fcn.00530218
add esp, 0x1c0
ret 0xc
Function at 0x4fd1a0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable

Disassembly:
mov eax, 0x1004
call fcn.00530230
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x1000], eax
cmp word [0x5958a8], 0
push esi
mov esi, dword [esp + 0x100c]
push edi
mov edi, dword [esp + 0x1014]
push edi
je 0x4fd1dd
push 0x5958a8
jmp 0x4fd25d
push 0x558718
push esi
push str.TempFolder
push 0x5589a8
call fcn.004d0210
xor eax, eax
mov word [esp + 8], ax
lea eax, [esp + 8]
push 0x800
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp word [esi], 0
je 0x4fd22d
test eax, eax
je 0x4fd227
cmp eax, 0x800
jae 0x4fd227
push edi
lea eax, [esp + 0xc]
push eax
push esi
call fcn.004bdae0
cmp word [esi], 0
jne 0x4fd239
cmp byte [esp + 0x1018], 0
je 0x4fd245
jmp 0x4fd263
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4fd263
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4fd257
cmp word [esi], 0
jne 0x4fd263
push edi
push str._rartemp
push esi
call fcn.004bdae0
push edi
push esi
call fcn.004a1860
mov ecx, dword [esp + 0x1008]
pop edi
pop esi
xor ecx, esp
call fcn.00530218
add esp, 0x1004
ret 0xc

Function at 0x4fd650
Capabilities:
Create directory

Disassembly:
mov eax, 0x2004
call fcn.00530230
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push esi
mov esi, dword [esp + 0x2010]
push 0x7ff
push eax
lea eax, [esp + 0x100c]
push eax
call fcn.004bdae0
cmp byte [esp + 0x2018], 0
je 0x4fd6eb
cmp byte [0x5c3f2c], 0
jne 0x4fd6ab
cmp byte [0x5c3e7b], 0
mov edx, 0x61
je 0x4fd6b0
mov edx, 0x62
lea ecx, [esp + 0x1004]
push edi
lea edi, [ecx + 2]
jmp 0x4fd6c0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fd6c0
sub ecx, edi
lea eax, [esp + 0x1008]
push edx
sar ecx, 1
push 0x56bf7c
push 2
lea eax, [eax + ecx*2]
push eax
call fcn.00404ce0
add esp, 0x10
pop edi
push 0
push 0x800
lea eax, [esp + 0xc]
push eax
call fcn.004fd1a0
push 0x800
lea eax, [esp + 8]
push eax
call fcn.004a1860
push 0x800
lea eax, [esp + 0x1008]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.004bda80
push 0x800
lea eax, [esp + 8]
push eax
call fcn.00491c60
test eax, eax
je 0x4fd772
push 0
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4fd772
push dword [esp + 0x2014]
lea eax, [esp + 8]
push eax
push esi
call fcn.004bdae0
mov al, 1
pop esi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.00530218
add esp, 0x2004
ret 0x10
lea eax, [esp + 4]
push eax
push 0x1f7
call fcn.004b7300
push eax
call fcn.005037c0
add esp, 8
mov ecx, 0x5d381c
call fcn.004885d0
mov ecx, dword [esp + 0x2004]
xor al, al
pop esi
xor ecx, esp
call fcn.00530218
add esp, 0x2004
ret 0x10
Function at 0x4fd7b0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push ebp
mov dword [esp + 0x14], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [esp + 0x3c]
mov edi, eax
lea eax, [esp + 0x20]
mov dword [esp + 0x14], edi
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
push dword [esp + 0x28]
push dword [esp + 0x28]
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push esi
push ebx
mov ebp, eax
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
push edi
mov ebx, eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x24]
mov edi, eax
mov esi, dword [esp + 0x28]
mov ecx, edx
push 0xcc0020
push esi
neg ecx
push ecx
push 0
lea ecx, [edx - 1]
push ecx
push dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x30]
push edx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
push 0xcc0020
push 0
push 0
push esi
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0
push 0
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_BitBlt]
push ebx
mov ebx, dword [esp + 0x14]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x18]
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4

Function at 0x4fdb90
Capabilities:
Enumerate gui resources

Disassembly:
push ecx
push str.Policy
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004cda60
push 1
push str.Shutdown
push str.Policy
test al, al
je 0x4fdbbc
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004cfd20
jmp 0x4fdbc1
call fcn.004cffa0
test eax, eax
je 0x4fdc32
cmp byte [0x5d3826], 0
jne 0x4fdc32
cmp byte [0x5b12dc], 0
jne 0x4fdc32
lea eax, [esp + 3]
mov byte [esp + 3], 1
push eax
push 0x4fcf30
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [esp + 3], 0
je 0x4fdc32
push esi
mov esi, dword [esp + 0xc]
cmp esi, 5
jne 0x4fdc21
mov eax, dword [0x5933dc]
test eax, eax
je 0x4fdc31
cmp dword [0x5943ec], 0
jne 0x4fdc31
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ecx
ret 4
push esi
call fcn.00509750
test al, al
je 0x4fdc31
push esi
call fcn.004be670
pop esi
pop ecx
ret 4
Function at 0x4fe180
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 8
lea eax, [esp]
push ebx
push eax
push 0x56ecc0
push 1
push 0
push 0x56ece0
xor bl, bl
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4fe2ca
mov ecx, dword [esp + 4]
push esi
mov eax, dword [ecx]
mov esi, dword [eax]
lea eax, [esp + 0xc]
push eax
push 0x56ed80
push ecx
mov ecx, esi
call dword [0x55770c]
call esi
test eax, eax
js 0x4fe2b5
cmp byte [esp + 0x14], bl
je 0x4fe1ec
mov eax, dword [esp + 0xc]
push 2
push dword [esp + 0x20]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x55770c]
call esi
mov eax, dword [esp + 8]
push dword [esp + 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [0x55770c]
call esi
mov edx, dword [esp + 0x24]
test edx, edx
je 0x4fe221
mov eax, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [0x55770c]
call esi
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x28]
push 0
mov ecx, dword [eax]
mov esi, dword [ecx + 0x44]
mov ecx, esi
test edx, edx
jne 0x4fe23d
push 0x558718
jmp 0x4fe23e
push edx
push eax
call dword [0x55770c]
call esi
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4fe264
mov eax, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x2c]
mov ecx, esi
call dword [0x55770c]
call esi
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4fe281
mov eax, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x24]
mov ecx, esi
call dword [0x55770c]
call esi
mov ecx, dword [esp + 0xc]
push 1
push dword [esp + 0x20]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x55770c]
call esi
test eax, eax
js 0x4fe2a1
mov bl, 1
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55770c]
call esi
mov ecx, dword [esp + 8]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x55770c]
call esi
pop esi
mov al, bl
pop ebx
add esp, 8
ret 0x1c

Function at 0x4fe630
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
setne al
ret 8