joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aa970
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 0x14]
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x1c]
push esi
mov esi, ecx
push 0
push ebx
mov dword [esi + 8], ebx
mov byte [esi + 0x26], al
call dword [0x50161c]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004aa8f0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 8]
push ecx
push ebx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], eax
call dword [0x501684]
push 2
lea edx, [esp + 0xc]
push edx
push ebx
call dword [0x501644]
push eax
push 0
call dword [0x501648]
mov eax, dword [esi + 4]
test eax, eax
je 0x4aa9d9
push eax
call dword [0x501660]
mov eax, dword [esp + 8]
push ebp
push edi
mov edi, dword [esp + 0x18]
push esi
mov ebp, eax
sub edi, eax
mov eax, dword [esi]
push eax
push 0
push ebx
call dword [0x501644]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
sub ecx, eax
push ecx
push edi
push eax
push ebp
push 0x40000000
push 0
push str.RarHtmlClassName
push 0
call dword [0x501664]
cmp dword [esi + 0x10], 0
pop edi
mov dword [esi + 4], eax
pop ebp
jne 0x4aaa63
test ebx, ebx
je 0x4aaa7a
cmp dword [esi + 0x20], 0
jne 0x4aaa7a
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4aaa7a
push eax
mov ecx, esi
call fcn.004a9d10
mov esi, eax
test esi, esi
je 0x4aaa7a
push 5
push ebx
call dword [0x50161c]
push esi
push ebx
call dword [0x501694]
push esi
call fcn.004e68b2
add esp, 4
pop esi
pop ebx
add esp, 0x10
ret 0x14
test eax, eax
je 0x4aaa7a
push 5
push eax
call dword [0x50161c]
mov edx, dword [esi + 4]
push edx
call dword [0x501500]
pop esi
pop ebx
add esp, 0x10
ret 0x14

