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

Disassembly:
sub esp, 0x24
mov eax, dword [0x449020]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
inc ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 8], ebx
cmp dword [ebp + 4], ebx
jle 0x414a0c
push esi
push edi
lea edi, [ebp + 0x28]
mov dword [esp + 0x14], edi
lea eax, [edi + 2]
xor esi, esi
mov dword [esp + 0x18], eax
lea ebx, [esp + 0x20]
mov ebp, eax
push 4
add ebx, esi
pop edi
movzx eax, byte [ebp + 1]
movzx ecx, byte [ebp - 1]
mov dl, byte [esi + eax*4 + 0x450130]
movzx eax, byte [ebp - 2]
xor dl, byte [esi + ecx*4 + 0x44f930]
xor dl, byte [esi + eax*4 + 0x44f530]
movzx eax, byte [ebp]
lea ebp, [ebp + 4]
xor dl, byte [esi + eax*4 + 0x44fd30]
mov byte [ebx], dl
lea ebx, [ebx + 4]
sub edi, 1
jne 0x414996
mov eax, dword [esp + 0x18]
inc esi
cmp esi, 4
jl 0x41498b
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x20]
push 0x10
push eax
push edi
call fcn.004245a0
mov ebx, dword [esp + 0x1c]
add esp, 0xc
mov ebp, dword [esp + 0x1c]
inc ebx
add edi, 0x10
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
cmp ebx, dword [ebp + 4]
jl 0x414982
pop edi
pop esi
mov ecx, dword [esp + 0x28]
pop ebp
pop ebx
xor ecx, esp
call fcn.00422eb5
add esp, 0x24
ret
Function at 0x414a38
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, 0x100
mov ecx, edi
movzx eax, byte [ecx + str.cw]
mov byte [eax + 0x44d430], cl
inc ecx
cmp ecx, ebp
jl 0x414a45
mov bl, byte [edi + str.cw]
mov dl, 2
mov cl, bl
mov byte [edi*4 + 0x44e131], bl
mov byte [edi*4 + 0x44e130], bl
mov byte [edi*4 + 0x44dd33], bl
mov byte [edi*4 + 0x44dd30], bl
mov byte [edi*4 + 0x44d933], bl
mov byte [edi*4 + 0x44d932], bl
mov byte [edi*4 + 0x44d532], bl
mov byte [edi*4 + 0x44d531], bl
call fcn.00414a1d
mov dl, 3
mov byte [edi*4 + 0x44e133], al
mov cl, bl
mov byte [edi*4 + 0x44dd32], al
mov byte [edi*4 + 0x44d931], al
mov byte [edi*4 + 0x44d530], al
call fcn.00414a1d
mov bl, byte [edi + 0x44d430]
mov dl, 0xb
mov cl, bl
mov byte [edi*4 + 0x44e132], al
mov byte [edi*4 + 0x44dd31], al
mov byte [edi*4 + 0x44d930], al
mov byte [edi*4 + 0x44d533], al
call fcn.00414a1d
movzx esi, bl
mov dl, 9
mov cl, bl
mov byte [edi*4 + 0x44f132], al
mov byte [edi*4 + 0x44ed31], al
mov byte [edi*4 + 0x44e930], al
mov byte [edi*4 + 0x44e533], al
mov byte [esi*4 + 0x450132], al
mov byte [esi*4 + 0x44fd31], al
mov byte [esi*4 + 0x44f930], al
mov byte [esi*4 + 0x44f533], al
call fcn.00414a1d
mov dl, 0xd
mov byte [edi*4 + 0x44f130], al
mov cl, bl
mov byte [edi*4 + 0x44ed33], al
mov byte [edi*4 + 0x44e932], al
mov byte [edi*4 + 0x44e531], al
mov byte [esi*4 + 0x450130], al
mov byte [esi*4 + 0x44fd33], al
mov byte [esi*4 + 0x44f932], al
mov byte [esi*4 + 0x44f531], al
call fcn.00414a1d
mov dl, 0xe
mov byte [edi*4 + 0x44f131], al
mov cl, bl
mov byte [edi*4 + 0x44ed30], al
mov byte [edi*4 + 0x44e933], al
mov byte [edi*4 + 0x44e532], al
mov byte [esi*4 + 0x450131], al
mov byte [esi*4 + 0x44fd30], al
mov byte [esi*4 + 0x44f933], al
mov byte [esi*4 + 0x44f532], al
call fcn.00414a1d
mov byte [edi*4 + 0x44f133], al
mov byte [edi*4 + 0x44ed32], al
mov byte [edi*4 + 0x44e931], al
mov byte [edi*4 + 0x44e530], al
inc edi
mov byte [esi*4 + 0x450133], al
mov byte [esi*4 + 0x44fd32], al
mov byte [esi*4 + 0x44f931], al
mov byte [esi*4 + 0x44f530], al
cmp edi, ebp
jl 0x414a57
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x414e21
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, dword [0x44a868]
mov ebx, ecx
push edi
mov edi, edx
test esi, esi
jne 0x414e49
mov ecx, 0x44a860
call fcn.00414c32
mov esi, dword [0x44a868]
movzx ecx, byte [ebp + 0xc]
mov eax, edi
and eax, 0xfffffff0
cmp byte [ebp + 8], 0
je 0x414e8f
test esi, esi
je 0x414eb1
push ecx
push eax
push ebx
mov ecx, esi
call dword [0x43c270]
call esi
test eax, eax
jne 0x414ed3
push str.CryptProtectMemory_failed
mov esi, 0x44a850
push esi
call fcn.00409f6c
pop ecx
pop ecx
call fcn.0040a1f6
push 2
mov ecx, esi
call fcn.0040a129
jmp 0x414ed3
mov esi, dword [0x44a86c]
test esi, esi
je 0x414eb1
push ecx
push eax
push ebx
mov ecx, esi
call dword [0x43c270]
call esi
test eax, eax
jne 0x414ed3
push str.CryptUnprotectMemory_failed
jmp 0x414e72
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov dword [esp + 0xc], eax
test edi, edi
je 0x414ed3
add al, 0x4b
lea ecx, [edx + ebx]
add al, dl
xor byte [ecx], al
inc edx
mov eax, dword [esp + 0xc]
cmp edx, edi
jb 0x414ec1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41576c
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x18], 0
and dword [ecx + 0x1c], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
ret

Function at 0x415a0f
Capabilities:
Hash data using sha256

Disassembly:
and dword [ecx + 0x20], 0
and dword [ecx + 0x24], 0
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
ret
Function at 0x415a4f
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
sub esp, 0x13c
mov eax, dword [0x449020]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [esp + 0x30], edi
lea ecx, [edi + 0x28]
add ecx, esi
call fcn.0040fc38
mov dword [esp + esi + 0x48], eax
add esi, 4
cmp esi, 0x40
jb 0x415a6f
push 0x30
lea ebx, [esp + 0x84]
pop ebp
mov ecx, dword [ebx - 0x34]
mov esi, ecx
mov edx, dword [ebx]
mov eax, ecx
rol esi, 0xe
lea ebx, [ebx + 4]
ror eax, 7
xor esi, eax
shr ecx, 3
xor esi, ecx
mov eax, edx
mov ecx, edx
rol eax, 0xd
rol ecx, 0xf
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add esi, ecx
add esi, dword [ebx - 0x3c]
add esi, dword [ebx - 0x18]
mov dword [ebx + 4], esi
sub ebp, 1
jne 0x415a8f
mov eax, dword [edi]
xor ebx, ebx
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov esi, dword [edi + 0x14]
mov ebp, dword [edi + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x1c]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, ebp
rol eax, 7
mov dword [esp + 0x40], esi
mov esi, ebp
ror esi, 0xb
xor esi, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov eax, ebp
mov edx, dword [esp + 0x1c]
mov ecx, ebp
ror eax, 6
not ecx
and ecx, dword [esp + 0x10]
xor esi, eax
mov eax, edx
mov dword [esp + 0x1c], ebp
and eax, ebp
mov dword [esp + 0x3c], ebp
xor ecx, eax
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
add esi, ecx
add esi, dword [ebx + 0x442500]
add esi, dword [esp + ebx + 0x48]
add ebx, 4
add esi, dword [esp + 0x24]
mov dword [esp + 0x24], eax
add ebp, esi
mov dword [esp + 0x10], edx
mov eax, edi
rol eax, 0xa
mov edx, edi
ror edx, 0xd
xor edx, eax
mov dword [esp + 0x20], edi
mov eax, edi
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x18]
mov ecx, eax
and eax, dword [esp + 0x14]
xor ecx, dword [esp + 0x14]
and ecx, edi
xor ecx, eax
mov eax, dword [esp + 0x18]
add edx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
lea edi, [edx + esi]
mov esi, dword [esp + 0x1c]
mov edx, eax
cmp ebx, 0x100
jb 0x415b06
mov eax, dword [esp + 0x2c]
add eax, edi
mov edi, dword [esp + 0x30]
add dword [edi + 4], ecx
mov ecx, dword [esp + 0x34]
add dword [edi + 8], ecx
mov ecx, dword [esp + 0x38]
add dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x3c]
add dword [edi + 0x14], ecx
mov ecx, dword [esp + 0x40]
add dword [edi + 0x18], ecx
add dword [edi + 0x10], ebp
mov ecx, dword [esp + 0x44]
add dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x148]
mov dword [edi], eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00422eb5
add esp, 0x13c
ret
Function at 0x415c79
Capabilities:
Hash data using sha256

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
push edi
push 0x38
pop edi
mov edx, dword [esi + 0x20]
mov ebx, dword [esi + 0x20]
and edx, 0x3f
mov ebp, dword [esi + 0x24]
shld ebp, ebx, 3
shl ebx, 3
mov byte [edx + esi + 0x28], 0x80
inc edx
cmp edx, edi
je 0x415cdc
jbe 0x415cc9
push 0x40
pop ecx
cmp edx, ecx
jae 0x415cc0
sub ecx, edx
lea eax, [esi + 0x28]
push ecx
add eax, edx
push 0
push eax
call fcn.00424b20
add esp, 0xc
mov ecx, esi
call fcn.00415a4f
xor edx, edx
sub edi, edx
lea eax, [esi + 0x28]
push edi
add eax, edx
push 0
push eax
call fcn.00424b20
add esp, 0xc
lea edx, [esi + 0x60]
mov ecx, ebp
call fcn.004159f9
lea edx, [esi + 0x64]
mov ecx, ebx
call fcn.004159f9
mov ecx, esi
call fcn.00415a4f
mov ebx, dword [esp + 0x10]
mov edx, ebx
mov ecx, dword [esi]
call fcn.004159f9
mov ecx, dword [esi + 4]
lea edx, [ebx + 4]
call fcn.004159f9
mov ecx, dword [esi + 8]
lea edx, [ebx + 8]
call fcn.004159f9
mov ecx, dword [esi + 0xc]
lea edx, [ebx + 0xc]
call fcn.004159f9
mov ecx, dword [esi + 0x10]
lea edx, [ebx + 0x10]
call fcn.004159f9
mov ecx, dword [esi + 0x14]
lea edx, [ebx + 0x14]
call fcn.004159f9
mov ecx, dword [esi + 0x18]
lea edx, [ebx + 0x18]
call fcn.004159f9
mov ecx, dword [esi + 0x1c]
lea edx, [ebx + 0x1c]
call fcn.004159f9
mov ecx, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp fcn.00415a0f
Function at 0x416e6c
Capabilities:
Get common file path

Disassembly:
push 0x5c
mov eax, 0x43a1f5
call fcn.004388b6
mov edi, ecx
push ecx
push 0x104
lea ecx, [ebp - 0x68]
call fcn.00401a88
xor esi, esi
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], esi
call fcn.00401895
mov edx, eax
call fcn.0040188a
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x416f0e
lea ecx, [ebp - 0x2c]
call fcn.004021e6
push edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00401d16
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.0040188a
push eax
lea ecx, [ebp - 0x44]
call fcn.00401d16
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.00410da9
lea ecx, [ebp - 0x44]
call fcn.00401e5c
lea ecx, [ebp - 0x5c]
call fcn.00401e5c
lea ecx, [ebp - 0x2c]
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.00401e5c
lea ecx, [ebp - 0x68]
call fcn.0040189d
mov eax, esi
call fcn.00438865
ret

Function at 0x416f1e
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x449020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x416f81
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
test eax, eax
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop ebx
call fcn.00422eb5
leave
ret

Function at 0x417042
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
push eax
push 0
push edx
push 0x4172c0
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x417085
push str.CreateThread_failed
mov edi, 0x44a850
push edi
call fcn.00409f6c
pop ecx
pop ecx
call fcn.0040a1f6
push 2
mov ecx, edi
call fcn.0040a129
pop edi
mov eax, esi
pop esi
pop ecx
ret
Function at 0x41bd81
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x30
mov eax, dword [0x449020]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
mov esi, dword [esp + 0x40]
mov ebp, ecx
push edi
mov edi, dword [esp + 0x4c]
push 0
push ebx
mov dword [esp + 0x18], ebx
mov dword [ebp + 8], ebx
mov byte [ebp + 0x42], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov ecx, ebp
call fcn.0041beed
cmp dword [ebp + 0x20], 0
je 0x41bdcc
push dword [ebp + 0x20]
call fcn.0042c13e
pop ecx
test edi, edi
jne 0x41bdd4
xor eax, eax
jmp 0x41bddb
push edi
call fcn.0042cc44
pop ecx
and dword [ebp + 0x24], 0
mov dword [ebp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp dword [ebp + 4], 0
je 0x41be14
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
push dword [esp + 0x10]
mov esi, dword [ebp]
sub edi, eax
lea ebx, [eax + 1]
sub edi, 2
call dword [sym.imp.USER32.dll_GetParent]
push ebp
push esi
xor esi, esi
push esi
push eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
push eax
push edi
push dword [esp + 0x30]
push ebx
push 0x40000000
push esi
push str.RarHtmlClassName
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp byte [ebp + 0x1c], 0
mov dword [ebp + 4], eax
jne 0x41bea4
cmp dword [ebp + 0x10], esi
jne 0x41bea4
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x41beba
cmp dword [ebp + 0x24], esi
jne 0x41beba
cmp dword [ebp + 0x20], esi
je 0x41beba
push dword [ebp + 0x20]
lea eax, [esp + 0x28]
push eax
call fcn.0041c3d8
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [esp + 0x24]
mov ecx, ebx
call fcn.004022aa
lea ecx, [esp + 0x24]
call fcn.00401e5c
jmp 0x41beba
test eax, eax
je 0x41beba
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00422eb5
add esp, 0x30
ret 0x14
Function at 0x41d19a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 0x4435f8
push ecx
push dword [0x44a7d0]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41d2a7
push esi
push dword [0x44a7d0]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x41d2a7
push esi
push dword [0x44a7d0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41d2a7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41d2a7
and dword [ebp - 8], 0
push edi
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x41d2a1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41d29a
push ebx
push esi
push eax
call fcn.004245a0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
add esp, 0xc
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41d293
mov ecx, dword [ebp - 4]
call fcn.0041d7e1
mov ecx, dword [ebp - 4]
mov ebx, eax
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x43c270]
call esi
test ebx, ebx
je 0x41d293
mov ecx, ebx
call fcn.0041d6c0
test eax, eax
jne 0x41d281
push ecx
lea ecx, [ebp - 0xc]
call fcn.0041d68f
lea eax, [ebp - 8]
push eax
mov eax, ecx
mov ecx, ebx
push eax
call fcn.0041d69a
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x43c270]
mov ecx, ebx
call esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 8]
pop edi
jmp 0x41d2a9
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x41d5b5
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x449020]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00424b20
add esp, 0xc
mov dword [ebp - 0x48], 0x40
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
shrd eax, ecx, 0x1e
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422eb5
leave
ret
Function at 0x41dceb
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x8c
mov eax, dword [0x449020]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
lea ecx, [ebp + 0x1c]
call fcn.0041dc61
test al, al
je 0x41dda8
push ebx
push edi
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x14], 0x11060000
xor edi, edi
mov dword [ebp + 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], edi
push eax
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
xor ebx, ebx
mov dword [ebp + 4], edi
inc ebx
mov dword [ebp - 0xc], 3
push eax
push ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp], edi
mov dword [ebp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x41dda6
push ebx
lea eax, [ebp + 0x60]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x41dd98
push edi
push dword [ebp + 0x18]
lea eax, [ebp + 0x60]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x41dd98
lea eax, [ebp + 0x60]
mov dword [ebp + 0xc], 0xc
mov dword [ebp + 0x10], eax
mov ecx, esi
lea eax, [ebp + 0xc]
mov dword [ebp + 0x14], edi
push eax
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp + 0x18], edi
je 0x41dda6
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop ebx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.00422eb5
add ebp, 0x78
leave
ret

