joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409b87
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 0x409c0d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, esi
je 0x409c0d
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 0x409c0d
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.0042d2b7
mov eax, dword [eax + 4]
pop ecx
cmp eax, esi
pop ecx
jne 0x409be6
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 0x409c11
xor al, al
jmp 0x409c2d
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 0x41ac4c
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 0x422cc8
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x441134
call fcn.0043d060
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.004068d8
lea ecx, [esi + 0x438]
mov byte [ebp - 4], 7
call fcn.00406837
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.004081b9
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.004063ff
lea ecx, [esi + 0x318]
mov byte [ebp - 4], 2
call fcn.004062f3
mov byte [ebp - 4], 1
lea ecx, [esi + 0x2d8]
call fcn.00406242
and byte [ebp - 4], 0
lea ecx, [esi + 0x208]
call fcn.0040615b
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xf0]
call fcn.004050c5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x424369
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x441323
call fcn.0043d060
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.004244e7
add esp, 0xc
cmp byte [ebp - 0x14], bl
je 0x4243b3
call fcn.0042455d
push dword [ebp - 0x12]
lea ecx, [ebp - 0x7d4]
push dword [ebp + 8]
call fcn.00404e1c
cmp byte [ebp - 0x13], bl
mov dword [ebp - 4], ebx
jne 0x42440d
call fcn.004246c0
test al, al
jne 0x42440d
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0042472c
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push ebx
call fcn.00424647
add esp, 0x14
mov byte [ebp - 4], bl
test al, al
push 1
lea ecx, [ebp - 0x28]
je 0x424407
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 0x424467
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.00424257
push ebx
push ebx
push ebx
push 4
push 6
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call fcn.0042428d
add esp, 0x2c
lea eax, [ebp - 0x7d4]
lea ecx, [ebp - 0x248]
push eax
call fcn.0043b032
push dword [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00424488
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00427a21
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], bl
call fcn.0043b083
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7d4]
call fcn.0040521d
mov ecx, dword [ebp - 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x42455d
Capabilities:
Terminate process

Disassembly:
mov eax, 0x44134b
call fcn.0043d060
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.004276ac
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 0x424602
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 0x424624
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffffb
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x424647
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 0x4246bc
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 0x4246a7
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 0x427361
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.0042d2b7
mov eax, dword [ebp - 0xc]
pop ecx
test eax, eax
pop ecx
jne 0x427381
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 0x427396
test al, 0x10
je 0x427396
mov bl, 1
jmp 0x427398
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 0x4273a8
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.0042d2b7
mov eax, dword [ebp - 0xc]
pop ecx
test eax, eax
pop ecx
jne 0x4273c8
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 0x4273dd
test al, 0x10
jne 0x4273dd
mov bl, 1
jmp 0x4273df
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 0x427a21
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 [0x451bc8]
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 0x42dc08
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 0x42dc5c
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 0x42e33e
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 0x42e374
push 0
jmp 0x42e375
push ebx
push eax
call edi
push dword [ebp + 8]
lea ecx, [esi + 8]
call fcn.0042f1ce
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x42ec05
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x441ba9
call fcn.0043d060
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 0x42ec14
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x441ba9
call fcn.0043d060
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 0x42f0a6
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x441c5b
call fcn.0043d060
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
Function at 0x430d2d
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 0x430d81
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 0x434e6c
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
push 1
push eax
push eax
push str.http:__megadowl.com_terms_ru.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x438e76
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 0x41e
push dword [esi + 0xc]
je 0x438ee3
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebx
push 0x41f
push dword [esi + 0xc]
call edi
push 5
push eax
call ebx
push 0x420
push dword [esi + 0xc]
call edi
push 5
push eax
call ebx
push 0x421
push dword [esi + 0xc]
call edi
push 0
push eax
call ebx
mov esi, dword [esi + 0x244]
test esi, esi
je 0x438f1d
mov eax, dword [esi]
push 0xffffffffffffffff
push esi
call dword [eax + 0xa4]
jmp 0x438f1d
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x41f
push dword [esi + 0xc]
call edi
push 0
push eax
call ebx
push 0x420
push dword [esi + 0xc]
call edi
push 0
push eax
call ebx
push 0x421
push dword [esi + 0xc]
call edi
push 5
push eax
call ebx
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x43a93f
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
xor edi, edi
pop ecx
cmp eax, edi
je 0x43a959
mov dword [eax], edi
mov dword [eax + 4], edi
jmp 0x43a95b
xor eax, eax
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.MSVCRT.dll__beginthreadex]
push edi
push edi
push eax
mov dword [eax], ecx
mov ecx, dword [esi + 0xc]
push 0x4099dc
push edi
push edi
mov dword [eax + 4], ecx
call ebx
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x1c
cmp eax, edi
je 0x43a98d
mov dword [eax], edi
mov dword [eax + 4], edi
jmp 0x43a98f
xor eax, eax
mov ecx, dword [esi + 4]
push edi
push edi
push eax
mov dword [eax], ecx
mov ecx, dword [esi + 0xc]
push 0x4099a4
push edi
push edi
mov dword [eax + 4], ecx
call ebx
add esp, 0x18
pop edi
pop esi
pop ebx
ret

Function at 0x43ad6a
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi]
push edi
call dword [eax + 0x10]
push 1
mov ecx, esi
call fcn.0043ae38
mov ecx, dword [esi + 0x14]
cmp ecx, edi
je 0x43ad8c
mov eax, dword [ecx]
push edi
call dword [eax + 0x10]
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
je 0x43ad9f
mov dword [eax], edi
mov dword [eax + 4], edi
jmp 0x43ada1
xor eax, eax
mov ecx, dword [esi + 4]
push edi
push edi
push eax
mov dword [eax], ecx
mov ecx, dword [esi + 0xc]
push 0x4099dc
push edi
push edi
mov dword [eax + 4], ecx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
pop edi
pop esi
ret

Function at 0x43b0d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [ebp + 8]
call fcn.00432ec6
xor eax, eax
push eax
push eax
push esi
push 0x43b523
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
push 1
pop eax
pop esi
pop ebp
ret 4
Function at 0x401000
Capabilities:
Compress data via winapi

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x14]
push edi
shl esi, 4
push esi
call fcn.00402fef
mov edi, eax
add esp, 4
test edi, edi
jne 0x401021
pop edi
pop esi
add esp, 8
ret
push ebx
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x40103a
pop ebx
pop edi
pop esi
add esp, 8
ret
push ebp
push str.RtlDecompressBuffer
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlGetCompressionWorkSpaceSize
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [esp + 0x20], 0
je 0x401098
test ebp, ebp
je 0x401098
test eax, eax
je 0x401098
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 2
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
push esi
push edi
push 2
call ebp
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
add esp, 8
ret
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 8
ret