Function at 0x4aaa90
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x4aab09
push ebx
push 0x800
push 0x552806
push str.Rar_CM
call fcn.004b4380
mov ebx, eax
test ebx, ebx
je 0x4aab08
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4aaac0
sub eax, edx
sar eax, 1
push esi
mov esi, eax
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4aaad7
sub eax, edx
push ebx
sar eax, 1
push eax
push 2
push edi
call fcn.004eaff9
push ebx
call fcn.004eae1b
add esp, 0x14
test esi, esi
pop esi
jbe 0x4aab08
mov dword [0x553808], 3
pop ebx
pop edi
ret 4
Function at 0x4b2cf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1a0
mov al, byte [esp + 0x1ac]
mov edx, dword [esp + 0x1a4]
push ebx
mov bl, byte [esp + 0x1ac]
movzx ecx, bl
push esi
mov byte [0x56ce55], al
mov eax, dword [0x531154]
mov dword [esp + 0x58], ecx
mov esi, 0x34
push 1
mov ecx, 0x54e748
mov dword [0x56ce38], 0
mov dword [0x56ce34], 0
mov dword [esp + 0x4c], str.GETARC
mov dword [esp + 0x58], 0x4b1520
mov dword [esp + 0x80], str.GETARCADV
mov dword [esp + 0x8c], 0x4b0890
mov dword [esp + 0xb4], str.GETARCOPT
mov dword [esp + 0xc0], 0x4abb80
mov dword [esp + 0xe8], str.GETARCFILES
mov dword [esp + 0xf4], 0x4ac030
mov dword [esp + 0x11c], str.GETARCBACKUP
mov dword [esp + 0x128], 0x4ac600
mov dword [esp + 0x150], str.GETARCTIME
mov dword [esp + 0x15c], 0x4af410
mov dword [esp + 0x184], str.GETARCCMT
mov dword [esp + 0x190], 0x4ac8a0
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0x28a
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
call fcn.004a46e0
cmp byte [esp + 0x1b4], 0
mov dword [esp + 0x18], eax
je 0x4b2e00
push 0x3f6
jmp 0x4b2e18
movzx ecx, byte [0x554918]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffd08
add ecx, 0x3de
push ecx
call fcn.00463430
mov ecx, 0x20
mov dword [esp + 0x1c], eax
mov eax, dword [0x531154]
lea edx, [esp + 0x3c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x17c], eax
push 7
mov dword [esp + 0x44], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0x114], ecx
mov dword [esp + 0x148], ecx
mov dword [esp + 0x17c], ecx
mov eax, edx
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x531178
mov dword [esp + 0x2c], 7
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xe4], esi
mov dword [esp + 0x118], esi
mov dword [esp + 0x14c], esi
mov dword [esp + 0x180], esi
call fcn.00463240
test bl, bl
jne 0x4b2f02
lea edx, [esp + 8]
push edx
call dword [sym.imp.COMCTL32.dll_PropertySheetW]
test eax, eax
jle 0x4b2efe
cmp word [0x55ac02], 0
jne 0x4b2f02
cmp byte [esp + 0x1b4], bl
jne 0x4b2f02
xor bl, bl
jmp 0x4b2f04
mov bl, 1
push 7
lea eax, [esp + 0x40]
push eax
mov ecx, 0x531178
call fcn.004622b0
pop esi
mov al, bl
mov byte [0x53f4b4], 0
pop ebx
add esp, 0x1a0
ret 0xc
Function at 0x4b39e0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
call dword [0x501564]
push eax
mov dword [esp + 0x1c], eax
call dword [0x50155c]
mov edi, dword [0x5010f0]
mov ebx, eax
push ebx
call edi
push ebx
mov esi, eax
call edi
mov ebp, dword [esp + 0x38]
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push 0x18
push ebp
call dword [0x5010ec]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
push ebx
call dword [0x5010d8]
push ebp
mov ebp, dword [0x501114]
push esi
mov dword [esp + 0x40], eax
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x24]
push 0xcc0020
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov edx, eax
neg edx
push edx
push 0
lea edx, [eax - 1]
push edx
push esi
push ecx
push eax
push 0
push 0
push edi
call dword [0x5010dc]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0xcc0020
push 0
push 0
push edi
push eax
push ecx
push 0
push 0
push esi
call dword [0x5010e8]
mov edx, dword [esp + 0x10]
push edx
push esi
call ebp
mov eax, dword [esp + 0x14]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x38]
push ecx
call dword [0x501128]
push esi
mov esi, dword [0x5010f8]
call esi
push edi
call esi
mov edx, dword [esp + 0x18]
push ebx
push edx
call dword [0x501560]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
Function at 0x4b4c90
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 8
push ebx
lea eax, [esp + 4]
push eax
push 0x50af48
push 1
push 0
push 0x50b038
xor bl, bl
call dword [0x5016d0]
test eax, eax
jl 0x4b4d92
mov eax, dword [esp + 4]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push 0x50af88
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x4b4d86
push esi
mov esi, dword [esp + 0x1c]
cmp byte [esp + 0x14], bl
je 0x4b4cee
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 2
push esi
push eax
call edx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4b4d14
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
push ecx
call eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 8]
push 0
test ecx, ecx
jne 0x4b4d31
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0x501ac8
push eax
call edx
jmp 0x4b4d3a
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4b4d4f
mov eax, dword [esp + 8]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4b4d64
mov eax, dword [esp + 8]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x24]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push esi
push eax
call edx
pop esi
test eax, eax
jl 0x4b4d7a
mov bl, 1
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, bl
pop ebx
add esp, 8
ret 0x1c

Function at 0x4b5950
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1404
call fcn.004e6a80
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x1400], eax
mov eax, dword [esp + 0x1408]
mov ecx, dword [0x53d324]
push edi
push eax
push ecx
call dword [0x50164c]
push 0xa00
lea edx, [esp + 8]
mov edi, eax
push edx
push edi
call dword [0x501690]
lea ecx, [esp + 4]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4b59bd
test dx, dx
je 0x4b59b9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4b59bd
add eax, 4
add ecx, 4
test dx, dx
jne 0x4b5997
xor eax, eax
jmp 0x4b59c2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4b59ce
push esi
push edi
call dword [0x501694]
mov ecx, dword [esp + 0x1404]
pop edi
xor ecx, esp
call fcn.004e6a64
add esp, 0x1404
ret 4
Function at 0x4b5cc0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x404
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
push 0x200
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [edi], 0x3b8
call dword [0x501690]
push 0x40
lea edx, [esp + 0xc]
push edx
call fcn.00497430
cmp word [0x56e108], 0
je 0x4b5d70
lea eax, [esp + 8]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b5d10
mov ecx, dword [0x503088]
mov dx, word [0x50308c]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b5d36
sub eax, edx
push 0x56e108
sar eax, 1
push 0x5aa
mov esi, eax
call fcn.00463430
push eax
lea eax, [esp + esi*2 + 0x10]
push str._s:__s
mov edx, 0x200
sub edx, esi
push eax
call fcn.00497580
add esp, 0x10
cmp byte [0x56e0dc], 0
je 0x4b5dde
lea eax, [esp + 8]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b5d80
mov ecx, dword [0x503088]
mov dx, word [0x50308c]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b5da6
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [esp + 0x410]
push eax
push 0x2fd
call fcn.00463430
push eax
lea ecx, [esp + esi*2 + 0x10]
mov edx, 0x200
sub edx, esi
push ecx
call fcn.00497580
add esp, 0xc
push 0x80
lea edx, [esp + 0xc]
push edx
add edi, 0x18
push edi
call fcn.004694f0
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004e6a64
add esp, 0x404
ret 4

Function at 0x4b5e10
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4ff3be
mov eax, dword fs:[0]
push eax
sub esp, 0x404
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
mov eax, dword [0x519bc0]
xor eax, esp
push eax
lea eax, [esp + 0x40c]
mov dword fs:[0], eax
mov eax, dword [0x53d324]
test eax, eax
je 0x4b5f4b
push 0x200
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [0x501690]
mov esi, dword [0x56e174]
cmp esi, 9
je 0x4b5ec7
mov ecx, 0x56e6b8
lea eax, [esp + 8]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4b5ea6
test dx, dx
je 0x4b5ea2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4b5ea6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4b5e80
xor eax, eax
jmp 0x4b5eab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4b5ec7
mov edx, dword [0x53d324]
push 0x56e6b8
push edx
call dword [0x501694]
mov esi, dword [0x56e174]
test esi, esi
je 0x4b5eda
cmp esi, 1
je 0x4b5eda
cmp esi, 2
je 0x4b5eda
cmp esi, 9
jne 0x4b5eff
push 0x9c
mov esi, 0x56e5b8
call fcn.004b5950
push 0x56f7b8
call fcn.00453550
push 0x9b
mov esi, eax
call fcn.004b5950
test byte [0x5707c0], 1
jne 0x4b5f2f
or dword [0x5707c0], 1
mov dword [esp + 0x414], 0
mov dword [0x5707bc], 0
mov dword [esp + 0x414], 0xffffffff
push 0x64
mov ecx, 0x5707bc
call fcn.00497180
test al, al
je 0x4b5f4b
mov eax, dword [0x53d324]
push eax
call dword [0x501500]
mov ecx, dword [esp + 0x40c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.004e6a64
add esp, 0x410
ret
Function at 0x4b92c0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1008
call fcn.004e6a80
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x1004], eax
mov eax, dword [esp + 0x100c]
push 0x800
lea ecx, [esp + 4]
push ecx
push eax
mov ecx, 0x549cc0
call fcn.0048ff60
push 0x802
lea edx, [esp + 4]
push edx
call fcn.00452cf0
push 0x802
push 0x502588
lea eax, [esp + 8]
push eax
call fcn.00469570
push 1
push 0x501ac8
push 0
lea ecx, [esp + 0xc]
push ecx
push str.open
push 0
call dword [0x501424]
mov ecx, dword [esp + 0x1004]
xor ecx, esp
call fcn.004e6a64
add esp, 0x1008
ret 4
Function at 0x4bad80
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x35d8
call fcn.004e6a80
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x35d4], eax
cmp dword [0x518914], 0xffffffff
mov eax, dword [esp + 0x35e8]
push ebp
mov ebp, dword [esp + 0x35e0]
push esi
mov esi, dword [0x501448]
push edi
mov edi, dword [esp + 0x35ec]
mov dword [esp + 0xc], eax
jne 0x4bae24
push 0x4001
push 0x2b4
lea ecx, [esp + 0x80]
push ecx
push 0
push 0x502588
call esi
mov edx, dword [esp + 0x7c]
push 0x800
lea eax, [esp + 0x25e4]
push eax
push 0
mov dword [0x575d28], edx
call dword [0x501384]
push 0x4001
push 0x2b4
lea ecx, [esp + 0x80]
push ecx
push 0
lea edx, [esp + 0x25f0]
push edx
call esi
mov eax, dword [esp + 0x7c]
mov dword [0x518914], eax
push ebx
push 0x800
push edi
lea ecx, [esp + 0x5ec]
push ecx
call fcn.004694f0
push 0x800
lea edx, [esp + 0x5e8]
push edx
mov eax, edx
push eax
call fcn.00453050
cmp word [ebp], 0
lea ecx, [esp + 0x5e4]
setne bl
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 0x40000000
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x330]
test bl, bl
je 0x4baea1
movzx eax, byte [esp + 0x35f4]
push 0x4011
neg eax
push 0x2b4
sbb eax, eax
push edx
and eax, 0x10
push eax
push ecx
jmp 0x4baeb6
push 0x4001
push 0x2b4
push edx
push 0
lea eax, [esp + 0x5f4]
push eax
call esi
mov ecx, dword [esp + 0x334]
mov dword [esp + 0x30], ecx
push 0x800
test bl, bl
je 0x4baedc
push ebp
lea edx, [esp + 0x15ec]
push edx
call fcn.004694f0
jmp 0x4baf0f
lea eax, [esp + 0x5e8]
push eax
lea ecx, [esp + 0x15ec]
push ecx
call fcn.004694f0
lea edx, [esp + 0x15e4]
push edx
call fcn.00453800
lea eax, [esp + 0x5e4]
push eax
call fcn.00453550
mov dword [esp + 0x28], eax
mov ecx, dword [0x53d324]
push 0x66
push ecx
call dword [0x50164c]
mov ebp, dword [0x5016a4]
lea edx, [esp + 0x14]
push edx
push 0
mov esi, eax
push 0x104d
push esi
call ebp
mov edi, eax
lea eax, [esp + 0x15e4]
test bl, bl
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], eax
pop ebx
je 0x4baf67
mov ecx, dword [0x518914]
mov dword [esp + 0x2c], ecx
jmp 0x4baf71
mov edx, dword [0x575d28]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x10]
push eax
push 0
push 0x104c
push esi
call ebp
mov ecx, dword [esp + 0xc]
push ecx
mov dword [esp + 0x50], 2
call fcn.004696b0
lea edx, [esp + 0x44]
push edx
push edi
push 0x1074
push esi
mov dword [esp + 0x68], eax
call ebp
test edi, edi
jne 0x4bafc3
mov eax, 1
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
push edi
push 0x102b
push esi
call ebp
mov ecx, dword [esp + 0x35e0]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004e6a64
add esp, 0x35d8
ret 0x10
Function at 0x4c3760
Capabilities:
Move file

