joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445cca
Capabilities:
Enumerate processes

Disassembly:
push 0x268
mov eax, 0x462197
call fcn.00457013
mov eax, dword [ebp + 8]
xor edi, edi
push edi
push 2
mov dword [ebp - 0x268], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x264], eax
jne 0x445cfe
xor eax, eax
jmp 0x445efe
mov dword [ebp - 0x25c], edi
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x254], edi
mov esi, 0x22c
push esi
lea eax, [ebp - 0x244]
push edi
push eax
mov dword [ebp - 4], edi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
push dword [ebp - 0x264]
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x24c], edi
call sub.KERNEL32.dll_Process32FirstW
cmp eax, edi
je 0x445ee1
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [ebp - 0x248], edi
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x248]
push dword [eax*8 + 0x482cc0]
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x445d8f
inc dword [ebp - 0x248]
cmp dword [ebp - 0x248], 9
jb 0x445d5b
jmp 0x445ec7
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.00405099
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 1
call fcn.00406652
mov ecx, dword [ebp - 0x258]
cmp dword [ebp - 0x25c], ecx
mov dword [ebp - 0x26c], ecx
jbe 0x445dcd
call ebx
mov ecx, dword [ebp - 0x258]
cmp dword [ebp - 0x25c], ecx
mov dword [ebp - 0x24c], ecx
jbe 0x445de3
call ebx
mov ecx, dword [ebp - 0x258]
mov esi, dword [ebp - 0x25c]
cmp esi, ecx
jbe 0x445df5
call ebx
mov ecx, dword [ebp - 0x258]
cmp esi, dword [ebp - 0x24c]
lea eax, [ebp - 0x260]
mov edi, eax
mov dword [ebp - 0x270], esi
je 0x445e2c
push dword [ebp - 0x250]
push esi
call fcn.0040442d
test eax, eax
je 0x445e26
add esi, 4
cmp esi, dword [ebp - 0x24c]
jne 0x445e0b
mov ecx, dword [ebp - 0x258]
test edi, edi
je 0x445e3a
lea eax, [ebp - 0x260]
cmp edi, eax
je 0x445e42
call ebx
mov ecx, dword [ebp - 0x258]
cmp esi, dword [ebp - 0x26c]
jne 0x445ea9
cmp dword [ebp - 0x25c], 0
je 0x445e5e
sub ecx, dword [ebp - 0x25c]
sar ecx, 2
jne 0x445e78
mov eax, dword [ebp - 0x248]
push dword [eax*8 + 0x482cc4]
push dword [ebp - 0x268]
call fcn.00405232
jmp 0x445e97
mov eax, dword [ebp - 0x248]
push dword [eax*8 + 0x482cc4]
mov ecx, dword [ebp - 0x268]
push str._r_n_s
call fcn.004069a5
pop ecx
pop ecx
lea eax, [ebp - 0x250]
push eax
lea edi, [ebp - 0x260]
call fcn.0043ddde
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
mov dword [ebp - 0x24c], 1
call fcn.00404929
xor edi, edi
lea eax, [ebp - 0x244]
push eax
push dword [ebp - 0x264]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x445d55
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [ebp - 0x260]
call fcn.0043e737
mov eax, dword [ebp - 0x24c]
call fcn.00457096
ret
Function at 0x44902e
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x10], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x449860
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x481028]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 0x58
xor esi, esi
lea eax, [ebp - 0x64]
push esi
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], esi
push ebx
lea esi, [ebp - 0x64]
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
call fcn.004498c6
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.0044995c
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.004568ce
leave
ret
Function at 0x44a0c0
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x481028]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x1c
mov eax, 0x45ed0c
call fcn.00456faa
cmp dword [esi + 8], 1
jne 0x44a114
xor eax, eax
cmp dword [esi], eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004568ce
add ebp, 0x20c
leave
ret
lea ecx, [ebp - 0x28]
mov dword [esi + 8], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
xor edi, edi
push 0x206
lea eax, [ebp + 2]
push edi
mov dword [ebp - 4], edi
push eax
mov word [ebp], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, edi
je 0x44a169
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__]
lea eax, [ebp - 0x28]
push eax
call fcn.0044a297
push str.kispublic.dll
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x44a183
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44a1a2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
jmp 0x44a0f1
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x44a1ae
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
mov dword [esi], eax
jne 0x44a1cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, edi
jmp 0x44a0f1
xor edi, edi
inc edi
jmp 0x44a1bb
Function at 0x44a907
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x481028]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x20a]
push ebx
push eax
mov word [ebp - 0x20c], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea eax, [ebp - 0x20c]
push edi
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x60], eax
je 0x44aa59
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinHttpOpen
push eax
call edi
push str.WinHttpConnect
push dword [esi + 0x60]
mov dword [esi + 4], eax
call edi
push str.WinHttpOpenRequest
push dword [esi + 0x60]
mov dword [esi + 8], eax
call edi
push str.WinHttpAddRequestHeaders
push dword [esi + 0x60]
mov dword [esi + 0xc], eax
call edi
push str.WinHttpSendRequest
push dword [esi + 0x60]
mov dword [esi + 0x10], eax
call edi
push str.WinHttpReceiveResponse
push dword [esi + 0x60]
mov dword [esi + 0x14], eax
call edi
push str.WinHttpQueryHeaders
push dword [esi + 0x60]
mov dword [esi + 0x18], eax
call edi
push str.WinHttpReadData
push dword [esi + 0x60]
mov dword [esi + 0x1c], eax
call edi
push str.WinHttpCloseHandle
push dword [esi + 0x60]
mov dword [esi + 0x20], eax
call edi
push str.WinHttpCrackUrl
push dword [esi + 0x60]
mov dword [esi + 0x24], eax
call edi
push str.WinHttpSetOption
push dword [esi + 0x60]
mov dword [esi + 0x28], eax
call edi
push str.WinHttpSetTimeouts
push dword [esi + 0x60]
mov dword [esi + 0x2c], eax
call edi
cmp dword [esi + 4], ebx
mov dword [esi + 0x30], eax
je 0x44aa57
cmp dword [esi + 0x10], ebx
je 0x44aa57
cmp dword [esi + 0x24], ebx
je 0x44aa57
cmp dword [esi + 8], ebx
je 0x44aa57
cmp dword [esi + 0xc], ebx
je 0x44aa57
cmp dword [esi + 0x1c], ebx
je 0x44aa57
cmp dword [esi + 0x20], ebx
je 0x44aa57
cmp dword [esi + 0x18], ebx
je 0x44aa57
cmp dword [esi + 0x14], ebx
je 0x44aa57
cmp dword [esi + 0x28], ebx
je 0x44aa57
cmp dword [esi + 0x2c], ebx
je 0x44aa57
cmp eax, ebx
je 0x44aa57
inc ebx
mov dword [esi], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [esi]
pop edi
xor ecx, ebp
pop ebx
call fcn.004568ce
leave
ret
Function at 0x44aa69
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x481028]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x20a]
push ebx
push eax
mov word [ebp - 0x20c], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.wininet.dll
lea eax, [ebp - 0x20c]
push edi
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x64], eax
je 0x44ab98
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46e0e8
push eax
call edi
push str.InternetConnectW
push dword [esi + 0x64]
mov dword [esi + 0x38], eax
call edi
push str.HttpOpenRequestW
push dword [esi + 0x64]
mov dword [esi + 0x3c], eax
call edi
push str.HttpAddRequestHeadersW
push dword [esi + 0x64]
mov dword [esi + 0x40], eax
call edi
push str.HttpSendRequestW
push dword [esi + 0x64]
mov dword [esi + 0x44], eax
call edi
push str.HttpQueryInfoW
push dword [esi + 0x64]
mov dword [esi + 0x48], eax
call edi
push 0x46e15c
push dword [esi + 0x64]
mov dword [esi + 0x4c], eax
call edi
push 0x46e170
push dword [esi + 0x64]
mov dword [esi + 0x50], eax
call edi
push 0x46e184
push dword [esi + 0x64]
mov dword [esi + 0x54], eax
call edi
push 0x46e198
push dword [esi + 0x64]
mov dword [esi + 0x58], eax
call edi
cmp dword [esi + 0x38], ebx
mov dword [esi + 0x5c], eax
je 0x44ab95
cmp dword [esi + 0x3c], ebx
je 0x44ab95
cmp dword [esi + 0x40], ebx
je 0x44ab95
cmp dword [esi + 0x44], ebx
je 0x44ab95
cmp dword [esi + 0x48], ebx
je 0x44ab95
cmp dword [esi + 0x4c], ebx
je 0x44ab95
cmp dword [esi + 0x50], ebx
je 0x44ab95
cmp dword [esi + 0x54], ebx
je 0x44ab95
cmp dword [esi + 0x58], ebx
je 0x44ab95
cmp eax, ebx
je 0x44ab95
inc ebx
mov dword [esi + 0x34], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x34]
pop edi
xor ecx, ebp
pop ebx
call fcn.004568ce
leave
ret

Function at 0x44b336
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x481028]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004568ce
leave
ret
Function at 0x44d91c
Capabilities:
Check if file exists

Disassembly:
push 0x21c
mov eax, 0x4620da
call fcn.00457013
mov ebx, ecx
cmp dword [ebx + 0x18], 0
jne 0x44d93b
xor eax, eax
call fcn.00457096
ret
mov eax, dword [0x4833bc]
mov esi, 0x4833bc
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x220]
push eax
call fcn.00402030
mov ecx, eax
call fcn.0040215f
push 0x46e45c
lea eax, [ebp - 0x220]
push eax
call fcn.004046e1
push dword [ebp - 0x220]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
jne 0x44da03
and word [ebp - 0x21c], ax
push 0x206
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.kdump.dll
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
call edi
test eax, eax
je 0x44d9f2
lea eax, [ebp - 0x21c]
push eax
jmp 0x44d9f7
push str.kdump.dll
lea eax, [ebp - 0x220]
push eax
call fcn.00405232
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0x1c], 0
je 0x44da2e
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.00404929
mov eax, ebx
jmp 0x44d935
mov eax, dword [0x4833bc]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x224]
push eax
mov byte [ebp - 4], 1
call fcn.00444dd6
mov ecx, eax
call fcn.00444e12
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x44daa9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.KxEOpenDumpMonitorEx2
push edi
call esi
push str.KxESetTrialMode
push edi
mov dword [ebp - 0x228], eax
call esi
cmp dword [ebp - 0x228], 0
je 0x44daa9
push 0
push 0x111000
push dword [ebp - 0x224]
xor esi, esi
inc esi
push esi
call dword [ebp - 0x228]
mov dword [ebx + 0x1c], esi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x224]
mov ebx, dword [ebx + 0x1c]
add eax, 0xfffffff0
call fcn.00404929
jmp 0x44da19
Function at 0x44dac6
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x46233c
call fcn.00456faa
mov esi, ecx
mov eax, dword [0x4833bc]
mov ecx, 0x4833bc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
call fcn.0044e2dd
test eax, eax
je 0x44daff
lea eax, [ebp - 0x10]
push eax
call fcn.0044e178
jmp 0x44db2b
push str.idex
lea eax, [ebp - 0x14]
push eax
call fcn.00405099
lea ebx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0044dba1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00404929
cmp dword [esi + 0x18], 8
jb 0x44db36
mov eax, dword [esi + 4]
jmp 0x44db39
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00405099
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jg 0x44db51
xor edi, edi
inc edi
jmp 0x44db6c
push dword [ebp - 0x14]
push 0xffffffffffffffff
push esi
push str.ulst
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov edi, ecx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00404929
test edi, edi
je 0x44db87
lea eax, [ebp - 0x10]
push eax
call fcn.0044e178
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
push esi
call dword [0x466464]
lea eax, [esi - 0x10]
call fcn.00404929
call fcn.00457082
ret 4
Function at 0x44dba1
Capabilities:
Read .ini file

Disassembly:
push 0x25c
mov eax, 0x46125e
call fcn.00457013
xor esi, esi
push 0x206
lea eax, [ebp - 0x216]
mov edi, ecx
push esi
push eax
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x268], esi
mov word [ebp - 0x218], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x234]
mov dword [ebp - method.KRegKey.virtual_0], vtable.KRegKey.0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [ebp - 0x238], esi
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], esi
call fcn.0044e47e
mov dword [ebp - 0x25c], eax
mov eax, dword [ebx]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x44dc20
push dword [eax + 4]
push ebx
call fcn.0040515f
push dword [ebx]
lea ecx, [ebp - 0x258]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x25c], esi
jne 0x44dc52
mov ecx, dword [edi]
lea eax, [ebp - 0x23c]
push eax
lea edi, [ebp - 0x258]
call fcn.0044e4e9
test eax, eax
je 0x44dc5c
mov dword [ebp - 0x268], 1
cmp dword [ebp - 0x240], 8
mov eax, dword [ebp - 0x254]
jae 0x44dc71
lea eax, [ebp - 0x254]
push eax
push ebx
call fcn.00405232
mov eax, dword [0x4833bc]
mov ecx, 0x4833bc
xor edi, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x25c], eax
lea esi, [ebp - 0x25c]
mov byte [ebp - 4], 2
call fcn.0044e1b9
test eax, eax
mov esi, dword [ebp - 0x25c]
mov dword [ebp - 0x264], eax
je 0x44dcd3
mov eax, dword [ebp - 0x260]
mov eax, dword [eax]
push esi
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push edi
push eax
push 0x46e588
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
cmp dword [ebp - 0x268], 0
je 0x44dd0e
test edi, edi
ja 0x44dcf5
push dword [ebp - 0x260]
mov ecx, ebx
call fcn.0044dd6e
mov dword [ebp - 0x264], eax
jmp 0x44dd1f
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.00405232
mov dword [ebp - 0x264], 1
jmp 0x44dd12
test edi, edi
ja 0x44dd1f
mov ecx, dword [ebp - 0x260]
mov edx, ebx
call fcn.0044e38c
lea eax, [esi - 0x10]
call fcn.00404929
cmp dword [ebp - 0x238], 0
je 0x44dd43
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x238], 0
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.0044e466
mov eax, dword [ebp - 0x264]
call fcn.00457096
ret
Function at 0x44e22e
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x481028]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
xor esi, esi
push 0x206
lea eax, [ebp - 0x7e]
push esi
push eax
mov word [ebp - 0x80], si
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp ebx, esi
je 0x44e2c7
push edi
push 1
push 0x23
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
mov esi, dword [sym.imp.MSVCR80.dll_wcscat]
mov edi, 0x104
jne 0x44e2a1
push edi
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x44e2c6
lea eax, [ebp - 0x80]
push str.All_UsersApplication_Data
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x80]
push str.KingsoftKIS_
push eax
call esi
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
add esp, 0xc
cmp eax, edi
jae 0x44e2c6
lea eax, [ebp - 0x80]
push eax
push ebx
call esi
pop ecx
pop ecx
pop edi
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
pop esi
call fcn.004568ce
add ebp, 0x18c
leave
ret

Function at 0x44e38c
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x4604b7
call fcn.00457013
mov edi, ecx
lea ecx, [ebp - 0x2c]
mov ebx, edx
mov dword [ebp - 0x34], vtable.KRegKey.0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
and dword [ebp - 0x30], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x34]
call fcn.0044e47e
test eax, eax
jne 0x44e3e5
mov esi, dword [ebx]
mov eax, dword [edi]
push esi
mov dword [ebp - 0x38], eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea eax, [eax + eax + 1]
push eax
push esi
push 1
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x4833bc]
mov ecx, 0x4833bc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
lea esi, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0044e1b9
test eax, eax
mov esi, dword [ebp - 0x38]
je 0x44e41d
mov ebx, dword [ebx]
mov edi, dword [edi]
push esi
push ebx
push edi
push 0x46e588
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x30], 0
je 0x44e430
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x30], 0
lea eax, [esi - 0x10]
call fcn.00404929
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0044e466
call fcn.00457096
ret
Function at 0x44e6d4
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x481028]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push ebx
push edi
mov edi, dword [sym.imp.MSVCR80.dll_wcslen]
mov ebx, ecx
push ebx
call edi
mov dword [ebp - 0x80], eax
mov eax, 0x104
cmp dword [ebp - 0x80], eax
pop ecx
jae 0x44e70d
mov eax, dword [ebp - 0x80]
push eax
push ebx
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x44e71e
xor eax, eax
jmp 0x44e78f
push 0
push dword [ebp + 0x198]
lea eax, [ebp - 0x7c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x44e71a
lea eax, [ebp - 0x7c]
call fcn.0044e551
lea eax, [ebp - 0x7c]
push eax
call edi
push esi
mov ebx, eax
call edi
mov edx, dword [ebp - 0x80]
pop ecx
pop ecx
mov ecx, eax
sub ecx, edx
add eax, ebx
cmp eax, edx
lea edi, [ecx + ebx]
jbe 0x44e71a
lea eax, [edi + 1]
cmp eax, 0x104
jae 0x44e71a
lea eax, [ecx + ecx]
push eax
lea eax, [esi + edx*2]
push eax
add ebx, ebx
lea eax, [ebx + esi]
push eax
call dword [sym.imp.MSVCR80.dll_memmove]
push ebx
lea eax, [ebp - 0x7c]
push eax
push esi
call sub.MSVCR80.dll_memcpy
and word [esi + edi*2], 0
xor eax, eax
add esp, 0x18
inc eax
mov ecx, dword [ebp + 0x18c]
pop edi
xor ecx, ebp
pop ebx
call fcn.004568ce
add ebp, 0x190
leave
ret

Function at 0x44e8ef
Capabilities:
Query environment variable

Disassembly:
push 8
mov eax, 0x464238
call fcn.00456faa
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
xor edi, edi
cmp ecx, edi
je 0x44e975
jge 0x44e912
push 0x80070057
call fcn.00405399
movzx ecx, word [eax]
cmp cx, 0x25
jne 0x44e975
push edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
cmp esi, edi
je 0x44e975
cmp esi, 0x8003
ja 0x44e975
mov eax, dword [0x4833bc]
mov ecx, 0x4833bc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
push esi
mov dword [ebp - 4], edi
mov edi, dword [ebx]
lea esi, [ebp - 0x10]
call fcn.004050f0
push eax
call fcn.0044e8ae
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
jne 0x44e97d
mov edx, esi
call fcn.00404d70
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00404929
xor eax, eax
call fcn.00457082
ret
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x44e988
xor eax, eax
jmp 0x44e990
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 0x10]
call fcn.00404d70
lea eax, [ebp - 0x10]
mov edi, ebx
call fcn.004052c3
lea eax, [esi - 0x10]
call fcn.00404929
mov eax, dword [ebp - 0x14]
jmp 0x44e977

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

Disassembly:
test eax, eax
je 0x44ea78
cmp word [eax], 0
je 0x44ea78
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret
xor eax, eax
ret
Function at 0x44f6c5
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x46383b
call fcn.00456faa
mov eax, dword [0x4833bc]
mov ecx, 0x4833bc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push str.bksafe.ini
lea esi, [ebp - 0x10]
call fcn.00424222
test eax, eax
mov edi, dword [ebp - 0x10]
pop ecx
jne 0x44f70f
xor esi, esi
lea eax, [edi - 0x10]
call fcn.00404929
mov eax, esi
call fcn.00457082
ret
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
push str.proxy
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp + 0xc]
xor esi, esi
mov dword [ecx], eax
inc esi
jmp 0x44f6ff

Function at 0x44f72a
Capabilities:
Read .ini file

Disassembly:
push 0x218
mov eax, 0x46425e
call fcn.00457013
mov eax, dword [ebp + 8]
mov edi, 0x467710
push edi
push ebx
mov dword [ebp - 0x224], eax
call fcn.00405232
mov eax, dword [0x4833bc]
mov ecx, 0x4833bc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
and dword [ebp - 4], 0
push str.bksafe.ini
lea esi, [ebp - 0x220]
call fcn.00424222
test eax, eax
mov esi, dword [ebp - 0x220]
pop ecx
jne 0x44f795
xor edi, edi
lea eax, [esi - 0x10]
call fcn.00404929
mov eax, edi
call fcn.00457096
ret
and word [ebp - 0x21c], 0
push 0x206
lea eax, [ebp - 0x21a]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
push 0x103
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [ebp - 0x224]
push str.proxy
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
push eax
push ebx
call fcn.00405232
xor edi, edi
inc edi
jmp 0x44f785