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

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x2d0], eax
push edi
mov edi, ecx
mov eax, dword [edi]
test eax, eax
je 0x4080b9
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 0x40802f
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 [0x5723d4]
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.00407320
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x408058
mov edx, dword [esp + 8]
push eax
push eax
push edx
mov ecx, edi
call fcn.004077d0
test al, al
jne 0x4080b1
push ebx
push ebp
call fcn.0049ea90
mov ebp, eax
xor esi, esi
mov ebx, 1
test ebp, ebx
je 0x4080a7
lea eax, [esi + 0x41]
push eax
lea ecx, [esp + 0x2d0]
push 0x4d78ec
push ecx
mov edx, 0xa
call fcn.0041cb70
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.00407320
inc esi
rol ebx, 1
cmp esi, 0x20
jl 0x408068
pop ebp
pop ebx
mov ecx, edi
call fcn.00407ce0
pop esi
mov ecx, dword [esp + 0x2d4]
pop edi
xor ecx, esp
call fcn.004c1302
add esp, 0x2d4
ret
Function at 0x4080d0
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
mov eax, 0x1004
call fcn.004c1320
mov eax, dword [0x4eb0b4]
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.004532a0
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 0x40817c
mov edx, dword [esi]
push 0
push eax
push 0x14e
push edx
call edi
mov ecx, esi
call fcn.00407e60
cmp byte [0x532b51], 0
mov ecx, esi
je 0x408160
call fcn.00407b20
pop edi
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004c1302
add esp, 0x1004
ret
call fcn.00407730
pop edi
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004c1302
add esp, 0x1004
ret
cmp byte [0x532b51], 0
je 0x408193
lea eax, [esp + 8]
push eax
call fcn.00460f20
test al, al
je 0x4081cd
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4081cd
test al, 0x10
jne 0x4081cd
lea eax, [esp + 8]
push eax
mov ecx, 0x53f4e8
call fcn.00450ed0
pop edi
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004c1302
add esp, 0x1004
ret
lea ecx, [esp + 8]
push ecx
mov ecx, 0x53f4e8
call fcn.00450ff0
mov ecx, dword [esp + 0x1008]
pop edi
pop esi
xor ecx, esp
call fcn.004c1302
add esp, 0x1004
ret
Function at 0x408200
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2bc
mov eax, dword [0x4eb0b4]
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 0x408314
mov eax, dword [edi + 8]
cmp eax, 0xfffffcd9
je 0x408271
cmp eax, 0xfffffcda
jne 0x408257
cmp dword [edi + 0x21c], 2
jne 0x408257
mov ecx, 0x53f4d8
call fcn.004080d0
xor eax, eax
pop edi
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.004c1302
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 0x40828a
mov ebp, dword [ecx + 4]
jmp 0x40828d
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 0x4082c9
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 0x4082c9
lea ecx, [esp + 0x20]
mov dword [edi + 0x14], ecx
test byte [esp + 0x10], 6
je 0x4082f0
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.004c1302
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.004c1302
add esp, 0x2bc
ret 0x10
Function at 0x40a070
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x304
mov eax, dword [0x4eb0b4]
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 0x40a090
xor ecx, ecx
mov dword [ecx + 0x4ed120], eax
test eax, eax
je 0x40a0dc
movzx eax, byte [esp + eax + 0xc]
movzx eax, byte [esp + eax + 0x125]
jmp 0x40a0de
xor eax, eax
add ecx, 4
cmp ecx, 0x28
jb 0x40a0c3
xor edx, edx
test dl, dl
je 0x40a102
movzx ecx, dl
movzx eax, byte [esp + ecx + 0xc]
lea ecx, [esp + 0x20b]
sub ecx, eax
movzx eax, byte [ecx]
jmp 0x40a104
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 0x40a13b
movzx eax, bl
movzx eax, byte [esp + eax + 0xc]
movzx ecx, byte [esp + eax + 0x10d]
movzx esi, byte [esp + eax + 0x125]
jmp 0x40a13f
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 + 0x4ee148], ecx
mov dword [edx*4 + 0x4ee548], esi
mov esi, ecx
rol esi, 0x10
ror ecx, 8
mov dword [edx*4 + 0x4eed48], ecx
mov ecx, eax
rol ecx, 8
mov dword [edx*4 + 0x4ed548], ecx
mov ecx, eax
mov dword [edx*4 + 0x4ed148], eax
rol ecx, 0x10
ror eax, 8
mov dword [edx*4 + 0x4edd48], eax
mov dword [edx*4 + 0x4ee948], esi
movzx esi, dl
lea eax, [esi*8]
xor eax, esi
add eax, eax
add eax, eax
xor eax, esi
mov dword [edx*4 + 0x4ed948], ecx
add eax, eax
mov ecx, eax
shr ecx, 8
xor cl, al
xor cl, 5
je 0x40a222
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 0x40a224
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 0x40a22c
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 + 0x4ec520], esi
mov esi, eax
rol esi, 0x10
mov dword [ecx + 0x4ec120], eax
ror eax, 8
inc edx
mov dword [ecx + 0x4ec920], esi
mov dword [ecx + 0x4ecd20], eax
cmp edx, 0x100
jb 0x40a0e8
mov ecx, dword [esp + 0x30c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [0x4ef148], 1
call fcn.004c1302
add esp, 0x304
ret
Function at 0x418130
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 0x41817f
push ebx
call fcn.0049ef60
test eax, eax
je 0x418174
cmp eax, 0x20
je 0x418174
push ebx
push eax
push 0x20
push 0x5c8
call fcn.00475570
push eax
call fcn.004ad030
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 0x41838e
cmp dword [esi + 0x11e4], 0
je 0x41838e
push 0x148
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004c1d50
add esp, 0xc
mov dword [esp + 0xc], 0x148
mov dword [esp + 0x10], 0x413970
mov dword [esp + 0x14], 0x413ab0
mov dword [esp + 0x18], 0x413b10
mov dword [esp + 0x44], 0x413b20
mov dword [esp + 0x20], 0x413b30
mov dword [esp + 0x2c], 0x413cb0
mov dword [esp + 0x30], 0x413cd0
mov dword [esp + 0x38], 0x413ce0
mov dword [esp + 0x3c], 0x415910
mov dword [esp + 0x34], 0x415ad0
mov dword [esp + 0x48], 0x413dc0
mov dword [esp + 0x4c], 0x413dd0
mov dword [esp + 0x24], 0x413de0
mov dword [esp + 0x54], 0x413eb0
mov dword [esp + 0x28], 0x413f30
mov dword [esp + 0x40], 0x414060
mov dword [esp + 0x58], 0x414090
mov dword [esp + 0x5c], 0x4140a0
mov dword [esp + 0x60], 0x4140b0
mov dword [esp + 0x64], 0x4140c0
mov dword [esp + 0x1c], 0x417f50
mov dword [esp + 0x50], 0x4140d0
mov dword [esp + 0x68], 0x414130
call fcn.0044b3b0
push 0x1d8
lea edi, [esi + 0x1008]
push 0
push edi
mov dword [esp + 0xe4], eax
call fcn.004c1d50
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], 0x50000
call edx
test al, al
je 0x41835d
cmp dword [esi + 0x100c], 2
jne 0x41835d
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.00460620
push eax
push 0x42e
call fcn.00475570
push eax
call fcn.004ad030
add esp, 8
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x148
ret
Function at 0x41baa0
Capabilities:
Hash data using sha256

