joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4168d4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xffffff70
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
xor edx, edx
mov dword [esp + 8], edx
mov esi, dword [esp + 8]
jmp 0x416951
xor eax, eax
mov edx, dword [esp]
add edx, esi
add edx, eax
mov cl, byte [edx + 1]
mov byte [esp + eax + 0x19], cl
mov bl, byte [edx]
sub bl, cl
mov byte [esp + eax + 0x18], bl
mov dl, byte [edx + 2]
sub dl, cl
mov byte [esp + eax + 0x1a], dl
add eax, 3
cmp eax, 0x78
jl 0x4168ff
mov ebx, 3
mov cl, byte [esp + ebx + 0x18]
sub cl, byte [esp + ebx + 0x15]
movsx ecx, cl
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 8]
add dword [esp + edx*4 + 0xc], eax
inc ebx
cmp ebx, 0x78
jl 0x41692b
add esi, 0x780
mov eax, dword [esp + 4]
add eax, 0xffffff88
cmp esi, eax
jl 0x4168fd
inc dword [esp + 8]
cmp dword [esp + 8], 2
jle 0x4168f7
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp edx, eax
jb 0x41697d
cmp eax, dword [esp + 0x14]
ja 0x41697d
xor eax, eax
jmp 0x416989
mov eax, 1
cmp edx, dword [esp + 0x14]
jbe 0x416989
inc eax
add esp, 0x90
pop esi
pop ebx
ret

Function at 0x416f94
Capabilities:
Create thread

Disassembly:
push ebx
push ecx
push esp
push 0
push edx
push eax
push 0x10000
push 0
call sub.KERNEL32.DLL_CreateThread
mov ebx, eax
test ebx, ebx
jne 0x416fd5
mov edx, str.CreateThread_failed
mov eax, 0x4ae120
call fcn.0042cd48
mov eax, 0x4ae120
call fcn.0042cf6c
mov eax, 0x4ae120
mov edx, 2
call fcn.0042cecc
mov eax, ebx
pop edx
pop ebx
ret
Function at 0x428664
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 [0x4ae754]
call sub.KERNEL32.DLL_FindResourceA
mov ebx, eax
push ebx
push dword [0x4ae754]
call sub.KERNEL32.DLL_LoadResource
mov ebp, eax
push ebx
push dword [0x4ae754]
call sub.KERNEL32.DLL_SizeofResource
mov ebx, eax
push ebx
call fcn.00493758
pop ecx
mov esi, eax
test esi, esi
jne 0x4286c2
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
xor eax, eax
jmp 0x4287d7
push ebx
push ebp
push esi
call fcn.004947d8
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.00428898
test al, al
je 0x428736
mov ecx, esi
test bl, bl
je 0x42870e
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
mov eax, 0xd
test bl, bl
jne 0x428744
add eax, 0xfffffffc
add eax, eax
add ebp, eax
cmp word [ebp], 0xffff
jne 0x428757
mov edx, 2
jmp 0x428761
mov eax, ebp
call fcn.004101ec
mov edx, eax
inc edx
add edx, edx
add ebp, edx
cmp word [ebp], 0xffff
jne 0x428774
mov ecx, 2
jmp 0x42877e
mov eax, ebp
call fcn.004101ec
mov ecx, eax
inc ecx
add ecx, ecx
lea edx, [esp + 0x10]
add ebp, ecx
mov ecx, 0x10000000
mov eax, ebp
call fcn.0040ffe0
push 1
push dword [esp + 4]
lea ecx, [esp + 0x218]
lea edx, [esp + 0x18]
mov eax, edi
call fcn.00428220
lea eax, [esp + 0x210]
push eax
call fcn.00494b2c
pop ecx
mov edx, dword [esp + 4]
mov dword [edx], eax
cmp dword [esp + 8], 0x64
jne 0x4287d5
cmp dword [esp + 0xc], 0x64
jne 0x4287d5
push esi
call fcn.00493768
pop ecx
xor esi, esi
mov eax, esi
add esp, 0x410
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42cdc4
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.00411fe8
push eax
test ebx, ebx
je 0x42cde8
cmp byte [ebx], 0
jne 0x42cdea
xor ebx, ebx
push ebx
call fcn.004487f8
add esp, 0xc
call sub.KERNEL32.DLL_GetLastError
cmp eax, 3
jne 0x42ce61
push esi
call fcn.004949f8
pop ecx
mov ebx, eax
mov eax, esi
call fcn.0040c464
test al, al
jne 0x42ce28
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push esp
call fcn.004949f8
pop ecx
add eax, ebx
inc eax
mov ebx, eax
cmp ebx, 0x104
jle 0x42ce61
push 0x104
mov eax, 0x564
call fcn.00411fe8
push eax
lea edx, [esp + 0x408]
push edx
call fcn.00497928
add esp, 0xc
mov edx, 1
lea eax, [esp + 0x400]
call fcn.0044e24c
mov eax, edi
call fcn.0042cf6c
add esp, 0x600
pop edi
pop esi
pop ebx
ret
Function at 0x42d098
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 0x42d0b8
xor eax, eax
jmp 0x42d179
mov edx, dword [ebp - 0xc]
test edx, edx
jns 0x42d0c2
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.0042d4fc
add dword [ebp - 8], 0x10
mov edx, dword [ebp - 0x14]
dec edx
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jle 0x42d155
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.0042d4fc
add dword [ebp - 8], 0x10
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0
jg 0x42d111
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 0x42d180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x42d197
test esi, esi
jg 0x42d19e
xor eax, eax
jmp 0x42d246
push 0x10
mov edx, dword [ebp - 4]
add edx, 4
push edx
lea ecx, [ebp - 0x28]
push ecx
call fcn.004947d8
add esp, 0xc
test esi, esi
jns 0x42d1ba
add esi, 0xf
sar esi, 4
mov dword [ebp - 8], esi
mov esi, dword [ebp - 8]
test esi, esi
jle 0x42d22b
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042da78
mov eax, dword [ebp - 0x28]
xor dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x24]
xor dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x20]
xor dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0xc], eax
mov eax, ebx
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0xc], ecx
add ebx, 0x10
add dword [ebp + 8], 0x10
dec esi
test esi, esi
jg 0x42d1c7
push 0x10
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.004947d8
add esp, 0xc
mov eax, dword [ebp - 8]
shl eax, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42d250
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd4
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 4
push 0x20
push edx
lea edx, [esp + 0x14]
push edx
call fcn.004947d8
add esp, 0xc
xor esi, esi
xor ecx, ecx
xor edx, edx
jmp 0x42d2b9
xor eax, eax
mov edi, esi
mov ebp, dword [esp]
shl edi, 4
lea ebx, [esp + edx*4 + 0xc]
lea edi, [ebp + edi]
mov bl, byte [ebx + eax]
lea edi, [edi + ecx*4]
mov byte [edi + eax + 0x14], bl
inc eax
cmp eax, 4
jl 0x42d284
inc edx
inc ecx
cmp edx, dword [esp + 8]
jge 0x42d2b1
cmp ecx, 4
jl 0x42d282
cmp ecx, 4
jne 0x42d2b9
inc esi
xor ecx, ecx
cmp edx, dword [esp + 8]
jge 0x42d2c4
cmp esi, 0xa
jle 0x42d2a6
cmp esi, 0xa
jg 0x42d457
mov eax, dword [esp + 8]
xor edx, edx
mov dl, byte [esp + eax*4 + 9]
mov al, byte [edx + 0x4b2c38]
xor byte [esp + 0xc], al
mov edx, dword [esp + 8]
xor eax, eax
mov al, byte [esp + edx*4 + 0xa]
mov dl, byte [eax + 0x4b2c38]
xor byte [esp + 0xd], dl
mov eax, dword [esp + 8]
xor edx, edx
mov dl, byte [esp + eax*4 + 0xb]
mov al, byte [edx + 0x4b2c38]
xor byte [esp + 0xe], al
mov edx, dword [esp + 8]
xor eax, eax
mov al, byte [esp + edx*4 + 8]
mov dl, byte [eax + 0x4b2c38]
xor byte [esp + 0xf], dl
mov eax, dword [esp + 4]
mov dl, byte [eax + 0x4b2e38]
xor byte [esp + 0xc], dl
inc dword [esp + 4]
cmp dword [esp + 8], 8
je 0x42d367
mov edx, 1
cmp edx, dword [esp + 8]
jge 0x42d405
xor eax, eax
lea ebx, [esp + edx*4 + 8]
lea edi, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
xor byte [edi + eax], bl
inc eax
cmp eax, 4
jl 0x42d347
inc edx
cmp edx, dword [esp + 8]
jl 0x42d345
jmp 0x42d405
mov edx, 1
jmp 0x42d385
xor eax, eax
lea ebx, [esp + edx*4 + 8]
lea edi, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
xor byte [edi + eax], bl
inc eax
cmp eax, 4
jl 0x42d370
inc edx
mov eax, dword [esp + 8]
sar eax, 1
jns 0x42d390
adc eax, 0
cmp edx, eax
jl 0x42d36e
mov eax, dword [esp + 8]
sar eax, 1
jns 0x42d39f
adc eax, 0
xor edx, edx
mov dl, byte [esp + eax*4 + 8]
mov dl, byte [edx + 0x4b2c38]
xor byte [esp + eax*4 + 0xc], dl
xor edx, edx
mov dl, byte [esp + eax*4 + 9]
mov dl, byte [edx + 0x4b2c38]
xor byte [esp + eax*4 + 0xd], dl
xor edx, edx
mov dl, byte [esp + eax*4 + 0xa]
mov dl, byte [edx + 0x4b2c38]
xor byte [esp + eax*4 + 0xe], dl
xor edx, edx
mov dl, byte [esp + eax*4 + 0xb]
mov dl, byte [edx + 0x4b2c38]
xor byte [esp + eax*4 + 0xf], dl
mov edx, eax
inc edx
cmp edx, dword [esp + 8]
jge 0x42d405
xor eax, eax
lea ebx, [esp + edx*4 + 8]
lea edi, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
xor byte [edi + eax], bl
inc eax
cmp eax, 4
jl 0x42d3ea
inc edx
cmp edx, dword [esp + 8]
jl 0x42d3e8
xor edx, edx
jmp 0x42d443
xor eax, eax
mov ebx, esi
shl ebx, 4
mov edi, dword [esp]
lea ebx, [edi + ebx]
lea ebx, [ebx + ecx*4]
lea edi, [ebx + eax + 0x14]
lea ebx, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
mov byte [edi], bl
inc eax
cmp eax, 4
jl 0x42d40d
inc edx
inc ecx
cmp edx, dword [esp + 8]
jge 0x42d43b
cmp ecx, 4
jl 0x42d40b
cmp ecx, 4
jne 0x42d443
inc esi
xor ecx, ecx
cmp edx, dword [esp + 8]
jge 0x42d44e
cmp esi, 0xa
jle 0x42d430
cmp esi, 0xa
jle 0x42d2cd
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42d460
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 + 0x4b5256]
lea ebx, [ebx*4 + 0x4b4e56]
mov bl, byte [ebx + eax]
xor bl, byte [ebp + eax]
movzx ebp, byte [edx + 2]
movzx edx, byte [edx + 3]
lea ebp, [ebp*4 + 0x4b5656]
lea edx, [edx*4 + 0x4b5a56]
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 0x42d472
inc eax
cmp eax, 4
jl 0x42d470
mov ecx, esi
push 0x10
shl ecx, 4
lea eax, [esp + 4]
add ecx, edi
push eax
add ecx, 0x14
push ecx
call fcn.004947d8
add esp, 0xc
inc esi
cmp esi, 0xa
jl 0x42d46e
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42ffb0
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 0x43dbf1
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov eax, dword [0x4baab4]
push esi
add esp, 0xfffffbe8
cmp dword [eax + 0x30], 0
je 0x43dd91
push 1
push 0
mov edx, 0x4b9eb4
mov eax, 0x4c219c
xor ecx, ecx
call fcn.00460e08
dec eax
jne 0x43dd91
xor edx, edx
xor eax, eax
mov dword [esp], edx
xor edx, edx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
cmp byte [0x4b77d4], 0
je 0x43dc54
push 1
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
mov eax, 0x4c219c
call fcn.00462900
jmp 0x43dc68
push 1
lea ecx, [esp + 0xc]
lea edx, [esp + 4]
mov eax, 0x4c219c
call fcn.00462800
cmp dword [esp + 8], 0
je 0x43dd91
push 0x400
push 0
lea edx, [esp + 0x20]
xor ecx, ecx
mov eax, dword [0x4baab4]
call fcn.0040f830
lea eax, [esp + 0x18]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x43dcc4
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
call fcn.0045e60c
xor eax, eax
mov al, byte [esp + 0xc]
cmp eax, 0x43
je 0x43dcb6
cmp eax, 0x4e
jne 0x43dcc4
push dword [esp]
call fcn.00492fcc
pop ecx
jmp 0x43dd91
push 0x4a3eed
lea edx, [esp + 0x1c]
push edx
call fcn.00496900
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x43dd07
lea eax, [esp + 0x18]
push eax
mov eax, 0x1f6
call fcn.00411fe8
push eax
push 0x4b9eb4
call fcn.004487f8
add esp, 0xc
push dword [esp]
call fcn.00492fcc
pop ecx
jmp 0x43dd91
cmp byte [0x4b77d4], 0
je 0x43dd64
push ebx
push 0xff
call fcn.00498688
add esp, 8
push ebx
push 0xfe
call fcn.00498688
add esp, 8
xor esi, esi
cmp esi, dword [esp + 8]
jge 0x43dd77
push ebx
mov eax, dword [esp + 8]
movzx edx, word [eax + esi*2]
push edx
call fcn.00498688
add esp, 8
push ebx
mov ecx, dword [esp + 8]
movzx eax, word [ecx + esi*2]
sar eax, 8
push eax
call fcn.00498688
add esp, 8
inc esi
cmp esi, dword [esp + 8]
jl 0x43dd34
jmp 0x43dd77
push ebx
push dword [esp + 0xc]
push 1
push dword [esp + 0xc]
call fcn.00496d18
add esp, 0x10
push ebx
call fcn.00496404
pop ecx
push dword [esp]
call fcn.00492fdc
pop ecx
push dword [esp + 4]
call fcn.00492fdc
pop ecx
add esp, 0x418
pop esi
pop ebx
ret
Function at 0x4421c3
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 0x4421cc
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, 0x4a3ca0
call fcn.00494df8
lea edx, [ebp - 0x1034]
mov eax, str.Rar_DIXXXXXX
call fcn.0046e4b4
test al, al
jne 0x442221
xor eax, eax
mov edx, dword [ebp - 0xc2c]
mov dword fs:[0], edx
jmp 0x4423ac
lea ecx, [ebp - 0x1434]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [ebp - 0x1034]
push eax
call fcn.0049635c
pop ecx
call fcn.00456acc
mov ecx, 0x4ba2b4
mov edx, 0x4b9eb4
mov eax, 0x4c219c
call fcn.004623f0
mov edx, dword [0x4c23a4]
mov dword [0x4b8a6c], edx
call fcn.00457628
mov dword [0x4b8084], 2
mov ecx, dword [ebp - 0xc30]
mov edx, ebx
mov eax, dword [0x4baab4]
call fcn.0040f74c
mov eax, 0x4c219c
xor ecx, ecx
xor edx, edx
call fcn.0045d418
xor ebx, ebx
mov word [ebp - 0xc1c], 8
lea eax, [ebp - 0xc08]
call fcn.004126a8
inc dword [ebp - 0xc10]
mov edx, 0x4a3eb5
mov word [ebp - 0xc1c], 0x14
lea eax, [ebp - 0xc08]
call fcn.00412748
lea eax, [ebp - 0x18d4]
call fcn.00413750
lea eax, [ebp - 0x18a8]
call fcn.00413750
lea eax, [ebp - 0x187c]
call fcn.00413750
jmp 0x442340
cmp byte [ebp - 0x18d8], 0
jne 0x442340
call fcn.0040ff8c
test eax, eax
je 0x442326
cmp word [ebp - 0x20e8], 0
je 0x442326
test esi, esi
je 0x442326
lea edx, [ebp - 0xc34]
push edx
push esi
push 0x400
lea ecx, [ebp - 0x20e8]
push ecx
call sub.KERNEL32.DLL_GetFullPathNameW
jmp 0x44232f
test esi, esi
je 0x44232f
mov word [esi], 0
lea eax, [ebp - 0x24e8]
mov edx, edi
call fcn.0040a978
mov bl, 1
jmp 0x442357
lea edx, [ebp - 0x24e8]
lea eax, [ebp - 0xc08]
xor ecx, ecx
call fcn.004127bc
test al, al
jne 0x4422eb
lea eax, [ebp - 0x1434]
push eax
call fcn.0049635c
pop ecx
test bl, bl
jne 0x442374
lea edx, [ebp - 0x1034]
push edx
call sub.KERNEL32.DLL_RemoveDirectoryA
mov byte [0x4c19f0], 0
mov eax, 0x4c19c4
call fcn.004493b8
mov eax, ebx
mov edx, 2
push eax
lea eax, [ebp - 0xc08]
dec dword [ebp - 0xc10]
call fcn.00412718
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 0x444cbc
Capabilities:
Read .ini file

Disassembly:
add esp, 0xfffffb38
cmp byte [0x4ae730], 0
jne 0x444d91
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.0040ba30
push eax
call fcn.004949c8
add esp, 8
push esp
push 0x64
lea edx, [esp + 0x408]
push edx
push 0x4a3d11
push str.regname
push str.registration
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push esp
push 0x64
lea ecx, [esp + 0x46c]
push ecx
push 0x4a3d11
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 0x444d91
cmp byte [esp + 0x464], 0
je 0x444d91
test eax, eax
jne 0x444d91
push esp
push 0x4a3fd8
push str.informed
push str.registration
call sub.KERNEL32.DLL_WritePrivateProfileStringA
push 0
push 0x449fc8
push dword [0x4c1440]
push str.REREG
push dword [0x4ae754]
call sub.USER32.DLL_DialogBoxParamA
add esp, 0x4c8
ret

Function at 0x447f34
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 0x448204
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebx
add esp, 0xfffffc00
mov ebx, eax
mov eax, ebx
call fcn.0046e6d4
test al, al
jne 0x44821c
xor eax, eax
jmp 0x448257
push 0
push ebx
call sub.KERNEL32.DLL_SetFileAttributesA
push ebx
call fcn.0049758c
pop ecx
push ebx
lea edx, [esp + 4]
push edx
call fcn.004949c8
add esp, 8
push 0x5c
lea ecx, [esp + 4]
push ecx
call fcn.00494aad
add esp, 8
mov ebx, eax
test eax, eax
je 0x448251
mov byte [ebx], 0
push esp
call sub.KERNEL32.DLL_RemoveDirectoryA
add esp, 0x400
pop ebx
ret
Function at 0x4482bc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
test esi, esi
je 0x4483be
push esi
call fcn.004949f8
pop ecx
mov dword [esp], eax
test eax, eax
je 0x4483be
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
jne 0x4482ef
xor eax, eax
jmp 0x4483c3
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 0x448332
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov ebp, eax
test eax, eax
je 0x448332
mov edx, dword [esp]
inc edx
push edx
push esi
push ebp
call fcn.004947d8
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 0x448373
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov ebp, eax
test eax, eax
je 0x448373
mov edx, dword [esp]
inc edx
push edx
push esi
push ebp
call fcn.004947d8
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.0040ff8c
test eax, eax
je 0x4483b9
mov ecx, edi
add ecx, ecx
push ecx
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov ebx, eax
test eax, eax
je 0x4483b9
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov ebp, eax
test eax, eax
je 0x4483b9
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 0x448e08
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.00411fe8
push eax
lea edx, [esp + 8]
push edx
call fcn.00497928
add esp, 0xc
jmp 0x448e81
push 0x400
push esi
push ebx
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
test eax, eax
je 0x448e5f
push esi
push ebx
call fcn.0049497c
add esp, 8
test eax, eax
je 0x448e5f
mov eax, esi
xor edx, edx
call fcn.0046e99c
test al, al
jne 0x448e8e
push 0x15
mov eax, 0x66
call fcn.00411fe8
push eax
lea edx, [esp + 8]
push edx
push dword [0x4c1440]
call sub.USER32.DLL_MessageBoxA
cmp eax, 2
je 0x448ea8
xor edx, edx
mov eax, ebx
call fcn.0046e99c
test al, al
je 0x448e34
mov eax, 0x4c1454
call fcn.00468ef0
test al, al
je 0x448ea8
mov eax, 0x4c1454
xor edx, edx
call fcn.0046364c
add esp, 0x864
pop esi
pop ebx
ret

Function at 0x448eb4
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 0x4a3d8d
lea edx, [esp + 8]
push edx
call fcn.00497928
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 0x448f1e
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 0x4a3d11
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.004949f8
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 0x448fad
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 0x44a150
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.0040ff8c
test eax, eax
je 0x44a175
mov eax, ebp
call fcn.0043e2ff
jmp 0x44a28f
xor ebx, ebx
xor esi, esi
mov eax, 0x4c1454
xor ecx, ecx
xor edx, edx
call fcn.00468aa4
jmp 0x44a1d6
lea edx, [esp + 0xc30]
mov eax, esp
call fcn.0040a978
lea ecx, [esp + 0xc30]
push ecx
call fcn.004949f8
pop ecx
mov edi, eax
inc edi
lea eax, [edi + esi + 1]
push eax
push ebx
call fcn.00493778
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x44a28f
lea edx, [esp + 0xc30]
push edx
lea ecx, [esi + ebx]
push ecx
call fcn.004949c8
add esp, 8
add esi, edi
mov edx, esp
mov eax, 0x4c1454
xor ecx, ecx
call fcn.00468aa4
test al, al
jne 0x44a189
test esi, esi
jne 0x44a211
push 0x30
mov eax, 0x65
call fcn.00411fe8
push eax
mov eax, 0x14c
call fcn.00411fe8
push eax
push dword [0x4c1440]
call sub.USER32.DLL_MessageBoxA
jmp 0x44a28f
mov byte [ebx + esi], 0
push 0x1e
push 0
lea edx, [esp + 0x1038]
push edx
call fcn.00494848
add esp, 0xc
mov ecx, dword [0x4c1440]
mov dword [esp + 0x1030], ecx
mov dword [esp + 0x1034], 3
test ebp, ebp
je 0x44a24f
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 0x44a276
push ebx
call fcn.00493768
pop ecx
mov eax, 0x4c197c
call fcn.004696d8
mov edx, 0x4a3d11
mov eax, 0x4c1454
call fcn.0046364c
add esp, 0x1050
pop ebp
pop edi
pop esi
pop ebx
ret