joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408220
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43483b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4433ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0041b0d7
push 4
mov dword [ebp - 4], 0
call fcn.0041b7ee
mov edi, eax
add esp, 4
test edi, edi
je 0x40829c
call fcn.0041afaf
mov dword [edi], eax
call fcn.0041ad6e
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041b098
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x408292
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041b0c0
jmp 0x40829e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ea10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435679
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4433ec]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 8], 0
lea eax, [ecx - 0x2c]
mov dword [esp + 0x30], 0x43bb58
mov dword [esp + 0x38], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x48], 0
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
call fcn.0040e450
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.0
mov dword [esp + 0x1c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.1.0
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x30], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.2.0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
push 0x43ff60
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + eax + 0x34], 0
mov dword [esp + 0x50], 0xffffffff
call fcn.0041d422
int3
Function at 0x40ec60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435679
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4433ec]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 8], 0
lea eax, [ecx - 0x2c]
mov dword [esp + 0x30], 0x43bb58
mov dword [esp + 0x38], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x48], 0
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
call fcn.0040e640
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.0
mov dword [esp + 0x1c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.1.0
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x30], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.2.0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
push 0x43ffe8
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + eax + 0x34], 0
mov dword [esp + 0x50], 0xffffffff
call fcn.0041d422
int3
Function at 0x40fce0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x424], edx
call fcn.0043125c
add esp, 8
lea ecx, [ebp - 0x418]
push ecx
push 0x4373ac
push 1
push 0
push 0x4373bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40fe49
mov eax, dword [ebp - 0x418]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x41c]
push ecx
push 0x4373cc
push eax
call edx
test eax, eax
js 0x40fe3b
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
test ebx, ebx
jne 0x40fd7f
mov edx, dword [0x445234]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
jmp 0x40fd86
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
test esi, esi
je 0x40fd9b
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
jmp 0x40fda8
lea edx, [ebp - 0x20c]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test edi, edi
je 0x40fdbd
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0
push edi
push eax
call edx
mov ecx, dword [ebp - 0x424]
test ecx, ecx
je 0x40fdd6
mov eax, dword [ebp - 0x418]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push 1
push eax
call edx
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x40fe11
push eax
mov eax, dword [ebp - 0x420]
push eax
lea ecx, [ebp - 0x108]
push str._s_s
push ecx
call fcn.0041ba50
add esp, 0x10
jmp 0x40fe9b
push 0x5c
test ebx, ebx
je 0x40fe1a
push ebx
jmp 0x40fe21
mov edx, dword [0x445234]
push edx
call fcn.0041c2c0
add esp, 8
test eax, eax
jne 0x40fe5c
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b499
mov esp, ebp
pop ebp
ret 8
push eax
mov eax, dword [ebp - 0x420]
push eax
lea ecx, [ebp - 0x108]
push str._s_s
push ecx
call fcn.0041ba50
lea eax, [ebp - 0x108]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40fe81
sub eax, edx
lea eax, [ebp + eax - 0x108]
mov word [eax - 3], 0x6e6c
mov byte [eax - 1], 0x6b
push 0x104
lea edx, [ebp - 0x414]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x414]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
setns al
xor ecx, ebp
pop esi
call fcn.0041b499
mov esp, ebp
pop ebp
ret 8
Function at 0x410c10
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push str.WuJiSetupApp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x410c5c
push 0x2e8
call fcn.0041b7ee
add esp, 4
test eax, eax
je 0x410c46
push eax
call fcn.00401050
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov edx, dword [ebp + 8]
mov ecx, dword [0x44600c]
call fcn.00401270
xor eax, eax
pop ebp
ret 0x10

Function at 0x410c70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x108], 0
call fcn.00423450
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
push 0x20019
push 0
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410d1a
mov ecx, dword [ebp - 0x10c]
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push ebx
push ecx
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x410d0d
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
lea eax, [ebp - 0x108]
push eax
jmp 0x410d27
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push 0x43a501
or eax, 0xffffffff
call fcn.00410060
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b499
mov esp, ebp
pop ebp
ret
Function at 0x410d40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0x43a501
push esi
call fcn.0041cab1
add esp, 8
test eax, eax
je 0x410eaf
push 0x43a501
push edi
call fcn.0041cab1
add esp, 8
test eax, eax
je 0x410eaf
push 0x43a501
push ebx
call fcn.0041cab1
add esp, 8
test eax, eax
je 0x410eaf
push str.HKLM
push esi
call fcn.0041cab1
add esp, 8
test eax, eax
jne 0x410db1
mov esi, 0x80000002
jmp 0x410e19
push str.HKCR
push esi
call fcn.0041cab1
add esp, 8
test eax, eax
jne 0x410dca
mov esi, 0x80000000
jmp 0x410e19
push str.HKCU
push esi
call fcn.0041cab1
add esp, 8
test eax, eax
jne 0x410de3
mov esi, 0x80000001
jmp 0x410e19
push str.HKUS
push esi
call fcn.0041cab1
add esp, 8
test eax, eax
jne 0x410dfc
mov esi, 0x80000003
jmp 0x410e19
push str.HKCC
push esi
call fcn.0041cab1
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffffd
add esi, 0x80000005
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov dword [ebp - 0x10c], esi
mov byte [ebp - 0x108], 0
call fcn.00423450
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
push 0x20019
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410eaf
mov ecx, dword [ebp - 0x10c]
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push ebx
push ecx
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x410ea2
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b499
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.0041b499
mov esp, ebp
pop ebp
ret

Function at 0x411440
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x4c], 0
push esi
push edi
mov esi, eax
je 0x411454
push 0x10000000
jmp 0x411456
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x411489
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push 0x43a501
or eax, 0xffffffff
call fcn.00410060
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
cmp eax, ecx
jmp 0x4114d6
mov edx, dword [ebp + 8]
push 0
push 0x102
push 0
push 0
push edx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
test eax, eax
jne 0x4114b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4114b9
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x41146a
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push 0x43a501
or eax, 0xffffffff
call fcn.00410060
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
cmp eax, edx
je 0x4114e1
push eax
call fcn.0041be61
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x48
Function at 0x411990
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea ecx, [ebp - 0xac]
call fcn.00402310
push 0x43bc54
lea eax, [ebp - 0xac]
call fcn.0040ff60
mov eax, dword [ebp - 0xac]
push eax
push 0x63
lea ecx, [ebp - 0x68]
push ecx
push 0x43bc60
push 0x43bc64
push str.appver
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esi + 4]
lea edx, [ebp - 0x68]
mov dword [esi], eax
mov byte [eax], 0
push edx
or eax, 0xffffffff
call fcn.00410060
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
cmp eax, ecx
je 0x411a10
push eax
call fcn.0041be61
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b499
mov esp, ebp
pop ebp
ret

Function at 0x411a30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push 0x43bc70
or eax, 0xffffffff
call fcn.00410060
lea ecx, [ebp - 0xac]
call fcn.00402310
push str.Datauser2.ini
lea eax, [ebp - 0xac]
call fcn.0040ff60
mov eax, dword [ebp - 0xac]
push eax
push 0x63
lea ecx, [ebp - 0x68]
push ecx
push 0x43bc70
push 0x43ab00
push 0x43ab00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x68]
push edx
or eax, 0xffffffff
call fcn.00410060
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
cmp eax, ecx
je 0x411abd
push eax
call fcn.0041be61
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b499
mov esp, ebp
pop ebp
ret

Function at 0x411ad0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push str.2000_01_01
or eax, 0xffffffff
call fcn.00410060
lea ecx, [ebp - 0xac]
call fcn.00402310
push str.Datauser2.ini
lea eax, [ebp - 0xac]
call fcn.0040ff60
mov eax, dword [ebp - 0xac]
push eax
push 0x63
lea ecx, [ebp - 0x68]
push ecx
push str.2000_01_01
push str.SETUPDATE
push 0x43ab00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x68]
push edx
or eax, 0xffffffff
call fcn.00410060
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
cmp eax, ecx
je 0x411b5d
push eax
call fcn.0041be61
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b499
mov esp, ebp
pop ebp
ret
Function at 0x411b70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push str.20010101
or eax, 0xffffffff
call fcn.00410060
lea ecx, [ebp - 0xac]
call fcn.00402310
push str.Datauser2.ini
lea eax, [ebp - 0xac]
call fcn.0040ff60
mov eax, dword [ebp - 0xac]
push eax
push 0x63
lea ecx, [ebp - 0x68]
push ecx
push str.20010101
push str.PUBLICDATE
push 0x43ab00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x68]
push edx
or eax, 0xffffffff
call fcn.00410060
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
cmp eax, ecx
je 0x411bfd
push eax
call fcn.0041be61
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b499
mov esp, ebp
pop ebp
ret

Function at 0x411c10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xc
mov esi, ecx
mov dword [ebp - 0x1c], 0
call fcn.0041b11f
push 0xa
mov edi, eax
call fcn.0041b11f
add esp, 8
push 0xa
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0xc
push edi
push 0x43bcb4
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push 0x43bcb8
push ecx
call fcn.0041ba50
lea eax, [esi + 4]
add esp, 0xc
lea edx, [ebp - 0x18]
mov dword [esi], eax
mov byte [eax], 0
push edx
or eax, 0xffffffff
call fcn.00410060
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b499
mov esp, ebp
pop ebp
ret
Function at 0x411ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x1e4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411d4c
lea ecx, [ebp - 0x1ec]
push ecx
mov ecx, dword [ebp - 0x1e4]
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x1e8]
push eax
push 0
push str.ProductName
push ecx
mov dword [ebp - 0x1ec], 0xff
mov dword [ebp - 0x1e8], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x411d3f
lea eax, [edi + 4]
mov dword [edi], eax
mov byte [eax], 0
push 0x43a501
or eax, 0xffffffff
mov esi, edi
call fcn.00410060
mov eax, edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b499
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x1e4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x1e0]
push eax
mov dword [ebp - 0x1e0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x411d17
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0x148]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x14c]
mov dword [ebp - 0x14c], ecx
mov byte [ebp - 0x148], 0
call fcn.00410060
lea eax, [edi + 4]
mov dword [edi], eax
mov byte [eax], 0
mov eax, dword [ebp - 0x14c]
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.00410060
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x148]
cmp eax, ecx
je 0x411dc1
push eax
call fcn.0041be61
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0041b499
mov esp, ebp
pop ebp
ret

Function at 0x411e80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
mov esi, ecx
or eax, 0xffffffff
call fcn.00410060
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x44]
lea eax, [esi + 0x44]
push ecx
push edx
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.004130b0
call fcn.00402400
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x4c]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x50]
mov dword [ebp - 0x50], edx
mov byte [ebp - 0x4c], 0
call fcn.00410060
push str.WJNews.exe
mov eax, esi
call fcn.0040ff60
mov ecx, dword [ebp - 0x50]
push 0x43bd04
push ecx
call fcn.0041cd17
add esp, 8
test eax, eax
je 0x411f11
push eax
call fcn.0041cd9b
mov edx, dword [ebp - 0x50]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x4c]
cmp eax, ecx
je 0x411f24
push eax
call fcn.0041be61
add esp, 4
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
cmp eax, edx
je 0x411f37
push eax
call fcn.0041be61
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041b499
mov esp, ebp
pop ebp
ret 0x44
Function at 0x411f50
Capabilities:
Check if file exists
Create directory
Extract resource via kernel32 functions
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435d68
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x144], eax
push 0x43bd10
push 0x66
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x41208e
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push esi
test ebx, ebx
jne 0x411fca
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
cmp eax, edx
jmp 0x412096
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x41208e
push edi
call fcn.0041b11f
add esp, 4
mov dword [0x445fcc], eax
test eax, eax
je 0x412006
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [0x445fcc]
push eax
push edx
call fcn.0041d980
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x12c
lea eax, [ebp - 0x140]
push 0
push eax
call fcn.00423450
add esp, 0xc
push edi
call fcn.00419d60
mov edi, eax
add esp, 4
test edi, edi
je 0x412089
push 0xffffffffffffffff
lea edx, [ebp - 0x140]
call fcn.00419dd0
add esp, 4
test eax, eax
jne 0x412089
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x412061
mov edx, dword [ebp + 0xc]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
sub esp, 0x44
lea ecx, [ebp + 0xc]
mov eax, esp
mov dword [ebp - 0x148], esp
push ecx
call fcn.0040ff10
mov edx, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x144]
push edx
mov edx, edi
call fcn.004120c0
call fcn.00419e10
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 0x10]
cmp eax, ecx
je 0x4120a1
push eax
call fcn.0041be61
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b499
mov esp, ebp
pop ebp
ret 0x48
Function at 0x4120c0
Capabilities:
Create directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435d30
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x190], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x98]
cmp eax, ebx
je 0x41211e
mov ecx, dword [ebp + 8]
push ebx
push ecx
push 0x52c
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [ebp + 8], ebx
jle 0x4122a7
jmp 0x412136
mov esi, dword [ebp - 0x190]
push 0x12c
lea edx, [ebp - 0x188]
push 0
push edx
call fcn.00423450
add esp, 0xc
test esi, esi
jne 0x41215c
mov dword [0x445ffc], 0x10000
jmp 0x412181
cmp dword [esi], 1
je 0x41216d
mov dword [0x445ffc], 0x80000
jmp 0x412181
mov ecx, dword [esi + 4]
push ebx
lea edx, [ebp - 0x188]
call fcn.00419310
mov dword [0x445ffc], eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
test edi, edi
jne 0x412197
mov edi, 0x43a501
mov ecx, edi
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4121a0
sub ecx, esi
mov esi, ecx
cmp esi, 0x3f
jl 0x4121c8
lea eax, [esi + 1]
push eax
push 0
mov dword [ebp - 0x58], 0
call fcn.0041c905
add esp, 8
mov dword [ebp - 0x58], eax
push esi
push edi
push eax
call fcn.0041c655
mov ecx, dword [ebp - 0x58]
add esp, 0xc
mov byte [esi + ecx], 0
push 0x43a910
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0040ff60
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x58]
call fcn.0040ff60
test byte [ebp - 0x80], 0x10
je 0x41220c
mov eax, dword [ebp - 0x58]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp - 0x190]
test eax, eax
jne 0x412222
mov dword [0x445ffc], 0x10000
jmp 0x412245
cmp dword [eax], 1
je 0x412233
mov dword [0x445ffc], 0x80000
jmp 0x412245
mov edx, dword [ebp - 0x58]
mov ecx, dword [eax + 4]
push edx
push ebx
call fcn.00419a40
mov dword [0x445ffc], eax
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x412261
mov ecx, dword [ebp - 0x58]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0x98]
test eax, eax
je 0x412280
push 0
push ebx
push 0x52d
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
cmp eax, ecx
je 0x412297
push eax
call fcn.0041be61
add esp, 4
inc ebx
cmp ebx, dword [ebp + 8]
jl 0x412130
mov edi, dword [ebp - 0x18c]
mov eax, dword [edi + 0x98]
test eax, eax
je 0x4122c1
push 0
push 0
push 0x52e
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
cmp eax, edx
je 0x4122d4
push eax
call fcn.0041be61
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b499
mov esp, ebp
pop ebp
ret 0x48