joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403bfe
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
mov esi, dword [sym.imp.MSVCR71.dll__beginthreadex]
push edi
lea eax, [ebp - 8]
push eax
push 0x10000
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0
call esi
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x403c48
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0xc]
push edi
call esi
mov edi, eax
add esp, 0x18
test edi, edi
je 0x403c65
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403c6e
push dword [ebp + 0x14]
call dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x403ea1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push dword [ebp + 0x14]
call fcn.00403c75
test al, al
pop ecx
jne 0x403ecc
push 1
push str.Error:_could_not_find_Java_2_Runtime_Environment.
call fcn.0040346b
pop ecx
pop ecx
push 2
jmp 0x403f5b
push 0
push str.i386
push dword [ebp + 0x10]
call fcn.00402a76
add esp, 0xc
cmp eax, 1
jge 0x403ef5
push 1
push str.Error:_no_known_VMs.__check_for_corrupt_jvm.cfg_file_
call fcn.0040346b
pop ecx
pop ecx
push 1
jmp 0x403f5b
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004023ac
mov ebx, dword [ebp + 0x18]
push ebx
push dword [ebp + 0x10]
mov edi, eax
mov dword [ebp - 4], edi
mov byte [ebx], 0
call fcn.00403161
add esp, 0x14
test al, al
jne 0x403f61
push edi
call sub.MSVCR71.dll_strlen
push ebx
mov edi, eax
call sub.MSVCR71.dll_strlen
mov esi, str.Error:_no___s_JVM_at___s.
push esi
add edi, eax
call sub.MSVCR71.dll_strlen
add edi, eax
push edi
call sub.jli.dll_JLI_MemAlloc
push ebx
push dword [ebp - 4]
mov edi, eax
push esi
push edi
call dword [sym.imp.MSVCR71.dll_sprintf]
push 1
push edi
call fcn.0040346b
add esp, 0x28
push 4
call dword [sym.imp.MSVCR71.dll_exit]
pop edi
pop ebx
leave
ret
Function at 0x401040
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.00402500
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x110c]
mov dword [ebp - 0x110c], 0
push eax
push 0x1000
lea eax, [ebp - 0x1108]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x4010a5
mov ecx, dword [ebp - 0x110c]
xor eax, eax
shr ecx, 2
test ecx, ecx
je 0x4010a5
nop
lea edi, [ebp - 0x1108]
mov edx, dword [edi + eax*4]
lea edi, [edi + eax*4]
test edx, edx
jne 0x4010b6
inc eax
cmp eax, ecx
jb 0x401090
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040172a
mov esp, ebp
pop ebp
ret
push esi
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
lea eax, [ebp - 0x108]
push 0x82
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [edi]
xor ecx, ebp
pop esi
pop edi
call fcn.0040172a
mov esp, ebp
pop ebp
ret

Function at 0x401100
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push edi
push 0xf0000000
push 0x18
push 0
push 0
push eax
mov dword [ebp - 0x14], edx
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4011c5
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x800c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4011c5
push 0
push 0xa
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4011c5
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp - 0xc]
push 0x6610
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x4011c5
lea eax, [ebp - 0x14]
push eax
push edi
push 0
push 0
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x4011c5
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040172a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
xor ecx, ebp
pop esi
call fcn.0040172a
mov esp, ebp
pop ebp
ret
Function at 0x401aac
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x401ae1
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x401ade
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x401aea
add edx, 0x28
cmp edx, esi
jne 0x401acc
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x401ae7

Function at 0x401f29
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401f68
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401f68
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401f68
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401f68
cmp dword [ecx + 0x74], 0xe
jbe 0x401f68
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4014f0
Capabilities:
Check for sandbox username or hostname
Execute command
Get hostname

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push ecx
sub esp, 0x430
call fcn.004016b0
lea edx, [ebp - 0x418]
mov eax, 0
mov ecx, 0x100
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x41c], 0x400
lea eax, [ebp - 0x41c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x418]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetComputerNameA]
call eax
sub esp, 8
mov eax, dword [str.KITTY055]
add eax, 5
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
lea edx, [eax + 7]
test eax, eax
cmovs eax, edx
sar eax, 3
movzx eax, byte [ebp + eax - 0x418]
movsx edx, al
mov eax, dword [ebp - 0x14]
and eax, 7
mov ecx, eax
sar edx, cl
mov eax, edx
and eax, 1
test eax, eax
je 0x401594
mov dword [ebp - 0xc], 0x403020
mov dword [ebp - 0x10], 0x44
jmp 0x4015a2
mov dword [ebp - 0xc], 0x403080
mov dword [ebp - 0x10], 0xbd
mov dword [esp + 4], 0x40404d
mov dword [esp], str.malware.exe
call sub.msvcrt.dll_fopen
mov dword [ebp - 0x18], eax
jmp 0x4015dd
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
movzx eax, byte [eax]
movsx eax, al
xor al, 0xff
mov edx, eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.msvcrt.dll_fputc
mov eax, dword [ebp - 0x10]
lea edx, [eax - 1]
mov dword [ebp - 0x10], edx
test eax, eax
jne 0x4015bb
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov dword [esp], str.malware.exe
call sub.msvcrt.dll_system
mov eax, 0
lea esp, [ebp - 8]
pop ecx
pop edi
pop ebp
lea esp, [ecx - 4]
ret

Function at 0x401870
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.004025f0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.004025f0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]
Function at 0x4018d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x40606c]
test esi, esi
jle 0x4019f0
mov eax, dword [0x406070]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x401904
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401987
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x4018f0
mov dword [esp], ebx
call fcn.004022d0
mov edi, eax
test eax, eax
je 0x401a17
mov eax, dword [0x406070]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00402410
mov edx, dword [0x406070]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4019f7
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x401980
lea edx, [eax - 0x40]
and edx, 0xffffffbf
jne 0x401990
add dword [0x40606c], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x406070]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401980
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00401870
lea esi, cs:[esi]
nop
xor esi, esi
jmp 0x40190e
mov eax, dword [0x406070]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00401870
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00401870
lea esi, cs:[esi]
nop

Function at 0x401f40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x406088
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x406080]
sub esp, 4
test ebx, ebx
je 0x401f95
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
mov esi, eax
sub esp, 4
call edi
test esi, esi
je 0x401f8e
test eax, eax
jne 0x401f8e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401f70
mov dword [esp], 0x406088
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4022d0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x4022f5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x402300
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x4022f5
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x402348
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x40233e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40234a
add ecx, 1
add eax, 0x28
cmp esi, ecx
jne 0x402330
xor eax, eax
pop ebx
pop esi
ret
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
pop ss
mov ebp, esp
mov eax, dword [ebp + 8]
pop es
or eax, 0xc940c0c8
push eax
add ecx, 0x40
push 0x40d274
push ecx
call dword [0x6fc180]
dec eax
and eax, dword [edx]
inc ecx
fadd qword [ebx - 0x3f7af33c]
je 0x4017c7
push eax
invalid
add byte [esi - 0x75], ah
pushfd
hlt

Function at 0x407d20
Capabilities:
Encode data using xor

Disassembly:
or al, 0xdf
or al, 0xc1
or al, 0xc
or al, 0x41
mov ecx, 0xc0f0ccd
or al, 0xc
or al, 0xc
or al, 0xc
push 0xc
or al, 0xc
or al, 0xc
or al, 0xc
add dword [eax + esi*8], ecx
or al, 0xc
mov byte [esp + ecx], cl
stosb byte es:[edi], al
or al, 0xc
or al, 0xc
or al, 0x12
or al, 0xc
or al, 0xc
or al, 0xc
or al, 8
or al, 0x60
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0x7c
or al, 3
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0xc
cmpsd dword [esi], dword es:[edi]
or al, 0xc
or al, 0x73
or al, 4
sub cl, byte [esp + ecx]
or al, 0xc
mov ah, 0xc
or al, 0x1f
or al, 0xe7
push es
add al, byte [edx]
add ecx, dword [esi + eax]
or al, 0x9c
lodsb al, byte [esi]
or al, 7
or byte [esp + ecx + 0x32], cl
jle 0x407c85
invalid
or al, 5
or al, 0xc
add al, 0x8d
add eax, 0x8d040c0c
push edi
and al, 0xa2
jnp 0x407cc3
add byte [ecx - 0x11ff8509], cl
idiv dword [edx]
out dx, al
jp 0x407c0e
add byte [ecx + edi*2 + 0x40], al
add cl, bl
jns 0x407cd3
add byte [edx + 0x43214079], ah
jns 0x407cdb
add dh, ch
push ecx
inc eax
add byte [ebx - 0x72], dh
inc eax
add byte [eax], al
or byte [edi + 0x8080c08], al
or byte [eax], cl
or byte [eax], cl
or byte [edx + 8], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [ebx], ch
or byte [eax], cl
or byte ss:[eax], cl
ljmp 0x808
or byte [eax], cl
or byte [eax], cl
or byte [esi + 0x8080808], bh
or byte [eax], cl
or byte [eax], cl
or byte [ebx + 0x8e70808], cl
or byte [eax], cl
out 8, eax
or byte [edi + 0x8080808], ah
or byte [eax], cl
cmp ecx, dword [eax]
fadd dword [edi + 0x8f50808]
add dword [edx], eax
cmpsd dword [esi], dword es:[edi]
or byte [eax], cl
add cl, byte [eax]
or byte [ebx], al
or byte [eax + ecx], bl
push ebx
sbb eax, 0x8080808
pushal
add al, 1
or byte [edx + 8], bl
or byte [ecx + 8], ah
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
ja 0x407d10
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
test byte [eax], cl
or byte [0x84f0808], al
or byte [eax], cl
mov esp, 0x90908d90
nop
nop
nop
push ebp
mov ebp, esp
sub dword [eax + ebx*2 + 0x56], 0xffffff8d
pop eax
test al, 0x57
mov edi, dword [ebp + 0x10]
pushfd
dec ebp
cld
push eax
mov byte [ebp + 0xc], 0x8d
push ebp
or al, 0x51
mov ecx, dword [ebp + 0x2a]
push edx
push edi
push eax
push ecx
call 0x21757ef4
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
or dword [edi + 0x18], 0xffffff89
inc ebp
clc
test dword [esi + 0x674f313], ecx
add ch, byte [0x8d01728d]
dec edi
push dword [ebp + eax*4 + 0x435f7ec9]
cmp al, 0x41
xor byte [ebp + 6], dh
dec edi
dec ecx
test dword [edi + 0x7d891b7f], ecx
adc byte [ebx + 0x6e850c90], cl
jl 0x8cd7e22
mov dl, 0xcb
sub ecx, edi
and dword [ecx + 4], 0xf
invalid
Function at 0x40a2d0
Capabilities:
Encode data using xor

Disassembly:
invalid
push ebp
mov edi, 0x8455b2d
sahf
dec eax
loopne 0x40a25f
leave
jne 0x40a2fd
sub ebp, 0xc
push eax
call dword [0x16c038]
xor eax, eax
pop ebp
ret 4
cmp eax, 0x80
je 0x40a2e7
cmp eax, 0x102
push esi
jne 0x40a316
mov eax, 0x18189
pop esi
xor byte [ebx], cl
add al, 0
imul esi, dword [0x57fcc073], 0xdd85d6ff
jne 0x40a327
pop esi
pop ebp
popal
add al, 0
call esi
add eax, 0xd2c280
jbe 0x40a38d
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

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
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp loc.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..00cfg
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3f2b4612
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x10d91d58
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x402e40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], 0x41b4b0
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.PageMargin
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
leave
ret

Function at 0x402e80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea ecx, [ebp + 8]
sub esp, 0x1c
mov dword [ebp - 8], 0x10
mov eax, dword [ecx]
test eax, eax
je 0x402ece
lea edx, [ebp - 8]
mov dword [esp + 0x10], 0x41b4b0
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.PageMargin
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x402ee0
movdqa xmm0, xmmword [0x411530]
movaps xmmword [0x41b4b0], xmm0
leave
ret
cmp dword [ebp - 8], 0x10
jne 0x402ece
jmp 0x402edd

Function at 0x402ef0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], 0x41b444
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.PreviewPages
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
leave
ret

Function at 0x402f30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 4
test eax, eax
je 0x402f7b
lea edx, [ebp - 4]
mov dword [esp + 0x10], 0x41b444
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.PreviewPages
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x402f90
mov dword [0x41b444], 1
leave
ret
cmp dword [ebp - 4], 4
jne 0x402f7b
mov eax, dword [0x41b444]
test eax, eax
jle 0x402f7b
cmp eax, 2
jle 0x402f85
mov dword [0x41b444], 2
leave
ret
Function at 0x403df0
Capabilities:
Get graphical window text

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xa0
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov dword [0x41b440], 1
sub esp, 4
mov dword [ebp - 0x7c], eax
mov dword [0x41b458], 0
mov dword [0x41b4a0], ebx
mov dword [0x41b45c], 0
mov dword [0x41b498], 0
mov dword [0x41b49c], 0
mov dword [esp], edi
mov dword [esp + 4], 0x7d4
call dword [sym.imp.user32.dll_GetDlgItem]
xor edx, edx
mov ecx, 0x3f2
sub esp, 8
cmp dword [0x41b444], 1
mov ebx, eax
mov dword [esp], 6
setg dl
mov esi, edx
mov edx, 0x5a8
call fcn.00401b80
mov eax, ebx
mov ecx, 0x3f9
mov dword [esp], 7
mov edx, 0x5a9
add esi, 0x5ab
call fcn.00401b80
mov eax, ebx
mov ecx, 0x3fa
mov dword [esp], 8
mov edx, 0x5aa
call fcn.00401b80
mov edx, esi
mov eax, ebx
mov dword [esp], 9
mov ecx, 0x3fb
call fcn.00401b80
mov eax, ebx
mov ecx, 0x3fc
mov dword [esp], 0xa
mov edx, 0x5ad
call fcn.00401b80
mov eax, ebx
mov ecx, 0x3fd
mov dword [esp], 0xb
mov edx, 0x5ae
call fcn.00401b80
mov ecx, 0x3e8
mov eax, ebx
mov edx, 0x5af
mov dword [esp], 0xc
call fcn.00401b80
mov esi, dword [sym.imp.user32.dll_CreateWindowExW]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0
mov dword [esp + 4], 0x41142e
mov dword [esp], 0
call esi
mov edx, 0x16
mov dword [ebp - 0x70], 0x140
movq xmm0, qword [0x411508]
mov dword [ebp - 0x58], eax
mov eax, 0x5a
sub esp, 0x30
mov dword [ebp - 0x54], eax
mov eax, 0xd
mov dword [ebp - 0x50], edx
mov edx, 0x16
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x78]
movq qword [ebp - 0x78], xmm0
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x4c], 0x5a
mov dword [ebp - 0x34], 0x64
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov dword [esp + 0x2c], 0
mov eax, dword [ebp - 0x7c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0x7e0
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], 0xc8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50300000
mov dword [esp + 8], 0
mov dword [esp + 4], str.PrtPreview
mov dword [esp], 0
call esi
sub esp, 0x30
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
Function at 0x405200
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, edx
push ebx
lea edx, [ebp - 0xc]
mov ebx, eax
lea eax, [ebp - 0x10]
sub esp, 0x20
mov dword [ebp - 0xc], 0
call fcn.00405080
test eax, eax
je 0x405230
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
shl ebx, 2
mov dword [esp + 0x14], 4
add esi, ebx
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], esi
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 8], 0
mov dword [esp + 4], str.BarState0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call esi
sub esp, 0x18
mov dword [esp + 0x14], 4
add ebx, dword [ebp + 8]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.Wrap
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x10]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x4052c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
lea ebx, [eax*4]
lea esi, [ecx + ebx]
sub esp, 0x28
add ebx, dword [ebp + 8]
mov ecx, edx
mov dword [esi], 0
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
mov dword [ebx], 0
call fcn.00405080
test eax, eax
jne 0x405320
cmp dword [ebp - 0x14], 2
je 0x405330
mov dword [esi], 0xf
xor eax, eax
test edi, edi
sete al
mov dword [ebx], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 4
mov edx, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.BarState0
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov dword [ebp - 0x1c], edx
call edx
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
sub esp, 0x18
test eax, eax
mov eax, dword [ebp - 0x14]
je 0x405381
mov dword [esi], 0xf
cmp eax, 2
jne 0x405308
mov dword [ebp - 0x10], 4
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Wrap
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call edx
sub esp, 0x18
test eax, eax
je 0x405311
jmp 0x405308