joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a8c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
or ebp, 0xffffffff
jmp 0x40a8e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40a8e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40a8d8
mov eax, 1
add ebx, ebx
jne 0x40a8fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40a8f0
jne 0x40a90c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a8f0
xor ecx, ecx
sub eax, 3
jb 0x40a920
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40a992
mov ebp, eax
add ebx, ebx
jne 0x40a92b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40a938
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40a95c
inc ecx
add ebx, ebx
jne 0x40a948
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40a93d
jne 0x40a959
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a93d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40a97c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40a96d
jmp 0x40a8de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40a97c
add edi, ecx
jmp 0x40a8de
pop esi
mov edi, esi
mov ecx, 0x8a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40a99a
cmp byte [edi], 3
jne 0x40a99a
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 eax, ebx
loop 0x40a99f
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40aa0e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40a9cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa02c]
or eax, eax
je 0x40aa08
mov dword [ebx], eax
add ebx, 4
jmp 0x40a9e9
call dword [esi + 0xa030]
popal
jmp 0x401350
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
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
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219

Function at 0x800a980
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
or ebp, 0xffffffff
jmp 0x800a9a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x800a9a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x800a998
mov eax, 1
add ebx, ebx
jne 0x800a9bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x800a9b0
jne 0x800a9cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x800a9b0
xor ecx, ecx
sub eax, 3
jb 0x800a9e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x800aa52
mov ebp, eax
add ebx, ebx
jne 0x800a9eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x800a9f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x800aa1c
inc ecx
add ebx, ebx
jne 0x800aa08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x800a9fd
jne 0x800aa19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x800a9fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x800aa3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x800aa2d
jmp 0x800a99e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x800aa3c
add edi, ecx
jmp 0x800a99e
pop esi
mov edi, esi
mov ecx, 0x19
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x800aa5a
cmp byte [edi], 1
jne 0x800aa5a
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 0x800aa5f
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x800aace
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc10c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc164]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x800aa8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc16c]
or eax, eax
je 0x800aac8
mov dword [ebx], eax
add ebx, 4
jmp 0x800aaa9
call dword [esi + 0xc168]
mov ebp, dword [esi + 0xc170]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x800ab02
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x409e92
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, word [ebp + 8]
push ebx
push esi
push edi
push 0xa
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
je 0x409f18
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, esi
je 0x409f18
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, esi
je 0x409f18
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.0042dc1e
mov eax, dword [eax + 4]
pop ecx
cmp eax, esi
pop ecx
jne 0x409ef1
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 1
lea ecx, [ebp - 0x14]
mov edi, eax
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
cmp edi, esi
jne 0x409f1c
xor al, al
jmp 0x409f38
lea eax, [ebp + 8]
push esi
push eax
mov dword [ebp + 8], esi
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41b148
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
push esi
push esi
push esi
push esi
push dword [edi]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], 8
call dword [sym.imp.WININET.dll_HttpSendRequestW]
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000005
push dword [edi]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
pop edi
pop esi
leave
ret
Function at 0x4233f6
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x441f24
call fcn.0043de50
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push esi
mov dword [ebp - 4], 8
call edi
lea eax, [esi + 0x18]
push eax
call edi
lea eax, [esi + 0x30]
push eax
call edi
lea eax, [esi + 0x48]
push eax
call edi
lea eax, [esi + 0x60]
push eax
call edi
lea eax, [esi + 0x78]
push eax
call edi
lea eax, [esi + 0x90]
push eax
call edi
lea eax, [esi + 0xa8]
push eax
call edi
lea eax, [esi + 0xc0]
push eax
call edi
lea eax, [esi + 0xd8]
push eax
call edi
lea ecx, [esi + 0x468]
call fcn.00406b42
lea ecx, [esi + 0x438]
mov byte [ebp - 4], 7
call fcn.00406aa1
lea edi, [esi + 0x418]
mov dword [ebp - 0x14], edi
push 1
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
mov ecx, edi
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esi + 0x3c8]
mov byte [ebp - 4], 5
call fcn.004084c4
lea edi, [esi + 0x3a8]
mov dword [ebp - 0x14], edi
push 1
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
mov ecx, edi
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esi + 0x348]
mov byte [ebp - 4], 3
call fcn.00406669
lea ecx, [esi + 0x318]
mov byte [ebp - 4], 2
call fcn.0040655d
mov byte [ebp - 4], 1
lea ecx, [esi + 0x2d8]
call fcn.004064ac
and byte [ebp - 4], 0
lea ecx, [esi + 0x208]
call fcn.004063c5
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xf0]
call fcn.0040532f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x424a1e
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x442113
call fcn.0043de50
sub esp, 0x7c8
push ebx
lea eax, [ebp - 0x18]
push esi
xor ebx, ebx
push eax
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], bl
mov byte [ebp - 0x12], bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
push esi
call fcn.00424b9c
add esp, 0xc
cmp byte [ebp - 0x14], bl
je 0x424a68
call fcn.00424c12
push dword [ebp - 0x12]
lea ecx, [ebp - 0x7d4]
push dword [ebp + 8]
call fcn.00405086
cmp byte [ebp - 0x13], bl
mov dword [ebp - 4], ebx
jne 0x424ac2
call fcn.00424d75
test al, al
jne 0x424ac2
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00424de1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push ebx
call fcn.00424cfc
add esp, 0x14
mov byte [ebp - 4], bl
test al, al
push 1
lea ecx, [ebp - 0x28]
je 0x424abc
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x424b1c
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
push ebx
call fcn.0042490c
push ebx
push ebx
push ebx
push 4
push 6
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call fcn.00424942
add esp, 0x2c
lea eax, [ebp - 0x7d4]
lea ecx, [ebp - 0x248]
push eax
call fcn.0043bd0f
push dword [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00424b3d
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.004281a4
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], bl
call fcn.0043bd60
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7d4]
call fcn.00405487
mov ecx, dword [ebp - 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x424c12
Capabilities:
Terminate process

Disassembly:
mov eax, 0x44213b
call fcn.0043de50
sub esp, 0x23c
push esi
lea eax, [ebp - 0x248]
push 0x104
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov al, byte [ebp - 0xd]
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00427e2f
push str._test
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__
add esp, 0x14
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [ebp - 0x2c]
cmp eax, esi
jne 0x424cb7
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, esi
pop esi
je 0x424cd9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffffb
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x424cfc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
lea eax, [ebp - 0x244]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x424d71
push edi
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x244]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], str.runas
mov dword [ebp - 0x20], 1
mov eax, dword [eax + 4]
pop edi
test eax, eax
jne 0x424d5c
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
neg eax
sbb eax, eax
neg eax
leave
ret
xor al, al
leave
ret
Function at 0x427ae4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0042dc1e
mov eax, dword [ebp - 0xc]
pop ecx
test eax, eax
pop ecx
jne 0x427b04
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427b19
test al, 0x10
je 0x427b19
mov bl, 1
jmp 0x427b1b
xor bl, bl
push 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov al, bl
pop ebx
leave
ret

