joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4320c8
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea edi, [eax + 0x1c]
shr eax, 2
mov esi, eax
shr esi, 1
add esi, 3
mov dword [ecx], esi
add ecx, 0x10
xor esi, esi
test eax, eax
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], eax
jbe 0x4320ff
mov ebx, dword [edx]
mov dword [ecx + esi*4], ebx
inc esi
add edx, 4
cmp esi, eax
jb 0x4320f2
cmp esi, edi
jae 0x4321cf
mov edx, esi
sub edx, eax
lea eax, [ecx + edx*4]
mov dword [ebp - 4], eax
xor edx, edx
mov eax, esi
div dword [ebp + 8]
mov ebx, dword [ecx + esi*4 - 4]
test edx, edx
mov dword [ebp - 8], eax
jne 0x43216f
mov edi, 0xff
mov eax, ebx
and eax, edi
mov dh, byte [eax + str.cw]
mov eax, ebx
shr eax, 0x18
mov dl, byte [eax + str.cw]
mov eax, ebx
shr eax, 0x10
and eax, edi
movzx eax, byte [eax + str.cw]
mov edi, dword [ebp - 8]
movzx edi, byte [edi + 0x45d7b8]
shl edx, 8
or edx, eax
movzx eax, bh
movzx eax, byte [eax + str.cw]
shl edx, 8
xor eax, edi
or edx, eax
mov ebx, edx
jmp 0x4321b7
cmp dword [ebp + 8], 6
jbe 0x4321b7
cmp edx, 4
jne 0x4321b7
mov eax, ebx
shr eax, 0x10
mov edi, 0xff
and eax, edi
movzx eax, byte [eax + str.cw]
mov edx, ebx
shr edx, 0x18
mov ah, byte [edx + str.cw]
movzx edx, bh
movzx edx, byte [edx + str.cw]
shl eax, 8
and ebx, edi
or eax, edx
movzx edx, byte [ebx + str.cw]
shl eax, 8
or eax, edx
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add dword [ebp - 4], 4
xor eax, ebx
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x432111
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4333bc
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, eax
push edi
lea edi, [esi + 4]
mov eax, edi
call fcn.0042b464
test al, al
je 0x4333d3
pop edi
xor al, al
pop esi
ret
push 0xc
call fcn.004379d7
test eax, eax
pop ecx
je 0x4333e9
push esi
mov esi, eax
call fcn.00434602
jmp 0x4333eb
xor eax, eax
push ebx
mov ebx, eax
call fcn.00433484
mov eax, edi
call fcn.004341e4
pop ebx
pop edi
pop esi
jmp 0x4346ad
push esi
mov esi, eax
mov eax, dword [esi + 8]
test eax, eax
jne 0x4346bb
xor al, al
pop esi
ret
push edi
lea edi, [eax + 0x20]
test edi, edi
je 0x4346ca
mov eax, edi
call fcn.0042bbb8
mov eax, dword [esi + 8]
cmp dword [eax + 4], 0
je 0x434731
mov eax, esi
call fcn.004346a3
mov eax, dword [esi + 8]
add eax, 0xc
push eax
push 4
push esi
push 0x4344a6
push 0
push 0
call fcn.004496ae
mov ecx, dword [esi + 8]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 8]
add esp, 0x18
cmp dword [eax + 0x10], 0
je 0x434724
mov byte [eax + 8], 1
mov eax, dword [esi + 8]
add eax, 0x24
call fcn.00434885
mov eax, dword [esi + 8]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x434740
call fcn.004346a8
mov esi, dword [esi + 8]
call fcn.0043456e
test edi, edi
je 0x43473c
mov eax, edi
call fcn.0042bbc6
xor al, al
jmp 0x43474d
test edi, edi
je 0x43474b
mov eax, edi
call fcn.0042bbc6
mov al, 1
pop edi
pop esi
ret

Function at 0x43596f
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x44cca7
call fcn.0043b49c
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x435a81
cmp byte [esi + 0x42], bl
je 0x435a81
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp ax, di
jne 0x4359ab
xor al, al
jmp 0x435a83
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.00435949
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004067c1
mov ecx, eax
call fcn.0043522f
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004067c1
mov ecx, eax
call fcn.0043522f
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x435a1b
dec eax
je 0x435a1f
dec eax
dec eax
je 0x435a7d
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004029d2
mov al, bl
jmp 0x435a83
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004067c1
mov ecx, eax
call fcn.0043522f
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x435a5f
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004067c1
mov ecx, eax
call fcn.0043522f
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0043dfb8
add esp, 0x10
cmp edi, eax
jne 0x435a09
cmp byte [esi + 0x42], 0
je 0x435a7d
test edi, edi
jne 0x4359b9
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00404d67
jmp 0x4359b9
mov bl, 1
jmp 0x435a0b
mov al, 1
call fcn.0043b51f
ret

Function at 0x4375f4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45c5f0]
jne 0x4375fe
repz ret
jmp fcn.0043ec50
Function at 0x440c1c
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x45c9c0]
je 0x440c37
inc edi
cmp edi, 0x17
jb 0x440c28
cmp edi, 0x17
jae 0x440db7
push ebp
push 3
call fcn.00448162
cmp eax, 1
pop ecx
je 0x440d83
push 3
call fcn.00448162
test eax, eax
pop ecx
jne 0x440c6b
cmp dword [0x45c42c], 1
je 0x440d83
cmp ebx, 0xfc
je 0x440db6
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4610d0
push ebp
call fcn.00442be0
add esp, 0xc
test eax, eax
je 0x440ca1
push esi
push esi
push esi
push esi
push esi
call fcn.00437b85
add esp, 0x14
push 0x104
mov esi, 0x4610e9
push esi
push 0
mov byte [0x4611ed], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x440ce5
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00442be0
add esp, 0xc
test eax, eax
je 0x440ce5
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00437b85
add esp, 0x14
push esi
call fcn.00437af0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x440d2a
push esi
call fcn.00437af0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4613e4
push 0x44f554
sub ecx, eax
push ecx
push eax
call fcn.0044459e
add esp, 0x14
test eax, eax
je 0x440d2a
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00437b85
add esp, 0x14
jmp 0x440d2c
xor esi, esi
push 0x44f550
push ebx
push ebp
call fcn.0044452d
add esp, 0xc
test eax, eax
je 0x440d4c
push esi
push esi
push esi
push esi
push esi
call fcn.00437b85
add esp, 0x14
push dword [edi*8 + 0x45c9c4]
push ebx
push ebp
call fcn.0044452d
add esp, 0xc
test eax, eax
je 0x440d6e
push esi
push esi
push esi
push esi
push esi
call fcn.00437b85
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00447fa5
add esp, 0xc
jmp 0x440db6
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x440db6
cmp ebp, 0xffffffff
je 0x440db6
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x45c9c4]
push dword [esi]
call fcn.00437af0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x447fa5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004401a0
xor ebx, ebx
cmp dword [0x461594], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x44807b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x44815b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x44815b
push eax
call fcn.00440132
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x461594], eax
call esi
push eax
call fcn.00440132
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x461598], eax
call esi
push eax
call fcn.00440132
mov dword [0x46159c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044086b
test eax, eax
pop ecx
pop ecx
je 0x448049
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00437b85
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x44807b
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00440132
cmp eax, ebx
pop ecx
mov dword [0x4615a4], eax
je 0x44807b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00440132
pop ecx
mov dword [0x4615a0], eax
mov eax, dword [0x4615a0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x448100
cmp dword [0x4615a4], ecx
je 0x448100
push eax
call fcn.004401a9
push dword [0x4615a4]
mov esi, eax
call fcn.004401a9
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x448100
cmp edi, ebx
je 0x448100
call esi
cmp eax, ebx
je 0x4480cd
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4480cd
test byte [ebp - 0x18], 1
jne 0x448100
lea eax, [ebp - 0x10]
push eax
call fcn.004408a2
test eax, eax
pop ecx
je 0x4480e8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00437b85
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4480f7
or dword [ebp + 0x10], 0x200000
jmp 0x44813b
or dword [ebp + 0x10], 0x40000
jmp 0x44813b
mov eax, dword [0x461598]
cmp eax, dword [ebp - 8]
je 0x44813b
push eax
call fcn.004401a9
cmp eax, ebx
pop ecx
je 0x44813b
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44813b
mov eax, dword [0x46159c]
cmp eax, dword [ebp - 8]
je 0x44813b
push eax
call fcn.004401a9
cmp eax, ebx
pop ecx
je 0x44813b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x461594]
call fcn.004401a9
cmp eax, ebx
pop ecx
je 0x44815b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44815d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4198c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x419922
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x419914
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x419910
cmp esi, ecx
jae 0x419914
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x4198fe
cmp esi, ecx
jb 0x419918
xor eax, eax
jmp 0x419921
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x41a13f
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x456129
call fcn.00450aac
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push dword [esi]
call fcn.0041a655
and dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [esi]
test eax, eax
je 0x41a18b
push 0x40df78
push dword [0x460620]
call fcn.0042b2ab
add esp, 0xc
lea ecx, [edi + 0x18]
push esi
call fcn.0041a6ca
jmp 0x41a19e
push 0x40dfd8
push dword [0x460620]
call fcn.0042b279
add esp, 0xc
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00419a22
call fcn.00450a75
ret 4
Function at 0x41c5d0
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x456502
call fcn.00450ae0
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
jne 0x41c5f5
xor eax, eax
jmp 0x41c76d
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x41c621
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x41c621
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x41c76d
cmp dword [esi + 0x4c], 0
je 0x41c76a
mov ecx, esi
call fcn.0041ce49
xor eax, eax
cmp dword [esi + 0x38], eax
jne 0x41c655
push dword [esi + 0x4c]
push edi
call fcn.0043c531
pop ecx
pop ecx
cmp ax, bx
je 0x41c76a
movzx ebx, di
jmp 0x41c76a
push eax
push 8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0041cda9
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x41c68d
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x3c]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call dword [0x461448]
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x41c762
cmp eax, 1
jg 0x41c73c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x41c6d7
lea edx, [ebp - 0x28]
mov edi, dword [ebp - 0x38]
sub edi, edx
je 0x41c704
cmp eax, 0x10
jae 0x41c6e6
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.0043d03c
add esp, 0x10
cmp edi, eax
jne 0x41c737
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
jmp 0x41c707
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x3c], edx
jne 0x41c731
test edi, edi
jne 0x41c681
cmp dword [ebp - 0x18], 0x20
jae 0x41c75c
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.0041cdf0
jmp 0x41c67b
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
jmp 0x41c75c
cmp eax, 3
jne 0x41c762
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.0043c531
pop ecx
pop ecx
cmp ax, bx
je 0x41c75c
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx eax, bx
movzx ebx, ax
lea ecx, [ebp - 0x28]
call fcn.0041cd0a
mov ax, bx
call fcn.00450a8a
ret 4
Function at 0x41cedf
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x456565
call fcn.00450ae0
mov esi, ecx
mov dword [ebp - 0x30], esi
xor ebx, ebx
cmp dword [esi + 0x38], ebx
je 0x41cffc
cmp byte [esi + 0x3e], bl
je 0x41cffc
mov edi, 0xffff
push edi
call fcn.0041c5d0
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x41cf23
xor al, al
jmp 0x41cffe
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
call fcn.0041cda9
lea eax, [esi + 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov edx, ecx
cmp eax, 0x10
jae 0x41cf56
lea edx, [ebp - 0x2c]
mov ecx, edx
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x1c]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
push dword [ebp - 0x34]
mov ecx, dword [esi + 0x20]
call dword [0x461448]
mov ecx, edi
call dword [esi + 0x20]
sub eax, ebx
je 0x41cf85
sub eax, 1
jne 0x41cfe1
mov esi, dword [ebp - 0x30]
jmp 0x41cf8b
mov esi, dword [ebp - 0x30]
mov byte [esi + 0x3e], bl
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
cmp eax, 0x10
jae 0x41cf9b
lea edx, [ebp - 0x2c]
mov edi, dword [ebp - 0x38]
sub edi, edx
je 0x41cfc3
cmp eax, 0x10
jae 0x41cfaa
lea ecx, [ebp - 0x2c]
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.0043d03c
add esp, 0x10
cmp edi, eax
jne 0x41cfec
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp byte [esi + 0x3e], 0
je 0x41cfea
test edi, edi
jne 0x41cf4a
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.0041cdf0
jmp 0x41cf44
dec eax
sub eax, 1
jne 0x41cff0
inc eax
jmp 0x41cfee
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x2c]
call fcn.0041cd0a
mov al, bl
jmp 0x41cffe
mov al, 1
call fcn.00450a8a
ret

Function at 0x42552b
Capabilities:
Inspect load icon resource

Disassembly:
push 4
mov eax, 0x4570b0
call fcn.00450aac
mov edi, ecx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov esi, eax
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
push 0x400
push 1
push esi
call dword [sym.imp.USER32.dll_DeleteMenu]
push 2
mov ebx, 0xf060
push ebx
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push ebx
push esi
call dword [sym.imp.USER32.dll_DeleteMenu]
push 0x418
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x41f
push dword [edi + 4]
mov dword [edi + 0x28], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x6a
mov dword [edi + 0x24], eax
push dword [0x460504]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push 0x80
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x402
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [edi + 0x20]
mov edi, 0x4606b0
push eax
mov ecx, edi
call fcn.00429d5c
push 0x10
push edi
push 0x41f1e0
call dword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
test esi, esi
je 0x4255f0
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
xor eax, eax
inc eax
call fcn.00450a75
ret 0xc
Function at 0x425d51
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x425d63
push 0xd
pop eax
jmp 0x425d94
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x425d6c
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x425d99
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x425dad
push 0xd
pop eax
jmp 0x425df1
push esi
xor eax, eax
push edi
mov dword [ebp - 4], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x425dc0
sub ecx, dword [ebp - 8]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x425db8
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x426203
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x45712f
call fcn.00450b4e
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x426280
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x426280
call fcn.00425904
mov esi, eax
jmp 0x426386
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x4262a3
call fcn.00425904
jmp 0x426379
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x426299
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x4262d6
mov esi, 0x8007000e
jmp 0x42637b
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x42630a
cmp eax, 0xffffffff
ja 0x42630a
cmp eax, 0x400
jbe 0x4262fc
push eax
lea ecx, [ebp - 0x418]
call fcn.0041974d
jmp 0x426328
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x426328
push 0x80070216
call fcn.004189a2
mov eax, 0x42631a
ret
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x4262cc
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x426299
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00426e40
mov esi, eax
test edi, edi
je 0x426386
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x42639f
lea ecx, [ebp - 0x418]
call fcn.00419744
mov eax, esi
call fcn.00450a9b
ret 0x10
Function at 0x429695
Capabilities:
Hide graphical window

Disassembly:
push 0xc
mov eax, 0x4573dd
call fcn.00450aac
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [0x45d9d0]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
mov eax, dword [0x460764]
dec eax
sub eax, 1
je 0x429705
lea esi, [ebx + 0x58]
mov ecx, esi
sub eax, 1
je 0x4296fa
sub eax, 1
je 0x4296e7
sub eax, 1
je 0x4296dc
push 0x6f
call fcn.004190de
push 0x70
jmp 0x4296f0
push 0x71
call fcn.004190de
push 0x77
jmp 0x4296f0
push 0x71
call fcn.004190de
push 0x72
lea ecx, [ebp - 0x10]
call fcn.004190de
jmp 0x429754
push 0x7e
call fcn.004190de
push 0x7f
jmp 0x4296f0
push 5
push dword [ebx + 0x64]
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [ebx + 0x58]
push 0x73
mov ecx, esi
call fcn.004190de
push 0x74
lea ecx, [ebp - 0x10]
call fcn.004190de
mov eax, dword [0x45d9d0]
mov dword [ebp - 0x14], eax
push 0x67
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004190de
push dword [ebp - 0x14]
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00419240
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push dword [ebx + 4]
push 0x481
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi]
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov edi, dword [ecx - 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetParent]
push edi
mov edi, dword [ebp - 0x18]
mov esi, eax
lea ecx, [edi + 0x58]
call fcn.004191a9
push eax
push ebx
push 0x47e
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
lea ecx, [edi + 0x58]
call fcn.0041920f
push dword [ebp - 0x10]
mov eax, edi
push dword [eax + 0x60]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x10]
call fcn.00419240
call fcn.00450a75
ret

Function at 0x429982
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 0x10], 0
push esi
push edi
push 0x4113b0
push 0x67
push dword [0x460504]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4299de
push esi
push dword [0x460504]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [0x460504]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4299de
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0x429a60
push dword [ebp - 0x14]
push 0
push 0x435
push dword [edi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0xc]
push eax
push 2
push 0x449
push dword [edi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret