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

Disassembly:
mov ecx, dword [0x567680]
push esi
test ecx, ecx
jne 0x479089
cmp byte [0x56767c], cl
jne 0x479089
push str.Crypt32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x567678], eax
test eax, eax
je 0x47907c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptProtectMemory
push eax
call esi
mov dword [0x567680], eax
mov eax, dword [0x567678]
push str.CryptUnprotectMemory
push eax
call esi
mov dword [0x567684], eax
mov ecx, dword [0x567680]
mov byte [0x56767c], 1
mov esi, dword [esp + 0xc]
mov edx, esi
and edx, 0xf
mov eax, esi
sub eax, edx
cmp byte [esp + 0x10], 0
je 0x4790db
test ecx, ecx
je 0x4790fa
push 0
push eax
mov eax, dword [esp + 0x10]
push eax
call ecx
test eax, eax
jne 0x47911d
push str.CryptProtectMemory_failed
push 0x51ff10
call fcn.00434290
add esp, 8
mov ecx, 0x51ff10
call fcn.00433f70
push 2
mov ecx, 0x51ff10
call fcn.00433f40
pop esi
ret 0xc
mov ecx, dword [0x567684]
test ecx, ecx
je 0x4790fa
mov edx, dword [esp + 8]
push 0
push eax
push edx
call ecx
test eax, eax
jne 0x47911d
push str.CryptUnprotectMemory_failed
jmp 0x4790b4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ecx, ecx
test esi, esi
jbe 0x47911d
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 0x479110
pop ebx
pop esi
ret 0xc
Function at 0x479930
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x20
push ebx
push esi
push 0x4da470
push eax
mov esi, ecx
call fcn.0049fac0
mov ebx, eax
test ebx, ebx
sete al
mov byte [esi + 0x3028], al
test al, al
jne 0x479b1f
push ebx
push 1
lea ecx, [esp + 0x18]
push 0x16
push ecx
call fcn.004c5285
add esp, 0x10
cmp word [esp + 0x10], 0
jne 0x479b16
cmp word [esp + 0x12], 1
jne 0x479b16
push ebp
push edi
push 0
push 0
push ebx
call fcn.004c59b1
movzx edx, word [esp + 0x28]
dec edx
shl edx, 4
add edx, 0x16
push edx
call fcn.004c2cc7
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.004c2cc7
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.004c5285
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 0x479abb
lea eax, [edi + 0x12]
lea ebp, [esi + 0xe]
mov dword [esp + 0x10], eax
jmp 0x479a24
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.004c2cc7
mov esi, eax
add esp, 4
test esi, esi
je 0x479b01
mov edx, dword [ebp + 4]
push 0
push edx
push ebx
call fcn.004c59b1
push ebx
push 1
push edi
push esi
call fcn.004c5285
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.004c23c4
add esp, 4
test edi, edi
je 0x479b01
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 0x479a20
mov edi, dword [esp + 0x14]
push ebx
call fcn.004c4622
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.004c4622
add esp, 4
pop edi
pop ebp
pop esi
xor al, al
pop ebx
add esp, 0x20
ret 0xc
push ebx
call fcn.004c4622
add esp, 4
pop esi
xor al, al
pop ebx
add esp, 0x20
ret 0xc
Function at 0x479b30
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x4da470
push eax
mov edi, ecx
call fcn.0049fac0
mov esi, eax
test esi, esi
sete al
mov byte [edi + 0x3028], al
test al, al
jne 0x479c2d
push esi
call fcn.004c5fcd
add esp, 4
cmp eax, 0x42
jne 0x479c24
push esi
call fcn.004c5fcd
add esp, 4
cmp eax, 0x4d
jne 0x479c24
push 0
push 2
push esi
call fcn.004c59b1
push esi
push 1
lea ecx, [esp + 0x24]
push 4
push ecx
call fcn.004c5285
mov eax, dword [esp + 0x2c]
sub eax, 0xe
push eax
mov dword [esp + 0x30], eax
call fcn.004c2cc7
mov edi, eax
add esp, 0x20
test edi, edi
je 0x479c24
push 0
push 0xe
push esi
call fcn.004c59b1
mov edx, dword [esp + 0x1c]
push esi
push edx
push 1
push edi
call fcn.004c5285
add esp, 0x1c
cmp eax, dword [esp + 0x10]
je 0x479be6
push edi
call fcn.004c23c4
push esi
call fcn.004c4622
add esp, 8
pop edi
xor al, al
pop esi
ret 0xc
push esi
call fcn.004c4622
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.004c23c4
add esp, 4
xor eax, eax
test esi, esi
pop edi
setne al
pop esi
ret 0xc
push esi
call fcn.004c4622
add esp, 4
pop edi
xor al, al
pop esi
ret 0xc

