joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f574
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x5c
mov eax, 0x55d1d2
call fcn.004ee040
mov esi, ecx
push esi
lea ecx, [ebp - 0x68]
call fcn.0042a4fa
mov dword [ebp - 0x68], 0x56fd14
mov dword [ebp - 0x60], 0x56fd28
mov eax, dword [esi]
lea ecx, [ebp - 0x68]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [ebp - 0x40], 0
push ecx
mov ecx, esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edi
call dword [eax + 0x94]
cmp dword [ebp - 0x40], 0
jne 0x44f760
cmp dword [ebp + 0x10], 0
je 0x44f5ed
cmp edi, 0xffffffff
je 0x44f731
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x26c]
cmp dword [ecx + 8], eax
sete al
mov dword [ecx + 8], eax
jmp 0x44f723
cmp dword [esi + 0x264], 0
jne 0x44f5ff
cmp dword [esi + 0x260], 0
je 0x44f60c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x44f5cb
cmp dword [esi + 0x264], 0
jne 0x44f622
cmp dword [esi + 0x260], 0
je 0x44f6b7
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x44f6b7
cmp edi, 0xffffffff
je 0x44f731
xor eax, eax
cmp ebx, 0xffffffff
cmovne eax, ebx
mov ebx, eax
mov eax, edi
cmp ebx, edi
mov dword [ebp + 8], ebx
mov ecx, ebx
cmovg eax, ebx
cmp eax, ebx
mov dword [ebp - 0x14], eax
cmove ecx, edi
and dword [ebp + 0x10], 0
mov dword [ebp - 0x10], ecx
mov ecx, esi
call fcn.0044f279
test eax, eax
jle 0x44f731
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov ecx, dword [esi + 0x26c]
mov edx, dword [ecx + ebx + 8]
cmp edi, dword [ebp - 0x10]
jl 0x44f68e
cmp edi, dword [ebp - 0x14]
jg 0x44f68e
xor eax, eax
inc eax
jmp 0x44f690
xor eax, eax
mov dword [ecx + ebx + 8], eax
cmp edx, eax
je 0x44f6a0
push edi
mov ecx, esi
call fcn.0044fc32
mov ecx, esi
inc edi
add ebx, 0xc
call fcn.0044f279
cmp edi, eax
jl 0x44f675
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
jmp 0x44f731
or dword [esi + 0x220], 0xffffffff
mov ecx, esi
and dword [ebp + 0x10], 0
call fcn.0044f279
test eax, eax
jle 0x44f70e
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + 0x26c]
cmp ebx, edi
je 0x44f6f6
cmp dword [eax + ecx + 8], 0
je 0x44f6f6
and dword [eax + ecx + 8], 0
mov ecx, esi
push ebx
call fcn.0044fc32
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
inc ebx
mov dword [ebp + 0xc], ecx
mov ecx, esi
call fcn.0044f279
mov ecx, dword [ebp + 0xc]
cmp ebx, eax
jl 0x44f6d5
mov ebx, dword [ebp + 8]
cmp edi, 0xffffffff
je 0x44f731
imul eax, edi, 0xc
add eax, dword [esi + 0x26c]
mov dword [eax + 8], 1
push edi
mov ecx, esi
mov dword [esi + 0x220], edi
call fcn.0044fc32
push esi
lea ecx, [ebp - 0x3c]
call fcn.0042a4fa
mov dword [ebp - 0x3c], 0x56fd98
mov dword [ebp - 0x34], 0x56fdac
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
call dword [eax + 0x94]
call fcn.004ee00e
ret 0xc
Function at 0x452c43
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov edi, ecx
sub eax, 9
je 0x452ca3
sub eax, 1
je 0x452c86
sub eax, 3
je 0x452c86
test dword [edi + 0x370], 0x2000
je 0x452cbb
push esi
call fcn.0050b030
pop ecx
test eax, eax
jne 0x452cbb
cmp esi, 0x2d
je 0x452cbb
cmp esi, 0x2e
je 0x452cbb
cmp esi, 0x2c
je 0x452cbb
jmp 0x452cd6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x452cbb
test dword [edi + 0x370], 0x1000
je 0x452cd6
jmp 0x452cbb
test byte [edi + 0x374], 0x80
jne 0x452cbb
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x452cd6
mov eax, dword [edi + 0x380]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x452f7a
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x55b55c
call fcn.004ee040
mov esi, ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.0042a4fa
mov dword [ebp - 0x38], 0x570400
mov dword [ebp - 0x30], 0x570414
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x38]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov byte [ebp - 0x10], bl
mov dword [ebp - 0x18], edi
call dword [eax + 0x94]
cmp byte [ebp - 0x10], bl
jne 0x453002
cmp edi, 0xd
jne 0x452fe6
test dword [esi + 0x370], 0x1000
jne 0x452fe6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x453002
mov eax, dword [esi + 0x380]
push ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
jmp 0x453005
mov dword [esi + 0x10], ebx
call fcn.004ee00e
ret 0xc
Function at 0x4539af
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 4], edi
test esi, esi
jne 0x453ac9
cmp dword [ebx], 0x74
je 0x453ac9
mov ecx, dword [0x5cdaa0]
test ecx, ecx
je 0x4539e5
call fcn.004247c8
mov esi, eax
jmp 0x4539e7
xor esi, esi
push 0x2800
call fcn.0051367e
mov edi, eax
mov dword [esp], 0x5000
call fcn.0051367e
mov dword [esp], str.set_default_char_format_failed__only_CHARFORMAT2W_can_be_set_for_default_char_format
mov ebx, eax
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.0042fe78
add esp, 0x10
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x453a41
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.00508cb9
pop ecx
test esi, esi
je 0x453a80
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x453a80
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SRichEdit::OnSetCharFormat
push 0x550
push str.H:w4playonekeyfun_souiSOUI_srccontrolSRichEdit.cpp
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x453abe
mov ebx, 0x2800
push ebx
call fcn.0051367e
mov dword [esp], 0x550
mov esi, eax
push str.H:w4playonekeyfun_souiSOUI_srccontrolSRichEdit.cpp
push str.SOUI::SRichEdit::OnSetCharFormat
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push ebx
push esi
call fcn.0042fe59
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00508cb9
pop ecx
push edi
call fcn.00508cb9
pop ecx
xor eax, eax
jmp 0x453b0a
mov eax, dword [edi + 0x380]
push 0
push ebx
push esi
mov ecx, dword [eax + 0xc]
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
test esi, esi
jne 0x453b07
mov eax, dword [ebp - 4]
add edi, 0x218
push 0x1d
pop ecx
mov esi, ebx
mov edx, 0x20000
mov eax, dword [eax + 0x380]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xc]
push edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4555cb
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x28
mov eax, 0x55b72e
call fcn.004ee040
mov ebx, ecx
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
push 0x11
mov edi, eax
call esi
and eax, 0x8000
push 0x10
mov dword [ebp - 0x10], eax
call esi
and eax, 0x8000
lea esi, [ebx + 0x170]
and edi, 0x8000
jne 0x455634
cmp dword [ebp - 0x10], 0
jne 0x45561e
test eax, eax
jne 0x455617
inc eax
xor ecx, ecx
jmp 0x455660
push 2
pop eax
push 4
jmp 0x45565f
test eax, eax
jne 0x455629
push 4
pop eax
push 2
jmp 0x45565f
push 6
pop eax
push 0x10
mov word [esi], ax
pop eax
jmp 0x455663
cmp dword [ebp - 0x10], 0
jne 0x45564d
test eax, eax
jne 0x455646
push 8
xor ecx, ecx
pop eax
inc ecx
jmp 0x455660
push 0x20
pop eax
push 5
jmp 0x45565f
test eax, eax
jne 0x455658
push 0x40
pop eax
push 3
jmp 0x45565f
mov eax, 0x80
push 7
pop ecx
mov word [esi], cx
test word [ebx + 0x174], ax
je 0x455676
mov ax, word [ebx + 0x176]
mov word [esi], ax
push ebx
lea ecx, [ebp - 0x34]
call fcn.0042a4fa
mov dword [ebp - 0x34], 0x570bb4
mov dword [ebp - 0x2c], 0x570bc8
mov ax, word [esi]
lea ecx, [ebp - 0x34]
and dword [ebp - 4], 0
mov word [ebp - 0x12], ax
mov ax, word [ebx + 0x172]
mov word [ebp - 0x14], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x94]
call fcn.004ee00e
ret

