joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405610
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.00427360
mov eax, dword [0x49afc4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0x10]
push 0x4000
push 0
push eax
call fcn.00433350
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x405708
test edi, edi
je 0x405708
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x405708
cmp eax, 0x3fff
ja 0x405708
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x405708
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x484570
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x405708
mov esi, dword [ebp + 0x14]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.00433350
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [esi - 1]
push eax
push edi
call fcn.004074f0
add esp, 0x28
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042734a
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0042734a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x405d50
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x405d75
test byte [ebp - 4], 7
je 0x405d75
mov eax, 1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x406e50
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x494a68
push 0x434530
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x49afc4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
test edi, edi
je 0x406f18
cmp word [edi], si
je 0x406f18
test eax, eax
je 0x406ece
cmp word [eax], si
je 0x406ece
push esi
push esi
push eax
push edi
push esi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x406f18
mov esi, 1
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x406f37
push 0x410
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.00433350
add esp, 0xc
push 0
push 0
push 0x104
lea eax, [ebp - 0x42c]
push eax
push edi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x406f18
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 1
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x406f37
test esi, esi
setne al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0042734a
mov esp, ebp
pop ebp
ret
Function at 0x407340
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x407399
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407399
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40738a
cmp esi, edx
jae 0x407399
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x407378
cmp esi, edx
jae 0x407399
cmp word [esi], 0
je 0x407399
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4088b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x49afc4]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ebp + 8]
mov eax, dword [ebp + 0x48]
push esi
movups xmmword [ebp - 0x48], xmm0
mov esi, dword [ebp + 0x8c]
movups xmm0, xmmword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x90]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x4c], esi
mov dword [edi + 0x40], esi
movups xmm0, xmmword [ebp + 0x28]
movups xmmword [ebp - 0x28], xmm0
movups xmm0, xmmword [ebp + 0x38]
movups xmmword [ebp - 0x18], xmm0
movups xmm0, xmmword [ebp + 0x4c]
movups xmmword [ebp - 0x8c], xmm0
movups xmm0, xmmword [ebp + 0x5c]
movups xmmword [ebp - 0x7c], xmm0
movups xmm0, xmmword [ebp + 0x6c]
movups xmmword [ebp - 0x6c], xmm0
movups xmm0, xmmword [ebp + 0x7c]
movups xmmword [ebp - 0x5c], xmm0
test esi, esi
jle 0x408a34
cmp esi, 0x40
jb 0x408a1d
lea edx, [esi - 1]
lea ecx, [ebp + esi - 0x49]
add edx, edi
cmp edi, ecx
ja 0x408957
lea ecx, [ebp - 0x48]
cmp edx, ecx
jae 0x408a1d
lea ecx, [ebp + esi - 0x8d]
cmp edi, ecx
ja 0x408970
lea ecx, [ebp - 0x8c]
cmp edx, ecx
jae 0x408a1d
mov ecx, esi
push ebx
and ecx, 0x8000003f
jns 0x408980
dec ecx
or ecx, 0xffffffc0
inc ecx
mov ebx, esi
lea edx, [edi + 0x20]
sub ebx, ecx
mov dword [ebp - 0x98], edx
mov esi, edi
lea ecx, [ebp - 0x38]
sub esi, ecx
sub ecx, edi
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x7c]
sub ecx, edi
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x94], ecx
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x48]
lea ecx, [ebp - 0x38]
add edx, eax
movups xmm1, xmmword [ebp + eax - 0x8c]
add ecx, eax
pxor xmm1, xmm0
movups xmm0, xmmword [ecx]
movups xmmword [esi + ecx], xmm1
mov ecx, dword [ebp - 0x94]
movups xmm1, xmmword [ebp + eax - 0x7c]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x6c]
movups xmmword [edx - 0x10], xmm1
movups xmm1, xmmword [ebp + eax - 0x28]
add eax, 0x40
pxor xmm1, xmm0
movups xmm0, xmmword [edi + edx]
movups xmmword [edx], xmm1
movups xmm1, xmmword [ecx + edx]
pxor xmm1, xmm0
movups xmmword [edx + 0x10], xmm1
mov edx, dword [ebp - 0x98]
cmp eax, ebx
jl 0x4089b0
mov esi, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa0]
pop ebx
cmp eax, esi
jge 0x408a34
mov cl, byte [ebp + eax - 0x8c]
xor cl, byte [ebp + eax - 0x48]
mov byte [edi + eax], cl
inc eax
cmp eax, esi
jl 0x408a21
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042734a
mov esp, ebp
pop ebp
ret
Function at 0x40f320
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
ret
Function at 0x411300
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480fa5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x49afc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], vtable.ILayerWindow.0
lea eax, [esi + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CMessageBox.0
mov dword [esi + 0x20], vtable.CMessageBox.1.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 1
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov eax, dword [eax]
mov ecx, dword [eax - 0x10]
lea edi, [eax - 0x10]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x4113c9
cmp ecx, dword [edi]
jne 0x4113c9
lock inc dword [eax]
jmp 0x4113f7
mov eax, dword [ecx]
lea ebx, [edi + 4]
push 2
push dword [ebx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x4114a5
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov eax, dword [ebx]
inc eax
push eax
push dword [ebp + 8]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.00407a20
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], eax
mov eax, dword [ebp + 0x10]
push 0xa4
mov byte [ebp - 4], 1
mov dword [esi + 0x84], eax
call fcn.004273bc
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x41148a
mov ecx, eax
call fcn.00421450
test eax, eax
jne 0x41148c
xor eax, eax
mov dword [esi + 0x28], eax
mov eax, esi
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
call fcn.004021c0
int3
Function at 0x413850
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.00413f40
mov ecx, eax
call fcn.0040b980
test eax, eax
je 0x413886
mov edx, dword [pe_dos_header]
lea eax, [esi + 4]
xor ecx, ecx
cmp esi, 0x70
cmove eax, ecx
push eax
push ecx
call dword [edx + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi - 0x6c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4138d5
push dword [ebp - 4]
lea edi, [esi - 0x70]
lea eax, [edi + 0x20]
push eax
push 0x49ae50
push 0x49adb0
push 0x49c99c
call fcn.00413200
movzx ebx, ax
add esp, 0x14
mov eax, dword [edi + 0x14]
mov dword [ebp - 4], ebx
test eax, eax
jne 0x4138fd
call fcn.0041c2a1
mov dword [edi + 0x14], eax
test eax, eax
jne 0x4138fd
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
push dword [esi - 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [pe_dos_header]
lea eax, [esi + 4]
xor edx, edx
cmp esi, 0x70
cmove eax, edx
push eax
push edx
call dword [ecx + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push eax
call fcn.0041c3a3
test bx, bx
je 0x4138d5
lea ebx, [edi + 8]
test ebx, ebx
je 0x41398e
test edi, edi
je 0x41398e
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x49adb4
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x49adcc]
mov dword [ebx + 8], eax
push 0x49adb4
mov dword [0x49adcc], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x49ade0]
mov eax, dword [0x49ade8]
mov edx, dword [0x49addc]
sub eax, ecx
push 0
push dword [0x49c9a0]
push 0
push 0
push eax
mov eax, dword [0x49ade4]
sub eax, edx
push eax
mov eax, dword [ebp - 4]
push ecx
push edx
push 0x86020000
push 0
movzx eax, ax
push eax
push 0x80000
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x4138d5
push 1
push 0xc0000005
call fcn.0040ce80
int3

Function at 0x413b60
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi - 0x6c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x413b7b
push 0
push dword [esi - 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x414be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x49afc4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str.OnUninstallStart_callback...
call fcn.0040d5c0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00433350
add esp, 0x10
mov dword [ebp - 0x214], 1
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.InstallDate
push str.SOFTWAREAnything
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x414c81
lea edx, [ebp - 0x20c]
lea ecx, [esi + 0x1c]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x414c65
sub edx, esi
lea eax, [ebp - 0x20c]
sar edx, 1
push edx
push eax
call fcn.00406cd0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042734a
mov esp, ebp
pop ebp
ret 4
Function at 0x418450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4818d6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x49afc4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x4184fc
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x4184fc
call fcn.00416ed0
mov edi, eax
jmp 0x41861b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x41851f
call fcn.00416ed0
jmp 0x41860e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x41853d
call fcn.00416ed0
jmp 0x41860e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x41855e
mov edi, 0x8007000e
jmp 0x418610
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x418654
jb 0x41857c
cmp eax, 0xffffffff
ja 0x418654
cmp eax, 0x400
jbe 0x418591
push eax
lea ecx, [ebp - 0x418]
call fcn.00416df0
jmp 0x4185b7
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x4185b7
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x4185ce
mov edi, 0x8007000e
jmp 0x418610
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4185ee
call fcn.00416ed0
jmp 0x41860e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.004182b0
mov edi, eax
test esi, esi
je 0x41861b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x418634
lea ecx, [ebp - 0x418]
call fcn.00417160
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042734a
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00401bd0
int3
Function at 0x426480
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4264a9
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 4], 0
movzx eax, word [ebp + 8]
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
jne 0x4264ca
xor esi, esi
jmp 0x4265bd
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x4265bd
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
test eax, eax
jne 0x4264fb
xor esi, esi
jmp 0x4265bd
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x426518
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x4265bd
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x426538
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x4265bd
push esi
push dword [ebp + 8]
push eax
call fcn.00432dd0
add esp, 0xc
mov dword [ebp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0x10]
xor esi, esi
test eax, eax
je 0x426562
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 0x10]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4265a9
mov edi, dword [ebp + 0x10]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x4265a5
lea eax, [ebp + 8]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push edi
mov dword [ebp + 8], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
jmp 0x4265b0
xor esi, esi
jmp 0x4265b0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4265bd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebx + 4], esi
pop edi
test esi, esi
jne 0x4265cd
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x4265e7
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebx + 4]
mov dword [ebx + 8], eax
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 0x10], 0
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x42660a
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov ecx, ebx
mov dword [ebx + 0xc], eax
call fcn.00426300
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x42d210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042cd80
Function at 0x42e4f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482873
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x49afc4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x80], 0
mov dword [edi], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0042b570
mov eax, dword [ebp - 0x80]
add esp, 8
test eax, eax
je 0x42e703
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
call esi
test eax, eax
je 0x42e703
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x42e703
push eax
call esi
test eax, eax
je 0x42e703
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
push 0x201
push dword [ebp - 0x80]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
push SysReAllocStringLen
call fcn.0042e440
mov esi, dword [ebp - 0x90]
test eax, eax
jne 0x42e6f4
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00433350
add esp, 0xc
mov dword [ebp - 0x78], 0x64
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x84]
push eax
push 0
push dword [ebp - 0x7c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42e6f4
mov eax, dword [ebp - 0x84]
cmp eax, 1
je 0x42e61b
cmp eax, 2
jne 0x42e6f4
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x42e63c
test cl, 1
jne 0x42e6f4
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x42e642
jmp 0x42e6f4
xor eax, eax
mov word [ebp - 0x74], ax
shr ecx, 1
cmp ecx, 0x2d
jne 0x42e6f4
lea ecx, [ebp - 0x78]
call fcn.0042c7e0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x78]
call fcn.0042c8c0
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0
push eax
lea eax, [ebp - 0x20]
push 0x4845a8
push eax
call fcn.00402240
push 0x2a
push dword [ebp - 0x78]
call fcn.0042cd80
movzx eax, al
add esp, 0x14
cmp dword [ebp - 0x84], eax
jne 0x42e6ec
lea edx, [ebp - 0x74]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42e6a2
sub edx, ecx
lea eax, [ebp - 0x74]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.0042c550
push dword [0x49b000]
lea eax, [ebp - 0x74]
push dword [0x49affc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x42e6dd
mov dword [edi], 1
lea ecx, [ebp - 0x78]
call fcn.0042b900
mov edi, 1
jmp 0x42e6f6
lea ecx, [ebp - 0x78]
call fcn.0042b900
xor edi, edi
test esi, esi
je 0x42e705
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42e705
xor edi, edi
push dword [ebp - 0x7c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x80]
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042734a
mov esp, ebp
pop ebp
ret
Function at 0x42e740
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x42e755
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e760
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x431a30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x431aa1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x431a6f
cmp eax, 2
jne 0x431a8b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x431a9b
test ecx, ecx
je 0x431a96
test cl, 1
jne 0x431a8b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x431a9b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc