joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40731d
Capabilities:
Check if file exists
Get file system object information

Disassembly:
push 0x2f4
mov eax, 0x42046b
call fcn.0041eefb
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 0x407552
push 0x4066e8
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push 1
push 0x21
push 0x20
push 0x20
mov dword [0x432f40], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x110
push 0x2b4
mov dword [ebx + 0x24], 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 + 0x24]
call esi
push 0x110
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 + 0x24]
call esi
push 0x110
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 + 0x24]
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 + 0x24]
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.00403ace
and dword [ebp - 4], 0
push 0
push dword [ebp - 0x2d0]
mov ecx, eax
call fcn.004085c7
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2dc]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x2d8]
push 2
push eax
call fcn.004010c5
mov ebx, eax
call fcn.00403ace
mov dword [ebp - 4], edi
push dword [ebp - 0x2d8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x4074c2
push 0
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2d8]
call fcn.004085c7
lea eax, [ebp - 0x2d4]
push 0x60
push eax
call fcn.004010c5
call fcn.00403aa9
mov byte [ebp - 4], 2
push dword [ebp - 0x2d4]
call esi
test eax, eax
je 0x4074f7
push edi
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2d4]
call fcn.004085c7
cmp dword [0x432f88], 0
je 0x407536
lea eax, [ebp - 0x2e0]
push 0x167
push eax
call fcn.004010c5
call fcn.00403aa9
push edi
push dword [ebp - 0x2d0]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004085c7
mov eax, dword [ebp - 0x2e0]
add eax, 0xfffffff0
call main
mov eax, dword [ebp - 0x2d4]
add eax, 0xfffffff0
call main
mov eax, dword [ebp - 0x2d8]
add eax, 0xfffffff0
call main
call fcn.0041ef7e
ret
Function at 0x40b03e
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 0x40b075
push str.GIF_not_initialized
push 0x42649c
call fcn.00414b27
pop ecx
pop ecx
jmp 0x40b0bd
cmp dword [esi + 0x24], 1
jbe 0x40b0bd
cmp dword [esi + 0x14], ebx
jne 0x40b0bd
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x40b2c5
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 0x40b0b6
push str.Couldnt_start_a_GIF_animation_thread_n
push 0x42649c
call fcn.00414b27
pop ecx
pop ecx
mov al, 1
jmp 0x40b0bf
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor al, al
pop ebx
pop ebp
ret 0xc
Function at 0x40b447
Capabilities:
Get file version info

Disassembly:
push 0x238
mov eax, 0x42063c
call fcn.0041eefb
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x244], eax
jne 0x40b46c
xor eax, eax
jmp 0x40b65a
push dword [ebp + 8]
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, esi
je 0x40b465
push 0x208
lea eax, [ebp - 0x21e]
push esi
push eax
mov word [ebp - 0x220], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x220]
push eax
push esi
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
push edi
jne 0x40b4bd
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40b465
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 0x23c], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, esi
je 0x40b465
push edi
call fcn.0041e4c4
pop ecx
push eax
push edi
push dword [ebp - 0x23c]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x220]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40b465
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x230]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x228]
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
call sub.VERSION.dll_VerQueryValueW
xor edi, edi
test dword [ebp - 0x22c], 0xfffffffc
mov dword [ebp - 0x234], esi
jbe 0x40b648
mov eax, dword [0x432b20]
mov ecx, 0x432b20
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x230]
lea eax, [eax + edi*4]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x238]
push str.StringFileInfo_04x_04xCompanyName
push eax
call fcn.004058e5
mov ebx, dword [ebp - 0x238]
add esp, 0x10
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x224]
push eax
push ebx
push dword [ebp - 0x228]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x240], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x40b5de
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x224]
push eax
push str.StringFileInfo040904e4CompanyName
push dword [ebp - 0x228]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40b5fe
cmp dword [ebp - 0x224], esi
je 0x40b5fe
push dword [ebp - 0x244]
push dword [ebp - 0x224]
call dword [sym.imp.MSVCR80.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
jne 0x40b61e
or dword [ebp - 4], 0xffffffff
lea eax, [ebx - 0x10]
call main
mov eax, dword [ebp - 0x22c]
inc edi
shr eax, 2
cmp edi, eax
jb 0x40b54d
jmp 0x40b648
push dword [ebp - 0x224]
push str.company_name__s
push 0x426488
call fcn.00414b27
add esp, 0xc
lea eax, [ebx - 0x10]
mov dword [ebp - 0x234], 1
call main
push dword [ebp - 0x228]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov eax, dword [ebp - 0x234]
pop ecx
call fcn.0041ef7e
ret
Function at 0x40bc59
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x414
mov eax, 0x4205c6
call fcn.0041eefb
mov esi, ecx
mov edi, edx
xor ebx, ebx
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x41c], ebx
call fcn.004045ad
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x414], ebx
mov ebx, 0x400
push ebx
lea eax, [ebp - 0x410]
push eax
push edi
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x41c], 1
jmp 0x40bcee
cmp dword [ebp - 0x414], 0
je 0x40bd08
push dword [ebp - 0x414]
lea eax, [ebp - 0x410]
push eax
mov eax, esi
call fcn.0040569b
and dword [ebp - 0x414], 0
lea eax, [ebp - 0x414]
push eax
push ebx
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x418]
call edi
test eax, eax
jne 0x40bcb5
push 0x429528
mov edi, 0x426474
push edi
call fcn.00414b27
pop ecx
pop ecx
jmp 0x40bd0d
mov edi, 0x426474
push dword [esi]
lea eax, [ebp - 0x418]
push eax
call fcn.004145c2
mov ebx, dword [ebp - 0x418]
push ebx
push str.Received_cmd3_ack_s
push edi
call fcn.00414b27
mov eax, dword [esi]
add esp, 0x14
cmp dword [eax - 0xc], 0
jne 0x40bd45
push 0x4295b0
push edi
call fcn.00414b27
pop ecx
pop ecx
lea eax, [ebx - 0x10]
call main
mov eax, esi
call fcn.0041ef7e
ret

Function at 0x40bfec
Capabilities:
Connect to http server

Disassembly:
push 0x10
mov eax, 0x420589
call fcn.0041ee92
mov eax, dword [0x432b20]
mov ecx, 0x432b20
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
xor edi, edi
push eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
lea ebx, [ebp - 0x10]
call fcn.0040b9b1
test eax, eax
jne 0x40c03b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call main
xor eax, eax
call fcn.0041ef6a
ret 0xc
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push edi
push edi
push 3
push edi
push edi
push dword [ebp + 0x10]
push ebx
push dword [eax]
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, edi
mov dword [esi], eax
jne 0x40c05e
lea eax, [ebx - 0x10]
jmp 0x40c02c
push 0x4296b8
push 0x426474
call fcn.00414b27
pop ecx
pop ecx
push edi
push edi
lea eax, [ebp - 0x1c]
push eax
push edi
push str.HTTP_1.1
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], str.text_
push str.POST
push dword [esi]
mov dword [ebp - 0x18], edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, edi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jne 0x40c0b7
push dword [esi]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi], edi
lea eax, [ebx - 0x10]
call main
mov eax, edi
jmp 0x40c033
xor edi, edi
inc edi
jmp 0x40c0a8
Function at 0x40df5d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42151a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x432024]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 8]
mov esi, 0x426474
push str.SendCMD3:_KEY_lu
push esi
call fcn.00414b27
pop ecx
pop ecx
mov eax, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0040c1c1
lea eax, [esp + 0x24]
push eax
call fcn.0040dc30
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov eax, dword [0x432b20]
mov ecx, 0x432b20
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 1
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push dword [ebp + 8]
push str.Key_luData_s
push eax
call fcn.004058f9
add esp, 0x10
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
push edi
mov dword [edi + 4], ebx
call fcn.0040c0bc
test eax, eax
je 0x40e098
mov eax, dword [esp + 0x18]
push dword [eax - 0xc]
push eax
push ebx
push ebx
push dword [esp + 0x24]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, ebx
je 0x40e077
push 0x429940
push esi
call fcn.00414b27
mov edx, dword [esp + 0x1c]
pop ecx
pop ecx
lea ecx, [esp + 0x1c]
call fcn.0040bc59
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebx
je 0x40e06d
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
call fcn.00405239
add eax, 0x10
mov dword [esi], eax
call fcn.0040bd55
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], 1
add eax, 0xfffffff0
call main
jmp 0x40e084
push 0x429954
push esi
call fcn.00414b27
pop ecx
pop ecx
push dword [esp + 0x24]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [esp + 0x14]
call esi
jmp 0x40e0a5
push 0x429968
push esi
call fcn.00414b27
pop ecx
pop ecx
mov eax, dword [esp + 0x18]
mov edi, dword [edi + 4]
add eax, 0xfffffff0
call main
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call main
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e34f
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x418
mov eax, 0x420417
call fcn.0041eefb
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.0040a29f
lea eax, [ebp - 0x424]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0041171e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x414]
mov dword [esp], str.QQTroubleShoot.exe
push ecx
mov ecx, eax
call fcn.00404989
pop ecx
pop ecx
mov byte [ebp - 4], 2
call fcn.00404802
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
call main
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
call main
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 0x40e4a0
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 0x40e4a0
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 0x40e47b
cmp dword [ebp - 0x41c], esi
je 0x40e4b6
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 0x40e48d
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp - 0x420]
jne 0x40e48d
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 0x40e428
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 main
xor eax, eax
call fcn.0041ef7e
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 main
xor eax, eax
inc eax
jmp 0x40e4b0
Function at 0x40f2d7
Capabilities:
Check if file exists

Disassembly:
push 0x54
mov eax, 0x4204cf
call fcn.0041ee92
mov eax, dword [0x432134]
test eax, eax
je 0x40f30a
push eax
push 0x429ae4
push 0x426430
call fcn.00414b27
mov eax, dword [0x432134]
add esp, 0xc
call fcn.0041ef6a
ret
mov eax, dword [0x432b20]
mov ecx, 0x432b20
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea ebx, [ebp - 0x10]
call fcn.0040f214
test al, al
jne 0x40f355
push str.GetLCID:_Get_Base_Dir_fail_
push 0x426430
call fcn.00414b27
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov esi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call main
mov eax, esi
jmp 0x40f304
push 0x5c
lea edi, [ebp - 0x10]
call fcn.00411eb8
push 0x2f
call fcn.00411eb8
push str.I18nconfig.xml
mov eax, edi
push eax
call fcn.0040485b
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f397
push dword [ebp - 0x10]
push str.GetLCID:_config_not_exist___s
push 0x426430
call fcn.00414b27
add esp, 0xc
jmp 0x40f33e
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 0x40f3e1
push str.GetLCID:_Load_File_fail_
push 0x426430
call fcn.00414b27
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
lea ecx, [ebp - 0x60]
mov esi, eax
mov byte [ebp - 4], bl
call dword [sym.imp.tinyxml.dll_public_virtual:_void___thiscall_TiXmlDocument::destructor_void_]
jmp 0x40f346
lea ecx, [ebp - 0x60]
call dword [sym.imp.tinyxml.dll_public:_class_TiXmlElement____thiscall_TiXmlDocument::RootElement_void_]
mov esi, eax
cmp esi, ebx
jne 0x40f3f7
push str.GetLCID:_Get_Root_Element_fail_
jmp 0x40f3bc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov ecx, esi
mov edi, eax
call dword [sym.imp.tinyxml.dll_public:_class_TiXmlElement____thiscall_TiXmlNode::FirstChildElement_void_]
jmp 0x40f43f
mov ecx, esi
call dword [sym.imp.tinyxml.dll_public:_char_const____thiscall_TiXmlNode::Value_void_const]
cmp eax, ebx
je 0x40f437
push str.locale
push eax
call sub.MSVCR80.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x40f437
push 0x429c28
mov ecx, esi
call dword [sym.imp.tinyxml.dll_public:_char_const____thiscall_TiXmlElement::Attribute_char_const__const]
cmp eax, ebx
jne 0x40f46b
mov ecx, esi
call dword [sym.imp.tinyxml.dll_public:_class_TiXmlElement____thiscall_TiXmlNode::NextSiblingElement_void_]
mov esi, eax
cmp esi, ebx
jne 0x40f409
push edi
push str.GetLCID:_from_default__lu
push 0x426430
call fcn.00414b27
add esp, 0xc
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call dword [sym.imp.tinyxml.dll_public_virtual:_void___thiscall_TiXmlDocument::destructor_void_]
mov esi, edi
jmp 0x40f346
push 0xa
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.MSVCR80.dll_strtoul]
mov edi, eax
push edi
push str.GetLCID:_from_config__lu
push 0x426430
call fcn.00414b27
add esp, 0x18
jmp 0x40f458
Function at 0x40fc34
Capabilities:
Get file version info

Disassembly:
push 0x184
mov eax, 0x41fcf5
call fcn.0041eefb
xor edi, edi
mov ebx, edx
cmp ebx, edi
mov esi, ecx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x54], edi
je 0x40fdff
cmp word [ebx], di
je 0x40fdff
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 0x40fdff
mov eax, dword [0x432b20]
mov esi, 0x432b20
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], edi
mov eax, dword [0x432b20]
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 0x40fd1f
push esi
call fcn.0041e4c4
pop ecx
push eax
push esi
push edi
push ebx
mov dword [ebp - 0x68], eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40fd16
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0x427324
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40fd16
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.004058e5
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 0x40fdcc
cmp dword [ebp - 0x5c], 0x40
jne 0x40fdcc
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 0x40fdcc
cmp dword [ebp - 0x5c], edi
jne 0x40fdcc
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.004058e5
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.00404938
mov eax, dword [ebp - 0x60]
pop ecx
pop ecx
add eax, 0xfffffff0
call main
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
call main
mov eax, dword [ebp - 0x64]
jmp 0x40fe0c
push esi
mov ecx, 0x427538
call fcn.004047a6
mov eax, esi
call fcn.0041ef7e
ret
Function at 0x40ff0f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x432024]
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.00411bbb
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 main
cmp edi, esi
jne 0x410013
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 0x40fffc
cmp dword [ebp - 0x6c], ebx
jne 0x40fffc
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.00404e2e
test eax, eax
jne 0x40fffc
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x410018
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], 4
jne 0x410013
cmp dword [ebp - 0x6c], 2
mov eax, ebx
je 0x410018
mov eax, dword [0x432f88]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e4d6
leave
ret

Function at 0x41022f
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.00411bbb
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 main
test bl, bl
pop ebx
je 0x4102bc
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 0x4102bc
xor eax, eax
inc eax
cmp dword [ebp - 0xc], eax
jne 0x4102bc
mov dword [0x432f88], eax
leave
ret