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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jle 0x1022a13d
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x50]
lea ecx, [eax + ebx]
cmp ecx, 0x10
jle 0x1022a018
mov esi, 0x10
sub esi, eax
jmp 0x1022a01a
mov esi, ebx
mov edx, dword [ebp + 0xc]
push esi
push edx
lea ecx, [eax + edi + 0x40]
push ecx
call fcn.10230070
add dword [edi + 0x50], esi
add dword [ebp + 0xc], esi
sub ebx, esi
add esp, 0xc
cmp dword [edi + 0x50], 0x10
mov dword [ebp + 0x10], ebx
jne 0x1022a133
mov dword [edi + 0x50], 0
xor cl, cl
lea esi, [edi + 0x40]
mov edx, 0x10
mov al, byte [esi]
mov bl, byte [esi - 0x30]
xor bl, al
mov byte [esi - 0x20], al
mov byte [esi - 0x10], bl
inc esi
dec edx
jne 0x1022a052
xor ebx, ebx
jmp 0x1022a070
lea eax, [edi + 0x11]
mov edx, 8
jmp 0x1022a080
movzx esi, byte [eax - 1]
movzx ecx, cl
movzx ecx, byte [ecx + str._.C]
xor ecx, esi
movzx esi, byte [eax]
mov byte [eax - 1], cl
movzx ecx, cl
movzx ecx, byte [ecx + str._.C]
xor ecx, esi
movzx esi, byte [eax + 1]
mov byte [eax], cl
movzx ecx, cl
movzx ecx, byte [ecx + str._.C]
xor ecx, esi
movzx esi, byte [eax + 2]
mov byte [eax + 1], cl
movzx ecx, cl
movzx ecx, byte [ecx + str._.C]
xor ecx, esi
movzx esi, byte [eax + 3]
mov byte [eax + 2], cl
movzx ecx, cl
movzx ecx, byte [ecx + str._.C]
xor ecx, esi
movzx esi, byte [eax + 4]
mov byte [eax + 3], cl
movzx ecx, cl
movzx ecx, byte [ecx + str._.C]
xor ecx, esi
mov byte [eax + 4], cl
add eax, 6
dec edx
jne 0x1022a080
add cl, bl
inc ebx
cmp ebx, 0x12
jl 0x1022a070
mov cl, byte [edi + 0xf]
xor eax, eax
jmp 0x1022a110
movzx edx, byte [edi + eax + 0x40]
movzx ecx, cl
xor edx, ecx
movzx ecx, byte [edx + str._.C]
movzx edx, byte [eax + edi]
xor ecx, edx
mov byte [eax + edi], cl
inc eax
cmp eax, 0x10
jl 0x1022a110
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jg 0x1022a004
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x1022a150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov al, 0x10
sub al, byte [edi + 0x50]
mov byte [ebp + 0xc], al
mov eax, dword [edi + 0x50]
cmp eax, 0x10
jge 0x1022a182
mov edx, 0x10
sub edx, eax
lea ecx, [eax + edi + 0x40]
mov eax, dword [ebp + 0xc]
push edx
push eax
push ecx
call fcn.10230cc0
add esp, 0xc
xor cl, cl
lea esi, [edi + 0x40]
mov edx, 0x10
lea esp, [esp]
mov al, byte [esi]
mov bl, byte [esi - 0x30]
xor bl, al
mov byte [esi - 0x20], al
mov byte [esi - 0x10], bl
inc esi
dec edx
jne 0x1022a190
xor ebx, ebx
lea eax, [edi + 0x11]
mov edx, 8
jmp 0x1022a1b0
movzx esi, byte [eax - 1]
movzx ecx, cl
movzx ecx, byte [ecx + str._.C]
xor ecx, esi
movzx esi, byte [eax]
mov byte [eax - 1], cl
movzx ecx, cl
movzx ecx, byte [ecx + str._.C]
xor ecx, esi
movzx esi, byte [eax + 1]
mov byte [eax], cl
movzx ecx, cl
movzx ecx, byte [ecx + str._.C]
xor ecx, esi
movzx esi, byte [eax + 2]
mov byte [eax + 1], cl
movzx ecx, cl
movzx ecx, byte [ecx + str._.C]
xor ecx, esi
movzx esi, byte [eax + 3]
mov byte [eax + 2], cl
movzx ecx, cl
movzx ecx, byte [ecx + str._.C]
xor ecx, esi
movzx esi, byte [eax + 4]
mov byte [eax + 3], cl
movzx ecx, cl
movzx ecx, byte [ecx + str._.C]
xor ecx, esi
mov byte [eax + 4], cl
add eax, 6
dec edx
jne 0x1022a1b0
add cl, bl
inc ebx
cmp ebx, 0x12
jl 0x1022a1a3
mov cl, byte [edi + 0xf]
xor eax, eax
jmp 0x1022a240
movzx edx, byte [edi + eax + 0x40]
movzx ecx, cl
xor edx, ecx
movzx ecx, byte [edx + str._.C]
movzx edx, byte [eax + edi]
xor ecx, edx
mov byte [eax + edi], cl
inc eax
cmp eax, 0x10
jl 0x1022a240
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0xc]
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], edx
mov ebx, edi
mov dword [edi + 0x4c], eax
call fcn.10229f00
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [edi + 0x14]
mov dword [eax + 4], edx
mov ecx, dword [edi + 0x18]
mov dword [eax + 8], ecx
mov edx, dword [edi + 0x1c]
pop edi
pop esi
mov dword [eax + 0xc], edx
pop ebx
pop ebp
ret 8
Function at 0x1022c8e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], edi
jmp 0x1022c8f3
mov edi, dword [ebp - 0xc]
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub ebx, eax
lea edx, [edi + ecx - 0x106]
mov dword [ebp - 4], ebx
cmp eax, edx
jb 0x1022c96d
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.10230070
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x1022c941
sub eax, edi
jmp 0x1022c943
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x1022c932
mov ecx, dword [esi + 0x40]
mov edx, edi
lea ecx, [ecx + edi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x1022c960
sub eax, edi
jmp 0x1022c962
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x1022c951
add ebx, edi
mov dword [ebp - 4], ebx
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x1022ca1e
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 4]
mov ebx, ecx
cmp ebx, edx
cmova ebx, edx
mov dword [ebp - 8], eax
test ebx, ebx
je 0x1022c9e2
mov edx, dword [edi + 0x1c]
sub ecx, ebx
mov dword [edi + 4], ecx
mov ecx, dword [edx + 0x18]
cmp ecx, 1
jne 0x1022c9b5
mov eax, dword [edi]
mov ecx, dword [edi + 0x30]
push ebx
push eax
push ecx
call fcn.1022df50
jmp 0x1022c9c7
cmp ecx, 2
jne 0x1022c9d0
mov edx, dword [edi]
mov eax, dword [edi + 0x30]
push ebx
push edx
push eax
call fcn.1022a560
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, dword [edi]
push ebx
push ecx
push eax
call fcn.10230070
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x1022ca0a
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x1022ca1e
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x1022c8f0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1023bed4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102da120]
jne 0x1023bede
repz ret
jmp fcn.1024c2d0

Function at 0x102460c1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x102da120]
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.1023bee3
and dword [ebp - 0x14], 0
cmp dword [0x102dee50], 0
mov dword [ebp - 0x18], eax
jne 0x10246174
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1024621c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1024621c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x102dee50], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x102dee54], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x102dee58], eax
call edi
push eax
call esi
mov dword [0x102dee60], eax
test eax, eax
je 0x10246174
push 0x102bb180
push ebx
call edi
push eax
call esi
mov dword [0x102dee5c], eax
mov eax, dword [0x102dee5c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x102461cd
cmp dword [0x102dee60], ecx
je 0x102461cd
push eax
call esi
push dword [0x102dee60]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x102461cd
test ebx, ebx
je 0x102461cd
call edi
test eax, eax
je 0x102461c4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x102461c4
test byte [ebp - 8], 1
jne 0x102461cd
or dword [ebp + 0x10], 0x200000
jmp 0x10246200
mov eax, dword [0x102dee54]
cmp eax, dword [ebp - 0x18]
je 0x10246200
push eax
call esi
test eax, eax
je 0x10246200
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10246200
mov eax, dword [0x102dee58]
cmp eax, dword [ebp - 0x18]
je 0x10246200
push eax
call esi
test eax, eax
je 0x10246200
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x102dee50]
call esi
test eax, eax
je 0x1024621c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1024621e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1023bed4
leave
ret
Function at 0x41bd00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x424c80], ecx
inc edx
cmp edx, 0x100
jb 0x41bd02
cmp edx, 0x800
jae 0x41bdd9
lea esp, [esp]
mov eax, dword [edx*4 + 0x424880]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x424c80]
inc edx
mov dword [edx*4 + 0x424c7c], eax
cmp edx, 0x800
jb 0x41bdb0
mov eax, 0x41c5e0
mov dword [0x424c7c], eax
mov dword [0x426c80], eax
mov dword [0x424c78], 0x41c500
call fcn.0041c010
test eax, eax
jne 0x41be05
mov dword [0x426c80], 0x41c500
ret

Function at 0x431006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x416153
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x416192
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x416192
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x416192
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x416192
cmp dword [ecx + 0x74], 0xe
jbe 0x416192
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x428560
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42858d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42858d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x103f9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.103f91a8
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 0x103f907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103f906a
add dl, dl
jne 0x103f9089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103f90dc
xor eax, eax
add dl, dl
jne 0x103f9096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103f917d
add dl, dl
jne 0x103f90a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103f90b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103f90bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103f90c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x103f90d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x103f9075
mov eax, 1
add dl, dl
jne 0x103f90ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103f90f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x103f90e1
sub eax, ebx
mov ebx, 1
jne 0x103f9128
mov ecx, 1
add dl, dl
jne 0x103f910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x103f9119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x103f9105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x103f9075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x103f913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x103f914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x103f9136
cmp eax, 0x7d00
jae 0x103f916d
cmp eax, 0x500
jb 0x103f9168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x103f9075
cmp eax, 0x7f
ja 0x103f9170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x103f9075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x103f919e
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 0x103f9075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x125104b3
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x5b564349
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4032a0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
lea eax, [eax + eax*8 + 0x414]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [ecx + eax*4]
mov ebx, 9
lea esp, [esp]
mov ecx, dword [esi - 0x120]
push 0
push ecx
call edi
mov edx, dword [esi]
push 0
push edx
call edi
add esi, 4
dec ebx
jne 0x4032c0
pop edi
pop esi
pop ebx
ret 4

Function at 0x403920
Capabilities:
Identify system language via api

Disassembly:
push esi
push str..AutoPlayLangData_
push 0x425ce8
call fcn.00410e7c
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
test ax, ax
jne 0x40394c
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, eax
and ecx, 0x3ff
dec ecx
cmp ecx, 0x3e
ja case.0x403965.3
movzx edx, byte [ecx + 0x403bc4]
jmp dword [edx*4 + 0x403b38]
and eax, 0xfc00
cmp eax, 0x400
jne 0x403982
push 0x41ef38
jmp 0x403b12
push 0x41ef2c
jmp 0x403b12
push 0x41ef20
jmp 0x403b12
push 0x41ef14
jmp 0x403b12
push 0x41ef08
jmp 0x403b12
push 0x41eefc
jmp 0x403b12
and eax, 0xfc00
cmp eax, 0xc00
jne 0x4039ca
push 0x41eef0
jmp 0x403b12
push 0x41eee4
jmp 0x403b12
push 0x41eed8
jmp 0x403b12
push 0x41eecc
jmp 0x403b12
push 0x41eec0
jmp 0x403b12
push 0x41eeb4
jmp 0x403b12
and eax, 0xfc00
cmp eax, 0x400
jne 0x403a12
push 0x41eea8
jmp 0x403b12
push 0x41ee9c
jmp 0x403b12
and eax, 0xfc00
cmp eax, 0x800
jne 0x403a32
push 0x41ee90
jmp 0x403b12
push 0x41ee84
jmp 0x403b12
push 0x41ee78
jmp 0x403b12
push 0x41ee6c
jmp 0x403b12
push 0x41ee60
jmp 0x403b12
push 0x41ee54
jmp 0x403b12
push 0x41ee48
jmp 0x403b12
push 0x41ee3c
jmp 0x403b12
push 0x41ee30
jmp 0x403b12
push 0x41ee24
jmp 0x403b12
push 0x41ee18
jmp 0x403b12
push 0x41ee0c
jmp 0x403b12
push 0x41ee00
jmp 0x403b12
push 0x41edf4
jmp 0x403b12
push 0x41ede8
jmp 0x403b12
push 0x41eddc
jmp 0x403b12
push 0x41edd0
jmp 0x403b12
cmp esi, 0x41a
je 0x403adc
cmp esi, 0x409
je 0x403adc
cmp esi, 0x81a
jne case.0x403965.3
push 0x41edc4
jmp 0x403b12
push 0x41edb8
jmp 0x403b12
push 0x41edac
jmp 0x403b12
push 0x41eda0
jmp 0x403b12
push 0x41ed94
jmp 0x403b12
push 0x41ed88
jmp 0x403b12
push 0x41ed7c
jmp 0x403b12
push 0x41ed70
jmp 0x403b12
push str.xx_XX
push 0x425ce8
call fcn.00410e52
add esp, 8
push str.lang.dat
push 0x425ce8
call fcn.00410e52
add esp, 8
mov eax, 0x425ce8
pop esi
ret
Function at 0x404840
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x1c
mov eax, dword [ecx + 0x4f4]
mov ecx, dword [ecx + 0x4f0]
push ebx
push ebp
push esi
push edi
add eax, 5
push eax
add ecx, 5
push ecx
push 0
push 0
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
push ebx
push esi
mov dword [esp + 0x1c], ebx
call ebp
mov ecx, dword [esp + 0x24]
push 0xff0062
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x404919
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x34]
mov ebx, eax
push edx
push ebx
call ebp
mov ecx, dword [esp + 0x24]
push 0xcc0020
push 0
push 0
push ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x10]
push edx
push ebx
call ebp
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
push esi
call ebp
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x30]
push edi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x1c
ret 8

Function at 0x405f80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x410
push esi
push edi
mov esi, ecx
xor eax, eax
push eax
mov ecx, 0x82
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push str.INTRO_SCREEN
push str._ConfigInfo_
call fcn.0040af50
mov ecx, eax
call fcn.0040bcf0
test al, al
je 0x406005
lea ecx, [esp + 0x210]
push str..AutoPlayResData_
push ecx
call fcn.00410e7c
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x21c]
push eax
call fcn.00410e52
add esp, 0x10
push 0xa010
push 0
push 0
push 0
lea ecx, [esp + 0x220]
push ecx
push 0
call dword [0x425cc0]
mov dword [esi + 0xe98], eax
mov edx, dword [esi + 0xe98]
mov eax, dword [esi + 0xe94]
push edx
push eax
mov ecx, esi
call fcn.00404840
test eax, eax
mov dword [esi + 0xe98], eax
je 0x406048
mov ecx, dword [esi + 0xe94]
push eax
push 0
push 0xf7
push ecx
call dword [0x425cd0]
mov edx, dword [esi + 0xe94]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e620
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x310
push ebx
push ebp
push esi
push edi
push 0
lea eax, [esp + 0x224]
push eax
push str.MAIN_FILE_VERSION
push str._AutoPlay_
mov edi, ecx
mov bl, 1
mov dword [esp + 0x24], 8
call fcn.0040af50
mov ecx, eax
call fcn.0040bcf0
test al, al
mov esi, dword [0x425cc4]
jne 0x40e672
push 0x40
push str.Error
push str.MAIN_FILE_VERSION
push 0
call esi
xor bl, bl
push 0
lea ecx, [esp + 0x124]
push ecx
push str.PRODUCT_REGISTRY_PARENT
push str._Product_
call fcn.0040af50
mov ecx, eax
call fcn.0040bcf0
test al, al
jne 0x40e6a8
push 0x40
push str.Error
push str.PRODUCT_REGISTRY_PARENT
push 0
call esi
xor bl, bl
push 0
lea edx, [esp + 0x24]
push edx
push str.PRODUCT_REGISTRY_KEY
push str._Product_
call fcn.0040af50
mov ecx, eax
call fcn.0040bcf0
test al, al
jne 0x40e6ea
push 0x40
push str.Error
push str.PRODUCT_REGISTRY_KEY
push 0
call esi
pop edi
pop esi
xor bl, bl
pop ebp
mov al, bl
pop ebx
add esp, 0x310
ret 4
test bl, bl
je 0x40e7d9
lea eax, [esp + 0x120]
push eax
mov ecx, edi
call fcn.0040e460
mov ebp, eax
test ebp, ebp
jne 0x40e725
push 0x40
push str.Error
push str.PRODUCT_REGISTRY_PARENT
push eax
call esi
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x310
ret 4
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push 0
lea edx, [esp + 0x2c]
push edx
push ebp
call dword [0x425c14]
test eax, eax
jne 0x40e7cf
mov al, byte [0x4a7030]
test al, al
jne 0x40e77c
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov dl, byte [esp + 0x18]
xor ecx, ecx
cmp dl, 0x30
setne cl
lea esi, [edi + 2]
add ecx, 0x30
mov word [esi], cx
jmp 0x40e792
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea esi, [edi + 2]
push esi
push 0
push eax
call dword [0x425c1c]
test eax, eax
jne 0x40e7d2
cmp word [esi], 0x30
jne 0x40e7d2
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x324]
push str._auto
push edx
call fcn.00410ccc
add esp, 8
pop edi
neg eax
pop esi
sbb al, al
pop ebp
inc al
pop ebx
add esp, 0x310
ret 4
mov byte [edi], 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x310
ret 4
Function at 0x41236d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x4a7fe0], esi
push edi
jne 0x41238d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x4a7fdc], esi
mov byte [0x4a7fd8], al
jne 0x4123f3
mov ecx, dword [0x4a984c]
test ecx, ecx
je 0x4123d4
mov eax, dword [0x4a9848]
sub eax, 4
cmp eax, ecx
jmp 0x4123cd
mov eax, dword [eax]
test eax, eax
je 0x4123bf
call eax
mov eax, dword [0x4a9848]
sub eax, 4
cmp eax, dword [0x4a984c]
mov dword [0x4a9848], eax
jae 0x4123b7
mov eax, 0x423034
mov esi, 0x42303c
cmp eax, esi
mov edi, eax
jae 0x4123f3
mov eax, dword [edi]
test eax, eax
je 0x4123ec
call eax
add edi, 4
cmp edi, esi
jb 0x4123e4
mov eax, 0x423040
mov esi, 0x423048
cmp eax, esi
mov edi, eax
jae 0x412412
mov eax, dword [edi]
test eax, eax
je 0x41240b
call eax
add edi, 4
cmp edi, esi
jb 0x412403
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x41242c
push dword [ebp + 8]
mov dword [0x4a7fe0], 1
call fcn.004122d3
pop ebp
ret