Function at 0x427b2b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0042dc1e
mov eax, dword [ebp - 0xc]
pop ecx
test eax, eax
pop ecx
jne 0x427b4b
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427b60
test al, 0x10
jne 0x427b60
mov bl, 1
jmp 0x427b62
xor bl, bl
push 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov al, bl
pop ebx
leave
ret

Function at 0x4281a4
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
push esi
push edi
push 0x10
xor esi, esi
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
mov dword [ebp - 0x54], esi
rep stosd dword es:[edi], eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x25c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x66c]
push dword [0x452ce8]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x8000000
push esi
push esi
lea eax, [ebp - 0x66c]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
pop edi
pop esi
leave
ret
Function at 0x42e56f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push edi
push 0x7d
pop ecx
xor eax, eax
lea edi, [ebp - 0x308]
push 0x45
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x30c], 0x1f8
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 6
pop edi
jae 0x42e5c3
sub dword [ebp - 0x30c], 4
lea eax, [ebp - 0x30c]
push 0
push eax
push 0x1f8
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x174]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
leave
ret

Function at 0x42eca5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov bl, byte [ebp + 8]
neg bl
sbb ebx, ebx
push esi
and ebx, 5
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ecx
push ebx
push dword [esi + 4]
call edi
push str._Checkbox_Stub_
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetPropW]
cmp byte [esi + 0x5c], 0
je 0x42ecdb
push 0
jmp 0x42ecdc
push ebx
push eax
call edi
push dword [ebp + 8]
lea ecx, [esi + 8]
call fcn.0042fb35
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x42f56c
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x442999
call fcn.0043de50
push ecx
mov al, byte [ebp + 0xb]
push ebx
push esi
mov esi, ecx
push edi
push 0
mov dword [ebp - 0x10], esi
mov byte [esi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ebx, dword [ebp + 8]
and dword [ebp - 4], 0
lea edi, [esi + 0x10]
push 0
mov al, byte [ebx]
mov ecx, edi
mov byte [edi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov ecx, edi
push dword [eax]
push 0
push ebx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x30], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x42f57b
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x442999
call fcn.0043de50
push ecx
mov al, byte [ebp + 0xb]
push ebx
push esi
mov esi, ecx
push edi
push 0
mov dword [ebp - 0x10], esi
mov byte [esi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ebx, dword [ebp + 8]
and dword [ebp - 4], 0
lea edi, [esi + 0x10]
push 0
mov al, byte [ebx]
mov ecx, edi
mov byte [edi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov ecx, edi
push dword [eax]
push 0
push ebx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x30], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x42fa0d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x442a4b
call fcn.0043de50
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov al, byte [ebp + 0xb]
mov byte [esi + 4], al
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov al, byte [ebp + 0xb]
lea ecx, [esi + 0x14]
push edi
mov dword [ebp - 4], edi
mov byte [ecx], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x40], edi
mov byte [esi + 0x34], 1
mov dword [esi + 0x2c], 0x96
mov dword [esi + 0x30], 0xf
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4