Function at 0x41ddb8
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x43a7ba
call fcn.00438883
mov esi, ecx
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push 1
push ebx
mov ecx, edx
call fcn.0040126f
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41dea8
mov ecx, dword [ebp + 8]
call fcn.0040126f
lea ecx, [ebp - 0x18]
push ecx
push ebx
push ebx
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41de9b
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
shr edx, 1
call fcn.00401891
cmp eax, edx
jbe 0x41de1f
call fcn.00401891
mov edx, eax
inc edx
mov eax, 0x10000
cmp edx, eax
jb 0x41de2b
mov edx, eax
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401a88
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00401895
add eax, eax
mov dword [ebp - 0x1c], eax
call fcn.0040188a
mov ecx, dword [ebp + 8]
mov edx, eax
call fcn.0040126f
lea ecx, [ebp - 0x1c]
push ecx
push edx
lea ecx, [ebp - 0x20]
push ecx
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41de8f
mov word [ebp - 0xe], ax
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0xe]
push eax
call fcn.00421bd8
lea ecx, [ebp - 0x2c]
call fcn.0040188a
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00401279
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040189d
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x41deb3
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
call fcn.0040335d
mov al, bl
call fcn.00438851
ret 0xc
Function at 0x41df16
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x60
mov eax, dword [0x449020]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov edi, edx
mov bl, cl
call fcn.0041d94d
push 0x68
push dword [0x44a7f4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp byte [0x44a7f0], 0
mov esi, eax
mov ebp, 0xc2
jne 0x41df83
call fcn.0041becf
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
push 0
push 0xb1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x4422dc
push 0
push ebp
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [0x44a7f0], 1
mov eax, 0x5f5e100
push eax
push eax
push 0xb1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x5c
push eax
push 0
push 0x43a
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov byte [esp + 0x29], 0
inc ecx
mov dword [esp + 0x14], ecx
test bl, bl
je 0x41dfe0
mov eax, dword [esp + 0x18]
and eax, 0xbfffffff
mov dword [esp + 0x24], 0xa0
or eax, ecx
mov dword [esp + 0x14], 0x40000001
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push ecx
push 0x444
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.0040126f
push eax
push 0
push ebp
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 0x5f5e100
push eax
push eax
push 0xb1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test bl, bl
je 0x41e03e
mov eax, dword [esp + 0x18]
and eax, 0xfffffffe
or eax, 0x40000000
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push 1
push 0x444
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x442620
push 0
push ebp
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00422eb5
add esp, 0x60
ret
Function at 0x421717
Capabilities:
Delete file
Move file

Disassembly:
push 0x74
mov eax, 0x43add5
call fcn.004388b6
mov esi, 0x44a99c
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x60], ebx
call fcn.00405d24
test al, al
jne 0x421770
push 0x4436cc
lea ecx, [ebp - 0x40]
call fcn.00401d16
and dword [ebp - 4], ebx
lea ecx, [ebp - 0x58]
mov edx, esi
mov dword [ebp - 0x60], 1
call fcn.004109bc
push 3
pop ebx
push 6
lea edx, [ebp - 0x40]
mov ecx, eax
call fcn.00422106
mov byte [ebp - 0x59], 1
test eax, eax
je 0x421774
mov byte [ebp - 0x59], 0
test bl, 2
je 0x421784
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffd
call fcn.00401e5c
or dword [ebp - 4], 0xffffffff
test bl, 1
je 0x421795
lea ecx, [ebp - 0x40]
call fcn.00401e5c
cmp byte [ebp - 0x59], 0
je 0x4217fa
mov ecx, 0x44a980
call fcn.00411b37
push esi
lea ecx, [ebp - 0x28]
call fcn.00408d15
xor ebx, ebx
mov dword [ebp - 4], 1
push ebx
lea ecx, [ebp - 0x28]
call fcn.004085e4
push 0x14
pop eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x6e], ebx
mov dword [ebp - 0x6a], ebx
mov dword [ebp - 0x66], ebx
mov dword [ebp - 0x7c], 3
mov word [ebp - 0x70], ax
call fcn.0040126f
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
lea ecx, [ebp - 0x28]
call fcn.00401e5c
call fcn.00438865
ret

Function at 0x421927
Capabilities:
Hide graphical window

Disassembly:
and dword [0x44a7fc], 0
push esi
mov esi, ecx
mov byte [0x44a7f2], 1
push 1
push esi
mov byte [0x44a7f3], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
pop edx
mov ecx, esi
call fcn.004021fd
mov ecx, 0x44ae90
call fcn.00405d24
test al, al
je 0x42196b
cmp byte [0x44a7f0], 0
je 0x421974
cmp dword [0x44a7ec], 0
jne 0x421984
push 0
push 1
push 0x111
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
ret

Function at 0x4219e6
Capabilities:
Set registry value

Disassembly:
push 0x24
mov eax, 0x439a1c
call fcn.004388b6
mov esi, ecx
cmp byte [0x44a9bc], 0
je 0x421a88
mov ebx, 0x44a9c0
mov ecx, ebx
call fcn.00405d24
test al, al
jne 0x421a88
lea ecx, [ebp - 0x28]
call fcn.004021e6
xor edi, edi
lea edx, [ebp - 0x28]
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00421986
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push str.SoftwareWinRAR_SFX
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x421a80
mov ecx, esi
call fcn.00401891
lea edx, [eax*2 + 2]
call fcn.0040126f
push edx
push eax
push 1
push edi
lea ecx, [ebp - 0x28]
call fcn.0040126f
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.00401e5c
call fcn.00438865
ret