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

Disassembly:
sub esp, 0x24
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
mov ebp, ecx
mov ecx, 8
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
xor ecx, ecx
xor eax, eax
lea esp, [esp]
cmp edi, 0xa
jg 0x46750d
cmp eax, 4
jge 0x467426
mov edi, edi
cmp ecx, 4
jge 0x467429
mov bl, byte [esp + eax*4 + 0x10]
lea edx, [ecx + edi*4]
mov byte [ebp + edx*4 + 0x14], bl
lea edx, [ecx + edi*4]
lea esi, [ebp + edx*4]
movzx edx, byte [esp + eax*4 + 0x11]
mov byte [esi + 0x15], dl
movzx edx, byte [esp + eax*4 + 0x12]
mov byte [esi + 0x16], dl
movzx edx, byte [esp + eax*4 + 0x13]
inc eax
inc ecx
cmp eax, 4
mov byte [esi + 0x17], dl
jl 0x4673f0
cmp ecx, 4
jne 0x46742e
inc edi
xor ecx, ecx
cmp eax, 4
jl 0x4673e0
cmp edi, 0xa
jg 0x46750d
mov edx, 0x5392a0
movzx esi, byte [esp + 0x1d]
mov al, byte [esp + 0x10]
xor al, byte [esi + 0x5393c0]
movzx esi, byte [esp + 0x1e]
movzx ebx, byte [esi + 0x5393c0]
movzx esi, byte [esp + 0x1f]
xor byte [esp + 0x11], bl
movzx ebx, byte [esi + 0x5393c0]
movzx esi, byte [esp + 0x1c]
xor byte [esp + 0x12], bl
movzx ebx, byte [esi + 0x5393c0]
xor al, byte [edx]
xor byte [esp + 0x13], bl
mov byte [esp + 0x10], al
inc edx
lea eax, [esp + 0x11]
mov esi, 3
movzx ebx, byte [eax - 1]
xor byte [eax + 3], bl
movzx ebx, byte [eax]
xor byte [eax + 4], bl
movzx ebx, byte [eax + 1]
xor byte [eax + 5], bl
movzx ebx, byte [eax + 2]
xor byte [eax + 6], bl
add eax, 4
sub esi, 1
jne 0x467490
xor eax, eax
cmp edi, 0xa
jg 0x46750d
cmp eax, 4
jge 0x4674f7
nop
cmp ecx, 4
jge 0x4674fa
movzx ebx, byte [esp + eax*4 + 0x10]
lea esi, [ecx + edi*4]
mov byte [ebp + esi*4 + 0x14], bl
movzx ebx, byte [esp + eax*4 + 0x11]
lea esi, [ecx + edi*4]
lea esi, [ebp + esi*4]
mov byte [esi + 0x15], bl
movzx ebx, byte [esp + eax*4 + 0x12]
mov byte [esi + 0x16], bl
movzx ebx, byte [esp + eax*4 + 0x13]
inc eax
inc ecx
cmp eax, 4
mov byte [esi + 0x17], bl
jl 0x4674c0
cmp ecx, 4
jne 0x4674ff
inc edi
xor ecx, ecx
cmp eax, 4
jl 0x4674b5
cmp edi, 0xa
jle 0x467441
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b102c
add esp, 0x24
ret 4
Function at 0x467530
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
mov eax, ecx
push edi
lea esi, [eax + 0x24]
lea ecx, [eax + 0x28]
mov edi, 9
mov edi, edi
xor eax, eax
jmp 0x467560
movzx edx, byte [ecx - 1]
movzx edx, byte [eax + edx*4 + 0x5362a0]
movzx ebx, byte [ecx - 2]
xor dl, byte [eax + ebx*4 + 0x5366a0]
movzx ebx, byte [ecx - 3]
xor dl, byte [eax + ebx*4 + 0x536aa0]
movzx ebx, byte [ecx - 4]
xor dl, byte [eax + ebx*4 + 0x536ea0]
movzx ebx, byte [ecx + 2]
mov byte [esp + eax + 0xc], dl
movzx edx, byte [ecx + 3]
movzx edx, byte [eax + edx*4 + 0x5362a0]
xor dl, byte [eax + ebx*4 + 0x5366a0]
movzx ebx, byte [ecx + 1]
xor dl, byte [eax + ebx*4 + 0x536aa0]
movzx ebx, byte [ecx]
xor dl, byte [eax + ebx*4 + 0x536ea0]
movzx ebx, byte [ecx + 6]
mov byte [esp + eax + 0x10], dl
movzx edx, byte [ecx + 7]
movzx edx, byte [eax + edx*4 + 0x5362a0]
xor dl, byte [eax + ebx*4 + 0x5366a0]
movzx ebx, byte [ecx + 5]
xor dl, byte [eax + ebx*4 + 0x536aa0]
movzx ebx, byte [ecx + 4]
xor dl, byte [eax + ebx*4 + 0x536ea0]
movzx ebx, byte [ecx + 0xa]
mov byte [esp + eax + 0x14], dl
movzx edx, byte [ecx + 0xb]
movzx edx, byte [eax + edx*4 + 0x5362a0]
xor dl, byte [eax + ebx*4 + 0x5366a0]
movzx ebx, byte [ecx + 9]
xor dl, byte [eax + ebx*4 + 0x536aa0]
movzx ebx, byte [ecx + 8]
xor dl, byte [eax + ebx*4 + 0x536ea0]
inc eax
cmp eax, 4
mov byte [esp + eax + 0x17], dl
jl 0x467560
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x18]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
add ecx, 0x10
add esi, 0x10
sub edi, 1
jne 0x467550
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b102c
add esp, 0x14
ret
Function at 0x468810
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
push ebx
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x30]
mov ebx, ecx
test eax, eax
ja 0x468849
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004b102c
add esp, 0x18
ret 0xc
mov ecx, dword [esi + 4]
xor ecx, dword [ebx + 8]
mov edx, dword [esi + 8]
xor edx, dword [ebx + 0xc]
shr eax, 4
push ebp
mov ebp, eax
mov eax, dword [esi]
xor eax, dword [ebx + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
xor eax, dword [ebx + 0x10]
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.00467670
add esi, 0x10
add ebp, 0xffffffff
je 0x4688ce
nop
mov edx, dword [edi]
xor edx, dword [esi]
mov eax, dword [edi + 4]
xor eax, dword [esi + 4]
mov ecx, dword [edi + 8]
xor ecx, dword [esi + 8]
mov dword [esp + 0x14], edx
mov edx, dword [edi + 0xc]
xor edx, dword [esi + 0xc]
mov dword [esp + 0x18], eax
add edi, 0x10
push edi
lea eax, [esp + 0x18]
mov dword [esp + 0x20], ecx
push eax
mov ecx, ebx
mov dword [esp + 0x28], edx
call fcn.00467670
add esi, 0x10
sub ebp, 1
jne 0x468890
mov ecx, dword [edi]
mov dword [ebx + 4], ecx
mov edx, dword [edi + 4]
mov dword [ebx + 8], edx
mov eax, dword [edi + 8]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
shl eax, 4
call fcn.004b102c
add esp, 0x18
ret 0xc
Function at 0x468910
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4da8f0]
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 0x468a05
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x468a05
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 0x4689d5
lea edx, [esp + 0x28]
push edx
push esi
mov ecx, ebx
call fcn.00467d80
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 0x468967
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.004b102c
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004b102c
add esp, 0x2c
ret 0xc
Function at 0x46a560
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x5394c8], 0
push ebx
push esi
jne 0x46a5b4
cmp byte [0x5394c4], 0
jne 0x46a5b4
push str.Crypt32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5394c0], eax
test eax, eax
je 0x46a5ad
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptProtectMemory
push eax
call esi
mov dword [0x5394c8], eax
mov eax, dword [0x5394c0]
push str.CryptUnprotectMemory
push eax
call esi
mov dword [0x5394cc], eax
mov byte [0x5394c4], 1
cmp byte [esp + 0x18], 0
mov ebx, dword [esp + 0x14]
je 0x46a626
cmp dword [0x5394c8], 0
je 0x46a681
test bl, 0xf
jne 0x46a681
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
add ebx, ebx
push ebx
push ecx
push esi
call fcn.004b1530
add esp, 0xc
push 0
push ebx
push esi
call dword [0x5394c8]
test eax, eax
jne 0x46a6b4
push str.CryptProtectMemory_failed
mov ecx, 0x508304
call fcn.0042d150
mov ecx, 0x508304
call fcn.0042cce0
push 2
mov ecx, 0x508304
call fcn.0042d410
pop esi
pop ebx
ret 0x10
cmp dword [0x5394cc], 0
je 0x46a681
test bl, 0xf
jne 0x46a681
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
add ebx, ebx
push ebx
push edx
push esi
call fcn.004b1530
add esp, 0xc
push 0
push ebx
push esi
call dword [0x5394cc]
test eax, eax
jne 0x46a6b4
push str.CryptUnprotectMemory_failed
mov ecx, 0x508304
call fcn.0042d150
mov ecx, 0x508304
call fcn.0042cce0
push 2
mov ecx, 0x508304
call fcn.0042d410
pop esi
pop ebx
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
test ebx, ebx
jbe 0x46a6b4
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
sub esi, ecx
push edi
jmp 0x46a6a0
lea edi, [eax + edx + 0x4b]
xor di, word [esi + ecx]
inc edx
mov word [ecx], di
add ecx, 2
cmp edx, ebx
jb 0x46a6a0
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x46ae90
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x20
push ebx
push esi
push 0x4c9388
push eax
mov esi, ecx
call fcn.0048c600
mov ebx, eax
test ebx, ebx
sete al
mov byte [esi + 0x1c2c], al
test al, al
jne 0x46b07f
push ebx
push 1
lea ecx, [esp + 0x18]
push 0x16
push ecx
call fcn.004b3d1a
add esp, 0x10
cmp word [esp + 0x10], 0
jne 0x46b076
cmp word [esp + 0x12], 1
jne 0x46b076
push ebp
push edi
push 0
push 0
push ebx
call fcn.004b4611
movzx edx, word [esp + 0x28]
dec edx
shl edx, 4
add edx, 0x16
push edx
call fcn.004b1137
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.004b1137
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.004b3d1a
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 0x46b01b
lea eax, [edi + 0x12]
lea ebp, [esi + 0xe]
mov dword [esp + 0x10], eax
jmp 0x46af84
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.004b1137
mov esi, eax
add esp, 4
test esi, esi
je 0x46b061
mov edx, dword [ebp + 4]
push 0
push edx
push ebx
call fcn.004b4611
push ebx
push 1
push edi
push esi
call fcn.004b3d1a
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.004b1201
add esp, 4
test edi, edi
je 0x46b061
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 0x46af80
mov edi, dword [esp + 0x14]
push ebx
call fcn.004b3dae
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.004b3dae
add esp, 4
pop edi
pop ebp
pop esi
xor al, al
pop ebx
add esp, 0x20
ret 0xc
push ebx
call fcn.004b3dae
add esp, 4
pop esi
xor al, al
pop ebx
add esp, 0x20
ret 0xc
Function at 0x46b090
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x4c9388
push eax
mov edi, ecx
call fcn.0048c600
mov esi, eax
test esi, esi
sete al
mov byte [edi + 0x1c2c], al
test al, al
jne 0x46b18d
push esi
call fcn.004b4bcf
add esp, 4
cmp eax, 0x42
jne 0x46b184
push esi
call fcn.004b4bcf
add esp, 4
cmp eax, 0x4d
jne 0x46b184
push 0
push 2
push esi
call fcn.004b4611
push esi
push 1
lea ecx, [esp + 0x24]
push 4
push ecx
call fcn.004b3d1a
mov eax, dword [esp + 0x2c]
sub eax, 0xe
push eax
mov dword [esp + 0x30], eax
call fcn.004b1137
mov edi, eax
add esp, 0x20
test edi, edi
je 0x46b184
push 0
push 0xe
push esi
call fcn.004b4611
mov edx, dword [esp + 0x1c]
push esi
push edx
push 1
push edi
call fcn.004b3d1a
add esp, 0x1c
cmp eax, dword [esp + 0x10]
je 0x46b146
push edi
call fcn.004b1201
push esi
call fcn.004b3dae
add esp, 8
pop edi
xor al, al
pop esi
ret 0xc
push esi
call fcn.004b3dae
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.004b1201
add esp, 4
xor eax, eax
test esi, esi
pop edi
setne al
pop esi
ret 0xc
push esi
call fcn.004b3dae
add esp, 4
pop edi
xor al, al
pop esi
ret 0xc

Function at 0x46b200
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x404
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x408]
push esi
push edi
push 0x4c9388
push eax
mov edi, ecx
call fcn.0048c600
mov esi, eax
test esi, esi
sete al
mov byte [edi + 0x1c2c], al
test al, al
je 0x46b23f
mov al, 1
jmp 0x46b289
push esi
push 0x400
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004b3d1a
push esi
mov edi, eax
call fcn.004b3dae
lea ecx, [edi - 4]
add esp, 0x14
xor eax, eax
test ecx, ecx
jle 0x46b287
mov dl, 0x55
cmp byte [esp + eax + 8], dl
jne 0x46b282
cmp byte [esp + eax + 9], 0x50
jne 0x46b282
cmp byte [esp + eax + 0xa], 0x58
jne 0x46b282
cmp byte [esp + eax + 0xb], 0x30
je 0x46b23b
inc eax
cmp eax, ecx
jl 0x46b267
xor al, al
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004b102c
add esp, 0x404
ret 4

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

Disassembly:
mov eax, 0x2004
call fcn.004b1040
mov eax, dword [0x4da8f0]
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 0x4c9388
push eax
mov ebx, ecx
call fcn.0048c600
mov esi, eax
test esi, esi
sete al
mov byte [ebx + 0x1c2c], al
test al, al
je 0x46b2fb
xor al, al
jmp 0x46b346
push esi
push 0x2000
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004b3d1a
add esp, 0x10
test eax, eax
je 0x46b33b
push edi
push eax
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.004b39f8
push esi
push 0x2000
lea edx, [esp + 0x24]
push 1
push edx
call fcn.004b3d1a
add esp, 0x20
test eax, eax
jne 0x46b314
push esi
call fcn.004b3dae
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x200c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b102c
add esp, 0x2004
ret 8
Function at 0x46b360
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.004b1040
mov eax, dword [0x4da8f0]
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 0x4c9388
push eax
mov dword [esp + 0x14], ecx
call fcn.0048c600
mov ebp, eax
test ebp, ebp
sete al
mov byte [esi + 0x1c2c], al
test al, al
je 0x46b3b1
xor eax, eax
jmp 0x46b4fa
push ebx
push edi
push ebp
push 0x2000
lea edx, [esp + 0x20]
push 1
push edx
mov dword [esp + 0x20], 0
call fcn.004b3d1a
mov ebx, eax
add esp, 0x10
cmp ebx, 0x28
jbe 0x46b4ba
jmp 0x46b3e0
lea eax, [ebx - 0x28]
xor edi, edi
test eax, eax
jbe 0x46b485
lea esi, [esp + 0x1c]
cmp byte [esp + edi + 0x18], 0x2a
jne 0x46b41b
cmp byte [esp + edi + 0x19], 0x2a
jne 0x46b41b
push 0xc
lea eax, [esp + edi + 0x1e]
push str.messages
push eax
call fcn.004b28e7
add esp, 0xc
test eax, eax
je 0x46b4c7
mov eax, 0x2a
cmp word [esi - 4], ax
jne 0x46b449
cmp word [esi - 2], ax
jne 0x46b449
push 0xc
push 0x4cb4e8
push esi
call fcn.004b2e96
add esp, 0xc
test eax, eax
je 0x46b4c7
mov eax, 0x2a
mov ecx, 0xfeff
cmp word [esi - 4], cx
jne 0x46b476
cmp word [esi - 2], ax
jne 0x46b476
cmp word [esi], ax
jne 0x46b476
push 0xc
lea edx, [esi + 2]
push 0x4cb4e8
push edx
call fcn.004b2e96
add esp, 0xc
test eax, eax
je 0x46b4c7
inc edi
lea eax, [ebx - 0x28]
add esi, 2
cmp edi, eax
jb 0x46b3f1
mov eax, dword [esp + 0x10]
lea ebx, [eax + ebx - 0x28]
push 0
push ebx
push ebp
mov dword [esp + 0x1c], ebx
call fcn.004b4611
push ebp
push 0x2000
lea ecx, [esp + 0x2c]
push 1
push ecx
call fcn.004b3d1a
mov ebx, eax
add esp, 0x1c
cmp ebx, 0x28
ja 0x46b3e0
push ebp
call fcn.004b3dae
add esp, 4
xor eax, eax
jmp 0x46b4f8
mov edx, dword [esp + 0x10]
push 0
add edi, edx
push edi
push ebp
call fcn.004b4611
mov eax, dword [esp + 0x2034]
mov ecx, dword [esp + 0x20]
push ebp
push eax
push 1
push ecx
call fcn.004b3d1a
push ebp
mov esi, eax
call fcn.004b3dae
add esp, 0x20
mov eax, esi
pop edi
pop ebx
mov ecx, dword [esp + 0x2010]
pop esi
pop ebp
xor ecx, esp
call fcn.004b102c
add esp, 0x200c
ret 0xc
Function at 0x46b520
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x2004
call fcn.004b1040
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push esi
push edi
push 0x4cb694
push eax
mov esi, ecx
call fcn.0048c600
mov edi, eax
test edi, edi
sete al
mov byte [esi + 0x1c2c], al
test al, al
je 0x46b566
xor al, al
jmp 0x46b621
push ebx
push ebp
push edi
push 0x2000
lea eax, [esp + 0x18]
push 1
push eax
xor ebx, ebx
call fcn.004b3d1a
mov ebp, eax
add esp, 0x10
cmp ebp, 0x20
jbe 0x46b5e7
lea eax, [ebp - 0x20]
xor esi, esi
test eax, eax
jle 0x46b5be
nop
cmp byte [esp + esi + 0x10], 0x61
jne 0x46b5b6
cmp byte [esp + esi + 0x11], 0x73
jne 0x46b5b6
push 0x14
lea ecx, [esp + esi + 0x16]
push str.Invoker_
push ecx
call fcn.004b28e7
add esp, 0xc
test eax, eax
je 0x46b5f4
inc esi
lea eax, [ebp - 0x20]
cmp esi, eax
jl 0x46b590
push 0
lea ebx, [ebx + ebp - 0x20]
push ebx
push edi
call fcn.004b4611
push edi
push 0x2000
lea edx, [esp + 0x24]
push 1
push edx
call fcn.004b3d1a
mov ebp, eax
add esp, 0x1c
cmp ebp, 0x20
ja 0x46b586
push edi
call fcn.004b3dae
add esp, 4
xor al, al
jmp 0x46b61f
push 0
add esi, ebx
push esi
push edi
call fcn.004b4611
push edi
push 0x15
push 1
push str.requireAdministrator_
call fcn.004b39f8
cmp eax, 0x15
push edi
sete bl
call fcn.004b3dae
add esp, 0x20
mov al, bl
pop ebp
pop ebx
mov ecx, dword [esp + 0x2008]
pop edi
pop esi
xor ecx, esp
call fcn.004b102c
add esp, 0x2004
ret 4

Function at 0x46cab0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.004b1040
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x2008], eax
mov eax, dword [esp + 0x2010]
push ebx
push esi
xor ebx, ebx
push ebx
push 0x4c9388
push eax
call fcn.00436260
mov esi, eax
mov dword [esp + 8], esi
cmp esi, ebx
jne 0x46caf0
xor al, al
jmp 0x46cb80
push ebp
push edi
mov dword [esp + 0x14], ebx
push esi
push 0x2000
lea eax, [esp + 0x20]
push 1
push eax
call fcn.004b3d1a
mov edi, eax
add esp, 0x10
cmp edi, 0x20
jle 0x46cb73
lea ebp, [edi - 0x20]
xor esi, esi
test ebp, ebp
jle 0x46cb4b
jmp 0x46cb20
cmp byte [esp + esi + 0x18], 0x72
jne 0x46cb46
cmp byte [esp + esi + 0x19], 0x65
jne 0x46cb46
push 0x14
lea ecx, [esp + esi + 0x1e]
push str.quireAdministrator_
push ecx
call fcn.004b28e7
add esp, 0xc
test eax, eax
je 0x46cb99
inc esi
cmp esi, ebp
jl 0x46cb20
mov edx, dword [esp + 0x10]
push 0
lea ebx, [ebx + edi - 0x20]
push ebx
push edx
call fcn.004b4611
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc eax
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, 0x80
jb 0x46caf6
push esi
call fcn.004b3dae
add esp, 4
xor al, al
pop edi
pop ebp
mov ecx, dword [esp + 0x2010]
pop esi
pop ebx
xor ecx, esp
call fcn.004b102c
add esp, 0x200c
ret 4
mov eax, dword [esp + 0x10]
push eax
call fcn.004b3dae
add esp, 4
mov al, 1
jmp 0x46cb7e
Function at 0x46f830
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 0x46ff20
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 0x471650
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 0x4716b7
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.004b09d7
mov esi, eax
add esp, 4
test esi, esi
je 0x4716b5
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.004714c0
push esi
call fcn.004b1895
add esp, 4
pop edi
pop esi
pop ebp
ret 0x14

Function at 0x471890
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 0x4718e3
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 0x473710
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 0x473769
push 1
push str.Settings
call fcn.00420ae0
test eax, eax
je 0x47375e
mov eax, dword [0x51c8dc]
mov ecx, dword [0x508300]
lea esi, [edi + 0x8cc]
push esi
push 0x473340
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 0x47379a
push 1
push 0x4c79a8
push 0
push 0x4f8
call fcn.004671c0
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 [0x51c8dc]
test eax, eax
jne 0x4737a7
xor esi, esi
jmp 0x4737d0
push eax
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
jne 0x4737b6
xor esi, esi
jmp 0x4737d0
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push 4
push eax
call esi
test eax, eax
jne 0x4737c9
xor esi, esi
jmp 0x4737d0
push 5
push eax
call esi
mov esi, eax
cmp ebp, 0xaa
jne 0x4737e9
mov dword [edi + 0xc4], 0xffffffff
push 0x4c79a8
jmp 0x473851
lea edx, [ebp - 0x3e8]
cmp edx, 0x7f
ja 0x473897
push 0x30
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004b14b0
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 0x473897
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0xbc]
jae 0x473897
mov dword [edi + 0xc4], eax
imul eax, eax, 0xb04
add eax, dword [edi + 0xb8]
push eax
call fcn.00456820
push eax
push str.ActivePath
push str.InterfaceThemes
call fcn.00460de0
mov eax, dword [edi + 0x8c8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
cmp eax, 0xffffffff
je 0x473878
push 0
push eax
push esi
call ebx
push 8
push ebp
push esi
call ebx
mov ecx, edi
mov dword [edi + 0x8c8], ebp
call fcn.00472db0
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