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

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x44]
mov ebx, ecx
test esi, esi
je 0x475775
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x475775
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
shr eax, 4
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0x10]
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
test eax, eax
jbe 0x475745
lea edx, [esp + 0x28]
push edx
push esi
mov ecx, ebx
call fcn.00474dd0
mov edx, dword [esp + 0x20]
xor dword [esp + 0x30], edx
mov edx, dword [esp + 0x24]
xor dword [esp + 0x34], edx
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
xor ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
xor eax, ebp
mov ebp, dword [esi]
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0xc]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
add esi, 0x10
add edi, 0x10
sub dword [esp + 0x10], 1
mov dword [esp + 0x24], edx
jne 0x4756d7
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [ebx + 4], ebp
pop ebp
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x20]
pop edi
mov dword [ebx + 0xc], ecx
pop esi
mov dword [ebx + 0x10], edx
shl eax, 4
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004bfc52
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004bfc52
add esp, 0x2c
ret 0xc
Function at 0x4766a0
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 0x4766c1
push edi
push 0
push ebp
call fcn.004c05a0
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.00476260
test al, al
jne 0x476780
test ebx, ebx
jne 0x476740
cmp dword [esi + 0x24], edi
je 0x476714
mov edx, dword [esi + 0x20]
push edx
call fcn.004c061a
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004bfc47
add esp, 8
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
xor eax, eax
test edi, edi
jbe 0x476740
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 0x476720
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 0x476780
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 0x476760
lea esp, [esp]
pop edi
pop esi
pop ebp
pop ebx
ret 0x14

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

Disassembly:
mov eax, 0x1004
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
mov ebx, dword [esp + 0x100c]
cmp byte [ebx], 0
push ebp
mov ebp, ecx
je 0x4770a2
push esi
push edi
lea esi, [ebp + 0x101e]
push esi
call fcn.0045f900
mov edi, eax
cmp edi, esi
jbe 0x477035
xor eax, eax
push esi
mov word [edi - 2], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0x5c
mov word [edi - 2], cx
cmp eax, 0xffffffff
je 0x477035
test eax, 0x400
je 0x477035
mov byte [ebx], 0
push str.System_Volume_Information_
push esi
call fcn.004c3606
add esp, 8
test eax, eax
jne 0x477064
cmp byte [ebx], al
je 0x4770a0
mov ecx, dword [ebp + 0x4024]
test ecx, ecx
je 0x477069
push 1
push 1
push eax
push esi
call fcn.00420eb0
test al, al
je 0x477069
mov byte [ebx], 0
jmp 0x4770a0
cmp byte [ebx], 0
je 0x4770a0
push 0x800
lea edx, [esp + 0x14]
push edx
push esi
call fcn.00460ee0
lea eax, [esp + 0x10]
push eax
push 0x4a1
call fcn.004744a0
push eax
call fcn.004ab990
add esp, 8
mov ecx, 0x51e7a8
call fcn.004333c0
pop edi
pop esi
mov ecx, dword [esp + 0x1008]
pop ebp
pop ebx
xor ecx, esp
call fcn.004bfc52
add esp, 0x1004
ret 4
Function at 0x4777a0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [0x565f18]
push esi
test ecx, ecx
jne 0x4777f9
cmp byte [0x565f14], cl
jne 0x4777f9
push str.Crypt32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x565f10], eax
test eax, eax
je 0x4777ec
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptProtectMemory
push eax
call esi
mov dword [0x565f18], eax
mov eax, dword [0x565f10]
push str.CryptUnprotectMemory
push eax
call esi
mov dword [0x565f1c], eax
mov ecx, dword [0x565f18]
mov byte [0x565f14], 1
mov esi, dword [esp + 0xc]
mov edx, esi
and edx, 0xf
mov eax, esi
sub eax, edx
cmp byte [esp + 0x10], 0
je 0x47784b
test ecx, ecx
je 0x47786a
push 0
push eax
mov eax, dword [esp + 0x10]
push eax
call ecx
test eax, eax
jne 0x47788d
push str.CryptProtectMemory_failed
push 0x51e7a8
call fcn.00433700
add esp, 8
mov ecx, 0x51e7a8
call fcn.004333c0
push 2
mov ecx, 0x51e7a8
call fcn.004333b0
pop esi
ret 0xc
mov ecx, dword [0x565f1c]
test ecx, ecx
je 0x47786a
mov edx, dword [esp + 8]
push 0
push eax
push edx
call ecx
test eax, eax
jne 0x47788d
push str.CryptUnprotectMemory_failed
jmp 0x477824
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ecx, ecx
test esi, esi
jbe 0x47788d
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 0x477880
pop ebx
pop esi
ret 0xc
Function at 0x4780a0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x20
push ebx
push esi
push 0x4d8484
push eax
mov esi, ecx
call fcn.0049dbc0
mov ebx, eax
test ebx, ebx
sete al
mov byte [esi + 0x3028], al
test al, al
jne 0x47828f
push ebx
push 1
lea ecx, [esp + 0x18]
push 0x16
push ecx
call fcn.004c2fc6
add esp, 0x10
cmp word [esp + 0x10], 0
jne 0x478286
cmp word [esp + 0x12], 1
jne 0x478286
push ebp
push edi
push 0
push 0
push ebx
call fcn.004c36f1
movzx edx, word [esp + 0x28]
dec edx
shl edx, 4
add edx, 0x16
push edx
call fcn.004c0bc4
mov esi, eax
movzx eax, word [esp + 0x2c]
dec eax
lea ecx, [eax*8]
sub ecx, eax
lea edx, [ecx + ecx + 0x14]
push edx
call fcn.004c0bc4
mov edi, eax
movzx eax, word [esp + 0x30]
dec eax
push ebx
shl eax, 4
push 1
add eax, 0x16
push eax
push esi
mov dword [esp + 0x38], edi
call fcn.004c2fc6
mov ecx, dword [esi]
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov edx, dword [esi + 0x10]
xor eax, eax
add esp, 0x24
mov dword [edi + 0x10], edx
mov dword [esp + 0x38], 0
cmp ax, word [esp + 0x1c]
jae 0x47822b
lea eax, [edi + 0x12]
lea ebp, [esi + 0xe]
mov dword [esp + 0x10], eax
jmp 0x478194
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax - 0xc], ecx
mov edx, dword [ebp - 4]
mov dword [eax - 8], edx
mov ecx, dword [ebp]
mov dword [eax - 4], ecx
mov ecx, dword [esp + 0x38]
inc ecx
mov word [eax], cx
mov edi, dword [ebp]
push edi
call fcn.004c0bc4
mov esi, eax
add esp, 4
test esi, esi
je 0x478271
mov edx, dword [ebp + 4]
push 0
push edx
push ebx
call fcn.004c36f1
push ebx
push 1
push edi
push esi
call fcn.004c2fc6
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
add esp, 0x1c
push edi
push esi
inc eax
push 0x400
movzx eax, ax
push eax
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
push esi
mov edi, eax
call fcn.004bff04
add esp, 4
test edi, edi
je 0x478271
mov eax, dword [esp + 0x38]
movzx edx, word [esp + 0x1c]
add dword [esp + 0x10], 0xe
inc eax
add ebp, 0x10
cmp eax, edx
mov dword [esp + 0x38], eax
jl 0x478190
mov edi, dword [esp + 0x14]
push ebx
call fcn.004c2398
movzx eax, word [esp + 0x20]
dec eax
add esp, 4
lea ecx, [eax*8]
sub ecx, eax
movzx eax, word [esp + 0x3c]
lea edx, [ecx + ecx + 0x14]
mov ecx, dword [esp + 0x34]
push edx
push edi
push 0x400
push eax
push 0xe
push ecx
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
pop edi
neg eax
pop ebp
sbb eax, eax
pop esi
neg eax
pop ebx
add esp, 0x20
ret 0xc
push ebx
call fcn.004c2398
add esp, 4
pop edi
pop ebp
pop esi
xor al, al
pop ebx
add esp, 0x20
ret 0xc
push ebx
call fcn.004c2398
add esp, 4
pop esi
xor al, al
pop ebx
add esp, 0x20
ret 0xc
Function at 0x4782a0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x4d8484
push eax
mov edi, ecx
call fcn.0049dbc0
mov esi, eax
test esi, esi
sete al
mov byte [edi + 0x3028], al
test al, al
jne 0x47839d
push esi
call fcn.004c3d0d
add esp, 4
cmp eax, 0x42
jne 0x478394
push esi
call fcn.004c3d0d
add esp, 4
cmp eax, 0x4d
jne 0x478394
push 0
push 2
push esi
call fcn.004c36f1
push esi
push 1
lea ecx, [esp + 0x24]
push 4
push ecx
call fcn.004c2fc6
mov eax, dword [esp + 0x2c]
sub eax, 0xe
push eax
mov dword [esp + 0x30], eax
call fcn.004c0bc4
mov edi, eax
add esp, 0x20
test edi, edi
je 0x478394
push 0
push 0xe
push esi
call fcn.004c36f1
mov edx, dword [esp + 0x1c]
push esi
push edx
push 1
push edi
call fcn.004c2fc6
add esp, 0x1c
cmp eax, dword [esp + 0x10]
je 0x478356
push edi
call fcn.004bff04
push esi
call fcn.004c2398
add esp, 8
pop edi
xor al, al
pop esi
ret 0xc
push esi
call fcn.004c2398
mov eax, dword [esp + 0x14]
movzx ecx, word [esp + 0x18]
mov edx, dword [esp + 0x10]
add esp, 4
push eax
push edi
push 0x400
push ecx
push 2
push edx
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
push edi
mov esi, eax
call fcn.004bff04
add esp, 4
xor eax, eax
test esi, esi
pop edi
setne al
pop esi
ret 0xc
push esi
call fcn.004c2398
add esp, 4
pop edi
xor al, al
pop esi
ret 0xc

Function at 0x478410
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x404
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x408]
push esi
push edi
push 0x4d8484
push eax
mov edi, ecx
call fcn.0049dbc0
mov esi, eax
test esi, esi
sete al
mov byte [edi + 0x3028], al
test al, al
je 0x47844f
mov al, 1
jmp 0x478499
push esi
push 0x400
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004c2fc6
push esi
mov edi, eax
call fcn.004c2398
lea ecx, [edi - 4]
add esp, 0x14
xor eax, eax
test ecx, ecx
jle 0x478497
mov dl, 0x55
cmp byte [esp + eax + 8], dl
jne 0x478492
cmp byte [esp + eax + 9], 0x50
jne 0x478492
cmp byte [esp + eax + 0xa], 0x58
jne 0x478492
cmp byte [esp + eax + 0xb], 0x30
je 0x47844b
inc eax
cmp eax, ecx
jl 0x478477
xor al, al
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004bfc52
add esp, 0x404
ret 4

Function at 0x4784c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x2004
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push ebx
push esi
push edi
mov edi, dword [esp + 0x2018]
push 0x4d8484
push eax
mov ebx, ecx
call fcn.0049dbc0
mov esi, eax
test esi, esi
sete al
mov byte [ebx + 0x3028], al
test al, al
je 0x47850b
xor al, al
jmp 0x478556
push esi
push 0x2000
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004c2fc6
add esp, 0x10
test eax, eax
je 0x47854b
push edi
push eax
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.004c2576
push esi
push 0x2000
lea edx, [esp + 0x24]
push 1
push edx
call fcn.004c2fc6
add esp, 0x20
test eax, eax
jne 0x478524
push esi
call fcn.004c2398
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x200c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bfc52
add esp, 0x2004
ret 8
Function at 0x478570
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x2008], eax
mov eax, dword [esp + 0x2010]
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x201c]
push 0x4d8484
push eax
mov dword [esp + 0x14], ecx
call fcn.0049dbc0
mov ebp, eax
test ebp, ebp
sete al
mov byte [esi + 0x3028], al
test al, al
je 0x4785c1
xor eax, eax
jmp 0x47870a
push ebx
push edi
push ebp
push 0x2000
lea edx, [esp + 0x20]
push 1
push edx
mov dword [esp + 0x20], 0
call fcn.004c2fc6
mov ebx, eax
add esp, 0x10
cmp ebx, 0x28
jbe 0x4786ca
jmp 0x4785f0
lea eax, [ebx - 0x28]
xor edi, edi
test eax, eax
jbe 0x478695
lea esi, [esp + 0x1c]
cmp byte [esp + edi + 0x18], 0x2a
jne 0x47862b
cmp byte [esp + edi + 0x19], 0x2a
jne 0x47862b
push 0xc
lea eax, [esp + edi + 0x1e]
push str.messages
push eax
call fcn.004c1c04
add esp, 0xc
test eax, eax
je 0x4786d7
mov eax, 0x2a
cmp word [esi - 4], ax
jne 0x478659
cmp word [esi - 2], ax
jne 0x478659
push 0xc
push 0x4da7dc
push esi
call fcn.004c2a2a
add esp, 0xc
test eax, eax
je 0x4786d7
mov eax, 0x2a
mov ecx, 0xfeff
cmp word [esi - 4], cx
jne 0x478686
cmp word [esi - 2], ax
jne 0x478686
cmp word [esi], ax
jne 0x478686
push 0xc
lea edx, [esi + 2]
push 0x4da7dc
push edx
call fcn.004c2a2a
add esp, 0xc
test eax, eax
je 0x4786d7
inc edi
lea eax, [ebx - 0x28]
add esi, 2
cmp edi, eax
jb 0x478601
mov eax, dword [esp + 0x10]
lea ebx, [eax + ebx - 0x28]
push 0
push ebx
push ebp
mov dword [esp + 0x1c], ebx
call fcn.004c36f1
push ebp
push 0x2000
lea ecx, [esp + 0x2c]
push 1
push ecx
call fcn.004c2fc6
mov ebx, eax
add esp, 0x1c
cmp ebx, 0x28
ja 0x4785f0
push ebp
call fcn.004c2398
add esp, 4
xor eax, eax
jmp 0x478708
mov edx, dword [esp + 0x10]
push 0
add edi, edx
push edi
push ebp
call fcn.004c36f1
mov eax, dword [esp + 0x2034]
mov ecx, dword [esp + 0x20]
push ebp
push eax
push 1
push ecx
call fcn.004c2fc6
push ebp
mov esi, eax
call fcn.004c2398
add esp, 0x20
mov eax, esi
pop edi
pop ebx
mov ecx, dword [esp + 0x2010]
pop esi
pop ebp
xor ecx, esp
call fcn.004bfc52
add esp, 0x200c
ret 0xc
Function at 0x478730
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x2004
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push esi
push edi
push 0x4da9dc
push eax
mov esi, ecx
call fcn.0049dbc0
mov edi, eax
test edi, edi
sete al
mov byte [esi + 0x3028], al
test al, al
je 0x478776
xor al, al
jmp 0x478831
push ebx
push ebp
push edi
push 0x2000
lea eax, [esp + 0x18]
push 1
push eax
xor ebx, ebx
call fcn.004c2fc6
mov ebp, eax
add esp, 0x10
cmp ebp, 0x20
jbe 0x4787f7
lea eax, [ebp - 0x20]
xor esi, esi
test eax, eax
jle 0x4787ce
nop
cmp byte [esp + esi + 0x10], 0x61
jne 0x4787c6
cmp byte [esp + esi + 0x11], 0x73
jne 0x4787c6
push 0x14
lea ecx, [esp + esi + 0x16]
push str.Invoker_
push ecx
call fcn.004c1c04
add esp, 0xc
test eax, eax
je 0x478804
inc esi
lea eax, [ebp - 0x20]
cmp esi, eax
jl 0x4787a0
push 0
lea ebx, [ebx + ebp - 0x20]
push ebx
push edi
call fcn.004c36f1
push edi
push 0x2000
lea edx, [esp + 0x24]
push 1
push edx
call fcn.004c2fc6
mov ebp, eax
add esp, 0x1c
cmp ebp, 0x20
ja 0x478796
push edi
call fcn.004c2398
add esp, 4
xor al, al
jmp 0x47882f
push 0
add esi, ebx
push esi
push edi
call fcn.004c36f1
push edi
push 0x15
push 1
push str.requireAdministrator_
call fcn.004c2576
cmp eax, 0x15
push edi
sete bl
call fcn.004c2398
add esp, 0x20
mov al, bl
pop ebp
pop ebx
mov ecx, dword [esp + 0x2008]
pop edi
pop esi
xor ecx, esp
call fcn.004bfc52
add esp, 0x2004
ret 4

Function at 0x479cb0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x2008], eax
mov eax, dword [esp + 0x2010]
push ebx
push esi
push 0x4d8484
push eax
call fcn.0043c420
mov esi, eax
xor ebx, ebx
mov dword [esp + 8], esi
cmp esi, ebx
jne 0x479cef
xor al, al
jmp 0x479d80
push ebp
push edi
mov dword [esp + 0x14], ebx
push esi
push 0x2000
lea eax, [esp + 0x20]
push 1
push eax
call fcn.004c2fc6
mov edi, eax
add esp, 0x10
cmp edi, 0x20
jle 0x479d73
lea ebp, [edi - 0x20]
xor esi, esi
test ebp, ebp
jle 0x479d4b
lea ebx, [ebx]
cmp byte [esp + esi + 0x18], 0x72
jne 0x479d46
cmp byte [esp + esi + 0x19], 0x65
jne 0x479d46
push 0x14
lea ecx, [esp + esi + 0x1e]
push str.quireAdministrator_
push ecx
call fcn.004c1c04
add esp, 0xc
test eax, eax
je 0x479d99
inc esi
cmp esi, ebp
jl 0x479d20
mov edx, dword [esp + 0x10]
push 0
lea ebx, [ebx + edi - 0x20]
push ebx
push edx
call fcn.004c36f1
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc eax
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, 0x80
jb 0x479cf5
push esi
call fcn.004c2398
add esp, 4
xor al, al
pop edi
pop ebp
mov ecx, dword [esp + 0x2010]
pop esi
pop ebx
xor ecx, esp
call fcn.004bfc52
add esp, 0x200c
ret 4
mov eax, dword [esp + 0x10]
push eax
call fcn.004c2398
add esp, 4
mov al, 1
jmp 0x479d7e
Function at 0x47ca10
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 0x47d100
Capabilities:
Hash data using sha1

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

Function at 0x47d2d0
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 0x47d830
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.004bfed0
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 0x47d88a
and edi, 0x3f
jne 0x47d87c
push esi
call fcn.0047d320
mov edx, dword [esp + 0x10]
mov byte [edx + edi], 0
inc edi
cmp edi, 0x38
jne 0x47d871
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.0047d320
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 0x47d913
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.004778a0
push 0x100
lea ecx, [esp + 0x40]
push ecx
call fcn.004778a0
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.004778a0

Function at 0x47ee30
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebp
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x47ee97
push esi
push edi
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004bfc47
mov esi, eax
add esp, 4
test esi, esi
je 0x47ee95
push edi
push esi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esp + 0x18]
push 0
push 0
push eax
push esi
call fcn.0047eca0
push esi
call fcn.004c061a
add esp, 4
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x47ef70
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x47efc3
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
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 [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0x80000000
push 0xd
call dword [sym.imp.USER32.dll_ExitWindowsEx]
add esp, 0x14
ret
Function at 0x480e30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x30
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov edi, ecx
cmp ebp, 0xa8
jne 0x480e89
push 1
push str.Settings
call fcn.004261b0
test eax, eax
je 0x480e7e
mov eax, dword [0x534544]
mov ecx, dword [0x51e7a4]
lea esi, [edi + 0x1088]
push esi
push 0x480a60
push eax
push str.ORGTHEMES
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dword [esi], 0
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x30
ret 4
cmp ebp, 0xa9
jne 0x480eba
push 1
push 0x4d69fc
push 0
push 0x4f8
call fcn.004744a0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x30
ret 4
mov eax, dword [0x534544]
test eax, eax
jne 0x480ec7
xor esi, esi
jmp 0x480ef0
push eax
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
jne 0x480ed6
xor esi, esi
jmp 0x480ef0
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push 4
push eax
call esi
test eax, eax
jne 0x480ee9
xor esi, esi
jmp 0x480ef0
push 5
push eax
call esi
mov esi, eax
cmp ebp, 0xaa
jne 0x480f09
mov dword [edi + 0x80], 0xffffffff
push 0x4d69fc
jmp 0x480f6b
lea edx, [ebp - 0x3e8]
cmp edx, 0x7f
ja 0x480fb1
push 0x30
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004c05a0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0
push ebp
push esi
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 0x20
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x480fb1
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0x74]
jae 0x480fb1
mov dword [edi + 0x80], eax
imul eax, eax, 0x1304
add eax, dword [edi + 0x70]
push eax
call fcn.0045f900
push eax
push str.ActivePath
push str.InterfaceThemes
call fcn.0046bbe0
mov eax, dword [edi + 0x1084]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
cmp eax, 0xffffffff
je 0x480f92
push 0
push eax
push esi
call ebx
push 8
push ebp
push esi
call ebx
mov ecx, edi
mov dword [edi + 0x1084], ebp
call fcn.004804c0
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x30
ret 4
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x30
ret 4