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

Disassembly:
sub esp, 0xe40
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0xe3c], eax
lea eax, [esp + 0x3c]
push eax
call fcn.0044dbb0
lea ecx, [esp + 0x3c]
push ecx
call fcn.0044d9b0
lea eax, [esp + 0x3c]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41f730
mov edx, dword [str.Settings.reg]
mov ecx, dword [0x4b2224]
mov dword [eax], edx
mov edx, dword [0x4b2228]
mov dword [eax + 4], ecx
mov cl, byte [0x4b222c]
mov dword [eax + 8], edx
mov byte [eax + 0xc], cl
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x3c]
mov byte [esp + eax + 0x43c], cl
inc eax
test cl, cl
jne 0x41f760
push ebx
mov ebx, dword [esp + 0xe48]
push 1
test bl, bl
je 0x41f8e8
push str.ExportedSettings
push 0x4b1914
call fcn.004562a0
cmp byte [esp + 0xe4c], 0
jne 0x41f7cd
xor edx, edx
test bl, bl
sete dl
push ebx
push str..reg
lea ecx, [esp + 0x48]
push ecx
add edx, 0x5b4
push edx
call fcn.0045b8f0
push eax
mov eax, dword [0x4dc1c8]
push eax
call fcn.00418db0
test al, al
je 0x41f914
mov eax, str._ea___s__HKEY_CURRENT_USERSoftwareWinRAR
test bl, bl
jne 0x41f7db
mov eax, 0x4b21e4
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x948]
push edx
call fcn.0049e0d5
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0049e680
mov ecx, dword [0x4dc1c8]
add esp, 0x18
lea eax, [esp + 4]
lea edx, [esp + 0x940]
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x40
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], str.regedit
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
setne bl
test bl, bl
je 0x41f863
mov ecx, dword [esp + 0x3c]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0xe48], 0
je 0x41f87c
push str.ExportedSettings
push 0x4b1914
call fcn.004561e0
test bl, bl
je 0x41f945
cmp byte [esp + 0xe48], 0
jne 0x41f893
call fcn.0041f400
xor ecx, ecx
cmp byte [esp + 0xe48], cl
lea eax, [esp + 0x40]
sete cl
push eax
add ecx, 0x460
push ecx
call fcn.0045b8f0
push eax
lea edx, [esp + 0x448]
push edx
call fcn.0049e0d5
add esp, 0xc
push 0
push 0x2fb
call fcn.0045b8f0
mov ecx, dword [0x4dc1c8]
push eax
lea eax, [esp + 0x448]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x41f96a
lea edx, [esp + 0x44]
push edx
push str.Settings.reg
call fcn.0044dc90
push 0
lea eax, [esp + 0x44]
push eax
call fcn.0042f890
test al, al
jne 0x41f791
cmp byte [esp + 0xe4c], al
je 0x41f92e
xor al, al
pop ebx
mov ecx, dword [esp + 0xe3c]
xor ecx, esp
call fcn.0049e0c6
add esp, 0xe40
ret 8
xor eax, eax
mov cl, byte [esp + eax + 0x440]
mov byte [esp + eax + 0x40], cl
inc eax
test cl, cl
jne 0x41f930
jmp 0x41f79b
cmp byte [esp + 0xe4c], 0
jne 0x41f96a
lea edx, [esp + 0x940]
push edx
push 0x201
call fcn.0045b8f0
push eax
call fcn.0048c7e0
add esp, 8
mov ecx, dword [esp + 0xe40]
mov al, bl
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0xe40
ret 8
Function at 0x41fa40
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x4c6a2c], 0
jne 0x41fa4e
call fcn.0041f9b0
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x41fa7d
test dl, 7
je 0x41fa7d
movzx ecx, byte [edx]
movzx edi, al
xor ecx, edi
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
dec esi
inc edx
test esi, esi
ja 0x41fa60
cmp esi, 8
jb 0x41fb0c
mov edi, esi
shr edi, 3
jmp 0x41fa90
xor eax, dword [edx]
add edx, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
sub esi, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
mov ecx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x4c6a28]
xor eax, dword [edx - 4]
shr ecx, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
sub edi, 1
jne 0x41fa90
xor ecx, ecx
test esi, esi
jbe 0x41fb2c
push ebx
movzx edi, byte [ecx + edx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4c6a28]
inc ecx
cmp ecx, esi
jb 0x41fb13
pop ebx
pop edi
pop esi
ret 0xc

Function at 0x41fbc0
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov eax, dword [esp + 4]
inc eax
mov edx, 4
push esi
jmp 0x41fbd0
movzx esi, byte [eax - 1]
mov esi, dword [esi*4 + 0x4c6a28]
xor dword [ecx + 0x204], esi
movzx esi, byte [eax]
mov esi, dword [esi*4 + 0x4c6a28]
xor dword [ecx + 0x208], esi
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x4c6a28]
xor dword [ecx + 0x20c], esi
movzx esi, byte [eax + 2]
mov esi, dword [esi*4 + 0x4c6a28]
xor dword [ecx + 0x210], esi
add eax, 4
sub edx, 1
jne 0x41fbd0
pop esi
ret 4

Function at 0x41fc20
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, edi
mov esi, ecx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41fc30
sub eax, edx
push eax
push edi
push 0xffffffffffffffff
call fcn.0041fa40
mov word [esi + 0x214], ax
shr eax, 0x10
xor ecx, ecx
mov word [esi + 0x216], ax
xor eax, eax
mov word [esi + 0x21a], ax
mov word [esi + 0x218], cx
mov byte [esi + 0x21e], cl
mov byte [esi + 0x21d], cl
mov byte [esi + 0x21c], cl
mov al, byte [edi]
test al, al
je 0x41fcd6
lea ecx, [ecx]
add byte [esi + 0x21c], al
xor byte [esi + 0x21d], al
mov dl, byte [esi + 0x21e]
add dl, al
rol dl, 1
movzx ecx, al
mov byte [esi + 0x21e], dl
mov dx, word [ecx*4 + 0x4c6a28]
xor dx, word [esi + 0x218]
movzx ax, al
xor dx, ax
mov word [esi + 0x218], dx
mov cx, word [ecx*4 + 0x4c6a2a]
add cx, ax
add word [esi + 0x21a], cx
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41fc80
pop edi
pop esi
ret 4
Function at 0x41fdc0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
mov eax, ecx
test edi, edi
je 0x41fe7a
push ebx
push esi
mov esi, dword [esp + 0x10]
jmp 0x41fde0
mov ecx, 0x1234
add word [eax + 0x214], cx
movzx ecx, word [eax + 0x214]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x4c6a28]
xor word [eax + 0x216], dx
mov bx, word [eax + 0x21a]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x4c6a2a]
sub word [eax + 0x218], dx
movzx edx, word [eax + 0x218]
xor edx, ecx
mov word [eax + 0x214], dx
mov edx, 1
mov ecx, edx
dec edi
ror bx, cl
inc esi
xor bx, word [eax + 0x216]
ror bx, cl
movzx ecx, bx
xor word [eax + 0x214], cx
mov word [eax + 0x21a], cx
movzx ecx, word [eax + 0x214]
shr ecx, 8
xor byte [esi - 1], cl
test edi, edi
jne 0x41fde0
pop esi
pop ebx
pop edi
ret 8
Function at 0x422a00
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4adeb6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x4dbd58], ebx
jne 0x422bcc
push str.WinRAR_DragDrop
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
push ebx
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x422a85
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5b9
call fcn.0045b8f0
push eax
call fcn.0048c7e0
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [0x4c7519], al
jne 0x422aa5
mov byte [esp + 0x14], bl
cmp dword [0x4dbc5c], ebx
je 0x422aaa
mov byte [esp + 0x14], 1
push 8
call fcn.0049ec14
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x422ad1
mov dword [eax], 0x4b2260
mov dword [eax + 4], 1
mov edi, eax
jmp 0x422ad3
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x2c], ebp
push 0x5f28
call fcn.0049ec14
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], 1
cmp eax, ebx
je 0x422b07
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00422360
mov esi, eax
jmp 0x422b09
xor esi, esi
mov dword [esp + 0x2c], ebp
xor eax, eax
cmp byte [esp + 0x14], bl
lea edx, [esp + 0x20]
setne al
push edx
mov byte [0x4c751a], bl
mov byte [0x4c7118], bl
mov byte [0x4c751b], 1
mov byte [0x4c7518], bl
lea eax, [eax + eax + 1]
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_DoDragDrop]
mov byte [0x4c751b], bl
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
mov ebp, eax
call edx
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
cmp byte [0x4c7519], bl
je 0x422b80
cmp dword [0x4dbc5c], ebx
je 0x422b80
cmp ebp, 0x40100
jne 0x422b80
call fcn.00487d00
mov ecx, 0x4dfef0
call fcn.00442470
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, 0x40100
je 0x422bcc
cmp byte [0x4c7518], bl
jne 0x422bcc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x422bcc
push 0x53c
call fcn.0045b8f0
push eax
call fcn.0048c7e0
add esp, 4
mov ecx, 0x4c9364
call fcn.00427c70
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4236b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
cmp eax, edx
jbe 0x423718
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp edx, ecx
jb 0x4236f4
mov edx, edi
sub edx, esi
lea eax, [esi + 4]
sub ebx, esi
lea ebx, [ebx]
mov ebp, dword [edx + eax]
xor ebp, dword [eax]
inc ecx
mov dword [ebx + eax], ebp
add eax, 4
cmp ecx, dword [esi]
jbe 0x4236e0
mov ebx, dword [esp + 0x14]
mov eax, dword [edi]
sub eax, dword [esi]
lea edx, [edi + ecx*4]
add eax, eax
add eax, eax
push eax
push edx
lea eax, [ebx + ecx*4]
push eax
call fcn.0049e700
mov ecx, dword [edi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], ecx
pop ebx
ret 0xc
jae 0x423768
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp eax, ecx
jb 0x423744
mov edx, edi
sub edx, esi
lea eax, [esi + 4]
sub ebx, esi
mov ebp, dword [eax + edx]
xor ebp, dword [eax]
inc ecx
mov dword [eax + ebx], ebp
add eax, 4
cmp ecx, dword [edi]
jbe 0x423730
mov ebx, dword [esp + 0x14]
mov edx, dword [esi]
sub edx, dword [edi]
lea eax, [esi + ecx*4]
add edx, edx
add edx, edx
push edx
push eax
lea ecx, [ebx + ecx*4]
push ecx
call fcn.0049e700
mov edx, dword [esi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], edx
pop ebx
ret 0xc
test eax, eax
jbe 0x423782
mov edx, edi
lea ecx, [esi + eax*4]
sub edx, esi
mov ebx, dword [ecx + edx]
xor ebx, dword [ecx]
jne 0x423782
dec eax
sub ecx, 4
test eax, eax
ja 0x423773
mov edx, dword [esp + 0x14]
mov dword [edx], eax
test eax, eax
jbe 0x4237a3
sub edi, esi
lea ecx, [esi + eax*4]
sub edx, esi
mov esi, dword [ecx + edi]
xor esi, dword [ecx]
dec eax
mov dword [ecx + edx], esi
sub ecx, 4
test eax, eax
ja 0x423793
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4237b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
push ebp
push esi
mov esi, dword [esp + 0x5c]
cmp dword [esi], 0
je 0x4238da
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp]
test eax, eax
je 0x4238da
mov ecx, ebp
lea edx, [esp + 8]
sub ecx, edx
push edi
lea ebx, [ebx]
mov edi, dword [0x4c7520]
lea edx, [ecx + eax*4]
sub eax, 1
mov edx, dword [esp + edx + 0xc]
mov edx, dword [edi + edx*4]
mov dword [esp + eax*4 + 0x10], edx
jne 0x4237e0
mov edi, dword [esp + 0x5c]
push ebx
push 0x90
push eax
push edi
call fcn.0049e680
mov ebx, dword [esi]
add esp, 0xc
test ebx, ebx
je 0x423887
mov ebp, dword [0x4c751c]
lea esp, [esp]
mov eax, dword [esi + ebx*4]
mov ecx, dword [0x4c7520]
mov esi, dword [ecx + eax*4]
cmp esi, 0x7fff
je 0x42387a
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
test eax, eax
je 0x42387a
lea ecx, [ebx + eax]
lea edx, [edi + ecx*4 - 4]
jmp 0x423850
mov ecx, dword [esp + eax*4 + 0x10]
cmp ecx, 0x7fff
je 0x423872
add ecx, esi
cmp ecx, 0x7fff
jb 0x42386c
add ecx, 0xffff8001
mov ecx, dword [ebp + ecx*4]
xor dword [edx], ecx
dec eax
sub edx, 4
test eax, eax
jne 0x423850
sub ebx, 1
mov esi, dword [esp + 0x64]
jne 0x423820
mov ebp, dword [esp + 0x68]
mov edx, dword [esi]
mov eax, dword [ebp]
lea ecx, [edx + eax - 1]
cmp ecx, 0x11
mov dword [edi], ecx
pop ebx
jle 0x4238b7
lea eax, [edi + ecx*4 - 0x38]
lea edx, [ecx - 0x11]
nop
mov ecx, dword [eax + 0x38]
xor dword [eax - 0xc], ecx
xor dword [eax], ecx
mov dword [eax + 0x38], 0
sub eax, 4
sub edx, 1
jne 0x4238a0
cmp dword [edi], 0x11
jbe 0x4238d1
mov dword [edi], 0x11
mov eax, dword [edi]
cmp dword [edi + eax*4], 0
jne 0x4238d1
dec eax
mov dword [edi], eax
test eax, eax
jne 0x4238c2
pop edi
pop esi
pop ebp
add esp, 0x4c
ret 0xc
mov ecx, dword [esp + 0x58]
pop esi
mov dword [ecx], 0
pop ebp
add esp, 0x4c
ret 0xc
Function at 0x4238f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
xor ebp, ebp
cmp eax, ebp
je 0x4239d5
mov ecx, dword [edi + eax*4]
push ebx
mov ebx, dword [0x4c7520]
mov ecx, dword [ebx + ecx*4]
push esi
cmp ecx, 0x7fff
je 0x42393b
add ecx, ecx
cmp ecx, 0x7fff
jb 0x423928
add ecx, 0xffff8001
mov edx, dword [0x4c751c]
mov ecx, dword [edx + ecx*4]
mov esi, dword [esp + 0x14]
mov dword [esi + eax*8 - 4], ecx
jmp 0x423943
mov esi, dword [esp + 0x14]
mov dword [esi + eax*8 - 4], ebp
mov ecx, dword [edi]
sub ecx, 1
je 0x423988
lea edx, [esi + ecx*8 - 4]
mov edi, edi
mov dword [edx + 4], ebp
mov eax, dword [edi + ecx*4]
mov eax, dword [ebx + eax*4]
cmp eax, 0x7fff
je 0x42397e
add eax, eax
cmp eax, 0x7fff
jb 0x42396e
add eax, 0xffff8001
mov ebp, dword [0x4c751c]
mov eax, dword [ebp + eax*4]
mov dword [edx], eax
xor ebp, ebp
jmp 0x423980
mov dword [edx], ebp
dec ecx
sub edx, 8
cmp ecx, ebp
jne 0x423950
mov eax, dword [edi]
lea ecx, [eax + eax - 1]
cmp ecx, 0x11
mov dword [esi], ecx
jle 0x4239b3
lea eax, [esi + ecx*4 - 0x38]
lea edx, [ecx - 0x11]
lea esp, [esp]
mov ecx, dword [eax + 0x38]
xor dword [eax - 0xc], ecx
xor dword [eax], ecx
mov dword [eax + 0x38], ebp
sub eax, 4
sub edx, 1
jne 0x4239a0
cmp dword [esi], 0x11
jbe 0x4239ce
mov dword [esi], 0x11
mov edi, edi
mov eax, dword [esi]
cmp dword [esi + eax*4], ebp
jne 0x4239ce
dec eax
mov dword [esi], eax
cmp eax, ebp
jne 0x4239c0
pop esi
pop ebx
pop edi
pop ebp
ret 8
mov ecx, dword [esp + 0xc]
pop edi
mov dword [ecx], ebp
pop ebp
ret 8
Function at 0x425a10
Capabilities:
Get disk information
Get file system object information

Disassembly:
sub esp, 0x564
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x560], eax
mov eax, dword [esp + 0x568]
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x4001
mov esi, ecx
push 0x160
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x4b2160
mov dword [esi], eax
call edi
test eax, eax
jne 0x425a81
lea edx, [esp + 0x168]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0x4001
push 0x160
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x178]
push ecx
call edi
mov edx, dword [esi]
push eax
push 0
push 0x1109
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x568]
pop edi
pop esi
xor ecx, esp
call fcn.0049e0c6
add esp, 0x564
ret 4

Function at 0x425f00
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x164
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push esi
mov esi, dword [esp + 0x170]
push edi
mov edi, dword [esp + 0x178]
push 0x4009
push 0x160
lea eax, [esp + 0x14]
push eax
push 0
push esi
call ebx
mov ecx, dword [esp + 0x10]
push 0x400b
push 0x160
lea edx, [esp + 0x14]
push edx
push 0
push esi
mov dword [edi + 0x18], ecx
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x16c]
mov dword [edi + 0x1c], eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x164
ret 8
Function at 0x427250
Capabilities:
Delete file
Log keystrokes via polling

Disassembly:
mov eax, 0x1450
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x144c], eax
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 0
push 9
mov edi, ecx
mov eax, dword [edi]
push 0x110a
push eax
call esi
test eax, eax
je 0x42745c
mov edx, dword [edi]
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x110c
push edx
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], eax
call esi
test eax, eax
je 0x42745c
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x42745c
xor ecx, ecx
lea esi, [eax + 8]
lea edx, [esp + 0x854]
mov word [esp + 0xc54], cx
mov eax, dword [esi]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x42745c
mov eax, dword [0x4c7530]
test eax, eax
je 0x4272f5
mov edx, dword [esi]
lea ecx, [esp + 0xc54]
push ecx
push edx
call eax
cmp word [esp + 0xc54], 0
jne 0x42731a
push 0x1000000
lea eax, [esp + 0xc58]
push eax
lea ecx, [esp + 0x85c]
push ecx
call fcn.0046d330
push ebx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
shr ebx, 0xf
not bl
and bl, 1
call fcn.0043c9b0
test eax, eax
je 0x4273d7
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x42745b
push str.SHFileOperationW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x42745b
push 0x400
lea edx, [esp + 0xc5c]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.00464ea0
lea ecx, [esp + 0x54]
push ecx
call fcn.0046d610
xor edx, edx
mov word [esp + eax*2 + 0x56], dx
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
movzx eax, bl
neg eax
sbb eax, eax
lea edx, [esp + 0xc]
and eax, 0x40
lea ecx, [esp + 0x54]
push edx
mov dword [esp + 0x14], 3
mov word [esp + 0x20], ax
mov dword [esp + 0x18], ecx
call esi
jmp 0x42744f
push 0x400
lea eax, [esp + 0x85c]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.00464e60
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4273f5
sub eax, edx
mov byte [esp + eax + 0x55], cl
xor eax, eax
movzx edx, bl
neg edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
sbb edx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
lea ecx, [esp + 0xc]
and edx, 0x40
lea eax, [esp + 0x54]
push ecx
mov dword [esp + 0x14], 3
mov word [esp + 0x20], dx
mov dword [esp + 0x18], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
movzx edx, byte [edi + 8]
push edx
mov ecx, edi
call fcn.00427170
pop ebx
mov ecx, dword [esp + 0x1454]
pop edi
pop esi
xor ecx, esp
call fcn.0049e0c6
add esp, 0x1450
ret
Function at 0x428060
Capabilities:
Get common file path

Disassembly:
sub esp, 0x404
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x408]
push ebx
push esi
push edi
mov edi, dword [esp + 0x418]
mov ebx, ecx
test eax, eax
je 0x428094
cmp byte [eax], 0
je 0x428094
mov esi, eax
jmp 0x428096
xor esi, esi
push edi
push 0x1f6
call fcn.0045b8f0
push eax
push esi
call fcn.0048cce0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x42812e
mov eax, edi
lea edx, [eax + 1]
jmp 0x4280c0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4280c0
sub eax, edx
push edi
mov esi, eax
call fcn.0044e270
test al, al
jne 0x4280fd
lea eax, [esp + 0xc]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0xc]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4280f0
sub eax, edx
lea esi, [esi + eax + 1]
cmp esi, 0x104
jbe 0x42812e
push 0x104
push 0x564
call fcn.0045b8f0
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0049e0d5
add esp, 0xc
push 1
lea edx, [esp + 0x10]
push edx
call fcn.0048c600
mov ecx, ebx
call fcn.00427c70
mov ecx, dword [esp + 0x40c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x404
ret 8
Function at 0x42e1b0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4ae2bb
mov eax, dword fs:[0]
push eax
mov eax, 0x24c4
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x24c0], eax
push ebx
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x24d4]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24e4]
mov esi, dword [esp + 0x24e8]
lea ecx, [esp + 0xc24]
call fcn.00467be0
lea ecx, [esp + 0xc48]
call fcn.00467be0
lea ecx, [esp + 0xc6c]
call fcn.00467be0
push 0
lea eax, [esp + 0x14]
push eax
push esi
push edi
call fcn.00433200
test al, al
je 0x42e3cb
cmp byte [esp + 0x10], 0
je 0x42e3cb
cmp byte [esp + 0xc90], 0
je 0x42e3cb
lea ecx, [esp + 0xc90]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.0044d530
push eax
call fcn.00464e20
test eax, eax
je 0x42e3cb
lea eax, [esp + 0xc90]
push eax
push edi
call fcn.0044d530
push eax
call fcn.00464e20
test eax, eax
jne 0x42e3cb
xor esi, esi
lea ecx, [ecx]
push 0x400
push edi
lea ecx, [esp + 0x1cd8]
push ecx
call fcn.00464e60
push esi
push str.rtmp_d
lea edx, [esp + 0x1cd8]
push edx
call fcn.0044d530
push eax
call fcn.0049e0d5
add esp, 0xc
push 0
lea eax, [esp + 0x1cd4]
push eax
call fcn.0042f890
test al, al
je 0x42e2dd
add esi, 0x7b
cmp esi, 0x2710
jl 0x42e290
push 0
lea ecx, [esp + 0x1cd4]
push ecx
call fcn.0042f890
test al, al
jne 0x42e3cb
push 0x400
push edi
lea edx, [esp + 0x20d8]
push edx
call fcn.00464e60
lea eax, [esp + 0x10]
push eax
call fcn.0044d530
lea ecx, [esp + 0x20d0]
push ecx
mov esi, eax
call fcn.0044d530
mov cl, byte [esi]
mov byte [eax], cl
inc esi
inc eax
test cl, cl
jne 0x42e320
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileA]
lea edx, [esp + 0x1cd0]
push edx
lea eax, [esp + 0x20d4]
push eax
call esi
test eax, eax
je 0x42e3cb
lea ecx, [esp + 0x10b0]
call fcn.0042e6a0
mov dword [esp + 0x24dc], 0
push 0
push edi
xor bl, bl
call fcn.0042f890
test al, al
jne 0x42e382
push 1
push 0
push edi
lea ecx, [esp + 0x10bc]
call fcn.0042ebf0
mov bl, al
lea ecx, [esp + 0x20d0]
push ecx
lea edx, [esp + 0x1cd4]
push edx
call esi
test bl, bl
je 0x42e3b0
lea ecx, [esp + 0x10b0]
call fcn.0042e720
lea ecx, [esp + 0x10b0]
call fcn.0042e7d0
mov dword [esp + 0x24dc], 0xffffffff
lea ecx, [esp + 0x10b0]
call fcn.0042ea60
mov al, 1
jmp 0x42e3cd
xor al, al
mov ecx, dword [esp + 0x24d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24c0]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x24d0
ret 8