joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42509c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffbf0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
push 5
push dword [esp + 4]
push dword [0x4a7028]
call sub.KERNEL32.DLL_FindResourceA
mov ebx, eax
push ebx
push dword [0x4a7028]
call sub.KERNEL32.DLL_LoadResource
mov ebp, eax
push ebx
push dword [0x4a7028]
call sub.KERNEL32.DLL_SizeofResource
mov ebx, eax
push ebx
call fcn.0048c678
pop ecx
mov esi, eax
test esi, esi
jne 0x4250fa
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
xor eax, eax
jmp 0x425213
push ebx
push ebp
push esi
call fcn.0048d6f8
add esp, 0xc
xor edx, edx
xor ecx, ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov eax, dword [esi]
shr eax, 0x10
cmp eax, 0xffff
lea eax, [esp + 0xc]
sete bl
push eax
mov eax, edi
lea ecx, [esp + 0xc]
mov edx, dword [esp + 4]
and ebx, 1
call fcn.004252d4
test al, al
je 0x42516e
mov ecx, esi
test bl, bl
je 0x425146
mov eax, ecx
add eax, 8
mov ecx, eax
movsx eax, word [ecx + 0xe]
imul dword [esp + 8]
mov ebp, 0x64
cdq
idiv ebp
mov word [ecx + 0xe], ax
movsx eax, word [ecx + 0x10]
imul dword [esp + 0xc]
mov ebp, 0x64
cdq
idiv ebp
mov word [ecx + 0x10], ax
mov ebp, esi
test bl, bl
je 0x42517b
mov eax, 0xd
jmp 0x425180
mov eax, 9
add eax, eax
add ebp, eax
cmp word [ebp], 0xffff
jne 0x425193
mov edx, 2
jmp 0x42519d
mov eax, ebp
call fcn.0040f914
mov edx, eax
inc edx
add edx, edx
add ebp, edx
cmp word [ebp], 0xffff
jne 0x4251b0
mov ecx, 2
jmp 0x4251ba
mov eax, ebp
call fcn.0040f914
mov ecx, eax
inc ecx
add ecx, ecx
lea edx, [esp + 0x10]
add ebp, ecx
mov ecx, 0x10000000
mov eax, ebp
call fcn.0040f874
push 1
push dword [esp + 4]
lea ecx, [esp + 0x218]
lea edx, [esp + 0x18]
mov eax, edi
call fcn.00424c58
lea eax, [esp + 0x210]
push eax
call fcn.0048dabc
pop ecx
mov edx, dword [esp + 4]
mov dword [edx], eax
cmp dword [esp + 8], 0x64
jne 0x425211
cmp dword [esp + 0xc], 0x64
jne 0x425211
push esi
call fcn.0048c688
pop ecx
xor esi, esi
mov eax, esi
add esp, 0x410
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x429690
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffa00
mov esi, ecx
mov ebx, edx
mov edi, eax
push esi
mov eax, 0x1f6
call fcn.004116e8
push eax
test ebx, ebx
je 0x4296b4
cmp byte [ebx], 0
jne 0x4296b6
xor ebx, ebx
push ebx
call fcn.00444910
add esp, 0xc
call sub.KERNEL32.DLL_GetLastError
cmp eax, 3
jne 0x42972d
push esi
call fcn.0048d918
pop ecx
mov ebx, eax
mov eax, esi
call fcn.0040bf24
test al, al
jne 0x4296f4
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push esp
call fcn.0048d918
pop ecx
add eax, ebx
inc eax
mov ebx, eax
cmp ebx, 0x104
jle 0x42972d
push 0x104
mov eax, 0x564
call fcn.004116e8
push eax
lea edx, [esp + 0x408]
push edx
call fcn.004908b8
add esp, 0xc
mov edx, 1
lea eax, [esp + 0x400]
call fcn.0044a29c
mov eax, edi
call fcn.00429838
add esp, 0x600
pop edi
pop esi
pop ebx
ret
Function at 0x429964
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
mov ebx, dword [ebp + 8]
jg 0x429984
xor eax, eax
jmp 0x429a45
mov edx, dword [ebp - 0xc]
test edx, edx
jns 0x42998e
add edx, 0xf
sar edx, 4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
add eax, 4
mov ecx, dword [eax]
xor ecx, dword [edx]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 4]
xor ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 8]
xor ecx, dword [edx + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, ebx
mov eax, dword [eax + 0xc]
xor eax, dword [edx + 0xc]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.00429de0
add dword [ebp - 8], 0x10
mov edx, dword [ebp - 0x14]
dec edx
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jle 0x429a21
mov eax, ebx
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
xor ecx, dword [edx]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 4]
xor ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 8]
xor ecx, dword [edx + 8]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0xc]
xor eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
add ebx, 0x10
lea edx, [ebp - 0x24]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00429de0
add dword [ebp - 8], 0x10
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0
jg 0x4299dd
mov eax, dword [ebp - 4]
add eax, 4
mov edx, ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x14]
shl eax, 4
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x429a4c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x429a63
test esi, esi
jg 0x429a6a
xor eax, eax
jmp 0x429b20
push 0x10
mov edx, dword [ebp - 4]
add edx, 4
push edx
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0048d6f8
add esp, 0xc
test esi, esi
jns 0x429a86
add esi, 0xf
sar esi, 4
mov dword [ebp - 8], esi
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x429b05
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042a410
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [eax]
xor dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 4]
xor dword [ebp - 0x18], ecx
mov ecx, dword [eax + 8]
xor dword [ebp - 0x14], ecx
mov eax, dword [eax + 0xc]
xor dword [ebp - 0x10], eax
mov eax, edx
mov edx, ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
add ebx, 0x10
add dword [ebp + 8], 0x10
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jg 0x429a98
push 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.0048d6f8
add esp, 0xc
mov eax, dword [ebp - 8]
shl eax, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x429d44
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, eax
mov esi, 1
xor eax, eax
xor ecx, ecx
mov edx, esi
mov ebx, ecx
shl edx, 4
shl ebx, 2
add edx, edi
add edx, ebx
xor ebx, ebx
add edx, 0x14
movzx ebp, byte [edx + 1]
mov bl, byte [edx]
lea ebp, [ebp*4 + 0x4adb2e]
lea ebx, [ebx*4 + 0x4ad72e]
mov bl, byte [ebx + eax]
xor bl, byte [ebp + eax]
movzx ebp, byte [edx + 2]
movzx edx, byte [edx + 3]
lea ebp, [ebp*4 + 0x4adf2e]
lea edx, [edx*4 + 0x4ae32e]
xor bl, byte [ebp + eax]
xor bl, byte [edx + eax]
lea edx, [esp + ecx*4]
mov byte [edx + eax], bl
inc ecx
cmp ecx, 4
jl 0x429d56
inc eax
cmp eax, 4
jl 0x429d54
mov ecx, esi
push 0x10
shl ecx, 4
lea eax, [esp + 4]
add ecx, edi
push eax
add ecx, 0x14
push ecx
call fcn.0048d6f8
add esp, 0xc
inc esi
cmp esi, 0xa
jl 0x429d52
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42c988
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
xor edx, edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
ret
Function at 0x43a33b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [0x4b3334]
push ebx
add esp, 0xfffffbec
cmp dword [eax + 0x30], 0
je 0x43a444
push 1
push 0
mov edx, 0x4b2734
mov eax, 0x4ba5d4
xor ecx, ecx
call fcn.0045bd3c
dec eax
jne 0x43a444
xor edx, edx
xor eax, eax
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, 0x4ba5d4
mov edx, esp
lea ecx, [esp + 4]
call fcn.0045d680
cmp dword [esp + 4], 0
je 0x43a444
push 0x400
push 0
lea edx, [esp + 0x1c]
xor ecx, ecx
mov eax, dword [0x4b3334]
call fcn.0040f0c0
lea edx, [esp + 0x14]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x43a3e1
lea edx, [esp + 0x14]
lea eax, [esp + 8]
call fcn.00459620
xor eax, eax
mov al, byte [esp + 8]
cmp eax, 0x43
je 0x43a3d6
cmp eax, 0x4e
jne 0x43a3e1
push dword [esp]
call fcn.0048beec
pop ecx
jmp 0x43a444
push 0x49cbf9
lea edx, [esp + 0x18]
push edx
call fcn.0048f890
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x43a421
lea eax, [esp + 0x14]
push eax
mov eax, 0x1f6
call fcn.004116e8
push eax
push 0x4b2734
call fcn.00444910
add esp, 0xc
push dword [esp]
call fcn.0048beec
pop ecx
jmp 0x43a444
push ebx
push dword [esp + 8]
push 1
push dword [esp + 0xc]
call fcn.0048fca8
add esp, 0x10
push ebx
call fcn.0048f394
pop ecx
push dword [esp]
call fcn.0048beec
pop ecx
add esp, 0x414
pop ebx
ret
Function at 0x43e79d
Capabilities:
Delete directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x43e7a6
mov eax, dword [ebp - 4]
add esp, 0xfffffb1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc30], edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, 0x49c9d0
call fcn.0048dd88
lea edx, [ebp - 0x1034]
mov eax, str.Rar_DIXXXXXX
call fcn.00467e64
test al, al
jne 0x43e7fb
xor eax, eax
mov edx, dword [ebp - 0xc2c]
mov dword fs:[0], edx
jmp 0x43e986
lea ecx, [ebp - 0x1434]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [ebp - 0x1034]
push eax
call fcn.0048f2ec
pop ecx
call fcn.004525f4
mov ecx, 0x4b2b34
mov edx, 0x4b2734
mov eax, 0x4ba5d4
call fcn.0045d270
mov edx, dword [0x4ba7dc]
mov dword [0x4b12ec], edx
call fcn.004530d4
mov dword [0x4b091c], 2
mov ecx, dword [ebp - 0xc30]
mov edx, ebx
mov eax, dword [0x4b3334]
call fcn.0040efdc
mov eax, 0x4ba5d4
xor ecx, ecx
xor edx, edx
call fcn.004587a4
xor ebx, ebx
mov word [ebp - 0xc1c], 8
lea eax, [ebp - 0xc08]
call fcn.00411d44
inc dword [ebp - 0xc10]
mov edx, 0x49cbc1
mov word [ebp - 0xc1c], 0x14
lea eax, [ebp - 0xc08]
call fcn.00411de4
lea eax, [ebp - 0x18d4]
call fcn.00412dfc
lea eax, [ebp - 0x18a8]
call fcn.00412dfc
lea eax, [ebp - 0x187c]
call fcn.00412dfc
jmp 0x43e91a
cmp byte [ebp - 0x18d8], 0
jne 0x43e91a
call fcn.0040f820
test eax, eax
je 0x43e900
cmp word [ebp - 0x20e8], 0
je 0x43e900
test esi, esi
je 0x43e900
lea edx, [ebp - 0xc34]
push edx
push esi
push 0x400
lea ecx, [ebp - 0x20e8]
push ecx
call sub.KERNEL32.DLL_GetFullPathNameW
jmp 0x43e909
test esi, esi
je 0x43e909
mov word [esi], 0
lea eax, [ebp - 0x24e8]
mov edx, edi
call fcn.0040a568
mov bl, 1
jmp 0x43e931
lea edx, [ebp - 0x24e8]
lea eax, [ebp - 0xc08]
xor ecx, ecx
call fcn.00411e58
test al, al
jne 0x43e8c5
lea eax, [ebp - 0x1434]
push eax
call fcn.0048f2ec
pop ecx
test bl, bl
jne 0x43e94e
lea edx, [ebp - 0x1034]
push edx
call sub.KERNEL32.DLL_RemoveDirectoryA
mov byte [0x4b9e28], 0
mov eax, 0x4b9dfc
call fcn.00445520
mov eax, ebx
mov edx, 2
push eax
lea eax, [ebp - 0xc08]
dec dword [ebp - 0xc10]
call fcn.00411db4
pop eax
mov edx, dword [ebp - 0xc2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4411f3
Capabilities:
Read .ini file

Disassembly:
add esp, 0xfffffb38
cmp byte [0x4a7004], 0
jne 0x4412c8
push 0x400
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push str.rar.ini
lea eax, [esp + 4]
call fcn.0040b578
push eax
call fcn.0048d8e8
add esp, 8
push esp
push 0x64
lea edx, [esp + 0x408]
push edx
push 0x49ca45
push str.regname
push str.registration
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push esp
push 0x64
lea ecx, [esp + 0x46c]
push ecx
push 0x49ca45
push str.regcode
push str.registration
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push esp
push 0
push str.informed
push str.registration
call sub.KERNEL32.DLL_GetPrivateProfileIntA
cmp byte [esp + 0x400], 0
je 0x4412c8
cmp byte [esp + 0x464], 0
je 0x4412c8
test eax, eax
jne 0x4412c8
push esp
push 0x49cce4
push str.informed
push str.registration
call sub.KERNEL32.DLL_WritePrivateProfileStringA
push 0
push 0x446134
push dword [0x4b9890]
push str.REREG
push dword [0x4a7028]
call sub.USER32.DLL_DialogBoxParamA
add esp, 0x4c8
ret

Function at 0x444054
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret

Function at 0x44431c
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebx
add esp, 0xfffffc00
mov ebx, eax
mov eax, ebx
call fcn.00468084
test al, al
jne 0x444334
xor eax, eax
jmp 0x44436f
push 0
push ebx
call sub.KERNEL32.DLL_SetFileAttributesA
push ebx
call fcn.0049051c
pop ecx
push ebx
lea edx, [esp + 4]
push edx
call fcn.0048d8e8
add esp, 8
push 0x5c
lea ecx, [esp + 4]
push ecx
call fcn.0048da3d
add esp, 8
mov ebx, eax
test eax, eax
je 0x444369
mov byte [ebx], 0
push esp
call sub.KERNEL32.DLL_RemoveDirectoryA
add esp, 0x400
pop ebx
ret
Function at 0x4443d4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
test esi, esi
je 0x4444d6
push esi
call fcn.0048d918
pop ecx
mov dword [esp], eax
test eax, eax
je 0x4444d6
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
jne 0x444407
xor eax, eax
jmp 0x4444db
call sub.USER32.DLL_EmptyClipboard
mov edi, dword [esp]
inc edi
push edi
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov ebx, eax
test eax, eax
je 0x44444a
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov ebp, eax
test eax, eax
je 0x44444a
mov edx, dword [esp]
inc edx
push edx
push esi
push ebp
call fcn.0048d6f8
add esp, 0xc
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
push ebx
push 1
call sub.USER32.DLL_SetClipboardData
push edi
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov ebx, eax
test eax, eax
je 0x44448b
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov ebp, eax
test eax, eax
je 0x44448b
mov edx, dword [esp]
inc edx
push edx
push esi
push ebp
call fcn.0048d6f8
add esp, 0xc
push ebp
push ebp
call sub.USER32.DLL_CharToOemA
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
push ebx
push 7
call sub.USER32.DLL_SetClipboardData
call fcn.0040f820
test eax, eax
je 0x4444d1
mov ecx, edi
add ecx, ecx
push ecx
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov ebx, eax
test eax, eax
je 0x4444d1
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov ebp, eax
test eax, eax
je 0x4444d1
push edi
push ebp
push 0xffffffffffffffff
push esi
push 0
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
push ebx
push 0xd
call sub.USER32.DLL_SetClipboardData
call sub.USER32.DLL_CloseClipboard
mov eax, 1
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x444f20
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
add esp, 0xfffff79c
mov ebx, eax
lea esi, [esp + 0x464]
push ebx
mov eax, 0x6c
call fcn.004116e8
push eax
lea edx, [esp + 8]
push edx
call fcn.004908b8
add esp, 0xc
jmp 0x444f99
push 0x400
push esi
push ebx
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
test eax, eax
je 0x444f77
push esi
push ebx
call fcn.0048d89c
add esp, 8
test eax, eax
je 0x444f77
mov eax, esi
xor edx, edx
call fcn.0046830c
test al, al
jne 0x444fa6
push 0x15
mov eax, 0x66
call fcn.004116e8
push eax
lea edx, [esp + 8]
push edx
push dword [0x4b9890]
call sub.USER32.DLL_MessageBoxA
cmp eax, 2
je 0x444fc0
xor edx, edx
mov eax, ebx
call fcn.0046830c
test al, al
je 0x444f4c
mov eax, 0x4b98a4
call fcn.00463b8c
test al, al
je 0x444fc0
mov eax, 0x4b98a4
xor edx, edx
call fcn.0045e350
add esp, 0x864
pop esi
pop ebx
ret

Function at 0x445024
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
add esp, 0xfffffe94
mov eax, dword [ebx + 0x2c]
add eax, 0x41
push eax
push 0x49cab5
lea edx, [esp + 8]
push edx
call fcn.004908b8
add esp, 0xc
push 0x301
push 0x160
lea ecx, [esp + 0x14]
push ecx
push 0
lea eax, [esp + 0x10]
push eax
call sub.SHELL32.DLL_SHGetFileInfoA
test byte [ebx + 0x10], 1
je 0x44508e
push 0xd
call sub.USER32.DLL_GetSysColor
push eax
push dword [ebx + 0x18]
call sub.GDI32.DLL_SetBkColor
mov edi, eax
push 0xe
call sub.USER32.DLL_GetSysColor
push eax
push dword [ebx + 0x18]
call sub.GDI32.DLL_SetTextColor
mov ebp, eax
push 0
push 0
push 0x49ca45
lea eax, [ebx + 0x1c]
push eax
push 2
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call sub.GDI32.DLL_ExtTextOutA
push 0x31
call sub.USER32.DLL_GetSystemMetrics
mov esi, eax
push 0x32
call sub.USER32.DLL_GetSystemMetrics
push 3
push 0
push 0
push eax
push esi
push dword [esp + 0x20]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call sub.USER32.DLL_DrawIconEx
push dword [esp + 0xc]
call sub.USER32.DLL_DestroyIcon
lea eax, [esp + 0x18]
push eax
call fcn.0048d918
pop ecx
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, dword [ebx + 0x20]
add ecx, 2
push ecx
add esi, dword [ebx + 0x1c]
add esi, 7
push esi
push dword [ebx + 0x18]
call sub.GDI32.DLL_TextOutA
test byte [ebx + 0x10], 1
je 0x44511d
push edi
push dword [ebx + 0x18]
call sub.GDI32.DLL_SetBkColor
push ebp
push dword [ebx + 0x18]
call sub.GDI32.DLL_SetTextColor
add esp, 0x16c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4462bc
Capabilities:
Move file

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
push eax
add esp, 0xffffffb0
mov ebp, eax
call fcn.0040f820
test eax, eax
je 0x4462e1
mov eax, ebp
call fcn.0043a9b7
jmp 0x4463f1
xor ebx, ebx
xor esi, esi
mov eax, 0x4b98a4
xor ecx, ecx
xor edx, edx
call fcn.0046376c
jmp 0x446342
lea edx, [esp + 0xc30]
mov eax, esp
call fcn.0040a568
lea ecx, [esp + 0xc30]
push ecx
call fcn.0048d918
pop ecx
mov edi, eax
inc edi
lea eax, [edi + esi + 1]
push eax
push ebx
call fcn.0048c698
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4463f1
lea edx, [esp + 0xc30]
push edx
lea ecx, [esi + ebx]
push ecx
call fcn.0048d8e8
add esp, 8
add esi, edi
mov edx, esp
mov eax, 0x4b98a4
xor ecx, ecx
call fcn.0046376c
test al, al
jne 0x4462f5
test esi, esi
jne 0x44637d
push 0x30
mov eax, 0x65
call fcn.004116e8
push eax
mov eax, 0x14c
call fcn.004116e8
push eax
push dword [0x4b9890]
call sub.USER32.DLL_MessageBoxA
jmp 0x4463f1
mov byte [ebx + esi], 0
push 0x1e
push 0
lea edx, [esp + 0x1038]
push edx
call fcn.0048d768
add esp, 0xc
mov ecx, dword [0x4b9890]
mov dword [esp + 0x1030], ecx
mov dword [esp + 0x1034], 3
test ebp, ebp
je 0x4463bb
mov word [esp + 0x1040], 0x40
mov dword [esp + 0x1038], ebx
lea eax, [esp + 0x1030]
push eax
call sub.SHELL32.DLL_SHFileOperationA
test eax, eax
sete dl
and edx, 1
test ebx, ebx
je 0x4463e2
push ebx
call fcn.0048c688
pop ecx
mov edx, 0x49ca45
mov eax, 0x4b98a4
call fcn.0045e350
add esp, 0x1050
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4498e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
cmp byte [ebp + 8], 0
je 0x44991a
push ebx
push 0x400
mov edx, 0x49cbaa
mov eax, 0x49d5b0
mov ecx, edi
call fcn.00465984
cmp byte [edi], 0
jne 0x44991d
push ebx
push edi
call fcn.0048d8e8
add esp, 8
jmp 0x44991d
mov byte [edi], 0
mov al, byte [edi]
test al, al
setne bl
and ebx, 1
test al, al
jne 0x449936
push edi
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov eax, edi
call fcn.0040ba60
cmp byte [ebp + 0x10], 0
jne 0x44994b
test bl, bl
je 0x4499f0
mov edx, 0x49d5bb
mov eax, 0x49d5b0
mov ecx, 1
call fcn.00465b48
test eax, eax
je 0x4499f0
mov eax, esi
call fcn.0040b578
push eax
push edi
call fcn.0048d80c
add esp, 8
mov eax, edi
call fcn.0040b948
mov esi, eax
test esi, esi
je 0x4499f0
cmp edi, esi
jae 0x4499f0
mov byte [esi], 0
mov eax, edi
call fcn.0040b948
mov ebx, eax
test ebx, ebx
je 0x4499dc
cmp edi, ebx
jae 0x4499dc
cmp byte [ebp + 0xc], 0
je 0x4499c9
cmp byte [esi + 1], 0
je 0x4499c9
xor eax, eax
mov al, byte [esi + 2]
push eax
call fcn.004916f0
pop ecx
test eax, eax
jne 0x4499c9
xor edx, edx
mov dl, byte [esi - 1]
push edx
call fcn.004916f0
pop ecx
test eax, eax
jne 0x4499d9
mov edx, 0x49cf04
mov eax, ebx
call fcn.0040e624
test eax, eax
jne 0x4499dc
mov byte [ebx], 0
dec esi
jmp 0x4499e3
mov byte [esi], 0
dec esi
cmp edi, esi
jae 0x4499f0
xor ecx, ecx
mov cl, byte [esi]
cmp ecx, 0x2e
je 0x4499df
xor edx, edx
mov eax, edi
call fcn.0040bda0
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x44a8e0
Capabilities:
Copy file
Get file attributes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
mov esi, eax
push eax
add esp, 0xfffff3f8
cmp dword [0x4bc220], 0
jne 0x44ab3a
push 0
push 0
push 0xffffffffffffffff
push esi
call sub.SHELL32.DLL_DragQueryFileA
mov edi, eax
cmp edi, 1
jne 0x44aa9b
mov word [esp + 0x408], 0
push 0x400
lea eax, [esp + 0xc]
push eax
push 0
push esi
call sub.SHELL32.DLL_DragQueryFileA
call fcn.0040f820
test eax, eax
je 0x44a951
push 0x400
lea edx, [esp + 0x40c]
push edx
push 0
push esi
call sub.SHELL32.DLL_DragQueryFileW
push esp
call sub.USER32.DLL_GetCursorPos
push dword [esp + 4]
push dword [esp + 4]
call sub.USER32.DLL_WindowFromPoint
cmp dword [0x4bc218], 0
je 0x44a975
cmp eax, dword [0x4b98a4]
je 0x44a9a1
lea eax, [esp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
test al, 0x10
jne 0x44a9a1
push 1
lea ecx, [esp + 0x40c]
lea edx, [esp + 0xc]
mov eax, 0x4b98a4
call fcn.004614ac
dec eax
je 0x44ab3a
cmp byte [0x4a7004], 0
jne 0x44aa9b
push 7
push str.rarreg.
lea eax, [esp + 0x10]
call fcn.0040b578
push eax
call fcn.0048db88
add esp, 0xc
test eax, eax
jne 0x44aa9b
push 0x400
lea edx, [esp + 0xc0c]
push edx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x49d66c
lea eax, [esp + 0xc0c]
call fcn.0040b578
push eax
call fcn.0048d8e8
add esp, 8
push 0
lea edx, [esp + 0xc0c]
push edx
lea ecx, [esp + 0x10]
push ecx
call sub.KERNEL32.DLL_CopyFileA
push dword [0x4b9890]
call sub.USER32.DLL_SetForegroundWindow
push 1
push dword [0x4b9890]
call sub.USER32.DLL_FlashWindow
mov al, 1
call fcn.0040de34
mov byte [0x4a7004], al
push 0
push dword [0x4b9890]
call sub.USER32.DLL_FlashWindow
cmp dword [0x4bc218], 0
je 0x44aa57
mov eax, 0x4b98a4
call fcn.0045fbcc
jmp 0x44aa66
mov edx, 0x49ca45
mov eax, 0x4b98a4
call fcn.0045e350
cmp byte [0x4a7004], 0
je 0x44ab3a
push 0x30
mov eax, 0x368
call fcn.004116e8
push eax
mov eax, 0x367
call fcn.004116e8
push eax
push dword [0x4b9890]
call sub.USER32.DLL_MessageBoxA
jmp 0x44ab3a
xor eax, eax
call fcn.00452b10
cmp dword [0x4bc218], 0
je 0x44aab5
mov dword [0x4b091c], 1
mov eax, dword [0x4b3334]
call fcn.0040efa4
xor ebx, ebx
cmp edi, ebx
jle 0x44ab1f
mov word [esp + 0x1408], 0
push 0x400
lea eax, [esp + 0x100c]
push eax
mov ebp, ebx
push ebp
push esi
call sub.SHELL32.DLL_DragQueryFileA
call fcn.0040f820
test eax, eax
je 0x44ab02
push 0x400
lea eax, [esp + 0x140c]
push eax
push ebp
push esi
call sub.SHELL32.DLL_DragQueryFileW
lea ecx, [esp + 0x1408]
lea edx, [esp + 0x1008]
mov eax, dword [0x4b3334]
call fcn.0040efdc
inc ebx
cmp edi, ebx
jg 0x44aac5
push 0x10
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne al
and eax, 1
mov cl, 1
mov edx, eax
xor eax, eax
call fcn.00453530
add esp, 0x1c08
pop ebp
pop edi
pop esi
pop ebx
ret