Disassembly:
mov eax, 0x1110
call fcn.004e6a80
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x110c], eax
cmp byte [0x54ad02], 0
jne 0x4c39a1
push ebx
push ebp
push esi
xor esi, esi
push edi
push esi
mov ecx, 0x549cc0
xor ebp, ebp
mov dword [esp + 0x10c8], esi
mov dword [esp + 0x10cc], esi
call fcn.004912d0
lea eax, [esp + 0x34]
push eax
mov ecx, 0x549cc0
call fcn.004912d0
test al, al
je 0x4c37e6
lea esp, [esp]
lea edi, [esp + 0x13]
lea ebx, [esp + 0x34]
call fcn.004bac70
test al, al
jne 0x4c38a3
mov ecx, ebx
push ecx
mov ecx, 0x549cc0
call fcn.004912d0
test al, al
jne 0x4c37c0
push 0
mov ecx, 0x549cc0
call fcn.004912d0
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x549cc0
call fcn.004912d0
test al, al
je 0x4c387c
lea eax, [esp + 0x34]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c3810
sub eax, edx
sar eax, 1
lea edi, [eax + ebp + 1]
lea edx, [edi + edi + 2]
push edx
push esi
call fcn.004e6aab
mov esi, eax
add esp, 8
test esi, esi
je 0x4c399d
lea eax, [esp + 0x34]
mov edx, eax
lea ecx, [ebp + ebp]
sub ecx, edx
lea edx, [ecx + esi]
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4c3850
lea eax, [esp + 0x34]
push eax
mov ecx, 0x549cc0
mov ebp, edi
call fcn.004912d0
test al, al
jne 0x4c3805
test ebp, ebp
jne 0x4c38fe
push 0x30
push 0x65
call fcn.00463430
push eax
push 0x14c
call fcn.00463430
mov ecx, dword [0x53f484]
push eax
push ecx
call dword [0x5015fc]
jmp 0x4c399d
cmp byte [esp + 0x1124], 0
je 0x4c38f4
push 0x64
lea edx, [esp + 0x38]
push edx
call fcn.00497920
push eax
push 0x203
call fcn.00463430
push eax
call fcn.004c2a40
movzx eax, byte [esp + 0x1b]
add esp, 8
neg eax
sbb eax, eax
and eax, 0xffffff87
add eax, 0xce
push eax
call dword [0x501380]
mov ecx, 0x531158
call fcn.0043f530
jmp 0x4c399d
call fcn.004c1920
jmp 0x4c399d
xor eax, eax
xor edx, edx
mov word [esi + ebp*2], dx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov eax, dword [0x53f484]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 3
cmp byte [esp + 0x1124], dl
je 0x4c394b
mov ecx, 0x40
mov word [esp + 0x24], cx
lea edx, [esp + 0x14]
mov edi, 1
add dword [0x53e3dc], edi
push edx
mov dword [esp + 0x20], esi
call dword [0x501430]
test eax, eax
sete bl
sub dword [0x53e3dc], edi
push esi
call fcn.004e68b2
add esp, 4
test bl, bl
je 0x4c399d
cmp dword [esp + 0x26], 0
jne 0x4c399d
mov ecx, 0x549ca0
call fcn.004a8870
push 0x501ac8
mov ecx, 0x549cc0
call fcn.00494b40
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110c]
xor ecx, esp
call fcn.004e6a64
add esp, 0x1110
ret 4
Function at 0x4c5f50
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x100c
call fcn.004e6a80
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x1008], eax
cmp dword [0x53e3dc], 0
push ebx
mov ebx, dword [esp + 0x1014]
jne 0x4c6095
push ebp
mov ebp, dword [0x501418]
push edi
push 0
push 0
push 0xffffffffffffffff
push ebx
call ebp
mov edi, eax
cmp edi, 1
jne 0x4c603c
push 0x800
lea ecx, [esp + 0x18]
xor eax, eax
push ecx
push eax
push ebx
mov word [esp + 0x24], ax
call ebp
lea edx, [esp + 0xc]
push edx
call dword [0x501568]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [0x501554]
cmp byte [0x53d329], 0
je 0x4c5fec
cmp byte [esp + 0x1020], 0
jne 0x4c6015
cmp eax, dword [0x549ce8]
je 0x4c6015
cmp eax, dword [0x549ca4]
je 0x4c6015
lea edx, [esp + 0x14]
push edx
call dword [0x5013cc]
test al, 0x10
jne 0x4c6015
push 1
lea eax, [esp + 0x18]
push eax
mov ecx, 0x549cc0
call fcn.00495460
cmp eax, 1
je 0x4c6093
push 7
push str.rarreg.
lea ecx, [esp + 0x1c]
push ecx
call fcn.00453550
push eax
call fcn.0046c9d0
test eax, eax
jne 0x4c603c
lea edx, [esp + 0x14]
push edx
call fcn.004c3190
jmp 0x4c6093
push esi
push 0
call fcn.004b0360
mov ecx, 0x55bc04
call fcn.004698f0
xor esi, esi
test edi, edi
jle 0x4c6076
push 0x800
lea eax, [esp + 0x1c]
push eax
push esi
push ebx
call ebp
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55bc04
call fcn.00469920
inc esi
cmp esi, edi
jl 0x4c6054
push 0x10
call dword [0x501548]
push 1
push 0
shr eax, 0xf
and al, 1
or byte [0x55598e], al
call fcn.004b2ff0
pop esi
pop edi
pop ebp
mov ecx, dword [esp + 0x100c]
pop ebx
xor ecx, esp
call fcn.004e6a64
add esp, 0x100c
ret 8