Function at 0x479ca0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x404
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x408]
push esi
push edi
push 0x4da470
push eax
mov edi, ecx
call fcn.0049fac0
mov esi, eax
test esi, esi
sete al
mov byte [edi + 0x3028], al
test al, al
je 0x479cdf
mov al, 1
jmp 0x479d29
push esi
push 0x400
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004c5285
push esi
mov edi, eax
call fcn.004c4622
lea ecx, [edi - 4]
add esp, 0x14
xor eax, eax
test ecx, ecx
jle 0x479d27
mov dl, 0x55
cmp byte [esp + eax + 8], dl
jne 0x479d22
cmp byte [esp + eax + 9], 0x50
jne 0x479d22
cmp byte [esp + eax + 0xa], 0x58
jne 0x479d22
cmp byte [esp + eax + 0xb], 0x30
je 0x479cdb
inc eax
cmp eax, ecx
jl 0x479d07
xor al, al
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004c1c22
add esp, 0x404
ret 4

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

Disassembly:
mov eax, 0x2004
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
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 0x4da470
push eax
mov ebx, ecx
call fcn.0049fac0
mov esi, eax
test esi, esi
sete al
mov byte [ebx + 0x3028], al
test al, al
je 0x479d9b
xor al, al
jmp 0x479de6
push esi
push 0x2000
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004c5285
add esp, 0x10
test eax, eax
je 0x479ddb
push edi
push eax
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.004c4800
push esi
push 0x2000
lea edx, [esp + 0x24]
push 1
push edx
call fcn.004c5285
add esp, 0x20
test eax, eax
jne 0x479db4
push esi
call fcn.004c4622
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x200c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c1c22
add esp, 0x2004
ret 8
Function at 0x479e00
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
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 0x4da470
push eax
mov dword [esp + 0x14], ecx
call fcn.0049fac0
mov ebp, eax
test ebp, ebp
sete al
mov byte [esi + 0x3028], al
test al, al
je 0x479e51
xor eax, eax
jmp 0x479f9a
push ebx
push edi
push ebp
push 0x2000
lea edx, [esp + 0x20]
push 1
push edx
mov dword [esp + 0x20], 0
call fcn.004c5285
mov ebx, eax
add esp, 0x10
cmp ebx, 0x28
jbe 0x479f5a
jmp 0x479e80
lea eax, [ebx - 0x28]
xor edi, edi
test eax, eax
jbe 0x479f25
lea esi, [esp + 0x1c]
cmp byte [esp + edi + 0x18], 0x2a
jne 0x479ebb
cmp byte [esp + edi + 0x19], 0x2a
jne 0x479ebb
push 0xc
lea eax, [esp + edi + 0x1e]
push str.messages
push eax
call fcn.004c3e8e
add esp, 0xc
test eax, eax
je 0x479f67
mov eax, 0x2a
cmp word [esi - 4], ax
jne 0x479ee9
cmp word [esi - 2], ax
jne 0x479ee9
push 0xc
push 0x4dc7dc
push esi
call fcn.004c4caa
add esp, 0xc
test eax, eax
je 0x479f67
mov eax, 0x2a
mov ecx, 0xfeff
cmp word [esi - 4], cx
jne 0x479f16
cmp word [esi - 2], ax
jne 0x479f16
cmp word [esi], ax
jne 0x479f16
push 0xc
lea edx, [esi + 2]
push 0x4dc7dc
push edx
call fcn.004c4caa
add esp, 0xc
test eax, eax
je 0x479f67
inc edi
lea eax, [ebx - 0x28]
add esi, 2
cmp edi, eax
jb 0x479e91
mov eax, dword [esp + 0x10]
lea ebx, [eax + ebx - 0x28]
push 0
push ebx
push ebp
mov dword [esp + 0x1c], ebx
call fcn.004c59b1
push ebp
push 0x2000
lea ecx, [esp + 0x2c]
push 1
push ecx
call fcn.004c5285
mov ebx, eax
add esp, 0x1c
cmp ebx, 0x28
ja 0x479e80
push ebp
call fcn.004c4622
add esp, 4
xor eax, eax
jmp 0x479f98
mov edx, dword [esp + 0x10]
push 0
add edi, edx
push edi
push ebp
call fcn.004c59b1
mov eax, dword [esp + 0x2034]
mov ecx, dword [esp + 0x20]
push ebp
push eax
push 1
push ecx
call fcn.004c5285
push ebp
mov esi, eax
call fcn.004c4622
add esp, 0x20
mov eax, esi
pop edi
pop ebx
mov ecx, dword [esp + 0x2010]
pop esi
pop ebp
xor ecx, esp
call fcn.004c1c22
add esp, 0x200c
ret 0xc
Function at 0x479fc0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x2004
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push esi
push edi
push 0x4dc9dc
push eax
mov esi, ecx
call fcn.0049fac0
mov edi, eax
test edi, edi
sete al
mov byte [esi + 0x3028], al
test al, al
je 0x47a006
xor al, al
jmp 0x47a0c1
push ebx
push ebp
push edi
push 0x2000
lea eax, [esp + 0x18]
push 1
push eax
xor ebx, ebx
call fcn.004c5285
mov ebp, eax
add esp, 0x10
cmp ebp, 0x20
jbe 0x47a087
lea eax, [ebp - 0x20]
xor esi, esi
test eax, eax
jle 0x47a05e
nop
cmp byte [esp + esi + 0x10], 0x61
jne 0x47a056
cmp byte [esp + esi + 0x11], 0x73
jne 0x47a056
push 0x14
lea ecx, [esp + esi + 0x16]
push str.Invoker_
push ecx
call fcn.004c3e8e
add esp, 0xc
test eax, eax
je 0x47a094
inc esi
lea eax, [ebp - 0x20]
cmp esi, eax
jl 0x47a030
push 0
lea ebx, [ebx + ebp - 0x20]
push ebx
push edi
call fcn.004c59b1
push edi
push 0x2000
lea edx, [esp + 0x24]
push 1
push edx
call fcn.004c5285
mov ebp, eax
add esp, 0x1c
cmp ebp, 0x20
ja 0x47a026
push edi
call fcn.004c4622
add esp, 4
xor al, al
jmp 0x47a0bf
push 0
add esi, ebx
push esi
push edi
call fcn.004c59b1
push edi
push 0x15
push 1
push str.requireAdministrator_
call fcn.004c4800
cmp eax, 0x15
push edi
sete bl
call fcn.004c4622
add esp, 0x20
mov al, bl
pop ebp
pop ebx
mov ecx, dword [esp + 0x2008]
pop edi
pop esi
xor ecx, esp
call fcn.004c1c22
add esp, 0x2004
ret 4

Function at 0x47b560
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x2008], eax
mov eax, dword [esp + 0x2010]
push ebx
push esi
push 0x4da470
push eax
call fcn.0043d170
mov esi, eax
xor ebx, ebx
mov dword [esp + 8], esi
cmp esi, ebx
jne 0x47b59f
xor al, al
jmp 0x47b630
push ebp
push edi
mov dword [esp + 0x14], ebx
push esi
push 0x2000
lea eax, [esp + 0x20]
push 1
push eax
call fcn.004c5285
mov edi, eax
add esp, 0x10
cmp edi, 0x20
jle 0x47b623
lea ebp, [edi - 0x20]
xor esi, esi
test ebp, ebp
jle 0x47b5fb
lea ebx, [ebx]
cmp byte [esp + esi + 0x18], 0x72
jne 0x47b5f6
cmp byte [esp + esi + 0x19], 0x65
jne 0x47b5f6
push 0x14
lea ecx, [esp + esi + 0x1e]
push str.quireAdministrator_
push ecx
call fcn.004c3e8e
add esp, 0xc
test eax, eax
je 0x47b649
inc esi
cmp esi, ebp
jl 0x47b5d0
mov edx, dword [esp + 0x10]
push 0
lea ebx, [ebx + edi - 0x20]
push ebx
push edx
call fcn.004c59b1
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc eax
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, 0x80
jb 0x47b5a5
push esi
call fcn.004c4622
add esp, 4
xor al, al
pop edi
pop ebp
mov ecx, dword [esp + 0x2010]
pop esi
pop ebx
xor ecx, esp
call fcn.004c1c22
add esp, 0x200c
ret 4
mov eax, dword [esp + 0x10]
push eax
call fcn.004c4622
add esp, 4
mov al, 1
jmp 0x47b62e
Function at 0x47e2c0
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 0x47e9b0
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 0x47eb80
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 0x47f0e0
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.004c2390
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 0x47f13a
and edi, 0x3f
jne 0x47f12c
push esi
call fcn.0047ebd0
mov edx, dword [esp + 0x10]
mov byte [edx + edi], 0
inc edi
cmp edi, 0x38
jne 0x47f121
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.0047ebd0
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 0x47f1c3
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.00479130
push 0x100
lea ecx, [esp + 0x40]
push ecx
call fcn.00479130
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.00479130

Function at 0x47ff20
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x130
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x12c], eax
cmp dword [0x4eb280], 0
push esi
mov esi, dword [esp + 0x140]
push edi
jne 0x47ff79
push 0x64
lea eax, [esp + 0x70]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov cx, word [esp + 0x6c]
xor edx, edx
mov word [0x56b844], cx
mov word [0x56b846], dx
mov dword [0x4eb280], 0x56b844
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x13c]
lea eax, [esp + 8]
push eax
push ecx
push edx
call fcn.0047fc70
mov edi, dword [esp + 0x148]
push edi
push esi
push 0x4eb270
lea ecx, [esp + 0x14]
xor eax, eax
push ecx
push eax
push 0x400
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ecx, dword [esp + 0x134]
xor edx, edx
mov word [esi + edi*2 - 2], dx
pop edi
pop esi
xor ecx, esp
call fcn.004c1c22
add esp, 0x130
ret 0x10
Function at 0x480750
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 0x4807b7
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.004c1c17
mov esi, eax
add esp, 4
test esi, esi
je 0x4807b5
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.004805c0
push esi
call fcn.004c26ea
add esp, 4
pop edi
pop esi
pop ebp
ret 0x14

Function at 0x480890
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 0x4808e3
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 0x4826c0
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 0x482719
push 1
push str.Settings
call fcn.00426d00
test eax, eax
je 0x48270e
mov eax, dword [0x535cac]
mov ecx, dword [0x51ff0c]
lea esi, [edi + 0x1088]
push esi
push 0x4822f0
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 0x48274a
push 1
push 0x4d89fc
push 0
push 0x4f9
call fcn.00475cc0
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 [0x535cac]
test eax, eax
jne 0x482757
xor esi, esi
jmp 0x482780
push eax
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
jne 0x482766
xor esi, esi
jmp 0x482780
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push 4
push eax
call esi
test eax, eax
jne 0x482779
xor esi, esi
jmp 0x482780
push 5
push eax
call esi
mov esi, eax
cmp ebp, 0xaa
jne 0x482799
mov dword [edi + 0x80], 0xffffffff
push 0x4d89fc
jmp 0x4827fb
lea edx, [ebp - 0x3e8]
cmp edx, 0x7f
ja 0x482841
push 0x30
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004c2670
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 0x482841
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0x74]
jae 0x482841
mov dword [edi + 0x80], eax
imul eax, eax, 0x1304
add eax, dword [edi + 0x70]
push eax
call fcn.00460c50
push eax
push str.ActivePath
push str.InterfaceThemes
call fcn.0046cde0
mov eax, dword [edi + 0x1084]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
cmp eax, 0xffffffff
je 0x482822
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.00481d50
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
Function at 0x482bd0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, ecx
mov dword [esi], eax
cmp eax, 0x20
jbe 0x482be7
mov dword [esi], 0x20
jmp 0x482bf1
test eax, eax
jne 0x482bf1
mov dword [esi], 1
push 0
push 0x20
push 0
push 0
mov byte [esi + 0x190], 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0
push 1
push 1
push 0
mov dword [esi + 0x194], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x198], eax
lea eax, [esi + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp dword [esi + 0x194], 0
je 0x482c3f
cmp dword [esi + 0x198], 0
jne 0x482c5d
push str._nThread_pool_initialization_failed.
push 0x51ff10
call fcn.00434290
add esp, 8
push 2
mov ecx, 0x51ff10
call fcn.00433f40
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x482cce
push ebp
push edi
lea ebp, [esi + 4]
lea ecx, [esp + 0x14]
push ecx
push 0
push esi
push 0x482b80
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x482cb0
push str.CreateThread_failed
push 0x51ff10
call fcn.00434290
add esp, 8
mov ecx, 0x51ff10
call fcn.00433f70
push 2
mov ecx, 0x51ff10
call fcn.00433f40
mov dword [ebp], edi
mov eax, dword [0x56b864]
test eax, eax
je 0x482cc4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebx
add ebp, 4
cmp ebx, dword [esi]
jb 0x482c68
pop edi
pop ebp
xor eax, eax
mov dword [esi + 0x188], eax
mov dword [esi + 0x18c], eax
mov dword [esi + 0x84], eax
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x483cf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.COMCTL32.dll_CreateMappedBitmap]
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
xor esi, esi
jmp 0x483d15
xor edi, edi
push 0xf
call ebp
mov edx, dword [0x51ff0c]
push 1
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x4eb2d4]
push edi
push eax
push edx
mov dword [esp + 0x34], edi
call ebx
push 0xf
mov dword [esi + 0x4eb2f8], eax
call ebp
mov dword [esp + 0x18], edi
mov edi, dword [esi + 0x4eb2d8]
push 2
mov dword [esp + 0x20], eax
mov eax, dword [0x51ff0c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, dword [0x51ff0c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x483d7b
movzx eax, word [eax + 0xe]
cmp eax, 8
je 0x483d83
mov dword [esp + 0x18], 0x800080
mov eax, dword [0x51ff0c]
push 1
lea edx, [esp + 0x1c]
push edx
push 0
push edi
push eax
call ebx
mov dword [esi + 0x4eb2fc], eax
add esi, 0x38
cmp esi, 0x460
jb 0x483d13
push 0xf
mov dword [esp + 0x2c], 0xc0c0c0
call ebp
mov edx, dword [0x51ff0c]
push 1
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0x67
push edx
mov dword [esp + 0x40], eax
call ebx
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], eax
cmp byte [0x51ff50], 0
je 0x483de4
push eax
call fcn.0049f010
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret