joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e26
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x218
mov eax, 0x41b0a7
call fcn.0041a287
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
cmp dword [eax + 0x5e4], edi
jne 0x403e4b
xor eax, eax
call fcn.0041a30a
ret
mov eax, dword [0x429220]
mov ecx, 0x429220
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push ecx
mov dword [ebp - 4], edi
mov eax, dword [esi]
mov ecx, esp
mov dword [ebp - 0x224], esp
push ecx
mov ecx, dword [eax + 0x5e4]
call fcn.00404554
lea ecx, [ebp - 0x21c]
call fcn.0040ef4b
lea eax, [ebp - 0x21c]
mov dword [esp], str..tlg
push eax
call fcn.00404609
push 0x206
lea eax, [ebp - 0x216]
push edi
push eax
mov word [ebp - 0x218], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x21a], 0x5c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x403ef9
push 0x421fb4
lea eax, [ebp - 0x218]
push eax
call esi
push 0x421fb8
lea eax, [ebp - 0x218]
push eax
call esi
mov ebx, dword [ebp - 0x21c]
cmp dword [ebx - 4], 1
jle 0x403f28
push dword [ebx - 0xc]
lea eax, [ebp - 0x21c]
push eax
call fcn.004015ba
mov ebx, dword [ebp - 0x21c]
push ebx
lea eax, [ebp - 0x218]
push eax
call esi
cmp ebx, edi
jne 0x403f3a
xor eax, eax
jmp 0x403f42
push ebx
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 0x21c]
call fcn.004014c5
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x403f6b
lea eax, [ebx - 0x10]
call fcn.004016a2
jmp 0x403e43
lea eax, [ebp - 0x218]
push eax
mov edi, 0x4296f4
push edi
call fcn.00401458
lea eax, [ebp - 0x220]
push eax
call fcn.0040da50
pop ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x220]
xor esi, esi
cmp dword [eax - 0xc], esi
jne 0x403fb8
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.004016a2
lea eax, [ebx - 0x10]
call fcn.004016a2
mov eax, esi
jmp 0x403e45
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x220]
call fcn.004046e6
pop ecx
pop ecx
mov byte [ebp - 4], 2
call fcn.004045b0
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.004016a2
push dword [0x4296f4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push dword [0x4296f4]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
jmp 0x403f9b
Function at 0x405953
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x41a688
call fcn.0041a21e
and dword [ebp - 0x10], 0
mov eax, dword [0x429220]
mov ecx, 0x429220
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x4059c4
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
inc eax
push eax
push eax
lea esi, [ebp - 0x10]
call fcn.0040149d
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x4059b4
xor eax, eax
jmp 0x4059bc
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 0x10]
call fcn.004014c5
add esi, 0xfffffff0
mov eax, esi
call fcn.00404f08
add eax, 0x10
mov dword [ebx], eax
mov eax, esi
call fcn.004016a2
mov eax, ebx
call fcn.0041a2f6
ret 8
Function at 0x4068d1
Capabilities:
Check if file exists
Get file system object information

Disassembly:
push 0x2f4
mov eax, 0x41b6ae
call fcn.0041a287
mov ebx, ecx
push 0x3f2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
mov dword [ebp - 0x2d0], eax
je 0x406b06
push 0x405e7a
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push 1
push 0x21
push 0x20
push 0x20
mov dword [0x42963c], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push pe_nt_image_headers32
push 0x2b4
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x2cc]
push eax
push 0x80
push str.file.txt
call edi
push dword [ebp - 0x2cc]
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 0xffffffffffffffff
push dword [ebx + 0x1c]
call esi
push pe_nt_image_headers32
push 0x2b4
lea eax, [ebp - 0x2cc]
push eax
push 0x80
push str.file.dmp
call edi
push dword [ebp - 0x2cc]
push 0xffffffffffffffff
push dword [ebx + 0x1c]
call esi
push pe_nt_image_headers32
push 0x2b4
lea eax, [ebp - 0x2cc]
push eax
push 0x80
push str.file.tlg
call edi
push dword [ebp - 0x2cc]
push 0xffffffffffffffff
push dword [ebx + 0x1c]
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x2fc]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x300]
push eax
push 0
push 0x1061
push dword [ebp - 0x2d0]
mov dword [ebp - 0x300], 4
mov dword [ebp - 0x2f4], str.name
call esi
push dword [ebx + 0x1c]
push 0
push 0x1003
push dword [ebp - 0x2d0]
call esi
xor edi, edi
inc edi
lea eax, [ebp - 0x2dc]
push edi
push eax
call fcn.004010c5
mov ebx, eax
call fcn.00403925
and dword [ebp - 4], 0
push 0
push dword [ebp - 0x2d0]
mov ecx, eax
call fcn.00407ee1
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2dc]
add eax, 0xfffffff0
call fcn.004016a2
lea eax, [ebp - 0x2d8]
push 2
push eax
call fcn.004010c5
mov ebx, eax
call fcn.00403925
mov dword [ebp - 4], edi
push dword [ebp - 0x2d8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x406a76
push 0
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2d8]
call fcn.00407ee1
lea eax, [ebp - 0x2d4]
push 0x20
push eax
call fcn.004010c5
call fcn.00403900
mov byte [ebp - 4], 2
push dword [ebp - 0x2d4]
call esi
test eax, eax
je 0x406aab
push edi
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2d4]
call fcn.00407ee1
cmp dword [0x42966c], 0
je 0x406aea
lea eax, [ebp - 0x2e0]
push 0x167
push eax
call fcn.004010c5
call fcn.00403900
push edi
push dword [ebp - 0x2d0]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00407ee1
mov eax, dword [ebp - 0x2e0]
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x2d4]
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x2d8]
add eax, 0xfffffff0
call fcn.004016a2
call fcn.0041a30a
ret
Function at 0x407b58
Capabilities:
Hide graphical window

Disassembly:
push 0x10
mov eax, 0x41be56
call fcn.0041a21e
mov eax, dword [ebp + 8]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x429220]
mov ecx, 0x429220
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
call fcn.004010c5
mov eax, dword [eax]
push dword [eax + 0x1c]
lea eax, [ebp + 8]
push 0x4214d0
push eax
call fcn.0040541a
add esp, 0xc
push 0x37
lea esi, [ebp + 8]
call fcn.00404630
cmp eax, 0xffffffff
mov edi, dword [ebp + 8]
je 0x407c2a
mov ecx, dword [edi - 0xc]
dec ecx
cmp eax, ecx
jne 0x407c2a
lea eax, [ebp - 0x18]
mov esi, 0x4221c8
push eax
mov ecx, esi
call fcn.00404554
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00404554
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00404554
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 3
call fcn.00405e43
push eax
call fcn.0040a61b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004016a2
lea eax, [edi - 0x10]
call fcn.004016a2
call fcn.0041a2f6
ret 4
Function at 0x40a015
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
or dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp byte [esi + 0x2c], bl
mov dword [esi + 0x3c], eax
jne 0x40a04c
push str.GIF_not_initialized
push 0x421374
call fcn.0041209a
pop ecx
pop ecx
jmp 0x40a094
cmp dword [esi + 0x24], 1
jbe 0x40a094
cmp dword [esi + 0x14], ebx
jne 0x40a094
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x40a29c
push ebx
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x14], eax
jne 0x40a08d
push str.Couldnt_start_a_GIF_animation_thread_n
push 0x421374
call fcn.0041209a
pop ecx
pop ecx
mov al, 1
jmp 0x40a096
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor al, al
pop ebx
pop ebp
ret 0xc
Function at 0x40ab7d
Capabilities:
Connect to http server

Disassembly:
push 0x10
mov eax, 0x41b667
call fcn.0041a21e
mov eax, dword [0x429220]
mov ecx, 0x429220
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
xor esi, esi
push eax
mov dword [ebp - 4], esi
push dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
lea ebx, [ebp - 0x10]
call fcn.0040a530
test eax, eax
jne 0x40abcc
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004016a2
xor eax, eax
call fcn.0041a2f6
ret 0xc
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push esi
push esi
push 3
push esi
push esi
push dword [ebp + 0x10]
push ebx
push dword [eax]
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, esi
mov dword [edi], eax
jne 0x40abef
lea eax, [ebx - 0x10]
jmp 0x40abbd
push esi
push esi
lea ecx, [ebp - 0x1c]
push ecx
push esi
push str.HTTP_1.1
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], str.text_
push str.POST
push eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jne 0x40ac33
push dword [edi]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi], esi
lea eax, [ebx - 0x10]
call fcn.004016a2
mov eax, esi
jmp 0x40abc4
xor esi, esi
inc esi
jmp 0x40ac27
Function at 0x40bc27
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x418
mov eax, 0x41b499
call fcn.0041a287
lea eax, [ebp - 0x418]
mov ebx, ecx
push eax
mov ecx, str.http:__qqhelper.qq.com:8080_site_media_QQTroubleShoot.exe
mov edi, edx
call fcn.00409144
lea eax, [ebp - 0x424]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0040ee55
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x414]
mov dword [esp], str.QQTroubleShoot.exe
push ecx
mov ecx, eax
call fcn.00404737
pop ecx
pop ecx
mov byte [ebp - 4], 2
call fcn.004045b0
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
call fcn.004016a2
mov edi, dword [edi]
push esi
push 0x80
push 2
push esi
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40bd78
push esi
push SysReAllocString
push esi
push esi
push dword [ebp - 0x418]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, esi
mov dword [ebp - 0x414], eax
je 0x40bd78
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x41c]
push ecx
push 0x3ff
lea ecx, [ebp - 0x410]
push ecx
push eax
jmp 0x40bd53
cmp dword [ebp - 0x41c], esi
je 0x40bd8e
push esi
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x41c]
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40bd65
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp - 0x420]
jne 0x40bd65
lea eax, [ebp - 0x41c]
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x414]
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x420], esi
call ebx
test eax, eax
jne 0x40bd00
push dword [ebp - 0x414]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x418]
add eax, 0xfffffff0
call fcn.004016a2
xor eax, eax
call fcn.0041a30a
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x414]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x418]
add eax, 0xfffffff0
call fcn.004016a2
xor eax, eax
inc eax
jmp 0x40bd88
Function at 0x40cb80
Capabilities:
Check if file exists

Disassembly:
push 0x54
mov eax, 0x41b70a
call fcn.0041a21e
mov eax, dword [0x429134]
test eax, eax
je 0x40cbb3
push eax
push 0x422d98
push 0x41e71c
call fcn.0041209a
mov eax, dword [0x429134]
add esp, 0xc
call fcn.0041a2f6
ret
mov eax, dword [0x429220]
mov ecx, 0x429220
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea ebx, [ebp - 0x10]
call fcn.0040cabd
test al, al
jne 0x40cbfe
push str.GetLCID:_Get_Base_Dir_fail_
push 0x41e71c
call fcn.0041209a
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov esi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004016a2
mov eax, esi
jmp 0x40cbad
push 0x5c
lea edi, [ebp - 0x10]
call fcn.0040f39c
push 0x2f
call fcn.0040f39c
push str.I18nconfig.xml
mov eax, edi
push eax
call fcn.00404609
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40cc40
push dword [ebp - 0x10]
push str.GetLCID:_config_not_exist___s
push 0x41e71c
call fcn.0041209a
add esp, 0xc
jmp 0x40cbe7
lea ecx, [ebp - 0x60]
call dword [sym.imp.tinyxml.dll_public:_void___thiscall_TiXmlDocument::constructor_void_]
xor ebx, ebx
push ebx
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x60]
call dword [sym.imp.tinyxml.dll_public:_bool___thiscall_TiXmlDocument::LoadFile_wchar_t_const___enum_TiXmlEncoding_]
test al, al
jne 0x40cc8a
push str.GetLCID:_Load_File_fail_
push 0x41e71c
call fcn.0041209a
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov esi, eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call dword [sym.imp.tinyxml.dll_public_virtual:_void___thiscall_TiXmlDocument::destructor_void_]
jmp 0x40cbef
lea ecx, [ebp - 0x60]
call dword [sym.imp.tinyxml.dll_public:_class_TiXmlElement____thiscall_TiXmlDocument::RootElement_void_]
mov edi, eax
cmp edi, ebx
jne 0x40cca0
push str.GetLCID:_Get_Root_Element_fail_
jmp 0x40cc65
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov ecx, edi
mov esi, eax
call dword [sym.imp.tinyxml.dll_public:_class_TiXmlElement____thiscall_TiXmlNode::FirstChildElement_void_]
jmp 0x40ccfd
mov ecx, edi
call dword [sym.imp.tinyxml.dll_public:_char_const____thiscall_TiXmlNode::Value_void_const]
cmp eax, ebx
je 0x40ccf5
push str.locale
push eax
call sub.MSVCR80.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x40ccf5
push 0x422ed8
mov ecx, edi
call dword [sym.imp.tinyxml.dll_public:_char_const____thiscall_TiXmlElement::Attribute_char_const__const]
cmp eax, ebx
je 0x40ccf5
push 0xa
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.MSVCR80.dll_strtoul]
add esp, 0xc
mov esi, eax
mov ecx, edi
call dword [sym.imp.tinyxml.dll_public:_class_TiXmlElement____thiscall_TiXmlNode::NextSiblingElement_void_]
mov edi, eax
cmp edi, ebx
jne 0x40ccb2
push esi
push str.GetLCID:_from_config__lu
push 0x41e71c
call fcn.0041209a
add esp, 0xc
jmp 0x40cc79
Function at 0x40d44a
Capabilities:
Get file version info

Disassembly:
push 0x184
mov eax, 0x41ae56
call fcn.0041a287
xor edi, edi
mov ebx, edx
cmp ebx, edi
mov esi, ecx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x54], edi
je 0x40d615
cmp word [ebx], di
je 0x40d615
push edi
push edi
push 3
push edi
push 3
push SysReAllocString
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x54], eax
je 0x40d615
mov eax, dword [0x429220]
mov esi, 0x429220
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], edi
mov eax, dword [0x429220]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x60], eax
push edi
push ebx
mov byte [ebp - 4], 1
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
je 0x40d535
push esi
call fcn.004197f2
pop ecx
push eax
push esi
push edi
push ebx
mov dword [ebp - 0x68], eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40d52c
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0x421fb4
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40d52c
mov eax, dword [ebp - 0x6c]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
lea eax, [ebp - 0x58]
push str._d._d._d._d
push eax
call fcn.0040541a
add esp, 0x18
push dword [ebp - 0x68]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov ebx, dword [ebp - 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
lea eax, [ebp - 0x5c]
push eax
push 0x40
lea eax, [ebp - 0x50]
push eax
push ebx
call esi
test eax, eax
je 0x40d5e2
cmp dword [ebp - 0x5c], 0x40
jne 0x40d5e2
push edi
push edi
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 0x5c]
push eax
mov edi, 0xf8
push edi
lea eax, [ebp - 0x190]
push eax
push ebx
call esi
test eax, eax
je 0x40d5e2
cmp dword [ebp - 0x5c], edi
jne 0x40d5e2
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR80.dll__gmtime32]
push 9
pop ecx
mov esi, eax
lea edi, [ebp - 0x94]
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x94]
mov eax, dword [ebp - 0x84]
push dword [ebp - 0x90]
inc eax
push dword [ebp - 0x8c]
push dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x80]
add eax, 0x76c
push eax
lea eax, [ebp - 0x60]
push str.__04d__02d__02d__02d:_02d:_02d_GMT
push eax
call fcn.0040541a
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x64]
lea ecx, [ebp - 0x58]
call fcn.004046e6
mov eax, dword [ebp - 0x60]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x64]
jmp 0x40d622
push esi
mov ecx, 0x4221c8
call fcn.00404554
mov eax, esi
call fcn.0041a30a
ret
Function at 0x40d6a5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x429024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040f2f2
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x70]
push ecx
push 0x20019
xor esi, esi
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
call fcn.004016a2
cmp edi, esi
jne 0x40d7a9
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push str.FullDump
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], 4
call edi
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x74], 4
jne 0x40d792
cmp dword [ebp - 0x6c], ebx
jne 0x40d792
push 0x62
lea eax, [ebp - 0x66]
push esi
push eax
mov word [ebp - 0x68], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push str.HASH
push dword [ebp - 0x70]
mov dword [ebp - 0x84], 0x64
mov dword [ebp - 0x80], ebx
call edi
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x7c]
mov word [ebp - 6], si
call fcn.00404ab4
test eax, eax
jne 0x40d792
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x40d7ae
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], 4
jne 0x40d7a9
cmp dword [ebp - 0x6c], 2
mov eax, ebx
je 0x40d7ae
mov eax, dword [0x42966c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419804
leave
ret

Function at 0x40d9c1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040f2f2
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov eax, dword [ebp - 0xc]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.004016a2
test bl, bl
pop ebx
je 0x40da4e
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.bUseInterMod
push dword [ebp - 4]
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 4
jne 0x40da4e
xor eax, eax
inc eax
cmp dword [ebp - 0xc], eax
jne 0x40da4e
mov dword [0x42966c], eax
leave
ret
Function at 0x40db41
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1090
call fcn.0041a370
mov eax, dword [0x429024]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x1028], 0
push ebx
mov dword [ebp - 0x1020], eax
push esi
push edi
xor eax, eax
mov byte [ebp - 0x18], 0
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, ecx
lea esi, [ebp - 0x108c]
mov dword [ebp - 0x1024], ebx
stosb byte es:[edi], al
call fcn.00417d6d
push 0x423218
push ebx
call dword [sym.imp.MSVCR80.dll__wfopen]
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x40dbdd
mov esi, dword [sym.imp.MSVCR80.dll_fread]
mov edi, 0x1000
jmp 0x40dbbf
lea ecx, [ebp - 0x101c]
lea edx, [ebp - 0x108c]
call fcn.004184b7
push ebx
push edi
lea eax, [ebp - 0x101c]
push 1
push eax
call esi
add esp, 0x10
test eax, eax
jne 0x40dbae
push ebx
call dword [sym.imp.MSVCR80.dll_fclose]
pop ecx
jmp 0x40dbfc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x1024]
push str.GetModuleHashStr_open_file___s__fail_errno__lu_
push 0x41e71c
call fcn.0041209a
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea esi, [ebp - 0x108c]
call fcn.004186c2
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1020]
call fcn.0040dc32
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x1020]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419804
leave
ret

Function at 0x40e679
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 5
push 0xffffffffffffffff
push 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x40e6df
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x40e6b9
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x40e6d2
push 0x103
push dword [ebp - 4]
push esi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
and word [esi + 0x206], 0
push dword [ebp - 4]
call sub.WTSAPI32.dll_WTSFreeMemory
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret