joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x7f31350c
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x2b33577
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0xf33058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xf331a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xf3307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf3306a
add dl, dl
jne 0xf33089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf330dc
xor eax, eax
add dl, dl
jne 0xf33096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf3317d
add dl, dl
jne 0xf330a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf330b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf330bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf330c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xf330d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xf33075
mov eax, 1
add dl, dl
jne 0xf330ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf330f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf330e1
sub eax, ebx
mov ebx, 1
jne 0xf33128
mov ecx, 1
add dl, dl
jne 0xf3310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf33119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf33105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf33075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xf3313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf3314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf33136
cmp eax, 0x7d00
jae 0xf3316d
cmp eax, 0x500
jb 0xf33168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf33075
cmp eax, 0x7f
ja 0xf33170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf33075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xf3319e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xf33075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40101f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xe17110]
jne 0x401029
repz ret
jmp fcn.004012ab

Function at 0x404e11
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xe17110]
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.004013b1
and dword [ebp - 0x14], 0
cmp dword [0xe1a224], 0
mov dword [ebp - 0x18], eax
jne 0x404ec4
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404f6c
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404f6c
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0xe1a224], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0xe1a228], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0xe1a22c], eax
call edi
push eax
call esi
mov dword [0xe1a234], eax
test eax, eax
je 0x404ec4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0xe1a230], eax
mov eax, dword [0xe1a230]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x404f1d
cmp dword [0xe1a234], ecx
je 0x404f1d
push eax
call esi
push dword [0xe1a234]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404f1d
test ebx, ebx
je 0x404f1d
call edi
test eax, eax
je 0x404f14
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x404f14
test byte [ebp - 8], 1
jne 0x404f1d
or dword [ebp + 0x10], 0x200000
jmp 0x404f50
mov eax, dword [0xe1a228]
cmp eax, dword [ebp - 0x18]
je 0x404f50
push eax
call esi
test eax, eax
je 0x404f50
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x404f50
mov eax, dword [0xe1a22c]
cmp eax, dword [ebp - 0x18]
je 0x404f50
push eax
call esi
test eax, eax
je 0x404f50
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0xe1a224]
call esi
test eax, eax
je 0x404f6c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404f6e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040101f
leave
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 0x539a90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xeb000]
push edi
jmp 0x539aaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x539ab1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x539aa0
mov eax, 1
add ebx, ebx
jne 0x539ac3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x539ad4
jne 0x539af3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x539af3
dec eax
add ebx, ebx
jne 0x539ae0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x539ab8
add ebx, ebx
jne 0x539aef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x539b45
xor ecx, ecx
sub eax, 3
jb 0x539b0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x539b7a
sar eax, 1
mov ebp, eax
jmp 0x539b16
add ebx, ebx
jne 0x539b16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x539ae4
inc ecx
add ebx, ebx
jne 0x539b24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x539ae4
add ebx, ebx
jne 0x539b31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x539b26
jne 0x539b42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x539b26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x539b64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x539b56
jmp 0x539aa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x539b64
add edi, ecx
jmp 0x539aa6
pop esi
mov edi, esi
mov ecx, 0x3874
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x539b82
cmp byte [edi], 0x11
jne 0x539b82
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x539b87
lea edi, [esi + 0x136000]
mov eax, dword [edi]
or eax, eax
je 0x539bff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18258c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18267c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x539bb4
mov ecx, edi
jns 0x539be3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x182680]
or eax, eax
je 0x539bf9
mov dword [ebx], eax
add ebx, 4
jmp 0x539bd1
call dword [esi + 0x182690]
mov ebp, dword [esi + 0x182684]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x539c33
sub esp, 0xffffff80
jmp 0x44612d
Function at 0x405092
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call fcn.00404b11
test eax, eax
je 0x4050fe
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.kernel32.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4050cc
push str.SetProcessDEPPolicy
push eax
call esi
test eax, eax
je 0x4050cc
push 1
call eax
test eax, eax
jne 0x4050fd
push str.ntdll.dll
call edi
test eax, eax
je 0x4050fd
push str.NtSetInformationProcess
push eax
call esi
mov esi, eax
test esi, esi
je 0x4050fd
push 4
lea eax, [ebp - 4]
push eax
push 0x22
mov dword [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
pop edi
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
call fcn.00404ee4
test al, al
jne 0x405124
xor eax, eax
inc eax
jmp 0x405133
push esi
call fcn.00404b81
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x40584e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a224]
jne 0x405858
repz ret
jmp fcn.00405df1

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 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 0x407427
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
mov ebx, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x407496
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ebx, [ebx*2 + 2]
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x407472
push ebx
push edi
push eax
call fcn.0040b3a0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x40748d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop edi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
ret

Function at 0x40a340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [esi]
or byte [esi - 0x75], dl
inc ecx
add al, 0x85
sal byte [ebp + 0x11], 0x83
ror dword [ecx + edx*2], 0xff
adc eax, 0xbcc02c
xor eax, dword [edx]
pop esi
jg 0x40a3d7
add al, 0x39
cmp eax, 0xffffffac
jne 0x40a370
mov eax, dword [ecx - 0x7a]
push eax
call dword [0x403f0b]
jmp 0x40a37f
sbb ebp, 2
cmp esp, ebx
mov esi, dword [ebx + 8]
push ecx
call dword [0x40c066]
rol byte [eax], 0xd4
sal byte [ebp - 0x2b], 0x2f
aam 0xc0
jne 0x40a358
das
xor eax, sym.imp.KERNEL32.dll_GetLastError
call esi
test eax, eax
je 0x40a37c
call esi
add eax, 0xd90afcb1
pop esi
pop ebp
cld
insb byte es:[edi], dx
add bl, bh
nop
nop
nop
nop
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 0x405880
push eax
mov eax, dword [eax]
xor eax, ebp
or al, 0xb3
cmp bh, bh
pop ebp
sub eax, 0x90900004
nop
nop
nop
nop
nop
nop
xor eax, eax
ret 4
inc eax
adc al, 0x85
sal byte [ecx - 0x75], 0x4d
or al, 0x51
push eax
inc ecx
sub al, al
cdq
add byte [ebp + 0x56a775c0], al
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x40a443
les ebx, [ebp - 0x3e]
rol byte [edx - 1], 1
salc
add eax, 0xc50afc80
pop esi
pop ebp
ret 8
test eax, eax
fld qword [eax]
mov eax, dword [ebp - 0x55]
push 0x402c96
push 0x40a470
mov ebx, 0x4107df
or al, 0xe8
pop ss
mov cl, 0xff
aas
mov bh, 0xc0
aam 0xb1
nop
nop
nop
nop
inc esp
adc byte [eax - 0x6f6f6f53], dl
nop
nop
push 0x4107e6
inc dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
xor eax, eax
ret
Function at 0x40424d
Capabilities:
Inspect section memory permissions

Disassembly:
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x404548
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.00403cc0
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x4042bf
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.00403cc0
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x40428c
call fcn.00403d4f
adc al, 0x65
movsd dword es:[edi], dword [esi]
pop ebp
mov edi, dword [esi + 0x3c]
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
invalid

Function at 0x4045f2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00403d14
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]

Function at 0x404a2c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp - 0x398], 0
je 0x404c0d
cmp dword [ebp + 0xc], 1
je 0x404c0d
cmp dword [ebp + 0xc], 8
jne 0x404bd5
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
invalid
test dword [ecx + edi*8 - 1], ecx

Function at 0x40605d
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x44a200], 2
jl 0x406082
movaps xmm0, xmmword [0x4347f0]
movaps xmmword [0x441040], xmm0
movaps xmm0, xmmword [0x4347e0]
movaps xmmword [0x441050], xmm0
push esi
mov esi, dword [esp + 8]
mov ecx, esi
call fcn.0040640a
xor edx, edx
mov ecx, dword [esi + 0xf4]
mov eax, dword [edx + 0x4347b8]
mov dword [edx + ecx], eax
add edx, 4
cmp edx, 0x20
jl 0x406090
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0xc]
xor dword [ecx + 8], eax
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0x10]
or eax, 0x2000
shl eax, 0x10
xor dword [ecx + 0xc], eax
pop esi
ret 0xc

Function at 0x406773
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
test esi, esi
je 0x40679d
movzx ecx, byte [edi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x441060]
inc edi
sub esi, 1
jne 0x406785
pop edi
mov eax, edx
pop esi
ret 0xc
Function at 0x40698a
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
xor ebp, ebp
cmp dword [edi], 2
lea esi, [edi + 4]
jne 0x4069e0
mov eax, dword [esi]
push ebx
push ebp
push ebp
push ebp
push ebp
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push 0x20
push dword [esp + 0x5c]
call fcn.00407074
mov edx, ebp
mov ebx, ebp
movzx eax, byte [esp + edx + 0x14]
mov ecx, edx
and ecx, 3
shl ecx, 3
shl eax, cl
xor eax, ebx
inc edx
mov ebx, eax
cmp edx, 0x20
jb 0x4069c4
mov dword [esi], eax
pop ebx
cmp dword [edi], 3
jne 0x406a0c
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
push 0x20
push esi
push 0x20
push dword [esp + 0x58]
call fcn.00407074
push 0x20
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00422c30
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0x24
ret 8
Function at 0x433180
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4331ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4331ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
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 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 0x402620
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x404152
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3f4
mov eax, dword [0x408020]
mov dword [esp + 0x3f0], eax
push esi
mov dword [esp + 4], 0
mov eax, 1
lea ecx, [esp + 0x40c]
push ecx
push eax
push 0
lea ecx, [esp + 0x41c]
mov dword [esp + 0x40c], eax
mov dword [esp + 0x14], 0x3e8
mov dword [esp + 0x10], eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, dword [esp + 0x418]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4026d4
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
lea ecx, [esp + 0x424]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov eax, dword [esp + 0x420]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x40c]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4026db
push 0x4055a7
jmp 0x4026e0
lea edx, [esp + 0xc]
push edx
mov esi, dword [esp + 0x40c]
mov ecx, esi
call dword [0x405078]
lea ecx, [esp + 0x410]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x414]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x3f8]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x3f4]
mov eax, esi
pop esi
call fcn.0040396f
add esp, 0x400
ret 0x10

Function at 0x402730
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x404178
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3f4
mov eax, dword [0x408020]
mov dword [esp + 0x3f0], eax
push esi
lea eax, [esp + 0xc]
push eax
push 0x3e8
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x402786
mov esi, dword [esp + 0x408]
push eax
mov ecx, esi
call dword [0x405078]
jmp 0x4027f2
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 8]
call dword [0x405078]
push str.SplashFile.txt
lea ecx, [esp + 0xc]
mov dword [esp + 0x404], 0
call dword [0x405078]
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x404], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
lea ecx, [esp + 8]
mov byte [esp + 0x400], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov esi, dword [esp + 0x408]
lea edx, [esp + 4]
push edx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x3f8]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x3f4]
mov eax, esi
pop esi
call fcn.0040396f
add esp, 0x400
ret 4
Function at 0x402820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x404199
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4028c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x404199
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::StringLength]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret