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

Disassembly:
cmp dword [esp + 4], 0
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, ecx
jne 0x465801
push edi
push 0
push ebp
call fcn.004e7970
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edi
push ebp
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00465380
test al, al
jne 0x4658c0
test ebx, ebx
jne 0x465880
cmp dword [esi + 0x24], edi
je 0x465854
mov edx, dword [esi + 0x20]
push edx
call fcn.004e7a24
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e687d
add esp, 8
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
xor eax, eax
test edi, edi
jbe 0x465880
lea ebx, [ebx]
mov ecx, dword [esp + 0x1c]
movzx edx, word [eax + ecx]
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 0x20]
mov edx, dword [ecx + edx*4]
mov dword [ebx + eax*4], edx
add eax, 2
cmp eax, edi
jb 0x465860
mov ebx, dword [esp + 0x18]
nop
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
imul eax, ebx
add eax, dword [esp + 0x14]
mov edx, dword [ecx + eax*4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + edx*4]
xor eax, eax
test edi, edi
jbe 0x4658c0
lea esp, [esp]
mov edx, dword [esi + 0x20]
mov edx, dword [edx + eax*4]
mov ebx, dword [esi]
add edx, ecx
mov dx, word [ebx + edx*4]
xor word [eax + ebp], dx
add eax, 2
cmp eax, edi
jb 0x4658a0
lea esp, [esp]
pop edi
pop esi
pop ebp
pop ebx
ret 0x14

Function at 0x4658d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fd9cc
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x519bc0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x3020]
call fcn.00469ab0
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea ecx, [esi + 0x307c]
call fcn.00469ab0
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dl, byte [esp + 0x28]
push 0x1000
mov dword [esi + 0x1008], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x100c], ecx
xor ecx, ecx
push ebx
push esi
mov byte [esi + 0x1010], dl
mov dword [esi + 0x1014], eax
mov byte [esi + 0x101c], bl
mov byte [esi + 0x30d8], bl
mov dword [esi + 0x1004], ebx
mov word [esi + 0x101e], cx
call fcn.004e7970
add esp, 0xc
xor edx, edx
mov dword [esi + 0x1000], ebx
mov dword [esi + 0x1018], ebx
mov word [esi + 0x30e0], dx
mov dword [esi + 0x40e0], ebx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x10
Function at 0x466860
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [0x5373e8]
push esi
test edx, edx
jne 0x4668b9
cmp byte [0x5373e4], dl
jne 0x4668b9
push str.Crypt32.dll
call dword [0x5013e4]
mov dword [0x5373e0], eax
test eax, eax
je 0x4668ac
mov esi, dword [0x5013c4]
push str.CryptProtectMemory
push eax
call esi
mov dword [0x5373e8], eax
mov eax, dword [0x5373e0]
push str.CryptUnprotectMemory
push eax
call esi
mov dword [0x5373ec], eax
mov edx, dword [0x5373e8]
mov byte [0x5373e4], 1
mov esi, dword [esp + 0xc]
mov ecx, esi
and ecx, 0xf
mov eax, esi
sub eax, ecx
xor ecx, ecx
cmp byte [esp + 0x14], cl
setne cl
cmp byte [esp + 0x10], 0
je 0x466913
test edx, edx
je 0x466931
push ecx
push eax
mov eax, dword [esp + 0x10]
push eax
call edx
test eax, eax
jne 0x466954
push str.CryptProtectMemory_failed
push 0x531158
call fcn.0043f770
add esp, 8
mov ecx, 0x531158
call fcn.0043f530
push 2
mov ecx, 0x531158
call fcn.0043f3c0
pop esi
ret 0x10
mov edx, dword [0x5373ec]
test edx, edx
je 0x466931
push ecx
mov ecx, dword [esp + 0xc]
push eax
push ecx
call edx
test eax, eax
jne 0x466954
push str.CryptUnprotectMemory_failed
jmp 0x4668ec
call dword [0x5012fc]
xor ecx, ecx
test esi, esi
jbe 0x466954
mov dl, al
mov eax, dword [esp + 8]
add dl, 0x4b
push ebx
mov bl, dl
add bl, cl
xor byte [ecx + eax], bl
inc ecx
cmp ecx, esi
jb 0x466947
pop ebx
pop esi
ret 0x10

Function at 0x468510
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
ret 4

Function at 0x468740
Capabilities:
Hash data using sha256

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

Disassembly:
sub esp, 0x12c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x13c]
mov ecx, dword [esi + 0x20]
push edi
lea eax, [esi + 0x2c]
push 0
mov dword [esp + 0x14], eax
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x24]
push 8
push eax
push ecx
call fcn.004e79f0
mov edi, dword [esi + 0x20]
and edi, 0x3f
mov byte [edi + esi + 0x2c], 0x80
inc edi
mov ebp, eax
mov ebx, edx
cmp edi, 0x38
je 0x468cfa
and edi, 0x3f
jne 0x468cec
push esi
call fcn.00468790
mov edx, dword [esp + 0x10]
mov byte [edx + edi], 0
inc edi
cmp edi, 0x38
jne 0x468ce1
mov eax, ebx
shr eax, 0x18
mov byte [edi + esi + 0x2c], al
shld ebx, ebp, 8
shl ebp, 8
mov ecx, ebx
mov edx, ecx
shr edx, 0x18
mov byte [edi + esi + 0x2d], dl
mov eax, ebp
shld ecx, eax, 8
shl eax, 8
mov edx, ecx
shld ecx, eax, 8
shr edx, 0x18
mov byte [edi + esi + 0x2e], dl
shl eax, 8
mov edx, ecx
shld ecx, eax, 8
shr edx, 0x18
shl eax, 8
mov byte [edi + esi + 0x2f], dl
mov edx, ecx
shld ecx, eax, 8
shr edx, 0x18
shl eax, 8
mov byte [edi + esi + 0x30], dl
mov edx, ecx
shld ecx, eax, 8
shl eax, 8
mov dword [esp + 0x14], eax
mov eax, ecx
shr edx, 0x18
shr eax, 0x18
shr ecx, 0x10
push esi
mov byte [edi + esi + 0x31], dl
mov byte [edi + esi + 0x32], al
mov byte [edi + esi + 0x33], cl
call fcn.00468790
mov edi, dword [esp + 0x144]
xor ebp, ebp
xor eax, eax
mov edx, eax
and edx, 3
mov ecx, 3
sub ecx, edx
add ecx, ecx
mov edx, eax
shr edx, 2
mov edx, dword [esi + edx*4]
add ecx, ecx
add ecx, ecx
shr edx, cl
inc eax
mov byte [eax + edi - 1], dl
cmp eax, 0x20
jb 0x468d83
push 0x20
lea eax, [esp + 0x20]
push eax
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
call fcn.00466960
push 0x100
lea ecx, [esp + 0x40]
push ecx
call fcn.00466960
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
jmp fcn.00466960

Function at 0x469d00
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [0x50137c]
push eax
call dword [0x501010]
test eax, eax
je 0x469d53
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [0x50100c]
mov eax, dword [esp]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [0x501008]
push 0x80000000
push 0xd
call dword [0x501678]
add esp, 0x14
ret
Function at 0x46f4c0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x408
push ebx
push ebp
push esi
mov esi, dword [esp + 0x418]
push edi
mov ebx, ecx
movzx edi, word [ebx]
sub edi, dword [esi + 0x654]
mov dword [esp + 0x14], ebx
push edi
push esi
call fcn.0046f2b0
mov dl, byte [esi + 0xa6c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
sub eax, 6
lea ebp, [esp + 0x18]
xor ecx, ecx
lea ecx, [ecx]
movzx ebx, byte [eax + 6]
add eax, 6
cmp byte [ebx + esi + 0x66c], dl
je 0x46f500
movzx ebx, byte [eax + 1]
mov dword [ebp], eax
add ecx, ebx
add ebp, 4
sub edi, 1
jne 0x46f500
add dword [esi + 0x4a84], ecx
mov eax, dword [esi + 0x4a78]
xor edx, edx
div dword [esi + 0x4a84]
xor edx, edx
mov edi, eax
mov eax, dword [esi + 0x4a74]
sub eax, dword [esi + 0x4a70]
mov dword [esi + 0x4a78], edi
div edi
mov ebx, dword [esi + 0x4a84]
cmp eax, ebx
jl 0x46f566
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x408
ret 4
cmp eax, ecx
mov edx, dword [esp + 0x18]
lea edi, [esp + 0x18]
jge 0x46f5e3
movzx ecx, byte [edx + 1]
cmp ecx, eax
jg 0x46f590
lea ebx, [ebx]
mov edx, dword [edi + 4]
movzx ebx, byte [edx + 1]
add edi, 4
add ecx, ebx
cmp ecx, eax
jle 0x46f580
mov edi, dword [esp + 0x10]
mov dword [esi + 0x4a80], ecx
movzx eax, byte [edx + 1]
sub ecx, eax
mov dword [esi + 0x4a7c], ecx
mov cl, byte [edi + 2]
cmp cl, 7
jae 0x46f5c9
add byte [edi + 3], 0xff
jne 0x46f5c9
mov ax, word [edi]
add ax, ax
mov word [edi], ax
mov al, 3
shl al, cl
inc cl
mov byte [edi + 2], cl
mov byte [edi + 3], al
mov ecx, dword [esp + 0x14]
push edx
push esi
call fcn.0046f270
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x408
ret 4
mov edi, dword [esp + 0x14]
mov dword [esi + 0x4a7c], ecx
mov dword [esi + 0x4a80], ebx
movzx ecx, word [edi]
sub ecx, dword [esi + 0x654]
lea eax, [esp + 0x18]
sub eax, 4
mov edx, dword [eax + 4]
movzx edx, byte [edx]
mov bl, byte [esi + 0xa6c]
add eax, 4
sub ecx, 1
mov byte [edx + esi + 0x66c], bl
jne 0x46f603
mov cx, word [esi + 0x4a84]
mov eax, dword [esp + 0x10]
add word [eax], cx
movzx edx, word [edi]
pop edi
mov dword [esi + 0x654], edx
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x408
ret 4

Function at 0x472e10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4fddde
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x519bc0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 4], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov byte [esp + 0x10], 1
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov byte [esp + 0x10], 2
mov dword [eax + 0x10], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x478480
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2e0
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x2dc], eax
push ebx
push ebp
mov ebp, dword [esp + 0x2fc]
push esi
push edi
mov edi, dword [esp + 0x2f4]
mov ebx, ecx
push 0x1008
mov dword [esp + 0x38], ebx
call fcn.004e7da8
mov ecx, dword [esp + 0x300]
mov esi, eax
mov eax, dword [esp + 0x2fc]
add esp, 4
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
call fcn.00469020
lea edx, [esi + 8]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x4784d7
cmp dword [ebx + 4], 0x50000
jb 0x478507
call fcn.00447f80
cmp eax, 0x400
je 0x478507
cmp byte [esp + 0x310], 0
jne 0x478552
mov ebx, dword [esp + 0x300]
cmp ebx, 0xffffffff
je 0x478517
test ebp, ebp
jne 0x478559
cmp dword [esp + 0x2f8], 2
mov eax, 0x4201
jne 0x47852b
mov eax, 0x4203
push eax
push 0x2b4
lea edx, [esp + 0x40]
push edx
push 0
push edi
call dword [0x501448]
cmp ebx, 0xffffffff
jne 0x478548
mov ebx, dword [esp + 0x3c]
test ebp, ebp
jne 0x478559
lea ebp, [esp + 0x44]
jmp 0x478559
mov ebx, dword [esp + 0x300]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 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 dword [esp + 0x30], eax
mov dword [esp + 0x10], 0x37
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x478597
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x30c]
mov ecx, dword [esp + 0x308]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
push 0
mov dword [esp + 0x34], ecx
mov ecx, dword [eax]
push 0x40b
push ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [0x5016a4]
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e6a64
add esp, 0x2e0
ret 0x20
Function at 0x4790f0
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x2d0], eax
push edi
mov edi, ecx
mov eax, dword [edi]
test eax, eax
je 0x479221
push esi
mov esi, dword [0x5016a4]
push 0
push 0
push 0x14b
push eax
call esi
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
call dword [0x501444]
test eax, eax
jne 0x479193
mov edx, dword [esp + 0xc]
push 0x4209
push 0x2b4
lea ecx, [esp + 0x18]
push ecx
push eax
push edx
call dword [0x501448]
push eax
mov eax, dword [edi]
push 0
push 0x402
push eax
call esi
mov eax, dword [0x572b44]
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.00478480
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call dword [0x501440]
test eax, eax
jne 0x4791bc
mov edx, dword [esp + 8]
push eax
push eax
push edx
mov ecx, edi
call fcn.00478930
test al, al
jne 0x479219
push ebx
push ebp
call fcn.004b3bd0
mov ebp, eax
xor esi, esi
mov ebx, 1
lea esp, [esp]
test ebp, ebx
je 0x47920f
lea eax, [esi + 0x41]
push eax
lea ecx, [esp + 0x2d0]
push str._c:_
push ecx
mov edx, 0xa
call fcn.00497580
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.00478480
inc esi
rol ebx, 1
cmp esi, 0x20
jl 0x4791d0
pop ebp
pop ebx
mov ecx, edi
call fcn.00478e40
pop esi
mov ecx, dword [esp + 0x2d4]
pop edi
xor ecx, esp
call fcn.004e6a64
add esp, 0x2d4
ret
Function at 0x47ee50
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x1010
call fcn.004e6a80
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x100c], eax
push esi
xor esi, esi
cmp dword [0x55bc18], esi
je 0x47f044
push esi
push 1
push 0x55ac02
mov ecx, 0x54be10
call fcn.0047c680
cmp eax, 1
jne 0x47f044
cmp dword [0x553808], 3
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 4], esi
push eax
jne 0x47eebe
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x54be10
call fcn.0047b9c0
jmp 0x47eed2
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, 0x54be10
call fcn.0047b8d0
cmp dword [esp + 4], esi
je 0x47f044
push 0x800
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x55bc04
call fcn.00469b30
lea edx, [esp + 0x10]
push edx
call dword [0x5013cc]
cmp eax, 0xffffffff
je 0x47ef52
push esi
push esi
push 0x7fffffff
push 0x7fffffff
push 0x800
lea eax, [esp + 0x24]
push eax
push 0x54f7f0
call fcn.0046b260
cmp eax, 6
je 0x47ef2f
cmp eax, 1
je 0x47ef2f
cmp eax, 3
jne 0x47ef52
mov ecx, dword [esp + 8]
push ecx
call fcn.004e7a24
add esp, 4
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.004e6a64
add esp, 0x1010
ret
push edi
push 0x503b5c
lea edx, [esp + 0x18]
push edx
call fcn.00445330
mov edi, eax
cmp edi, esi
jne 0x47efa6
lea eax, [esp + 0x14]
push eax
push 0x1f6
call fcn.00463430
push eax
push 0x55ac02
call fcn.004c2fe0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004e7a24
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.004e6a64
add esp, 0x1010
ret
mov eax, dword [0x553808]
cmp eax, 3
jne 0x47effb
push edi
push 0xff
call fcn.004eb07b
push edi
push 0xfe
call fcn.004eb07b
add esp, 0x10
cmp dword [esp + 8], esi
jbe 0x47f026
nop
mov edx, dword [esp + 0x10]
movzx eax, word [edx + esi*2]
push edi
push eax
call fcn.004eb07b
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + esi*2 + 1]
push edi
push edx
call fcn.004eb07b
inc esi
add esp, 0x10
cmp esi, dword [esp + 8]
jb 0x47efd0
jmp 0x47f026
cmp eax, 2
jne 0x47f011
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 0x10]
push eax
push eax
call dword [0x5015f0]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push edi
push ecx
push 1
push edx
call fcn.004eaff9
add esp, 0x10
push edi
call fcn.004eae1b
mov eax, dword [esp + 0x10]
push eax
call fcn.004e7a24
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004e7a24
add esp, 0xc
pop edi
mov ecx, dword [esp + 0x1010]
pop esi
xor ecx, esp
call fcn.004e6a64
add esp, 0x1010
ret
Function at 0x484690
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4fe6d6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x519bc0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x53e3dc], ebx
jne 0x484857
push str.WinRAR_DragDrop
push ebx
push ebx
call dword [0x5011dc]
mov esi, eax
push ebx
push esi
mov dword [esp + 0x20], esi
call dword [0x50115c]
cmp eax, 0x102
jne 0x484715
push esi
call dword [0x5013d0]
push 0x5b9
call fcn.00463430
push eax
call fcn.004c2a40
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x10
call dword [0x501548]
shr eax, 0xf
and al, 1
mov byte [0x53c30d], al
jne 0x484735
mov byte [esp + 0x14], bl
cmp byte [0x53d329], bl
je 0x48473a
mov byte [esp + 0x14], 1
push 8
call fcn.004e7da8
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x484761
mov dword [eax], 0x504624
mov dword [eax + 4], 1
mov edi, eax
jmp 0x484763
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x2c], ebp
push 0xd5f8
call fcn.004e7da8
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], 1
cmp eax, ebx
je 0x484798
mov ecx, dword [esp + 0x14]
push ebx
push ecx
mov ecx, eax
call fcn.004843a0
mov esi, eax
jmp 0x48479a
xor esi, esi
mov dword [esp + 0x2c], ebp
xor eax, eax
cmp byte [esp + 0x14], bl
lea edx, [esp + 0x20]
setne al
push edx
mov byte [0x53c30e], bl
mov byte [0x53c30f], 1
mov byte [0x53c30c], bl
lea eax, [eax + eax + 1]
push eax
push edi
push esi
call dword [0x5016ec]
mov byte [0x53c30f], bl
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
mov ebp, eax
call edx
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
cmp byte [0x53c30d], bl
je 0x48480b
cmp byte [0x53d329], bl
je 0x48480b
cmp ebp, 0x40100
jne 0x48480b
call fcn.004bd1a0
mov ecx, 0x549cc0
call fcn.00495f40
mov esi, dword [esp + 0x18]
push esi
call dword [0x5011d8]
push esi
call dword [0x5013d0]
cmp ebp, 0x40100
je 0x484857
cmp byte [0x53c30c], bl
jne 0x484857
call dword [0x5013dc]
cmp eax, 0x3f0
je 0x484857
push 0x53c
call fcn.00463430
push eax
call fcn.004c2a40
add esp, 4
mov ecx, 0x531158
call fcn.0043f530
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x485190
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
xor ebx, ebx
lea eax, [esp + 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
call dword [0x501044]
mov dword [esp + 4], eax
cmp eax, ebx
je 0x485209
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push eax
push ebx
call dword [0x501048]
test eax, eax
jne 0x4851fa
mov dword [esp + 4], ebx
mov ecx, dword [esp + 8]
push ecx
call dword [0x50104c]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
pop ebx
xor ecx, esp
call fcn.004e6a64
add esp, 0x14
ret
Function at 0x485b40
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x12b8
call fcn.004e6a80
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x12b4], eax
mov eax, dword [esp + 0x12bc]
push esi
push edi
mov edi, dword [0x501448]
push 0x4001
mov esi, ecx
push 0x2b4
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x502588
mov dword [esi], eax
call edi
test eax, eax
jne 0x485bb5
push eax
push 0x800
lea edx, [esp + 0x2c4]
push edx
call fcn.004b3ad0
push 0x4001
push 0x2b4
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x2cc]
push ecx
call edi
mov edx, dword [esi]
push eax
push 0
push 0x1109
push edx
call dword [0x5016a4]
mov ecx, dword [esp + 0x12bc]
pop edi
pop esi
xor ecx, esp
call fcn.004e6a64
add esp, 0x12b8
ret 4

Function at 0x486010
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x2b4], eax
push ebx
mov ebx, dword [0x501448]
push esi
mov esi, dword [esp + 0x2c4]
push edi
mov edi, dword [esp + 0x2cc]
push 0x4009
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0
push esi
call ebx
mov ecx, dword [esp + 0x10]
push 0x400b
push 0x2b4
lea edx, [esp + 0x14]
push edx
push 0
push esi
mov dword [edi + 0x18], ecx
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c0]
mov dword [edi + 0x1c], eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e6a64
add esp, 0x2b8
ret 8
Function at 0x487370
Capabilities:
Delete file
Log keystrokes via polling
Move file

Disassembly:
mov eax, 0x2050
call fcn.004e6a80
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x204c], eax
push esi
push edi
mov edi, dword [0x5016a4]
push 0
push 9
mov esi, ecx
mov eax, dword [esi]
push 0x110a
push eax
call edi
test eax, eax
je 0x48749b
mov edx, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x113e
push edx
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], eax
call edi
test eax, eax
je 0x48749b
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x48749b
mov edx, dword [eax + 8]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [0x50140c]
test eax, eax
je 0x48749b
push ebx
push 0x10
call dword [0x501548]
movzx ebx, ax
push 0x800
shr ebx, 0xf
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x105c]
not bl
push ecx
and bl, 1
call fcn.004694f0
lea eax, [esp + 0x1054]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x487425
sub eax, edx
sar eax, 1
xor edx, edx
mov word [esp + eax*2 + 0x1056], dx
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
movzx eax, bl
neg eax
sbb eax, eax
lea edx, [esp + 0xc]
and eax, 0x40
lea ecx, [esp + 0x1054]
push edx
mov dword [esp + 0x14], 3
mov word [esp + 0x20], ax
mov dword [esp + 0x18], ecx
call dword [0x501430]
movzx eax, byte [esi + 8]
push eax
mov ecx, esi
call fcn.00487280
pop ebx
mov ecx, dword [esp + 0x2054]
pop edi
pop esi
xor ecx, esp
call fcn.004e6a64
add esp, 0x2050
ret