Disassembly:
push esi
push edi
push 0xf0
mov esi, ecx
push 0
push esi
mov edi, eax
call fcn.004c1d50
mov dword [esi + 0x100], 0
mov byte [esi + 0x104], 0
mov eax, dword [esi + 0xf4]
mov dword [eax], 0x6a09e667
mov ecx, dword [esi + 0xf4]
mov dword [ecx + 4], 0xbb67ae85
mov edx, dword [esi + 0xf4]
mov dword [edx + 8], 0x3c6ef372
mov eax, dword [esi + 0xf4]
mov dword [eax + 0xc], 0xa54ff53a
mov ecx, dword [esi + 0xf4]
mov dword [ecx + 0x10], 0x510e527f
mov edx, dword [esi + 0xf4]
mov dword [edx + 0x14], 0x9b05688c
mov eax, dword [esi + 0xf4]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x18], 0x1f83d9ab
mov ecx, dword [esi + 0xf4]
mov dword [ecx + 0x1c], 0x5be0cd19
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov eax, dword [esi + 0xf4]
xor dword [eax + 8], edx
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 0x41dae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d327b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4eb0b4]
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.00465220
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.00482630
mov ecx, dword [esi]
push 0x40000
push ecx
push 0x41d9d0
mov ecx, edi
mov dword [esi + 4], eax
call fcn.00465240
mov ecx, edi
call fcn.004651f0
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 0x41e260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d32eb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4eb0b4]
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.004c1dca
mov eax, dword [esi + 0x30]
add esp, 4
test eax, eax
je 0x41e2c4
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x41db80
push ecx
push 0x8a4
push eax
call fcn.004c214b
push edi
call fcn.004c1dca
add esp, 4
mov edx, dword [esi + 4]
push edx
call fcn.004824d0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esi + 0x14]
call fcn.004651e0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x423430
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.0047f600
test eax, eax
je 0x4234bd
sub eax, ebp
sar eax, 1
add eax, 2
mov edi, eax
lea eax, [edi + edi]
push eax
call fcn.004c23a7
mov esi, eax
add esp, 4
test esi, esi
je 0x4234bd
push edi
push esi
push ebp
call fcn.0047f600
mov ebp, eax
test ebp, ebp
je 0x4234bd
cmp byte [esp + 0x13], 0
mov bl, 1
jne 0x4234a2
cmp byte [esp + 0x1c], 0
mov ecx, dword [esp + 0x14]
push esi
je 0x42349d
call fcn.00423310
mov bl, al
jmp 0x4234a2
call fcn.00423050
push esi
call fcn.004c1aa4
add esp, 4
cmp byte [esp + 0x1c], 0
je 0x4234b6
test bl, bl
je 0x4234bd
mov byte [esp + 0x13], 0
jmp 0x423448
cmp byte [esp + 0x1c], 0
pop edi
pop esi
pop ebp
pop ebx
jne 0x4234d1
mov ecx, dword [esp + 4]
call fcn.004213e0
add esp, 8
ret 0xc
Function at 0x423590
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x804
mov eax, dword [0x4eb0b4]
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.0047f600
mov esi, eax
test esi, esi
je 0x423625
test edi, edi
jne 0x4235dc
mov edi, 1
jmp 0x423607
movzx edx, word [esp + 0xc]
push edx
mov ecx, 0x545058
call fcn.00420ce0
test al, al
jne 0x423607
cmp edi, 1
jne 0x423606
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.0047f600
mov esi, eax
test esi, esi
jne 0x4235d1
cmp edi, 2
jne 0x423625
mov word [ebx], ax
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c1302
add esp, 0x804
ret 4
Function at 0x423f80
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
mov eax, 0x1010
call fcn.004c1320
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x100c], eax
push esi
xor esi, esi
cmp dword [0x551488], esi
je 0x424164
push esi
push 1
push 0x550472
mov ecx, 0x541610
call fcn.00418940
cmp eax, 1
jne 0x424164
cmp dword [0x549070], 3
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 4], esi
push eax
jne 0x423fee
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x541610
call fcn.004155e0
jmp 0x424002
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, 0x541610
call fcn.00415500
cmp dword [esp + 4], esi
je 0x424164
push 0x800
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x551474
call fcn.0047fc50
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x424072
push esi
push esi
push 0x7fffffff
push 0x7fffffff
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0040b930
cmp al, 0x43
je 0x42404f
cmp al, 0x4e
jne 0x424072
mov ecx, dword [esp + 8]
push ecx
call fcn.004c1dca
add esp, 4
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.004c1302
add esp, 0x1010
ret
push edi
push 0x4d83b4
lea edx, [esp + 0x18]
push edx
call fcn.0043caf0
mov edi, eax
cmp edi, esi
jne 0x4240c6
lea eax, [esp + 0x14]
push eax
push 0x1f6
call fcn.00475570
push eax
push 0x550472
call fcn.004ad680
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c1dca
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.004c1302
add esp, 0x1010
ret
mov eax, dword [0x549070]
cmp eax, 3
jne 0x42411b
push edi
push 0xff
call fcn.004c3f62
push edi
push 0xfe
call fcn.004c3f62
add esp, 0x10
cmp dword [esp + 8], esi
jbe 0x424146
nop
mov edx, dword [esp + 0x10]
movzx eax, word [edx + esi*2]
push edi
push eax
call fcn.004c3f62
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + esi*2 + 1]
push edi
push edx
call fcn.004c3f62
inc esi
add esp, 0x10
cmp esi, dword [esp + 8]
jb 0x4240f0
jmp 0x424146
cmp eax, 2
jne 0x424131
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.004c3ee0
add esp, 0x10
push edi
call fcn.004c3d02
mov eax, dword [esp + 0x10]
push eax
call fcn.004c1dca
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c1dca
add esp, 0xc
pop edi
mov ecx, dword [esp + 0x1010]
pop esi
xor ecx, esp
call fcn.004c1302
add esp, 0x1010
ret
Function at 0x4269e0
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x3024
call fcn.004c1320
mov eax, dword [0x4eb0b4]
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 0x426b1a
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 0x426a4d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
mov ecx, dword [esp + 0x3020]
xor ecx, esp
call fcn.004c1302
add esp, 0x3024
ret
cmp byte [ebp], 0x49
push ebx
push edi
mov ebx, ebp
jne 0x426ab4
cmp byte [ebp + 1], 0x1a
jne 0x426ab4
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.00426990
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.00426990
mov ebx, eax
test ebx, ebx
je 0x426ab0
push 0
lea edx, [esp + 0x18]
push edx
call fcn.0044b240
lea edi, [esp + 0x30]
lea esi, [esp + 0x1030]
call fcn.00426890
mov esi, dword [esp + 0x10]
cmp byte [ebx], 0x54
jne 0x426b09
lea eax, [esp + 0x2030]
lea edi, [ebx + 1]
push eax
mov ebx, 0x800
call fcn.00426990
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.00426990
lea edx, [esp + 0x1030]
push edx
mov edi, eax
call fcn.00426990
test eax, eax
je 0x426b09
push 0
lea eax, [esp + 0x1034]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x203c]
push edx
call fcn.0044add0
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.004c1302
add esp, 0x3024
ret
Function at 0x427d10
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4440
call fcn.004c1320
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x443c], eax
push ebx
push 1
push 0x800
lea eax, [esp + 0x48]
push eax
call fcn.00460a10
push 0x800
lea ecx, [esp + 0x44]
push ecx
call fcn.004601c0
push 0x800
push str.Settings.reg
lea edx, [esp + 0x48]
push edx
call fcn.0047f4c0
push 0x800
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1048]
push ecx
call fcn.0047f480
mov ebx, dword [esp + 0x4448]
test bl, bl
je 0x427efe
push 1
push str.ExportedSettings
push 0x4d79fc
call fcn.0046c810
cmp byte [esp + 0x444c], 0
jne 0x427dd0
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.00475570
push eax
mov eax, dword [0x534ca4]
push eax
call fcn.0041c6e0
test al, al
je 0x427f31
test bl, bl
jne 0x427f6a
push 0x4d79fc
call fcn.0046ccf0
mov eax, 0x4d8c3c
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x2048]
push edx
mov edx, 0x900
call fcn.0041cb70
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004c1d50
mov ecx, dword [0x534ca4]
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 0x427e74
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 0x427e8d
push str.ExportedSettings
push 0x4d79fc
call fcn.0046c470
test bl, bl
je 0x427f74
cmp byte [esp + 0x4448], 0
jne 0x427ea4
call fcn.00427a00
xor ecx, ecx
cmp byte [esp + 0x4448], cl
lea eax, [esp + 0x40]
sete cl
push eax
add ecx, 0x460
push ecx
call fcn.00475570
push eax
lea edx, [esp + 0x3248]
push edx
mov edx, 0x900
call fcn.0041cb70
add esp, 0xc
push 0
push 0x2fb
call fcn.00475570
mov ecx, dword [0x534ca4]
push eax
lea eax, [esp + 0x3248]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x427f99
push 0
push 1
push 0x800
lea edx, [esp + 0x4c]
push edx
push str.Settings.reg
call fcn.00460b00
lea eax, [esp + 0x40]
push eax
call fcn.0043ccc0
test al, al
jne 0x427d94
cmp byte [esp + 0x444c], al
je 0x427f4b
xor al, al
pop ebx
mov ecx, dword [esp + 0x443c]
xor ecx, esp
call fcn.004c1302
add esp, 0x4440
ret 8
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [esp + eax + 0x1040]
mov word [esp + eax + 0x40], cx
add eax, 2
test cx, cx
jne 0x427f50
jmp 0x427d9e
mov eax, str._e___s__HKEY_CURRENT_USERSoftwareWinRAR
jmp 0x427de7
cmp byte [esp + 0x444c], 0
jne 0x427f99
lea edx, [esp + 0x2040]
push edx
push 0x201
call fcn.00475570
push eax
call fcn.004ad030
add esp, 8
mov ecx, dword [esp + 0x4440]
mov al, bl
pop ebx
xor ecx, esp
call fcn.004c1302
add esp, 0x4440
ret 8
Function at 0x428110
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 0x42813f
test cl, 7
je 0x42813f
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4f72c8]
dec esi
inc ecx
test esi, esi
ja 0x428122
cmp esi, 8
jb 0x4281d8
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 + 0x4f76c8]
mov dword [esp + 0x14], ecx
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4f72c8]
mov ecx, edx
shr ecx, 8
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x4f7ac8]
mov ebp, eax
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4f82c8]
mov ecx, eax
shr ecx, 0x10
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x4f86c8]
mov ecx, eax
shr ecx, 8
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x4f8ac8]
mov ecx, dword [esp + 0x14]
movzx edx, dl
xor ebx, dword [edx*4 + 0x4f7ec8]
movzx eax, al
xor ebx, dword [eax*4 + 0x4f8ec8]
sub esi, 8
add ecx, 8
sub edi, 1
mov eax, ebx
jne 0x428150
pop ebp
pop ebx
test esi, esi
jbe 0x4281f8
lea esp, [esp]
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4f72c8]
dec esi
inc ecx
test esi, esi
ja 0x4281e0
pop edi
pop esi
ret 0xc