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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x40d38b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a548]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004086b1
mov dword [ebp - 0x14], eax
cmp dword [0x81563c], esi
jne 0x40d47e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d40b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d55e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d55e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d55e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x81563c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x815640], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x815644], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x81564c], eax
test eax, eax
je 0x40d47b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x815648], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d4a3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d496
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d4b8
push 4
pop eax
jmp 0x40d560
cmp dword [ebp - 0x14], esi
je 0x40d4b8
push dword [0x81563c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d49d
mov eax, dword [0x815648]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d516
cmp dword [0x81564c], edi
je 0x40d516
push eax
call ebx
push dword [0x81564c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d516
test eax, eax
je 0x40d516
call ecx
test eax, eax
je 0x40d50b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d50b
test byte [ebp - 8], 1
jne 0x40d516
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d546
mov eax, dword [0x815640]
cmp eax, edi
je 0x40d543
push eax
call ebx
test eax, eax
je 0x40d543
call eax
mov esi, eax
test esi, esi
je 0x40d543
mov eax, dword [0x815644]
cmp eax, edi
je 0x40d543
push eax
call ebx
test eax, eax
je 0x40d543
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x81563c]
call ebx
test eax, eax
je 0x40d55e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d560
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040437c
mov esp, ebp
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 0x40a5d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x40a5ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40a5f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40a5e0
mov eax, 1
add ebx, ebx
jne 0x40a603
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40a5f8
jne 0x40a614
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a5f8
xor ecx, ecx
sub eax, 3
jb 0x40a628
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40a69a
mov ebp, eax
add ebx, ebx
jne 0x40a633
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40a640
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40a664
inc ecx
add ebx, ebx
jne 0x40a650
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40a645
jne 0x40a661
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a645
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40a684
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40a675
jmp 0x40a5e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40a684
add edi, ecx
jmp 0x40a5e6
pop esi
mov edi, esi
mov ecx, 0x46
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40a6a2
cmp byte [edi], 1
jne 0x40a6a2
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 0x40a6a7
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40a716
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc988]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc9e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40a6d4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc9e8]
or eax, eax
je 0x40a710
mov dword [ebx], eax
add ebx, 4
jmp 0x40a6f1
call dword [esi + 0xc9e4]
mov ebp, dword [esi + 0xc9ec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
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 0x40a74a
sub esp, 0xffffff80
jmp 0x403868
Function at 0x40b240
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
mov edi, eax
push ebx
push edi
call fcn.0040cbc0
push esi
push ebx
push edi
call fcn.0040d130
lea eax, [edi + 0x1eec]
call fcn.0042f360
mov eax, dword [edi + 0x1ef0]
lea esi, [edi + 0xb8]
mov ebx, esi
mov dword [ebp - 4], eax
call fcn.004121c0
call fcn.004124e0
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
mov ecx, esi
call fcn.00411950
mov eax, dword [ebp - 4]
call fcn.00412460
push ebx
push esi
call fcn.00412cc0
mov ecx, dword [ebp + 8]
push 0
push 2
push ebx
push ecx
lea edx, [edi + 0x1a64]
push edx
call fcn.00505550
mov eax, dword [edi + 0x1a94]
test eax, eax
je 0x40b2d8
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0040b300
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x1a90]
mov ecx, dword [eax + 4]
mov dword [edi + ecx + 0x1a90], 6
call fcn.0040b300
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40b300
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp byte [0x57804a], bl
je 0x40b39d
cmp byte [0x5786b7], bl
je 0x40b39d
cmp byte [0x5786b8], bl
jne 0x40b39d
push 0x578092
lea esi, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.00507d60
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x40b366
mov eax, 0x54ee24
push eax
lea ebx, [edi + 0x1a64]
call fcn.005059c0
lea ecx, [edi + 0x1a90]
call fcn.0051c6a0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00507320
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1a94]
cmp eax, ebx
je 0x40b3c0
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1a90]
mov ecx, dword [eax + 4]
mov dword [edi + ecx + 0x1a90], 6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4130a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541802
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [edi + 0x1c], eax
mov dword [ebp - 4], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x28], 0x552e9c
mov dword [edi + 0x50], 0x55e624
mov dword [edi + 0x60], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x40], al
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
mov byte [edi + 0x5c], al
mov dword [edi + 0x24], vtable.CChildWnd.0
mov dword [edi + 0x68], 0x551a48
mov dword [edi + 0x90], 0x551a50
mov dword [edi + 0xa0], 0x551a58
mov dword [edi + 0x534], eax
lea eax, [edi + 0x64]
call fcn.0043e9b0
lea esi, [edi + 0xfc]
mov dword [edi + 0x64], vtable.CAdvBaseWnd.0
call fcn.004093e0
xor eax, eax
mov dword [edi + 0x518], eax
mov dword [edi + 0x51c], eax
mov dword [edi + 0x520], eax
mov dword [edi + 0x524], eax
mov dword [edi + 0x52c], eax
mov dword [edi + 0x530], eax
mov dword [edi + 0x514], eax
lea eax, [edi + 0x538]
push eax
mov byte [ebp - 4], 2
call fcn.0040a700
mov ecx, 0x24
lea eax, [edi + 0xd3a8]
lea esp, [esp]
mov byte [eax], 0
inc eax
dec ecx
jne 0x4131b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x440a90
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bfe8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebp - 0x18]
xor bl, bl
call fcn.0043ffe0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
jle 0x440b77
mov esi, dword [ebp - 0x18]
test esi, esi
jne 0x440ae1
mov esi, 0x54ee24
test esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x440b09
cmp word [esi], 0
je 0x440b09
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x440b07
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x440b09
jmp 0x440b38
call edi
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x440b15
mov eax, 0x54ee24
xor bl, bl
test eax, eax
je 0x440b34
cmp word [eax], 0
je 0x440b34
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x440b32
mov bl, 1
jmp 0x440b34
call edi
test bl, bl
je 0x440b77
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x440b44
mov eax, 0x54ee24
xor cl, cl
test eax, eax
je 0x440b75
cmp word [eax], 0
je 0x440b75
mov edi, dword [ebp + 8]
add edi, 0x64
push eax
mov eax, edi
call fcn.005080c0
push 0x5c
mov esi, edi
call fcn.00507e80
mov esi, str.CcComDef.dat
mov eax, edi
call fcn.00508170
mov cl, 1
mov bl, cl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x440b8e
push eax
call fcn.0051ebab
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x445170
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x575494]
xor eax, ebp
mov dword [ebp - 4], eax
xor al, al
push esi
mov esi, edx
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x445201
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add esi, 0x10
mov word [ebp - 0x24], ax
mov eax, dword [esi + 4]
xor edi, edi
test eax, eax
je 0x4451ca
push 0x10
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
test edi, edi
jg 0x4451ca
mov edx, dword [esi]
mov ebx, dword [edx + 4]
add ebx, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov bl, 1
test edi, edi
jg 0x4451dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4451dc
xor bl, bl
test bl, bl
je 0x4451fd
mov eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
call fcn.00445210
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret
pop edi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret
Function at 0x452220
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
xor ebx, ebx
push edi
cmp byte [0x57bf7b], bl
je 0x45227c
mov eax, dword [esi + 0x12ac]
mov ecx, dword [esi + 0x12a8]
push ebx
push eax
push ecx
lea ecx, [esi + 0x224]
call fcn.0051c380
mov eax, dword [esi + 0x228]
test eax, eax
je 0x452261
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, 1
jmp 0x4522a5
mov edx, dword [esi + 0x224]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x224], 6
mov ebx, 1
jmp 0x4522a5
mov eax, dword [esi + 0x228]
test eax, eax
je 0x452291
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4522a5
mov ecx, dword [esi + 0x224]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0x224], 6
cmp byte [0x57bf7c], 0
je 0x4522ff
mov eax, dword [esi + 0x12b0]
mov ecx, dword [esi + 0x12a8]
imul eax, ebx
add eax, dword [esi + 0x12ac]
push 0
push eax
push ecx
lea ecx, [esi + 0x4d0]
call fcn.0051c380
mov eax, dword [esi + 0x4d4]
test eax, eax
je 0x4522e8
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
inc ebx
jmp 0x452328
mov edx, dword [esi + 0x4d0]
sal byte [ebp - 8], 0x33
shr bl, 9
mov eax, 1
jl 0x452338
neg eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x452a30
Capabilities:
Inspect section memory permissions

Disassembly:
test eax, 0xeb0c5d89
push es
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x452a54
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x452a72
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x452ad0
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x452ab7
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x452ac0
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x452aca
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x452aac
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x452a36
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x452b1d
dec eax
je 0x452b14
sub eax, 3
je 0x452b0b
mov dword [ebp - 4], 0x40
jmp 0x452b3a
mov dword [ebp - 4], 4
jmp 0x452b20
mov dword [ebp - 4], 0x20
jmp 0x452b20
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x452b6c
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x452aec
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0045237d
mov ch, 0xb3
xchg esp, eax
movsb byte es:[edi], byte [esi]
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x452b78
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x452bf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [esi - 0x3a]
test dword [edx + 0x6dfffffc], edi
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0045238d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00452342
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
Function at 0x46a550
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f95b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor al, al
cmp dword [ebp + 0xc], 0
mov byte [ebp - 0x11], al
je 0x46a743
cmp dword [ebp + 0x10], 0
je 0x46a743
mov edx, dword [ebp + 8]
cmp dword [edx + 0xe54], 0
je 0x46a743
cmp dword [edx + 0xe7c], 0x64
jle 0x46a743
mov esi, dword [edx + 0xf38]
mov ebx, dword [edx + 0xf34]
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x18], esi
call fcn.00475530
mov dword [ebp - 4], 0
mov edi, dword [edx + 0xe3c]
push esi
mov esi, eax
call fcn.004756a0
mov edi, eax
xor eax, eax
cmp edi, eax
je 0x46a728
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xf2c]
mov edx, dword [esi + 0xf30]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
lea ecx, [esi + 0x2c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
call fcn.0040a670
test al, al
je 0x46a62b
push 8
push edi
call dword [sym.imp.GDI32.dll_SetLayout]
mov edx, edi
lea ecx, [esi + 0x264]
call fcn.00458f50
mov eax, dword [esi + 0xe54]
push eax
lea edi, [ebp - 0x44]
lea eax, [esi + 0x264]
call fcn.004590d0
lea eax, [esi + 0x264]
call fcn.00458f80
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x46a728
lea eax, [ebp - 0x5c]
call fcn.004425d0
push 0x18
mov byte [ebp - 4], 1
call fcn.00475a30
test eax, eax
je 0x46a714
mov ecx, dword [ebp + 0xc]
push ecx
lea eax, [ebp - 0x24]
call fcn.00507290
mov esi, 0x54ede0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00508170
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x24]
call fcn.00508170
mov esi, dword [ebp - 0x24]
mov ecx, esi
test esi, esi
jne 0x46a6b4
mov ecx, 0x54ee24
lea edx, [ebp - 0x5c]
call fcn.004427c0
mov bl, al
test bl, bl
je 0x46a6e2
test esi, esi
jne 0x46a6cb
mov esi, 0x54ee24
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00507320
jmp 0x46a717
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xe3c]
sub ecx, 0x70
neg ecx
sbb ecx, ecx
and ecx, 0xffffffd8
push 0
add ecx, 0xa43d
push eax
call fcn.00427ed0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00507320
jmp 0x46a717
mov bl, byte [ebp - 0x11]
lea esi, [ebp - 0x5c]
call fcn.00475b10
mov ecx, esi
call fcn.00442660
jmp 0x46a72b
mov bl, byte [ebp - 0x11]
lea eax, [ebp - 0x9c]
call fcn.004756e0
lea ecx, [ebp - 0x9c]
call fcn.004755a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x300c7cde
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push esi
lea eax, [ebp - 0x1c]
push eax
mov esi, str.Windows
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov eax, dword [ebp - 0xc]
dec eax
je 0x300c7d43
dec eax
jne 0x300c7d57
cmp dword [ebp - 0x18], 6
jne 0x300c7d16
mov esi, str.Windows_Vista
jmp 0x300c7d57
cmp dword [ebp - 0x18], 5
jne 0x300c7d36
cmp dword [ebp - 0x14], 1
jne 0x300c7d29
mov esi, str.Windows_XP
jmp 0x300c7d57
cmp dword [ebp - 0x14], 0
jne 0x300c7d57
mov esi, str.Windows_2000
jmp 0x300c7d57
cmp dword [ebp - 0x18], 4
jne 0x300c7d57
mov esi, str.Windows_NT
jmp 0x300c7d57
cmp dword [ebp - 0x14], 0
jbe 0x300c7d50
mov esi, str.Windows_98_ME
jmp 0x300c7d57
jne 0x300c7d57
mov esi, str.Windows_95
mov eax, esi
pop esi
add ebp, 0x78
leave
ret

Function at 0x300c7fd4
Capabilities:
Check os version
Delete file
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xb4
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0x30], 2
jne 0x300c8003
cmp dword [ebp - 0x3c], 6
jb 0x300c8003
mov al, 1
jmp 0x300c80f7
push ebx
lea eax, [ebp + 0x70]
push eax
push str.SoftwareMacromediaFlashPlayer
xor ebx, ebx
push reloc.oleaut32.dll_SysReAllocString
mov dword [ebp + 0x70], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp eax, ebx
jne 0x300c8063
push esi
push str.AutoUpdate
lea ecx, [ebp + 0x54]
call fcn.30032e0f
mov eax, dword [ebp + 0x58]
inc eax
push eax
push dword [ebp + 0x54]
push 1
push ebx
push str.AutoUpdateTest
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x70]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x70], ebx
call fcn.300046b5
cmp esi, ebx
pop esi
je 0x300c806a
xor al, al
jmp 0x300c80f6
lea ecx, [ebp + 0x60]
call fcn.30031759
mov ecx, dword [ebp + 0x7c]
lea eax, [ebp + 0x60]
push eax
call fcn.300fd303
test al, al
je 0x300c80ec
push str.Macromed
lea ecx, [ebp + 0x60]
call fcn.300fd303
push 0x3023b70c
lea ecx, [ebp + 0x60]
call fcn.300fd303
push str.testUpdate.txt
lea ecx, [ebp + 0x60]
call fcn.300fd303
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
lea ecx, [ebp + 0x60]
call fcn.30031883
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp eax, ebx
je 0x300c80ec
cmp eax, 0xffffffff
je 0x300c80ec
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
je 0x300c80ec
lea ecx, [ebp + 0x60]
call fcn.30031883
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
je 0x300c80ec
mov bl, 1
lea ecx, [ebp + 0x60]
call fcn.300315be
mov al, bl
pop ebx
add ebp, 0x74
leave
ret

Function at 0x300c8ad4
Capabilities:
Identify system language via api

Disassembly:
cmp dword [esp + 4], 7
jl 0x300c8ae8
call fcn.300fd303
test ax, ax
jne 0x300c8aee
xor eax, eax
ret
call dword [sym.imp.kernel32.dll_GetUserDefaultLangID]
push eax
call fcn.300c7d8f
add esp, 4
ret