joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100237ac
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x424
mov eax, 0x10053bd8
call fcn.100252b3
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x41c], ebx
push eax
lea eax, [ebp - 0x418]
push eax
mov dword [ebp - 4], ebx
call fcn.10023351
mov eax, dword [eax]
pop ecx
pop ecx
push 0x2001f
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0x424]
call fcn.1000113d
test eax, eax
lea ecx, [ebp - 0x418]
setne byte [ebp - 0x411]
call fcn.10001270
cmp byte [ebp - 0x411], bl
je 0x1002382e
lea ecx, [ebp - 0x424]
call fcn.100010ba
mov al, bl
call fcn.10025336
ret
xor edi, edi
push 0x3ff
lea eax, [ebp - 0x40f]
push ebx
push eax
mov byte [ebp - 0x410], bl
call fcn.100255c0
add esp, 0xc
lea eax, [ebp - 0x430]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x410]
push eax
push edi
push dword [ebp - 0x424]
mov dword [ebp - 0x418], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
inc edi
cmp eax, ebx
jne 0x100238ad
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x428]
call fcn.10001b63
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.1001b9cd
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], bl
call fcn.10001270
jmp 0x10023830
lea ecx, [ebp - 0x424]
call fcn.100010ba
mov bl, 1
jmp 0x1002381b

Function at 0x10023b3b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x1006d334], 0
push esi
push edi
jne 0x10023ab1
call fcn.10023a1d
test eax, eax
je 0x10023af6
mov eax, dword [0x1006d334]
cmp eax, 1
jne 0x10023ad2
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x10023af6
jmp 0x10023b38
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x10023b38
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10023afa
xor eax, eax
jmp 0x10023b38
mov eax, dword [esi]
push dword [0x1006d334]
call edi
mov edi, eax
test edi, edi
je 0x10023b1c
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x10023b38
lea edi, [esi + 0xff0]
push esi
push dword [0x1006d334]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x10023b22
mov eax, esi
pop edi
pop esi
ret
jmp 0x10023a9d

Function at 0x1002523b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1006b490]
jne 0x10025245
repz ret
jmp fcn.1002becc
Function at 0x10031f76
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006b490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1002b186
and dword [ebp - 0x14], 0
cmp dword [0x1006e2e8], 0
mov dword [ebp - 0x18], eax
jne 0x10032029
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100320d1
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x100320d1
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1006e2e8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1006e2ec], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1006e2f0], eax
call edi
push eax
call esi
mov dword [0x1006e2f8], eax
test eax, eax
je 0x10032029
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1006e2f4], eax
mov eax, dword [0x1006e2f4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10032082
cmp dword [0x1006e2f8], ecx
je 0x10032082
push eax
call esi
push dword [0x1006e2f8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10032082
test ebx, ebx
je 0x10032082
call edi
test eax, eax
je 0x10032079
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10032079
test byte [ebp - 8], 1
jne 0x10032082
or dword [ebp + 0x10], 0x200000
jmp 0x100320b5
mov eax, dword [0x1006e2ec]
cmp eax, dword [ebp - 0x18]
je 0x100320b5
push eax
call esi
test eax, eax
je 0x100320b5
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100320b5
mov eax, dword [0x1006e2f0]
cmp eax, dword [ebp - 0x18]
je 0x100320b5
push eax
call esi
test eax, eax
je 0x100320b5
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1006e2e8]
call esi
test eax, eax
je 0x100320d1
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100320d3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002523b
leave
ret

Function at 0x1003a600
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
xor ecx, ecx
cmp eax, edx
je 0x1003a62f
push esi
push edi
mov esi, ecx
mov edi, ecx
shl esi, 6
shr edi, 2
add esi, edi
movsx edi, byte [eax]
lea esi, [esi + edi - 0x61c88647]
inc eax
xor ecx, esi
cmp eax, edx
jne 0x1003a610
pop edi
pop esi
mov eax, 0x4e25
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add edx, eax
shr edx, 0x1e
imul edx, edx, 0x7fffd8ee
mov eax, ecx
sub eax, edx
add eax, 0x2710
ret
Function at 0x1004ec50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf0
mov eax, 0x1005648a
mov dword [esp], eax
mov dword [esp + 4], 0x1005e004
mov dword [esp + 8], 0x1005e000
mov dword [esp + 0xc], 0x1005dffc
mov dword [esp + 0x10], 0x1005a644
mov dword [esp + 0x14], 0x1005b1f8
mov dword [esp + 0x18], 0x1005a7b0
mov dword [esp + 0x1c], 0x1005ca34
mov dword [esp + 0x20], 0x1005a638
mov dword [esp + 0x24], 0x10056ba4
mov dword [esp + 0x28], 0x10056b9c
mov dword [esp + 0x2c], 0x1005a338
mov dword [esp + 0x30], 0x10056be8
mov dword [esp + 0x34], str.___
mov dword [esp + 0x38], 0x1005ca38
mov dword [esp + 0x3c], 0x10056b98
mov dword [esp + 0x40], 0x10056b90
mov dword [esp + 0x44], str.0123456789
mov dword [esp + 0x48], 0x1005dd14
mov dword [esp + 0x4c], str.BDMS
mov dword [esp + 0x50], 0x1005a564
mov dword [esp + 0x54], 0x1005a560
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x1005dfe8
mov dword [esp + 0x64], 0x1005dfe4
mov dword [esp + 0x68], 0x10056ad8
mov dword [esp + 0x6c], 0x10056ba0
mov dword [esp + 0x70], 0x1005a340
mov dword [esp + 0x74], 0x1005dd08
mov dword [esp + 0x78], 0x1005dce8
mov dword [esp + 0x7c], 0x1005dcd8
mov dword [esp + 0x80], 0x1005dcd0
mov dword [esp + 0x84], 0x1005dcc8
mov dword [esp + 0x88], 0x1005dcc0
mov dword [esp + 0x8c], 0x1005dd10
mov dword [esp + 0x90], 0x10056b94
mov dword [esp + 0x94], 0x10056724
mov dword [esp + 0x98], 0x10056b80
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0x10056b84
mov dword [esp + 0xc0], 0x1005dd94
mov dword [esp + 0xc4], 0x1005a534
mov dword [esp + 0xc8], 0x1005a7b4
mov dword [esp + 0xcc], str.ZYWVUTRQPONLKJIHGFA
mov dword [esp + 0xd0], 0x1005ddb8
mov dword [esp + 0xd4], 0x1005ca5c
mov dword [esp + 0xd8], 0x1005dce0
mov dword [esp + 0xdc], 0x1005dd98
mov dword [esp + 0xe0], 0x1005dda0
mov dword [esp + 0xe4], 0x1005dd04
mov dword [esp + 0xe8], 0x1005dda8
mov dword [esp + 0xec], 0x1005dd90
cmp cl, 0x3c
jae 0x1004ee6d
movzx eax, cl
mov eax, dword [esp + eax*4]
add esp, 0xf0
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10008a3d
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffab8
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x546]
push eax
call sub.kernel32.dll_lstrcpyA
lea eax, [ebp - 0x546]
push eax
call fcn.10008873
lea eax, [ebp - 0x546]
push eax
call sub.kernel32.dll_lstrlenA
mov dword [ebp - 8], eax
push 0x10010b70
lea eax, [ebp - 0x546]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [ebp - 0x146]
push eax
lea eax, [ebp - 0x546]
push eax
call sub.kernel32.dll_FindFirstFileA
cmp eax, 0xffffffff
je 0x10008b43
mov dword [ebp - 4], eax
push 2
call sub.kernel32.dll_Sleep
lea eax, [ebp - 0x11a]
push eax
call fcn.10008949
or eax, eax
jne 0x10008b23
lea esi, [ebp - 0x546]
add esi, dword [ebp - 8]
mov al, 0
mov byte [esi], 0
lea eax, [ebp - 0x11a]
push eax
lea eax, [ebp - 0x546]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, dword [ebp - 0x146]
and eax, 0x10
cmp eax, 0x10
jne 0x10008b14
lea eax, [ebp - 0x546]
push eax
call fcn.10008873
lea eax, [ebp - 0x546]
push eax
call fcn.10008910
or eax, eax
jne 0x10008b23
push dword [ebp + 0xc]
lea eax, [ebp - 0x546]
push eax
call fcn.10008a3d
jmp 0x10008b23
push dword [ebp + 0xc]
lea eax, [ebp - 0x546]
push eax
call fcn.100089d2
lea eax, [ebp - 0x146]
push eax
push dword [ebp - 4]
call sub.kernel32.dll_FindNextFileA
cmp eax, 0
jne 0x10008aa1
push dword [ebp - 4]
call sub.kernel32.dll_FindClose
pop esi
leave
ret 8

Function at 0x10008b48
Capabilities:
Get common file path

Disassembly:
push 0x400
push str.C:WINDOWS_system32_
call sub.kernel32.dll_GetSystemDirectoryA
push 0x400
push str.C:WINDOWS_
call sub.kernel32.dll_GetWindowsDirectoryA
push str.C:WINDOWS_system32_
call sub.kernel32.dll_lstrlenA
lea esi, str.C:WINDOWS_system32_
add esi, eax
mov bl, 0
mov byte [esi], bl
push str.C:WINDOWS_
call sub.kernel32.dll_lstrlenA
lea esi, str.C:WINDOWS_
add esi, eax
mov bl, 0
mov byte [esi], bl
push str.C:WINDOWS_system32_
call fcn.10008873
push str.C:WINDOWS_
call fcn.10008873
ret

Function at 0x10008ba7
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push esi
call fcn.10008b48
lea eax, [ebp - 0x200]
push eax
push 0x200
call sub.kernel32.dll_GetLogicalDriveStringsA
lea esi, [ebp - 0x200]
cmp byte [esi], 0
je 0x10008c01
push esi
call fcn.1000889c
cmp eax, 1
jne 0x10008bf6
push esi
push esi
call sub.kernel32.dll_GetDriveTypeA
pop esi
cmp eax, 3
je 0x10008bef
cmp eax, 2
jne 0x10008bf6
push esi
push esi
call fcn.10008a3d
push esi
call fcn.100021b2
add esi, eax
inc esi
jmp 0x10008bcd
pop esi
leave
ret
Function at 0x403260
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40500c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4032f8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4032d8
xor eax, eax
push ebp
push 0x4032d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403314
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4032d8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x40500c]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40500c], ax
mov esp, ebp
pop ebp
ret

Function at 0x4039f8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x406034], 0
je 0x403a59
cmp word [0x406208], 0xd7b2
jne 0x403a21
cmp dword [0x406210], 0
jbe 0x403a21
mov eax, 0x406204
call dword [0x406220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403a80
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x405018], 0
jne 0x403a75
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x65d39e
Capabilities:
Encode data using xor

Disassembly:
jmp 0x65d3ba
push eax
call fcn.0065ec79
cmp dh, byte [edx + 0x4b24720]
sbb byte [eax], al
add byte [edx], bh
mov dl, 0x20
inc edi
mov dl, 4
cmp byte [edi + 0xab14227], dh
sub al, byte [ebp - 0xc]
out 0x58, eax
add ebx, dword [esi - 0x5b]
cmp al, byte [esi]
push edi
movsd dword es:[edi], dword [esi]
mov esp, 0xaec4a556
pop eax
movsd dword es:[edi], dword [esi]
xor al, 0x70
push esi
movsd dword es:[edi], dword [esi]
xor eax, 0xd6a55618
adc al, 0x56
movsd dword es:[edi], dword [esi]
xor al, 0x11
push esi
movsd dword es:[edi], dword [esi]
jecxz 0x65d3bd
pop edx
movsd dword es:[edi], dword [esi]
invalid

Function at 0x65d87a
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf064a4ec
jmp 0x65d91b
mov dword [esp + 0x2c], edi
lea esp, [esp + 0x2c]
jmp 0x65d9b4
not ecx
mov ebx, dword [esp]
xchg ah, ch
bsf eax, ebx
jmp 0x65d8a4
pushfd
jmp 0x65d05c

Function at 0x65d89c
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esi, [esi + 0x2f]
call fcn.0065d873
jl 0x65d8ba
jge 0x65d8ba
mov ah, 0x21
mov cl, 0xd0
and edx, dword [ebx - reloc.KERNEL32.dll_lstrcatA]
bound esp, qword [esi - 0x5b4aa5dd]
xlatb
mov ebp, dword ds:[esp + 0x2c]
mov ebp, dword [esp + 0x2c]
cpuid
bsf edi, ecx
jnp 0x65d8df
bts si, bp
mov ecx, dword [esp]
jmp 0x65d8fc
jmp 0x65d8f5
bts si, bp
mov ecx, dword [esp]
lea esi, [esp]
jmp 0x65d905
xchg ch, ah
mov edi, dword [esp]
mov edi, ebp
jmp 0x65d95e
push edi
lea edx, [esp + ebx]
sub esp, 0xc0
mov edi, esp
mov ah, ch
mov dx, 0xa8d5
jmp 0x65d940

Function at 0x65ea6d
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp]
mov byte [esp + 1], bh
mov dword [esp], ecx
call fcn.0065e8b7

Function at 0x65ec79
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp]
call fcn.0065ea6d

Function at 0x65f025
Capabilities:
Execute anti-debugging instructions

Disassembly:
stc
jge 0x65f03d
lea ecx, [esi + esi]
jmp 0x65f040
jmp 0x65f00f
pushal
bswap ecx
mov ecx, dword [esp + 0x15]
jmp fcn.0065f05b
lea ecx, [esi + esi]
add esi, 4
jmp 0x65f027

Function at 0x6a207e
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 4]
push 3
jmp 0x6a20a1
push 0
call fcn.006a20a9
cmc
Function at 0x6a20a9
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 4]
push 3
pushfd
jmp 0x6a20cb
mov dword [esp], reloc.KERNEL32.dll_lstrcatA
push ebx
push edi
jmp 0x6a235a
lea esp, [esp + 4]
call eax
stc
call fcn.006a2251
lea ecx, [ecx + ecx]
jmp 0x6a239e
neg al
push di
lea esp, [esp + 2]
jmp 0x6a23d0
jmp 0x6a23f9
mov dl, byte [esi + 4]
sub esp, 2
jmp 0x6a2404
bswap ecx
rcl ch, cl
pop cx
jmp 0x6a2431
mov edx, esi
mov eax, dword [edx]
sub esp, 0x1f
je 0x6a23a8
xchg ecx, edx
lea ecx, [esi + ebp]
lea esp, [esp + 3]
jmp 0x6a23aa
xchg ecx, edx
lea ecx, [esi + ebp]
lea esp, [esp + 3]
jmp 0x6a23aa
jns 0x6a23b6
bswap ecx
rcl ch, cl
jmp 0x6a2447
add esi, 6
bswap ecx
sub esp, 3
ja 0x6a244b
jbe 0x6a24a8
mov dword [edx + ebx*4], eax
std
or al, 0xc9
xor dword [eax], esi
xor ebp, dword [edx]
pop cx
jmp 0x6a2431
lea esp, [esp + 3]
jmp 0x6a248e
lea ecx, [ebx + ebp]
jmp 0x6a24c4
mov byte [eax], dl
and cx, sp
jg 0x6a2478
lea ecx, [ebx + ebp]
not cx
mov ch, 0x2a
jmp 0x65e58c
lea esp, [esp + 3]
jmp 0x6a248e
not cx
mov ch, 0x2a
jmp 0x65e58c

Function at 0x6a20ee
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
mov byte [esp + 2], dl
jmp 0x6a2071
mov edi, dword [esp]
jmp 0x6a204d
lea esp, [esp + 4]
cmp word [edi], ax
jmp 0x6a2041
lea esp, [esp + 8]
jne 0x6a1893
push ebp
mov dword [esp], eax
jmp 0x6a2019
jne 0x6a186a
je 0x6a1893
lea esp, [esp + 4]
pop esi
jmp 0x6a182b
popal
lea ecx, [ecx - 0xc]
mov dword [ecx], edi
pop ecx
push esi
jmp 0x6a2031
mov eax, dword [0x658fa0]
mov eax, dword [eax]
lea esp, [esp + 4]
jmp 0x6a20bf
mov dword [esp], ecx
push ecx
pushal
mov dword [esp + 0x18], ebp
jmp 0x6a2067
push 0
push 0x80
call fcn.006a207e
jmp 0x6a2096
Function at 0x401250
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x427364]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 0xc]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4218d0
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x401295
pop esi
pop ebp
ret 4
push 0
push dword [0x427364]
push 0
push eax
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x4218d0
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00401190
mov ecx, esi
call fcn.00401120
mov ecx, esi
call fcn.00401550
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret 4

Function at 0x401690
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x4017f2
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4017f2
mov eax, dword [ebp + 0x10]
cmp eax, 1
jb 0x4017f2
push esi
xor esi, esi
test eax, eax
je 0x4017e7
dec eax
push ebx
mov bl, byte [ebp + 0xa]
shr eax, 2
inc eax
push edi
lea edi, [ecx + 2]
mov dword [ebp + 0xc], eax
mov dl, byte [edi - 2]
cmp dl, 0x2b
jne 0x4016dc
mov dl, 0x3e
jmp 0x40170a
cmp dl, 0x2f
jne 0x4016e5
mov dl, 0x3f
jmp 0x40170a
cmp dl, 0x39
jg 0x4016ef
add dl, 4
jmp 0x40170a
cmp dl, 0x3d
je 0x401708
cmp dl, 0x5a
jg 0x4016fe
sub dl, 0x41
jmp 0x40170a
cmp dl, 0x7a
jg 0x401708
sub dl, 0x47
jmp 0x40170a
mov dl, 0x40
mov cl, byte [edi - 1]
cmp cl, 0x2b
jne 0x401716
mov cl, 0x3e
jmp 0x401744
cmp cl, 0x2f
jne 0x40171f
mov cl, 0x3f
jmp 0x401744
cmp cl, 0x39
jg 0x401729
add cl, 4
jmp 0x401744
cmp cl, 0x3d
je 0x401742
cmp cl, 0x5a
jg 0x401738
sub cl, 0x41
jmp 0x401744
cmp cl, 0x7a
jg 0x401742
sub cl, 0x47
jmp 0x401744
mov cl, 0x40
mov al, cl
shl dl, 2
shr al, 4
add al, dl
mov edx, dword [ebp + 8]
mov byte [esi + edx], al
inc esi
mov al, byte [edi]
cmp al, 0x3d
je 0x40179d
mov bl, al
cmp bl, 0x2b
jne 0x401766
mov bl, 0x3e
jmp 0x40178f
cmp bl, 0x2f
jne 0x40176f
mov bl, 0x3f
jmp 0x40178f
cmp bl, 0x39
jg 0x401779
add bl, 4
jmp 0x40178f
cmp bl, 0x5a
jg 0x401783
sub bl, 0x41
jmp 0x40178f
cmp bl, 0x7a
jg 0x40178d
sub bl, 0x47
jmp 0x40178f
mov bl, 0x40
mov al, bl
shl cl, 4
shr al, 2
add al, cl
mov byte [esi + edx], al
inc esi
mov al, byte [edi + 1]
cmp al, 0x3d
je 0x4017d9
cmp al, 0x2b
jne 0x4017ac
mov al, 0x3e
jmp 0x4017ce
cmp al, 0x2f
jne 0x4017b4
mov al, 0x3f
jmp 0x4017ce
cmp al, 0x39
jg 0x4017bc
add al, 4
jmp 0x4017ce
cmp al, 0x5a
jg 0x4017c4
sub al, 0x41
jmp 0x4017ce
cmp al, 0x7a
jg 0x4017cc
sub al, 0x47
jmp 0x4017ce
mov al, 0x40
mov cl, bl
shl cl, 6
add cl, al
mov byte [esi + edx], cl
inc esi
add edi, 4
dec dword [ebp + 0xc]
jne 0x4016d0
pop edi
pop ebx
mov byte [esi + edx], 0
mov eax, esi
pop esi
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x401d40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0xffffffffffffffeb
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x401da1
mov ecx, dword [eax + 0x1b4]
mov esi, dword [eax + 0x1b8]
mov eax, dword [eax + 0x1bc]
mov dword [ebp - 4], eax
test ecx, ecx
je 0x401d7f
push 0
push ecx
call ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x401d88
push 0
push eax
call ebx
test esi, esi
je 0x401da1
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x4219e0
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [edi]
test eax, eax
jne 0x401dbe
mov ecx, edi
call fcn.00401ab0
push 5
mov ecx, edi
call fcn.00401a40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
push eax
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401dd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x425280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x30
lea eax, [ebp - 0x34]
mov edi, ecx
push 0
push eax
call fcn.00413c60
mov eax, dword [0x427364]
add esp, 0xc
mov dword [ebp - 0x34], 0x30
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 0x401c90
push 5
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0x7f00
lea esi, [edi + 0x10]
mov dword [ebp - 0x14], eax
push 0
mov dword [ebp - 0xc], esi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [0x427364]
push 0
push dword [edi + 4]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4218d0
push esi
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi], eax
test eax, eax
jne 0x401e83
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fd4e
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00401bc0
mov ecx, edi
call fcn.004018d0
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0040fd4e
mov esp, ebp
pop ebp
ret
Function at 0x402c40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x425280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x402c6b
push 0x421b74
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [edi + 4]
test edi, edi
je 0x402c9a
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x408
push edi
call esi
inc eax
mov ecx, 0x64
cmp eax, ecx
push 0
cmovg eax, ecx
push eax
push 0x402
push edi
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00413c60
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrIW]
lea esi, [eax + 2]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREGMBoxInfo
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x402d43
push esi
call ebx
add eax, eax
push eax
push esi
push 1
push 0
push str.InstallName
push dword [ebp - 0x218]
call edi
push dword [ebp - 0x218]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x402d49
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00404850
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREGMBoxInfo
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402dad
push dword [ebp - 0x218]
call ebx
add eax, eax
push eax
push dword [ebp - 0x218]
push 1
push 0
push str.InstallPath
push dword [ebp - 0x210]
call edi
push dword [ebp - 0x210]
call esi
call fcn.00404770
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREGMBoxInfo
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402e11
push dword [ebp - 0x210]
call ebx
add eax, eax
push eax
push dword [ebp - 0x210]
push 1
push 0
push str.StartMenuPath
push dword [ebp - 0x218]
call edi
push dword [ebp - 0x218]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040fd4e
mov esp, ebp
pop ebp
ret