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

Disassembly:
mov eax, 0x1c40
call fcn.004a4220
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x1c3c], eax
push esi
push edi
lea eax, [esp + 0x44]
push eax
call fcn.00451bc0
lea ecx, [esp + 0x44]
push ecx
call fcn.00450e70
lea edi, [esp + 0x44]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x420475
mov ecx, 6
mov esi, str.Settings.reg
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
xor eax, eax
pop esi
jmp 0x4204a0
movzx ecx, word [esp + eax + 0x3c]
mov word [esp + eax + 0x83c], cx
add eax, 2
test cx, cx
jne 0x4204a0
push ebx
mov ebx, dword [esp + 0x1c48]
push 1
test bl, bl
je 0x420640
push str.ExportedSettings
push 0x4b8d0c
call fcn.0045aed0
cmp byte [esp + 0x1c4c], 0
jne 0x420512
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.00460760
push eax
mov eax, dword [0x4e8cd4]
push eax
call fcn.00419620
test al, al
je 0x42066c
test bl, bl
jne 0x4206aa
push 0x4b8d0c
call fcn.0045b3b0
mov eax, 0x4b9828
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x1248]
push edx
mov edx, 0x500
call fcn.00495900
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004a4250
mov ecx, dword [0x4e8cd4]
add esp, 0x18
lea eax, [esp + 4]
lea edx, [esp + 0x1240]
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_ShellExecuteExW]
test eax, eax
setne bl
test bl, bl
je 0x4205b6
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 + 0x1c48], 0
je 0x4205cf
push str.ExportedSettings
push 0x4b8d0c
call fcn.0045ab50
test bl, bl
je 0x4206b4
cmp byte [esp + 0x1c48], 0
jne 0x4205e6
call fcn.00420140
xor ecx, ecx
cmp byte [esp + 0x1c48], cl
lea eax, [esp + 0x40]
sete cl
push eax
add ecx, 0x460
push ecx
call fcn.00460760
push eax
lea edx, [esp + 0x848]
push edx
mov edx, 0x500
call fcn.00495900
add esp, 0xc
push 0
push 0x2fb
call fcn.00460760
mov ecx, dword [0x4e8cd4]
push eax
lea eax, [esp + 0x848]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4206d9
lea edx, [esp + 0x44]
push edx
push str.Settings.reg
call fcn.00451d90
lea eax, [esp + 0x40]
push eax
push 0
call fcn.004313f0
test al, al
jne 0x4204d6
cmp byte [esp + 0x1c4c], al
je 0x420686
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c3c]
xor ecx, esp
call fcn.004a39f3
add esp, 0x1c40
ret 8
xor eax, eax
jmp 0x420690
movzx ecx, word [esp + eax + 0x840]
mov word [esp + eax + 0x40], cx
add eax, 2
test cx, cx
jne 0x420690
jmp 0x4204e0
mov eax, str._ea___s__HKEY_CURRENT_USERSoftwareWinRAR
jmp 0x420529
cmp byte [esp + 0x1c4c], 0
jne 0x4206d9
lea edx, [esp + 0x1240]
push edx
push 0x201
call fcn.00460760
push eax
call fcn.00492420
add esp, 8
mov ecx, dword [esp + 0x1c40]
mov al, bl
pop ebx
xor ecx, esp
call fcn.004a39f3
add esp, 0x1c40
ret 8
Function at 0x4207b0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x4d1b5c], 0
jne 0x4207be
call fcn.00420720
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x4207ed
test dl, 7
je 0x4207ed
movzx ecx, byte [edx]
movzx edi, al
xor ecx, edi
shr eax, 8
xor eax, dword [ecx*4 + 0x4d1b58]
dec esi
inc edx
test esi, esi
ja 0x4207d0
cmp esi, 8
jb 0x42087c
mov edi, esi
shr edi, 3
jmp 0x420800
xor eax, dword [edx]
add edx, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4d1b58]
sub esi, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4d1b58]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4d1b58]
mov ecx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x4d1b58]
xor eax, dword [edx - 4]
shr ecx, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4d1b58]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4d1b58]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4d1b58]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4d1b58]
sub edi, 1
jne 0x420800
xor ecx, ecx
test esi, esi
jbe 0x42089c
push ebx
movzx edi, byte [ecx + edx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4d1b58]
inc ecx
cmp ecx, esi
jb 0x420883
pop ebx
pop edi
pop esi
ret 0xc

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

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

Function at 0x420990
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 0x4209a0
sub eax, edx
push eax
push edi
push 0xffffffffffffffff
call fcn.004207b0
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 0x420a46
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 + 0x4d1b58]
xor dx, word [esi + 0x218]
movzx ax, al
xor dx, ax
mov word [esi + 0x218], dx
mov cx, word [ecx*4 + 0x4d1b5a]
add cx, ax
add word [esi + 0x21a], cx
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4209f0
pop edi
pop esi
ret 4
Function at 0x420b30
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 0x420bea
push ebx
push esi
mov esi, dword [esp + 0x10]
jmp 0x420b50
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 + 0x4d1b58]
xor word [eax + 0x216], dx
mov bx, word [eax + 0x21a]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x4d1b5a]
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 0x420b50
pop esi
pop ebx
pop edi
ret 8
Function at 0x423a20
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4b4a56
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ca3b0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x4e8434], ebx
jne 0x423be7
push str.WinRAR_DragDrop
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
push ebx
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x423aa5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5b9
call fcn.00460760
push eax
call fcn.00492420
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 [0x4d246d], al
jne 0x423ac5
mov byte [esp + 0x14], bl
cmp byte [0x4e7b89], bl
je 0x423aca
mov byte [esp + 0x14], 1
push 8
call fcn.004a47e4
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x423af1
mov dword [eax], 0x4b9934
mov dword [eax + 4], 1
mov edi, eax
jmp 0x423af3
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x2c], ebp
push 0x73a8
call fcn.004a47e4
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], 1
cmp eax, ebx
je 0x423b28
mov ecx, dword [esp + 0x14]
push ebx
push ecx
mov ecx, eax
call fcn.00423370
mov esi, eax
jmp 0x423b2a
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 [0x4d246e], bl
mov byte [0x4d246f], 1
mov byte [0x4d246c], bl
lea eax, [eax + eax + 1]
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_DoDragDrop]
mov byte [0x4d246f], 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 [0x4d246d], bl
je 0x423b9b
cmp byte [0x4e7b89], bl
je 0x423b9b
cmp ebp, 0x40100
jne 0x423b9b
call fcn.0048d210
mov ecx, 0x4ee478
call fcn.00443d80
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 0x423be7
cmp byte [0x4d246c], bl
jne 0x423be7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x423be7
push 0x53c
call fcn.00460760
push eax
call fcn.00492420
add esp, 4
mov ecx, 0x4d56b4
call fcn.00428c40
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 0x424740
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 0x4247a8
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp edx, ecx
jb 0x424784
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 0x424770
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.004a42d0
mov ecx, dword [edi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], ecx
pop ebx
ret 0xc
jae 0x4247f8
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp eax, ecx
jb 0x4247d4
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 0x4247c0
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.004a42d0
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 0x424812
mov edx, edi
lea ecx, [esi + eax*4]
sub edx, esi
mov ebx, dword [ecx + edx]
xor ebx, dword [ecx]
jne 0x424812
dec eax
sub ecx, 4
test eax, eax
ja 0x424803
mov edx, dword [esp + 0x14]
mov dword [edx], eax
test eax, eax
jbe 0x424833
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 0x424823
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x424840
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
push ebp
push esi
mov esi, dword [esp + 0x5c]
cmp dword [esi], 0
je 0x42496a
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp]
test eax, eax
je 0x42496a
mov ecx, ebp
lea edx, [esp + 8]
sub ecx, edx
push edi
lea ebx, [ebx]
mov edi, dword [0x4d2474]
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 0x424870
mov edi, dword [esp + 0x5c]
push ebx
push 0x90
push eax
push edi
call fcn.004a4250
mov ebx, dword [esi]
add esp, 0xc
test ebx, ebx
je 0x424917
mov ebp, dword [0x4d2470]
lea esp, [esp]
mov eax, dword [esi + ebx*4]
mov ecx, dword [0x4d2474]
mov esi, dword [ecx + eax*4]
cmp esi, 0x7fff
je 0x42490a
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
test eax, eax
je 0x42490a
lea ecx, [ebx + eax]
lea edx, [edi + ecx*4 - 4]
jmp 0x4248e0
mov ecx, dword [esp + eax*4 + 0x10]
cmp ecx, 0x7fff
je 0x424902
add ecx, esi
cmp ecx, 0x7fff
jb 0x4248fc
add ecx, 0xffff8001
mov ecx, dword [ebp + ecx*4]
xor dword [edx], ecx
dec eax
sub edx, 4
test eax, eax
jne 0x4248e0
sub ebx, 1
mov esi, dword [esp + 0x64]
jne 0x4248b0
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 0x424947
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 0x424930
cmp dword [edi], 0x11
jbe 0x424961
mov dword [edi], 0x11
mov eax, dword [edi]
cmp dword [edi + eax*4], 0
jne 0x424961
dec eax
mov dword [edi], eax
test eax, eax
jne 0x424952
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 0x424980
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 0x424a65
mov ecx, dword [edi + eax*4]
push ebx
mov ebx, dword [0x4d2474]
mov ecx, dword [ebx + ecx*4]
push esi
cmp ecx, 0x7fff
je 0x4249cb
add ecx, ecx
cmp ecx, 0x7fff
jb 0x4249b8
add ecx, 0xffff8001
mov edx, dword [0x4d2470]
mov ecx, dword [edx + ecx*4]
mov esi, dword [esp + 0x14]
mov dword [esi + eax*8 - 4], ecx
jmp 0x4249d3
mov esi, dword [esp + 0x14]
mov dword [esi + eax*8 - 4], ebp
mov ecx, dword [edi]
sub ecx, 1
je 0x424a18
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 0x424a0e
add eax, eax
cmp eax, 0x7fff
jb 0x4249fe
add eax, 0xffff8001
mov ebp, dword [0x4d2470]
mov eax, dword [ebp + eax*4]
mov dword [edx], eax
xor ebp, ebp
jmp 0x424a10
mov dword [edx], ebp
dec ecx
sub edx, 8
cmp ecx, ebp
jne 0x4249e0
mov eax, dword [edi]
lea ecx, [eax + eax - 1]
cmp ecx, 0x11
mov dword [esi], ecx
jle 0x424a43
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 0x424a30
cmp dword [esi], 0x11
jbe 0x424a5e
mov dword [esi], 0x11
mov edi, edi
mov eax, dword [esi]
cmp dword [esi + eax*4], ebp
jne 0x424a5e
dec eax
mov dword [esi], eax
cmp eax, ebp
jne 0x424a50
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 0x426a70
Capabilities:
Get file system object information

Disassembly:
sub esp, 0xab8
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0xab4], eax
mov eax, dword [esp + 0xabc]
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4001
mov esi, ecx
push 0x2b4
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x4b96dc
mov dword [esi], eax
call edi
test eax, eax
jne 0x426ae0
push 0x400
lea edx, [esp + 0x2c0]
push edx
call fcn.00483c50
push 0x4001
push 0x2b4
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x2cc]
push ecx
call edi
mov edx, dword [esi]
push eax
push 0
push 0x1109
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0xabc]
pop edi
pop esi
xor ecx, esp
call fcn.004a39f3
add esp, 0xab8
ret 4

Function at 0x426f40
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x2b4], eax
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push esi
mov esi, dword [esp + 0x2c4]
push edi
mov edi, dword [esp + 0x2cc]
push 0x4009
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0
push esi
call ebx
mov ecx, dword [esp + 0x10]
push 0x400b
push 0x2b4
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 + 0x2c0]
mov dword [edi + 0x1c], eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a39f3
add esp, 0x2b8
ret 8
Function at 0x428250
Capabilities:
Delete file
Log keystrokes via polling
Move file

Disassembly:
mov eax, 0x1050
call fcn.004a4220
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x104c], eax
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 9
mov esi, ecx
mov eax, dword [esi]
push 0x110a
push eax
call edi
test eax, eax
je 0x428375
mov edx, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x113e
push edx
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], eax
call edi
test eax, eax
je 0x428375
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x428375
mov edx, dword [eax + 8]
lea ecx, [esp + 0x854]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x428375
push ebx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
push 0x400
shr ebx, 0xf
lea eax, [esp + 0x85c]
push eax
lea ecx, [esp + 0x5c]
not bl
push ecx
and bl, 1
call fcn.00469f80
lea eax, [esp + 0x54]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428305
sub eax, edx
sar eax, 1
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 dword [sym.imp.SHELL32.dll_SHFileOperationW]
movzx eax, byte [esi + 8]
push eax
mov ecx, esi
call fcn.00428170
pop ebx
mov ecx, dword [esp + 0x1054]
pop edi
pop esi
xor ecx, esp
call fcn.004a39f3
add esp, 0x1050
ret
Function at 0x429180
Capabilities:
Get common file path

Disassembly:
mov eax, 0x2004
call fcn.004a4220
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push ebx
push esi
mov esi, dword [esp + 0x2018]
push edi
mov edi, dword [esp + 0x2020]
push 0x400
lea edx, [esp + 0x1010]
mov ebx, ecx
mov ecx, dword [esp + 0x201c]
push edx
push ecx
push eax
call fcn.00451280
push 0x400
lea eax, [esp + 0x810]
push eax
push edi
push esi
call fcn.00451280
lea ecx, [esp + 0x80c]
push ecx
push 0x1f6
call fcn.00460760
push eax
lea edx, [esp + 0x1014]
push edx
call fcn.00492940
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x4292a8
push 0x400
lea eax, [esp + 0x10]
push eax
push edi
push esi
call fcn.00451280
lea eax, [esp + 0xc]
lea edx, [eax + 2]
jmp 0x429230
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429230
sub eax, edx
lea ecx, [esp + 0xc]
sar eax, 1
push ecx
mov esi, eax
call fcn.00452650
test al, al
jne 0x429283
lea edx, [esp + 0x180c]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp + 0x180c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429270
sub eax, edx
sar eax, 1
lea esi, [esi + eax + 1]
cmp esi, 0x104
jbe 0x4292a8
push 0x104
push 0x564
call fcn.00460760
push eax
push 0x4b9c74
call fcn.00492940
add esp, 0xc
mov ecx, ebx
call fcn.00428c40
mov ecx, dword [esp + 0x200c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a39f3
add esp, 0x2004
ret 0x10
Function at 0x42f9f0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4b4e6b
mov eax, dword fs:[0]
push eax
mov eax, 0x30c4
call fcn.004a4220
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x30c0], eax
push ebx
push esi
push edi
mov eax, dword [0x4ca3b0]
xor eax, esp
push eax
lea eax, [esp + 0x30d4]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30e4]
lea ecx, [esp + 0x1844]
call fcn.0046cee0
lea ecx, [esp + 0x1868]
call fcn.0046cee0
lea ecx, [esp + 0x188c]
call fcn.0046cee0
push 0
lea eax, [esp + 0xc34]
push eax
push edi
push 0
call fcn.00434e20
test al, al
je 0x42fc12
cmp word [esp + 0x18b0], 0
je 0x42fc12
lea ecx, [esp + 0x18b0]
push ecx
lea edx, [esp + 0x1034]
push edx
call fcn.004513d0
push eax
call fcn.00472870
test eax, eax
je 0x42fc12
lea eax, [esp + 0x18b0]
push eax
push edi
call fcn.004513d0
push eax
call fcn.00472870
test eax, eax
jne 0x42fc12
mov word [esp + 0x20d0], ax
xor esi, esi
jmp 0x42fad0
test ax, ax
jne 0x42fb44
push 0x400
push edi
lea ecx, [esp + 0x20d8]
push ecx
call fcn.00469f80
push esi
push str.rtmp_d
lea edx, [esp + 0x20d8]
push edx
call fcn.004513d0
push eax
mov edx, 0x400
call fcn.00495900
add esp, 0xc
lea eax, [esp + 0x20d0]
push eax
push 0
call fcn.004313f0
test al, al
je 0x42fb28
xor eax, eax
mov word [esp + 0x20d0], ax
jmp 0x42fb30
mov ax, word [esp + 0x20d0]
add esi, 0x7b
cmp esi, 0x2710
jl 0x42fad0
test ax, ax
je 0x42fc12
push 0x400
push edi
lea ecx, [esp + 0x28d8]
push ecx
call fcn.00469f80
lea edx, [esp + 0x1030]
push edx
call fcn.004513d0
mov esi, eax
lea eax, [esp + 0x28d0]
push eax
call fcn.004513d0
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x42fb73
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [esp + 0x20d0]
push ecx
lea edx, [esp + 0x28d4]
push edx
call esi
test eax, eax
je 0x42fc12
lea ecx, [esp + 0x10]
call fcn.0042ff90
mov dword [esp + 0x30dc], 0
push edi
push 0
xor bl, bl
call fcn.004313f0
test al, al
jne 0x42fbd2
push 1
push edi
push 0
lea ecx, [esp + 0x1c]
call fcn.00430560
mov bl, al
lea eax, [esp + 0x28d0]
push eax
lea ecx, [esp + 0x20d4]
push ecx
call esi
test bl, bl
je 0x42fbfa
lea ecx, [esp + 0x10]
call fcn.00430010
lea ecx, [esp + 0x10]
call fcn.004300c0
mov dword [esp + 0x30dc], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004303a0
mov al, 1
jmp 0x42fc14
xor al, al
mov ecx, dword [esp + 0x30d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30c0]
xor ecx, esp
call fcn.004a39f3
add esp, 0x30d0
ret 4