joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407da0
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x2d0], eax
push edi
mov edi, ecx
mov eax, dword [edi]
test eax, eax
je 0x407ec9
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push eax
call esi
lea eax, [esp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x407e3f
mov edx, dword [esp + 0xc]
push 0x4209
push 0x2b4
lea ecx, [esp + 0x18]
push ecx
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
mov eax, dword [edi]
push 0
push 0x402
push eax
call esi
mov eax, dword [0x572cb4]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov edx, dword [esp + 0x14]
push 0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x28]
push ecx
push edx
push 0
mov eax, ecx
push 1
push eax
mov ecx, edi
call fcn.00407130
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x407e68
mov edx, dword [esp + 8]
push eax
push eax
push edx
mov ecx, edi
call fcn.004075e0
test al, al
jne 0x407ec1
push ebx
push ebp
call fcn.0049e310
mov ebp, eax
xor esi, esi
mov ebx, 1
test ebp, ebx
je 0x407eb7
lea eax, [esi + 0x41]
push eax
lea ecx, [esp + 0x2d0]
push 0x4d78ec
push ecx
mov edx, 0xa
call fcn.00495190
add esp, 0xc
push 1
push 0xffffffffffffffff
push 2
push 0
push 0xffffffffffffffff
push 0
push 0
lea edx, [esp + 0x2e8]
push edx
mov ecx, edi
call fcn.00407130
inc esi
rol ebx, 1
cmp esi, 0x20
jl 0x407e78
pop ebp
pop ebx
mov ecx, edi
call fcn.00407af0
pop esi
mov ecx, dword [esp + 0x2d4]
pop edi
xor ecx, esp
call fcn.004c0c62
add esp, 0x2d4
ret
Function at 0x407ee0
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
mov eax, 0x1004
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
push edi
push 0x800
mov esi, ecx
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 8]
push edx
call fcn.00452f00
mov ecx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 8]
push eax
push 0xffffffffffffffff
push 0x158
push ecx
call edi
cmp eax, 0xffffffff
je 0x407f8c
mov edx, dword [esi]
push 0
push eax
push 0x14e
push edx
call edi
mov ecx, esi
call fcn.00407c70
cmp byte [0x533431], 0
mov ecx, esi
je 0x407f70
call fcn.00407930
pop edi
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004c0c62
add esp, 0x1004
ret
call fcn.00407540
pop edi
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004c0c62
add esp, 0x1004
ret
cmp byte [0x533431], 0
je 0x407fa3
lea eax, [esp + 8]
push eax
call fcn.00460c20
test al, al
je 0x407fdd
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x407fdd
test al, 0x10
jne 0x407fdd
lea eax, [esp + 8]
push eax
mov ecx, 0x53fdc8
call fcn.00450a30
pop edi
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004c0c62
add esp, 0x1004
ret
lea ecx, [esp + 8]
push ecx
mov ecx, 0x53fdc8
call fcn.00450b30
mov ecx, dword [esp + 0x1008]
pop edi
pop esi
xor ecx, esp
call fcn.004c0c62
add esp, 0x1004
ret
Function at 0x408010
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2bc
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x2b8], eax
mov ecx, dword [esp + 0x2c4]
mov eax, dword [esp + 0x2c0]
push edi
mov edi, dword [esp + 0x2d0]
cmp ecx, 0x4e
jne 0x408124
mov eax, dword [edi + 8]
cmp eax, 0xfffffcd9
je 0x408081
cmp eax, 0xfffffcda
jne 0x408067
cmp dword [edi + 0x21c], 2
jne 0x408067
mov ecx, 0x53fdb8
call fcn.00407ee0
xor eax, eax
pop edi
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.004c0c62
add esp, 0x2bc
ret 0x10
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov edx, dword [edi + 0xc]
push ebx
push ebp
push esi
mov dword [esp + 0x10], edx
cmp eax, 4
jne 0x40809a
mov ebp, dword [ecx + 4]
jmp 0x40809d
lea ebp, [ecx + 8]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor ecx, ecx
cmp eax, 4
setne cl
dec ecx
and ecx, 8
mov esi, ecx
test dl, 1
je 0x4080d9
mov edx, esi
or edx, 0x200
push edx
push 0x2b4
lea eax, [esp + 0x1c]
push eax
push 0
push ebp
call ebx
test eax, eax
je 0x4080d9
lea ecx, [esp + 0x20]
mov dword [edi + 0x14], ecx
test byte [esp + 0x10], 6
je 0x408100
or esi, 0x4001
push esi
push 0x2b4
lea edx, [esp + 0x1c]
push edx
push 0
push ebp
call ebx
mov eax, dword [esp + 0x18]
mov dword [edi + 0x20], eax
mov dword [edi + 0x1c], eax
or dword [edi + 0xc], 0x10000000
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.004c0c62
add esp, 0x2bc
ret 0x10
mov edx, dword [esp + 0x2cc]
push edi
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [esp + 0x2bc]
pop edi
xor ecx, esp
call fcn.004c0c62
add esp, 0x2bc
ret 0x10
Function at 0x409e80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x304
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x300], eax
push ebx
push esi
xor ecx, ecx
mov eax, 1
push edi
mov edi, edi
mov edx, eax
and dl, 0x80
movzx edx, dl
mov byte [esp + ecx + 0x10c], al
mov byte [esp + ecx + 0x20b], al
mov byte [esp + eax + 0xc], cl
inc ecx
neg edx
sbb edx, edx
and edx, 0x11b
lea esi, [eax + eax]
xor edx, esi
xor eax, edx
cmp eax, 1
jne 0x409ea0
xor ecx, ecx
mov dword [ecx + 0x4eda00], eax
test eax, eax
je 0x409eec
movzx eax, byte [esp + eax + 0xc]
movzx eax, byte [esp + eax + 0x125]
jmp 0x409eee
xor eax, eax
add ecx, 4
cmp ecx, 0x28
jb 0x409ed3
xor edx, edx
test dl, dl
je 0x409f12
movzx ecx, dl
movzx eax, byte [esp + ecx + 0xc]
lea ecx, [esp + 0x20b]
sub ecx, eax
movzx eax, byte [ecx]
jmp 0x409f14
xor eax, eax
lea ecx, [eax + eax]
xor ecx, eax
add ecx, ecx
xor ecx, eax
add ecx, ecx
xor ecx, eax
add ecx, ecx
xor eax, ecx
mov ebx, eax
shr ebx, 8
xor bl, al
xor bl, 0x63
je 0x409f4b
movzx eax, bl
movzx eax, byte [esp + eax + 0xc]
movzx ecx, byte [esp + eax + 0x10d]
movzx esi, byte [esp + eax + 0x125]
jmp 0x409f4f
xor ecx, ecx
xor esi, esi
shl ecx, 8
movzx eax, bl
or ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, esi
mov esi, ecx
rol esi, 8
mov dword [edx*4 + 0x4eea28], ecx
mov dword [edx*4 + 0x4eee28], esi
mov esi, ecx
rol esi, 0x10
ror ecx, 8
mov dword [edx*4 + 0x4ef628], ecx
mov ecx, eax
rol ecx, 8
mov dword [edx*4 + 0x4ede28], ecx
mov ecx, eax
mov dword [edx*4 + 0x4eda28], eax
rol ecx, 0x10
ror eax, 8
mov dword [edx*4 + 0x4ee628], eax
mov dword [edx*4 + 0x4ef228], esi
movzx esi, dl
lea eax, [esi*8]
xor eax, esi
add eax, eax
add eax, eax
xor eax, esi
mov dword [edx*4 + 0x4ee228], ecx
add eax, eax
mov ecx, eax
shr ecx, 8
xor cl, al
xor cl, 5
je 0x40a032
lea eax, [esi*8]
xor eax, esi
add eax, eax
add eax, eax
xor eax, esi
add eax, eax
mov ecx, eax
shr ecx, 8
movzx ecx, cl
movzx eax, al
xor ecx, eax
xor ecx, 5
movzx ecx, byte [esp + ecx + 0xc]
lea eax, [esp + 0x20b]
sub eax, ecx
mov bl, byte [eax]
test bl, bl
je 0x40a034
movzx ecx, bl
movzx ecx, byte [esp + ecx + 0xc]
movzx eax, byte [esp + ecx + 0x174]
movzx edi, byte [esp + ecx + 0x1fa]
movzx esi, byte [esp + ecx + 0x1d3]
movzx ecx, byte [esp + ecx + 0x1eb]
jmp 0x40a03c
xor bl, bl
xor eax, eax
xor edi, edi
xor esi, esi
xor ecx, ecx
shl eax, 8
or eax, edi
shl eax, 8
or eax, esi
shl eax, 8
or eax, ecx
movzx ecx, bl
add ecx, ecx
add ecx, ecx
mov esi, eax
rol esi, 8
mov dword [ecx + 0x4ece00], esi
mov esi, eax
rol esi, 0x10
mov dword [ecx + 0x4eca00], eax
ror eax, 8
inc edx
mov dword [ecx + 0x4ed200], esi
mov dword [ecx + 0x4ed600], eax
cmp edx, 0x100
jb 0x409ef8
mov ecx, dword [esp + 0x30c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [0x4efa28], 1
call fcn.004c0c62
add esp, 0x304
ret
Function at 0x417f10
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x148
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x1004], eax
test eax, eax
jne 0x417f5f
push ebx
call fcn.0049e7e0
test eax, eax
je 0x417f54
cmp eax, 0x20
je 0x417f54
push ebx
push eax
push 0x20
push 0x5c8
call fcn.004750b0
push eax
call fcn.004ac840
add esp, 0x10
pop esi
xor al, al
pop ebx
add esp, 0x148
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Prepare
push eax
call edi
mov dword [esi + 0x11e0], eax
mov eax, dword [esi + 0x1004]
push str.Open
push eax
call edi
mov ecx, dword [esi + 0x1004]
push str.Close
push ecx
mov dword [esi + 0x11e4], eax
call edi
mov edx, dword [esi + 0x1004]
push str.GetNextName
push edx
mov dword [esi + 0x11e8], eax
call edi
mov dword [esi + 0x11ec], eax
mov eax, dword [esi + 0x1004]
push str.GetListItem
push eax
call edi
mov ecx, dword [esi + 0x1004]
push str.Extract
push ecx
mov dword [esi + 0x11f0], eax
call edi
mov edx, dword [esi + 0x1004]
push str.GetComment
push edx
mov dword [esi + 0x11f4], eax
call edi
cmp dword [esi + 0x11e0], 0
mov dword [esi + 0x11f8], eax
je 0x41816e
cmp dword [esi + 0x11e4], 0
je 0x41816e
push 0x148
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004c16b0
add esp, 0xc
mov dword [esp + 0xc], 0x148
mov dword [esp + 0x10], 0x413780
mov dword [esp + 0x14], 0x4138c0
mov dword [esp + 0x18], 0x413920
mov dword [esp + 0x44], 0x413930
mov dword [esp + 0x20], 0x413940
mov dword [esp + 0x2c], 0x413ac0
mov dword [esp + 0x30], 0x413ae0
mov dword [esp + 0x38], 0x413af0
mov dword [esp + 0x3c], 0x415730
mov dword [esp + 0x34], 0x4158f0
mov dword [esp + 0x48], 0x413bd0
mov dword [esp + 0x4c], 0x413be0
mov dword [esp + 0x24], 0x413bf0
mov dword [esp + 0x54], 0x413cc0
mov dword [esp + 0x28], 0x413d40
mov dword [esp + 0x40], 0x413e70
mov dword [esp + 0x58], 0x413ea0
mov dword [esp + 0x5c], 0x413eb0
mov dword [esp + 0x60], 0x413ec0
mov dword [esp + 0x64], 0x413ed0
mov dword [esp + 0x1c], 0x417d30
mov dword [esp + 0x50], 0x413ee0
mov dword [esp + 0x68], 0x413f40
call fcn.0044b030
push 0x1d8
lea edi, [esi + 0x1008]
push 0
push edi
mov dword [esp + 0xe4], eax
call fcn.004c16b0
mov edx, dword [esi + 0x11e0]
add esp, 0xc
push edi
lea ecx, [esp + 0x10]
push ecx
mov dword [edi], 0x1d8
mov dword [esi + 0x100c], 2
mov dword [esi + 0x1010], 0x50005
call edx
test al, al
je 0x41813d
cmp dword [esi + 0x100c], 2
jne 0x41813d
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x148
ret
mov eax, dword [esi + 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
mov dword [esi + 0x1004], 0
call fcn.00460330
push eax
push 0x42e
call fcn.004750b0
push eax
call fcn.004ac840
add esp, 8
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x148
ret
Function at 0x41b850
Capabilities:
Hash data using sha256

Disassembly:
push esi
push edi
push 0x108
mov esi, ecx
push 0
push esi
mov edi, eax
call fcn.004c16b0
mov eax, esi
not eax
inc eax
and eax, 0x3f
add eax, esi
mov dword [esi + 0xf0], eax
sub eax, 0xffffff80
mov dword [esi + 0xf4], eax
add eax, 0x20
mov dword [esi + 0xf8], eax
add eax, 8
mov dword [esi + 0xfc], eax
mov ecx, dword [esi + 0xf4]
mov dword [ecx], 0x6a09e667
mov edx, dword [esi + 0xf4]
mov dword [edx + 4], 0xbb67ae85
mov eax, dword [esi + 0xf4]
mov dword [eax + 8], 0x3c6ef372
mov ecx, dword [esi + 0xf4]
mov dword [ecx + 0xc], 0xa54ff53a
mov edx, dword [esi + 0xf4]
mov dword [edx + 0x10], 0x510e527f
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x14], 0x9b05688c
mov ecx, dword [esi + 0xf4]
mov dword [ecx + 0x18], 0x1f83d9ab
mov edx, dword [esi + 0xf4]
mov ecx, dword [esp + 0x18]
mov dword [edx + 0x1c], 0x5be0cd19
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov eax, dword [esi + 0xf4]
xor dword [eax + 8], ecx
mov esi, dword [esi + 0xf4]
or edi, 0x2000
shl edi, 0x10
xor dword [esi + 0xc], edi
add esp, 0xc
pop edi
pop esi
ret 4
Function at 0x41d890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d290b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4eb984]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.00464f70
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x24]
mov dword [esi], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], 1
call fcn.00482000
mov ecx, dword [esi]
push 0x40000
push ecx
push 0x41d780
mov ecx, edi
mov dword [esi + 4], eax
call fcn.00464f90
mov ecx, edi
call fcn.00464f40
mov dword [esi + 0x10], ebx
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x41e010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d297b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4eb984]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0
mov eax, dword [esi + 8]
push eax
call fcn.004c172a
mov eax, dword [esi + 0x30]
add esp, 4
test eax, eax
je 0x41e074
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x41d930
push ecx
push 0x8a4
push eax
call fcn.004c1aab
push edi
call fcn.004c172a
add esp, 4
mov edx, dword [esi + 4]
push edx
call fcn.00481ea0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esi + 0x14]
call fcn.00464f30
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4230f0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebp, eax
mov byte [esp + 0x13], 1
push 0
push 0
push ebp
call fcn.0047f0f0
test eax, eax
je 0x42317d
sub eax, ebp
sar eax, 1
add eax, 2
mov edi, eax
lea eax, [edi + edi]
push eax
call fcn.004c1d07
mov esi, eax
add esp, 4
test esi, esi
je 0x42317d
push edi
push esi
push ebp
call fcn.0047f0f0
mov ebp, eax
test ebp, ebp
je 0x42317d
cmp byte [esp + 0x13], 0
mov bl, 1
jne 0x423162
cmp byte [esp + 0x1c], 0
mov ecx, dword [esp + 0x14]
push esi
je 0x42315d
call fcn.00422fd0
mov bl, al
jmp 0x423162
call fcn.00422d10
push esi
call fcn.004c1404
add esp, 4
cmp byte [esp + 0x1c], 0
je 0x423176
test bl, bl
je 0x42317d
mov byte [esp + 0x13], 0
jmp 0x423108
cmp byte [esp + 0x1c], 0
pop edi
pop esi
pop ebp
pop ebx
jne 0x423191
mov ecx, dword [esp + 4]
call fcn.004210e0
add esp, 8
ret 0xc
Function at 0x423250
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x804
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
mov ebx, dword [esp + 0x80c]
push esi
xor eax, eax
push edi
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x400
lea ecx, [esp + 0x10]
push ecx
push eax
xor edi, edi
call fcn.0047f0f0
mov esi, eax
test esi, esi
je 0x4232e5
test edi, edi
jne 0x42329c
mov edi, 1
jmp 0x4232c7
movzx edx, word [esp + 0xc]
push edx
mov ecx, 0x545938
call fcn.004209c0
test al, al
jne 0x4232c7
cmp edi, 1
jne 0x4232c6
mov ax, word [esp + 0xc]
mov cx, word [esp + 0xe]
mov word [ebx], ax
mov word [ebx + 2], cx
inc edi
push 0x400
lea edx, [esp + 0x10]
push edx
push esi
call fcn.0047f0f0
mov esi, eax
test esi, esi
jne 0x423291
cmp edi, 2
jne 0x4232e5
mov word [ebx], ax
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0x804
ret 4
Function at 0x423c40
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
mov eax, 0x1010
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x100c], eax
push esi
xor esi, esi
cmp dword [0x551d68], esi
je 0x423e24
push esi
push 1
push 0x550d52
mov ecx, 0x541ef0
call fcn.00418720
cmp eax, 1
jne 0x423e24
cmp dword [0x549950], 3
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 4], esi
push eax
jne 0x423cae
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x541ef0
call fcn.00415400
jmp 0x423cc2
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, 0x541ef0
call fcn.00415320
cmp dword [esp + 4], esi
je 0x423e24
push 0x800
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x551d54
call fcn.0047f5e0
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x423d32
push esi
push esi
push 0x7fffffff
push 0x7fffffff
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0040b740
cmp al, 0x43
je 0x423d0f
cmp al, 0x4e
jne 0x423d32
mov ecx, dword [esp + 8]
push ecx
call fcn.004c172a
add esp, 4
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.004c0c62
add esp, 0x1010
ret
push edi
push 0x4d83b4
lea edx, [esp + 0x18]
push edx
call fcn.0043c890
mov edi, eax
cmp edi, esi
jne 0x423d86
lea eax, [esp + 0x14]
push eax
push 0x1f6
call fcn.004750b0
push eax
push 0x550d52
call fcn.004ace90
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c172a
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.004c0c62
add esp, 0x1010
ret
mov eax, dword [0x549950]
cmp eax, 3
jne 0x423ddb
push edi
push 0xff
call fcn.004c3712
push edi
push 0xfe
call fcn.004c3712
add esp, 0x10
cmp dword [esp + 8], esi
jbe 0x423e06
nop
mov edx, dword [esp + 0x10]
movzx eax, word [edx + esi*2]
push edi
push eax
call fcn.004c3712
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + esi*2 + 1]
push edi
push edx
call fcn.004c3712
inc esi
add esp, 0x10
cmp esi, dword [esp + 8]
jb 0x423db0
jmp 0x423e06
cmp eax, 2
jne 0x423df1
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 0x10]
push eax
push eax
call dword [sym.imp.USER32.dll_CharToOemBuffA]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push edi
push ecx
push 1
push edx
call fcn.004c3690
add esp, 0x10
push edi
call fcn.004c34b2
mov eax, dword [esp + 0x10]
push eax
call fcn.004c172a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c172a
add esp, 0xc
pop edi
mov ecx, dword [esp + 0x1010]
pop esi
xor ecx, esp
call fcn.004c0c62
add esp, 0x1010
ret
Function at 0x426660
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x3024
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x3020], eax
push esi
push str.winrar_config_integration
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x42679a
push ebp
push 0x10000
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
jne 0x4266cd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
mov ecx, dword [esp + 0x3020]
xor ecx, esp
call fcn.004c0c62
add esp, 0x3024
ret
cmp byte [ebp], 0x49
push ebx
push edi
mov ebx, ebp
jne 0x426734
cmp byte [ebp + 1], 0x1a
jne 0x426734
lea esi, [ebp + 2]
mov ecx, 6
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x1030]
movsw word es:[edi], word [esi]
push eax
lea edi, [ebp + 0x1c]
mov ebx, 0x400
call fcn.00426610
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.00426610
mov ebx, eax
test ebx, ebx
je 0x426730
push 0
lea edx, [esp + 0x18]
push edx
call fcn.0044aec0
lea edi, [esp + 0x30]
lea esi, [esp + 0x1030]
call fcn.00426510
mov esi, dword [esp + 0x10]
cmp byte [ebx], 0x54
jne 0x426789
lea eax, [esp + 0x2030]
lea edi, [ebx + 1]
push eax
mov ebx, 0x800
call fcn.00426610
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.00426610
lea edx, [esp + 0x1030]
push edx
mov edi, eax
call fcn.00426610
test eax, eax
je 0x426789
push 0
lea eax, [esp + 0x1034]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x203c]
push edx
call fcn.0044aa20
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop ebp
mov ecx, dword [esp + 0x3024]
pop esi
xor ecx, esp
call fcn.004c0c62
add esp, 0x3024
ret
Function at 0x427990
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4440
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x443c], eax
push ebx
push 0x800
lea eax, [esp + 0x44]
push eax
call fcn.00460710
push 0x800
lea ecx, [esp + 0x44]
push ecx
call fcn.0045fed0
push 0x800
push str.Settings.reg
lea edx, [esp + 0x48]
push edx
call fcn.0047efb0
push 0x800
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1048]
push ecx
call fcn.0047ef70
mov ebx, dword [esp + 0x4448]
push 1
test bl, bl
je 0x427b7c
push str.ExportedSettings
push 0x4d79fc
call fcn.0046c510
cmp byte [esp + 0x444c], 0
jne 0x427a4e
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.004750b0
push eax
mov eax, dword [0x535584]
push eax
call fcn.0041c4b0
test al, al
je 0x427bab
test bl, bl
jne 0x427bea
push 0x4d79fc
call fcn.0046c9f0
mov eax, 0x4d8c3c
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x2048]
push edx
mov edx, 0x900
call fcn.00495190
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004c16b0
mov ecx, dword [0x535584]
add esp, 0x18
lea eax, [esp + 4]
lea edx, [esp + 0x2040]
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 0x427af2
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 + 0x4448], 0
je 0x427b0b
push str.ExportedSettings
push 0x4d79fc
call fcn.0046c170
test bl, bl
je 0x427bf4
cmp byte [esp + 0x4448], 0
jne 0x427b22
call fcn.00427680
xor ecx, ecx
cmp byte [esp + 0x4448], cl
lea eax, [esp + 0x40]
sete cl
push eax
add ecx, 0x460
push ecx
call fcn.004750b0
push eax
lea edx, [esp + 0x3248]
push edx
mov edx, 0x900
call fcn.00495190
add esp, 0xc
push 0
push 0x2fb
call fcn.004750b0
mov ecx, dword [0x535584]
push eax
lea eax, [esp + 0x3248]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x427c19
push 0x800
lea edx, [esp + 0x48]
push edx
push str.Settings.reg
call fcn.00460800
lea eax, [esp + 0x40]
push eax
call fcn.0043ca60
test al, al
jne 0x427a12
cmp byte [esp + 0x444c], al
je 0x427bc5
xor al, al
pop ebx
mov ecx, dword [esp + 0x443c]
xor ecx, esp
call fcn.004c0c62
add esp, 0x4440
ret 8
xor eax, eax
jmp 0x427bd0
movzx ecx, word [esp + eax + 0x1040]
mov word [esp + eax + 0x40], cx
add eax, 2
test cx, cx
jne 0x427bd0
jmp 0x427a1c
mov eax, str._e___s__HKEY_CURRENT_USERSoftwareWinRAR
jmp 0x427a65
cmp byte [esp + 0x444c], 0
jne 0x427c19
lea edx, [esp + 0x2040]
push edx
push 0x201
call fcn.004750b0
push eax
call fcn.004ac840
add esp, 8
mov ecx, dword [esp + 0x4440]
mov al, bl
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0x4440
ret 8
Function at 0x427d90
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x427dbf
test cl, 7
je 0x427dbf
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4f7ba8]
dec esi
inc ecx
test esi, esi
ja 0x427da2
cmp esi, 8
jb 0x427e58
mov edi, esi
push ebx
shr edi, 3
push ebp
nop
mov edx, dword [ecx + 4]
xor eax, dword [ecx]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x4f7fa8]
mov dword [esp + 0x14], ecx
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4f7ba8]
mov ecx, edx
shr ecx, 8
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x4f83a8]
mov ebp, eax
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4f8ba8]
mov ecx, eax
shr ecx, 0x10
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x4f8fa8]
mov ecx, eax
shr ecx, 8
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x4f93a8]
mov ecx, dword [esp + 0x14]
movzx edx, dl
xor ebx, dword [edx*4 + 0x4f87a8]
movzx eax, al
xor ebx, dword [eax*4 + 0x4f97a8]
sub esi, 8
add ecx, 8
sub edi, 1
mov eax, ebx
jne 0x427dd0
pop ebp
pop ebx
test esi, esi
jbe 0x427e78
lea esp, [esp]
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4f7ba8]
dec esi
inc ecx
test esi, esi
ja 0x427e60
pop edi
pop esi
ret 0xc