Function at 0x4c6670
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x2004
call fcn.004e6a80
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x2000], eax
push esi
push 0x1000
push 0
lea eax, [esp + 0x100c]
push eax
push str.rarreg.key
push 0x501ac8
call fcn.0049c530
mov esi, eax
test esi, esi
je 0x4c6706
push edi
push 0x800
lea ecx, [esp + 0xc]
push ecx
push str.Rar_RK
call fcn.004b4380
mov edi, eax
test edi, edi
je 0x4c66f6
push edi
push esi
lea edx, [esp + 0x1010]
push 1
push edx
call fcn.004eaff9
push edi
call fcn.004eae1b
add esp, 0x14
lea eax, [esp + 8]
push eax
call fcn.004c3190
lea ecx, [esp + 8]
push ecx
call fcn.00445150
push str.rarreg.key
push 0x501ac8
call fcn.0049c0b0
pop edi
mov ecx, dword [esp + 0x2004]
pop esi
xor ecx, esp
call fcn.004e6a64
add esp, 0x2004
ret
Function at 0x4c6720
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x1028
call fcn.004e6a80
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x1024], eax
push esi
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x20], 0x51e00
call dword [0x5013a4]
push 0xc
push 0
lea ecx, [esp + 0xc]
push ecx
push str.VerInfo
push str.General
call fcn.0049c530
push 1
push 0x800
lea edx, [esp + 0x30]
push edx
call fcn.00453840
push 0x800
lea eax, [esp + 0x2c]
push eax
call fcn.00452cf0
push 0x800
push str.version.dat
lea ecx, [esp + 0x30]
push ecx
call fcn.00469570
push 0x5048bc
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x18], 0
call fcn.00445330
mov esi, eax
test esi, esi
je 0x4c67cd
push esi
push 0xc
lea eax, [esp + 0x18]
push 1
push eax
call fcn.004eb427
push esi
call fcn.004eae1b
add esp, 0x14
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
je 0x4c6899
mov ecx, dword [esp + 0x10]
push 0xc
cmp ecx, eax
je 0x4c6865
lea ecx, [esp + 0x20]
push ecx
push str.VerInfo
push str.General
call fcn.0049c4b0
call fcn.0049aec0
test al, al
jne 0x4c6831
push 0x503b5c
lea edx, [esp + 0x2c]
push edx
call fcn.00445330
mov esi, eax
test esi, esi
je 0x4c6831
push esi
push 0xc
lea eax, [esp + 0x24]
push 1
push eax
call fcn.004eaff9
push esi
call fcn.004eae1b
add esp, 0x14
call fcn.0049aee0
movzx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 0xfffffe98
add ecx, 0x168
mov dword [0x53e3d0], ecx
pop esi
mov ecx, dword [esp + 0x1024]
xor ecx, esp
call fcn.004e6a64
add esp, 0x1028
ret
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x14]
push ecx
push str.VerInfo
push str.General
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call fcn.0049c4b0
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jne 0x4c68e9
cmp dword [esp + 0x10], eax
je 0x4c68e9
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
call fcn.0049aec0
test al, al
jne 0x4c68e9
push 0x503b5c
lea ecx, [esp + 0x2c]
push ecx
call fcn.00445330
mov esi, eax
test esi, esi
je 0x4c68e9
push esi
push 0xc
lea edx, [esp + 0xc]
push 1
push edx
call fcn.004eaff9
push esi
call fcn.004eae1b
add esp, 0x14
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
xor ecx, ecx
push 1
xor esi, esi
sub edx, eax
push ecx
sbb esi, ecx
push esi
push edx
call fcn.004e79f0
mov ecx, dword [esp + 8]
xor esi, esi
sub eax, ecx
mov ecx, dword [esp + 0x20]
sbb edx, esi
push esi
add eax, ecx
push 0x989680
adc edx, esi
push edx
push eax
call fcn.004e9de0
push esi
push 0xe10
push edx
push eax
call fcn.004e9de0
push esi
push 0x18
push edx
push eax
call fcn.004e9de0
mov dword [0x53e3d0], eax
test eax, eax
jge 0x4c694c
mov dword [0x53e3d0], 0x168
mov ecx, dword [esp + 0x1028]
pop esi
xor ecx, esp
call fcn.004e6a64
add esp, 0x1028
ret