Function at 0x469319
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
jne 0x469351
push dword [ecx + 4]
call fcn.004393f2
pop ecx
test eax, eax
je 0x46933d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x98]
test al, 2
jne 0x469351
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x469351
xor eax, eax
inc eax
jmp 0x469353
xor eax, eax
pop ebp
ret 4
Function at 0x46943c
Capabilities:
Log keystrokes via polling

Disassembly:
push 4
mov eax, 0x55e602
call fcn.004ee040
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.00469319
test eax, eax
je 0x469477
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, ebx
and al, 1
movzx eax, al
push eax
call fcn.00468ece
xor eax, eax
inc eax
jmp 0x46956b
push dword [ebx + 4]
call fcn.004393f2
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x469515
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
je 0x469515
cmp edi, 0x25
je 0x4694b0
cmp edi, 0x27
je 0x4694ac
cmp edi, 0x26
je 0x4694b0
cmp edi, 0x28
jne 0x469515
push 3
jmp 0x4694b2
push 2
pop edi
jmp 0x4694c0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x4694ff
push edi
mov ecx, esi
call fcn.0042c58d
mov esi, eax
test esi, esi
jne 0x4694b5
mov ecx, dword [ebp - 0x10]
cmp edi, 3
setne al
push eax
call fcn.0042c291
mov ecx, eax
jmp 0x4694ef
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x4694ff
push edi
mov ecx, esi
call fcn.0042c58d
mov esi, eax
test esi, esi
jne 0x4694e1
jmp 0x46946f
push 1
mov ecx, esi
call fcn.0042c4c3
push eax
mov ecx, ebx
call fcn.004697e7
jmp 0x46946f
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x12
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x11
call esi
shr eax, 0xf
lea ecx, [ebp + 8]
and al, 1
movzx eax, al
push eax
push edi
call fcn.0046c6be
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.004695bf
xor ebx, ebx
lea ecx, [ebp + 8]
test al, al
setne bl
call fcn.00427c9e
mov eax, ebx
call fcn.004ee00e
ret 4
Function at 0x46c810
Capabilities:
Log keystrokes

Disassembly:
push 4
mov eax, 0x55e959
call fcn.004ee040
and dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov eax, dword [0x5c5004]
mov dword [esi], eax
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
and dword [ebp - 4], 0
inc ebx
movzx edx, cx
mov dword [ebp - 0x10], ebx
push 2
pop edi
cmp edx, 0x25
ja 0x46c8b9
je 0x46c8af
mov eax, edx
sub eax, 0xd
je 0x46c8a5
sub eax, 0xe
je 0x46c89b
sub eax, 5
je 0x46c891
sub eax, ebx
je 0x46c887
sub eax, ebx
je 0x46c87d
sub eax, ebx
je 0x46c873
sub eax, ebx
jne 0x46c8f0
push str.Home
jmp 0x46ca36
push 0x573bbc
jmp 0x46ca36
push str.PageDown
jmp 0x46ca36
push str.PageUp
jmp 0x46ca36
push str.Space
jmp 0x46ca36
push 0x573b70
jmp 0x46ca36
push 0x573b78
jmp 0x46ca36
push str.Left
jmp 0x46ca36
mov eax, edx
sub eax, 0x26
je 0x46ca31
sub eax, 1
je 0x46ca2a
sub eax, 1
je 0x46ca23
sub eax, edi
je 0x46ca1c
sub eax, 3
je 0x46ca15
sub eax, 1
je 0x46ca0e
cmp cx, 0x30
jb 0x46c8fc
cmp cx, 0x39
jbe 0x46c905
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x46c91c
movzx eax, cx
mov ecx, esi
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.00410060
jmp 0x46ca3d
lea eax, [ecx - 0x60]
cmp ax, 9
ja 0x46c940
lea eax, [edx - 0x60]
push eax
push str.Num__d
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.0042bbe0
add esp, 0x10
mov dword [ebp - 4], ebx
jmp 0x46c992
cmp cx, 0x6a
jne 0x46c950
push 0x573c30
jmp 0x46ca36
cmp cx, 0x6b
jne 0x46c960
push str.Num_
jmp 0x46ca36
cmp cx, 0x6e
jne 0x46c970
push str.Num_Del
jmp 0x46ca36
lea eax, [ecx - 0x70]
cmp ax, 0xb
ja 0x46c9ae
lea eax, [edx - 0x6f]
push eax
push 0x573c58
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.0042bbe0
add esp, 0x10
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x46ca3d
call fcn.0040d510
jmp 0x46ca3d
push edi
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, al
movsx eax, cl
cmp eax, 0x3b
jg 0x46c9dd
je 0x46c9f6
sub eax, 0x27
je 0x46c9f6
sub eax, 5
je 0x46c9f6
sub eax, 1
je 0x46c9f6
sub eax, 1
je 0x46c9f6
sub eax, 1
je 0x46c9f6
jmp 0x46ca3d
sub eax, 0x3d
je 0x46c9f6
sub eax, 0x1e
je 0x46c9f6
sub eax, 1
je 0x46c9f6
sub eax, 1
je 0x46c9f6
sub eax, 3
jne 0x46ca3d
movsx ax, cl
mov ecx, esi
movzx eax, ax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.00436738
jmp 0x46ca3d
push 0x573c04
jmp 0x46ca36
push str.Insert
jmp 0x46ca36
push str.Print
jmp 0x46ca36
push str.Down
jmp 0x46ca36
push str.Right
jmp 0x46ca36
push 0x573b84
mov ecx, esi
call fcn.0040fcd0
mov eax, esi
call fcn.004ee00e
ret

Function at 0x472aef
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x472b57
mov ecx, esi
call fcn.00472b5c
push 0
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x3ac]
test ecx, ecx
je 0x472b32
push 0
call fcn.0042eb78
and dword [esi + 0x3ac], 0
mov ecx, dword [0x5cdbe4]
lea ecx, [ecx + 8]
call fcn.0042066f
mov ecx, dword [esi + 0x3a4]
test ecx, ecx
je 0x472b57
pop esi
mov ecx, dword [ecx + 0x174]
pop ebp
jmp fcn.0047368e
pop esi
pop ebp
ret 4
Function at 0x4794cd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x5cdbfb], 0
jne 0x47957c
push esi
push 0x575360
call fcn.004867ff
mov dword [esp], 0x5752b8
call fcn.004867ff
mov dword [esp], 0x575120
call fcn.004867ff
mov dword [esp], 0x575144
call fcn.004867ff
mov dword [esp], 0x5750a0
call fcn.004867ff
mov esi, 0x575218
push esi
call fcn.00490b11
push esi
call fcn.00490b11
push 0x575238
call fcn.00490b11
push 0x575258
call fcn.00490b11
push 0x575388
call fcn.00490b11
push 0x5751d8
call fcn.00490b11
push 0x5751f8
call fcn.00490b11
push 0x5750c8
call fcn.00490b11
push 0x5750e8
call fcn.00490b11
add esp, 0x28
mov byte [0x5cdbfb], 1
pop esi
jmp 0x498e59
ret
xor edx, edx
push esi
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x498e61
mov dword [edx*4 + 0x5e18e0], ecx
inc edx
cmp edx, 0x100
jb 0x498e5c
mov esi, 0x800
jmp 0x498ea9
mov ecx, dword [edx*4 + 0x5e14e0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x5e18e0]
mov dword [edx*4 + 0x5e18e0], ecx
inc edx
cmp edx, esi
jb 0x498e8d
mov eax, 0x559190
mov esi, 0x5590b0
mov dword [0x5e18dc], eax
mov dword [0x5e18d4], eax
mov dword [0x5e18d8], esi
call fcn.004b16cd
mov ecx, dword [0x5e18d4]
test eax, eax
cmove ecx, esi
mov dword [0x5e18d4], ecx
pop esi
ret

Function at 0x479f4d
Capabilities:
Move file

Disassembly:
push 0x3c
mov eax, 0x55fa7e
call fcn.004ee073
mov esi, dword [ebp + 0xc]
xor eax, eax
mov edi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x479f73
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x479f7d
mov ecx, dword [edi]
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x479fd3
cmp dword [esi + 0x14], 8
jb 0x479f93
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x40]
call fcn.004026f0
and dword [ebp - 4], 0
xor ebx, ebx
inc ebx
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x44], ebx
jb 0x479fae
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x28]
call fcn.004026f0
push 3
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x40]
pop ebx
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], ebx
push eax
call fcn.00479f4d
pop ecx
pop ecx
test al, al
je 0x479fd7
mov byte [ebp - 0x48], 1
test bl, 2
je 0x479fe7
lea ecx, [ebp - 0x28]
and ebx, 0xfffffffd
call fcn.00402ba0
test bl, 1
je 0x479ff4
lea ecx, [ebp - 0x40]
call fcn.00402ba0
mov al, byte [ebp - 0x48]
call fcn.004ee022
ret

Function at 0x47a392
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x47a3a0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop ebp
ret
Function at 0x47a3af
Capabilities:
Copy file
Delete file

Disassembly:
push 0x44
mov eax, 0x55fb3a
call fcn.004ee073
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
je 0x47a4a3
cmp dword [esi + 0x10], 0x104
ja 0x47a4a3
push esi
call fcn.0047a392
pop ecx
test al, al
jne 0x47a3e7
inc al
jmp 0x47a4a5
xor edi, edi
lea ecx, [ebp - 0x28]
push esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.00402d90
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push edi
add eax, 2
mov dword [ebp - 4], edi
push eax
call fcn.0047a599
push 0x1e
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.004fec20
mov eax, dword [ebp - 0x40]
add esp, 0xc
and eax, 0xffbf
mov dword [ebp - 0x3a], edi
or eax, 0x414
mov dword [ebp - 0x50], edi
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x36], edi
mov dword [ebp - 0x4c], 3
mov dword [ebp - 0x44], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 0x14]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
cmp ecx, 8
jb 0x47a49f
mov eax, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
cmp ecx, 0x1000
jb 0x47a496
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004016b0
mov eax, dword [ebp - 0x30]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
push ecx
push eax
call fcn.004edc66
pop ecx
pop ecx
mov al, bl
jmp 0x47a4a5
xor al, al
call fcn.004ee022
ret
Function at 0x47c2b0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0xa8], 5
jne 0x47c2d7
cmp dword [ebp + 0xc], 0
je 0x47c2d7
mov ecx, esi
call fcn.0047c143
mov eax, 0x80004005
jmp 0x47c3f9
xor ecx, ecx
push edi
cmp dword [esi + 0x64], ecx
jne 0x47c306
push 0x575bd8
call fcn.0047c584
pop ecx
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x47c3f6
mov edx, dword [ecx]
lea eax, [esi + 0x24]
push eax
call dword [edx + 0x14]
jmp 0x47c3f6
cmp byte [esi + 0x74], cl
jne 0x47c31b
cmp byte [esi + 0x80], cl
jne 0x47c31b
cmp byte [esi + 0x8c], cl
je 0x47c382
lea eax, [esi + 0x54]
cmp dword [eax + 0x14], 8
jb 0x47c326
mov eax, dword [eax]
push ecx
push 0x80
push 3
push ecx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x47c382
xor edx, edx
lea ecx, [esi + 0x78]
cmp byte [esi + 0x74], dl
cmovne edx, ecx
xor eax, eax
cmp byte [esi + 0x80], al
lea ecx, [esi + 0x84]
push edx
cmovne eax, ecx
xor ecx, ecx
cmp byte [esi + 0x8c], cl
push eax
lea eax, [esi + 0x90]
cmovne ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0x6d], 0
je 0x47c39d
lea eax, [esi + 0x54]
cmp dword [eax + 0x14], 8
jb 0x47c393
mov eax, dword [eax]
push dword [esi + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edi, [esi + 0x54]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x47c3aa
mov eax, dword [edi]
push eax
push str.FileDone:_s_n
call fcn.0047c584
pop ecx
pop ecx
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x47c3f6
push dword [esi + 0xa4]
mov eax, dword [ecx]
push dword [esi + 0xa0]
push edi
call dword [eax + 0x1c]
test al, al
jne 0x47c3de
mov eax, 0x80004005
jmp 0x47c3f8
mov ecx, dword [esi + 0xac]
push dword [esi + 0xa4]
push dword [esi + 0xa0]
mov eax, dword [ecx]
push edi
call dword [eax + 0x10]
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x48c73c
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a009
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5c5604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x30]
mov dword [esi], vtable.NCompress::NLzma::CDecoder.0
push 0x5c54f8
push eax
mov dword [esi + 4], vtable.NCompress::NLzma::CDecoder.1.0
mov dword [esi + 8], vtable.NCompress::NLzma::CDecoder.2.0
mov dword [esi + 0xc], vtable.NCompress::NLzma::CDecoder.3.0
mov dword [esi + 0x10], vtable.NCompress::NLzma::CDecoder.4.0
mov dword [esi + 0x14], vtable.NCompress::NLzma::CDecoder.5.0
mov dword [esi + 0x18], vtable.NCompress::NLzma::CDecoder.6.0
call fcn.004aabd3
push dword [esi + 0x24]
call fcn.0041eff8
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x48c7bb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x4936f7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
and dword [edi + 0x2cb0], 0
cmp dword [edi + 0x2cb8], 2
jne 0x49373d
push 1
lea ecx, [edi + 0x38]
call fcn.00493671
test eax, eax
je 0x493736
push dword [edi + 0x80]
mov ecx, edi
push dword [edi + 0x7c]
call fcn.00492ee5
jmp 0x4938fd
and dword [edi + 0x2cb8], 0
mov edx, dword [edi + 0x38]
mov eax, dword [edi + 0x3c]
push ebx
push 8
pop ecx
sub ecx, edx
mov dword [ebp - 0x10], edx
shr eax, cl
shr eax, 0x10
cmp dword [edi + 0x2ca0], 0x25
movzx eax, al
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x2cac]
jae 0x493779
test eax, eax
mov ebx, 0x576efc
mov ecx, 0x576eec
mov eax, 0x576f2c
jmp 0x49378a
test eax, eax
mov ebx, 0x576f1c
mov ecx, 0x576f0c
mov eax, 0x576f68
cmove ebx, ecx
mov dword [ebp - 4], eax
mov eax, dword [eax]
mov ecx, ebx
xor eax, dword [ebp - 8]
mov edx, 0xff
push esi
xor esi, esi
mov cl, byte [ecx]
sar edx, cl
not edx
test eax, edx
je 0x4937c6
mov edi, dword [ebp - 4]
inc esi
mov edx, 0xff
mov cl, byte [esi + ebx]
mov eax, dword [edi + esi*4]
xor eax, dword [ebp - 8]
sar edx, cl
not edx
test eax, edx
jne 0x4937ac
mov edi, dword [ebp - 0xc]
movzx eax, byte [esi + ebx]
lea ebx, [edi + 0x38]
add eax, dword [ebp - 0x10]
mov ecx, ebx
mov dword [ebx], eax
call fcn.004935e6
cmp esi, 9
jb 0x49387c
jne 0x4937f8
push dword [edi + 0x80]
inc dword [edi + 0x2cb8]
push dword [edi + 0x7c]
jmp 0x4938f4
and dword [edi + 0x2cb8], 0
mov ecx, edi
cmp esi, 0xe
jne 0x49382b
push 0x576da8
call fcn.00492f7d
push 0xf
mov ecx, ebx
lea esi, [eax + 5]
call fcn.00493671
add eax, 0x7fff
push esi
mov dword [edi + 0x7c], eax
push eax
jmp 0x4938ee
mov eax, dword [edi + 0x78]
sub eax, esi
inc eax
and eax, 3
push 0x576d70
mov ebx, dword [edi + eax*4 + 0x68]
call fcn.00492f7d
add eax, 2
cmp eax, 0x101
jne 0x49385f
cmp esi, 0xa
jne 0x49385f
xor dword [edi + 0x2cac], 1
xor eax, eax
jmp 0x4938fb
cmp ebx, 0x100
lea ecx, [eax + 1]
cmovb ecx, eax
mov eax, dword [edi + 0x2cc8]
dec eax
cmp ebx, eax
lea esi, [ecx + 1]
cmovb esi, ecx
jmp 0x4938d8
mov ecx, dword [edi + 0x2ca0]
and dword [edi + 0x2cb8], 0
add ecx, esi
mov eax, ecx
shr eax, 4
sub ecx, eax
mov dword [edi + 0x2ca0], ecx
mov ecx, edi
push 0x576e50
call fcn.00492f7d
movzx ecx, al
mov ebx, dword [edi + ecx*4 + 0x494]
test al, al
je 0x4938d5
dec dword [edi + ebx*4 + 0x1494]
mov eax, dword [edi + ecx*4 + 0x490]
inc dword [edi + eax*4 + 0x1494]
mov dword [edi + ecx*4 + 0x494], eax
mov dword [edi + ecx*4 + 0x490], ebx
add esi, 2
mov eax, dword [edi + 0x78]
push esi
push ebx
mov dword [edi + eax*4 + 0x68], ebx
mov eax, dword [edi + 0x78]
inc eax
mov dword [edi + 0x7c], ebx
and eax, 3
mov dword [edi + 0x78], eax
mov dword [edi + 0x80], esi
mov ecx, edi
call fcn.00492ee5
pop esi
pop ebx
pop edi
leave
ret