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

Disassembly:
push 0x2ec
mov eax, 0x4240ca
call fcn.004231c0
mov esi, ecx
mov dword [ebp - 0x2cc], esi
push 0x3f2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x409ace
push 0x408882
push 0xfffffffffffffffc
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push 1
push 0x21
push 0x20
push 0x20
mov dword [0x437e5c], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x110
push 0x2b4
mov dword [esi + 0x34], eax
lea eax, [ebp - 0x2c8]
push eax
push 0x80
push str.file.txt
call edi
push dword [ebp - 0x2c8]
push 0xffffffffffffffff
push dword [esi + 0x34]
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
call esi
push 0x110
push 0x2b4
lea eax, [ebp - 0x2c8]
push eax
push 0x80
push str.file.dmp
call edi
push dword [ebp - 0x2c8]
mov eax, dword [ebp - 0x2cc]
push 0xffffffffffffffff
push dword [eax + 0x34]
call esi
push 0x110
push 0x2b4
lea eax, [ebp - 0x2c8]
push eax
push 0x80
push str.file.tlg
call edi
push dword [ebp - 0x2c8]
mov edi, dword [ebp - 0x2cc]
push 0xffffffffffffffff
push dword [edi + 0x34]
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x2f8]
push eax
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x2f8], 4
push 0x1061
push ebx
movlpd qword [ebp - 0x2f4], xmm0
movlpd qword [ebp - 0x2e8], xmm0
movlpd qword [ebp - 0x2e0], xmm0
mov dword [ebp - 0x2ec], str.name
call esi
push dword [edi + 0x34]
push 0
push 0x1003
push ebx
call esi
call fcn.0040117a
xor edi, edi
lea ecx, [ebp - 0x2cc]
inc edi
push edi
push ecx
mov ecx, eax
call fcn.00405323
and dword [ebp - 4], 0
push eax
push 0
push ebx
call fcn.0040acb9
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2cc]
lea ecx, [ecx - 0x10]
call fcn.0040188c
call fcn.0040117a
push 2
lea ecx, [ebp - 0x2d4]
push ecx
mov ecx, eax
call fcn.00405323
mov dword [ebp - 4], edi
push dword [ebp - 0x2d4]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x409a41
lea eax, [ebp - 0x2d4]
push eax
push 0
push ebx
call fcn.0040acb9
call fcn.0040117a
push 0x860
lea ecx, [ebp - 0x2d0]
push ecx
mov ecx, eax
call fcn.00405304
mov byte [ebp - 4], 2
push dword [ebp - 0x2d0]
call esi
test eax, eax
je 0x409a77
lea eax, [ebp - 0x2d0]
push eax
push edi
push ebx
call fcn.0040acb9
cmp dword [0x437e9c], 0
je 0x409ab2
call fcn.0040117a
push 0x967
lea ecx, [ebp - 0x2d8]
push ecx
mov ecx, eax
call fcn.00405304
push eax
push edi
push ebx
mov byte [ebp - 4], 3
call fcn.0040acb9
mov ecx, dword [ebp - 0x2d8]
lea ecx, [ecx - 0x10]
call fcn.0040188c
mov ecx, dword [ebp - 0x2d0]
lea ecx, [ecx - 0x10]
call fcn.0040188c
mov ecx, dword [ebp - 0x2d4]
lea ecx, [ecx - 0x10]
call fcn.0040188c
call fcn.0042316a
ret
Function at 0x409ad4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x43700c]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 0
mov esi, eax
jl 0x409b64
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
xor ecx, ecx
push 1
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [ebp - 0x20]
xor ecx, ecx
push 0x5d
push ecx
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
push ecx
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x409b6d
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004221ab
leave
ret 8
Function at 0x40b3bf
Capabilities:
Create process on windows

Disassembly:
push 0x60
mov eax, 0x42435c
call fcn.0042318c
push 0x3fc
call fcn.00409b7e
test eax, eax
je 0x40b4fc
call fcn.0040117a
mov ecx, eax
call fcn.00405761
test eax, eax
je 0x40b4fc
push 0x40
xor esi, esi
mov dword [ebp - 0x6c], 0x44
lea eax, [ebp - 0x68]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x18]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x40], ebx
stosd dword es:[edi], eax
mov word [ebp - 0x3c], bx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00416a37
push eax
mov edx, 0x42bbfc
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x14]
call fcn.004060cc
push str.___manual_0
mov edx, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.00406141
add esp, 0x14
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040188c
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0040188c
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], ebx
jle 0x40b477
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.0040161a
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00406678
test esi, esi
je 0x40b4d8
push 0xffffffffffffffff
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
push 0x42bc00
push 0x426954
call fcn.00419776
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040188c
mov eax, ebx
jmp 0x40b4fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.UpdateCrashApp:_launch_txupd_failed__lu
push 0x426954
call fcn.00419776
mov ecx, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.0040188c
xor eax, eax
call fcn.00423155
ret
Function at 0x40d21b
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
or dword [esi + 0x40], 0xffffffff
cmp byte [esi + 0x2c], 0
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x3c], eax
jne 0x40d25a
push str.GIF_not_initialized
push 0x426a04
call fcn.00419776
pop ecx
pop ecx
jmp 0x40d2a6
cmp dword [esi + 0x24], 1
jbe 0x40d2a6
xor ecx, ecx
cmp dword [esi + 0x14], ecx
jne 0x40d2a6
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
push 4
push esi
push 0x40d4c1
push ecx
push ecx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x14], eax
test eax, eax
jne 0x40d29f
push str.Couldnt_start_a_GIF_animation_thread_n
push 0x426a04
call fcn.00419776
pop ecx
pop ecx
mov al, 1
jmp 0x40d2a8
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x40d30c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x42684c
push 0x86
xor bl, bl
call fcn.00415c01
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40d33a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x40d3ad
push edi
push esi
call fcn.00415c01
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x40d352
xor al, al
jmp 0x40d3ac
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40d3a3
call fcn.00415c01
cmp dword [ebp + 0x10], 0
mov ecx, eax
push esi
push ecx
jne 0x40d37c
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x40d3a1
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x14]
cmp ecx, eax
jl 0x40d3a3
push ecx
push dword [ebp - 4]
push dword [ebp + 0x10]
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
add esp, 0xc
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x40d664
Capabilities:
Hash data with md5

Disassembly:
push esi
push edi
push 0x5c
xor edi, edi
mov esi, ecx
push edi
push esi
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x58], edi
mov dword [esi], 0x67452301
pop edi
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
pop esi
ret
Function at 0x40f2b0
Capabilities:
Get file version info

Disassembly:
push 0x230
mov eax, 0x424687
call fcn.004231c0
mov eax, edx
mov dword [ebp - 0x23c], eax
test eax, eax
jne 0x40f2d2
xor eax, eax
jmp 0x40f4aa
push ecx
xor edi, edi
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40f2cb
push 0x20a
lea eax, [ebp - 0x21c]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push edi
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push esi
test eax, eax
jne 0x40f31d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40f2cb
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], edi
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x40f2cb
push esi
call fcn.0042246a
pop ecx
mov ebx, eax
lea eax, [ebp - 0x21c]
push ebx
push esi
push dword [ebp - 0x228]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40f2cb
lea eax, [ebp - 0x224]
mov dword [ebp - 0x22c], edi
push eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x224], edi
push eax
push str.VarFileInfoTranslation
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test dword [ebp - 0x224], 0xfffffffc
mov esi, edi
mov dword [ebp - 0x238], esi
jbe 0x40f4a1
mov dword [ebp - 4], edi
call fcn.00401b0a
push eax
lea ecx, [ebp - 0x230]
call fcn.00401564
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x22c]
movzx eax, word [ecx + esi*4 + 2]
push eax
movzx eax, word [ecx + esi*4]
push eax
lea eax, [ebp - 0x230]
push str.StringFileInfo_04x_04xCompanyName
push eax
call fcn.0040731f
mov esi, dword [ebp - 0x230]
lea eax, [ebp - 0x234]
add esp, 0x10
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x234], edi
push eax
lea eax, [ebp - 0x220]
push eax
push esi
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x40f431
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x220]
push eax
push str.StringFileInfo040904e4CompanyName
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40f452
cmp dword [ebp - 0x220], 0
je 0x40f452
push dword [ebp - 0x23c]
push dword [ebp - 0x220]
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
jne 0x40f47e
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.0040188c
mov esi, dword [ebp - 0x238]
mov eax, dword [ebp - 0x224]
inc esi
shr eax, 2
mov dword [ebp - 0x238], esi
cmp esi, eax
jb 0x40f3a7
jmp 0x40f4a1
push dword [ebp - 0x220]
push str.company_name__s
push 0x426a2c
call fcn.00419776
add esp, 0xc
lea ecx, [esi - 0x10]
xor edi, edi
inc edi
call fcn.0040188c
push ebx
call fcn.004224a3
pop ecx
mov eax, edi
call fcn.0042316a
ret
Function at 0x40f596
Capabilities:
Enumerate processes

Disassembly:
push 0x240
mov eax, 0x4246db
call fcn.004231c0
mov edi, ecx
mov dword [ebp - 0x240], edi
xor esi, esi
mov dword [ebp - 0x240], edi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40f5d6
push 0x42b7cc
mov ecx, edi
call fcn.0040655d
jmp 0x40f762
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x40f5fb
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40f5c5
mov dword [ebp - 4], esi
call fcn.00401b0a
push eax
lea ecx, [ebp - 0x248]
call fcn.00401564
mov dword [ebp - 4], 1
mov dword [ebp - 0x24c], esi
push dword [ebp - 0x234]
or dword [ebp - 0x244], 0xffffffff
lea eax, [ebp - 0x218]
push eax
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x244]
call fcn.0040f4b0
pop ecx
pop ecx
test eax, eax
jne 0x40f6b4
cmp dword [ebp - 0x244], 0xffffffff
je 0x40f69c
push dword [ebp - 0x244]
movzx eax, word [ebp - 0x218]
add esi, 0xa
push eax
lea eax, [ebp - 0x240]
push str._c_d
push eax
call fcn.00415b11
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00406e96
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
call fcn.0040188c
lea eax, [ebp - 0x23c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40f61c
jmp 0x40f700
push dword [ebp - 0x244]
movzx eax, word [ebp - 0x218]
add esi, 0x14
push eax
lea eax, [ebp - 0x240]
push str._c_d
push eax
call fcn.00415b11
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00406e96
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
call fcn.0040188c
test esi, esi
je 0x40f740
push esi
lea eax, [ebp - 0x240]
push 0x42db38
push eax
call fcn.00415b11
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00406e96
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
call fcn.0040188c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x248]
lea ecx, [esi - 0x10]
call fcn.00406d2d
add eax, 0x10
lea ecx, [esi - 0x10]
mov dword [edi], eax
call fcn.0040188c
mov eax, edi
call fcn.0042316a
ret
Function at 0x40fadf
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x414
mov eax, 0x424793
call fcn.004231c0
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x420], edi
and dword [ebp - 0x418], 0
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
call fcn.00401b0a
push eax
mov ecx, edi
call fcn.00401564
and dword [ebp - 4], 0
mov dword [ebp - 0x418], ebx
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x40fb43
cmp dword [ebp - 0x414], 0
je 0x40fb75
push dword [ebp - 0x414]
lea eax, [ebp - 0x410]
mov ecx, edi
push eax
call fcn.00406e0d
and dword [ebp - 0x414], 0
lea eax, [ebp - 0x414]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push esi
call ebx
test eax, eax
jne 0x40fb26
push 0x42dc08
push 0x426ad8
call fcn.00419776
pop ecx
pop ecx
mov edx, dword [edi]
push ecx
lea ecx, [ebp - 0x41c]
call fcn.00419201
mov esi, dword [ebp - 0x41c]
mov ebx, 0x426ad8
push esi
push str.Received_cmd3_ack_s
push ebx
call fcn.00419776
mov eax, dword [edi]
add esp, 0x10
cmp dword [eax - 0xc], 0
jne 0x40fbb2
push 0x42dc90
push ebx
call fcn.00419776
pop ecx
pop ecx
lea ecx, [esi - 0x10]
call fcn.0040188c
mov eax, edi
call fcn.0042316a
ret 8
Function at 0x412d16
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push 0x41c
mov eax, 0x425050
call fcn.004231c0
mov dword [ebp - 0x428], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x41c]
push str.http:__qqhelper.qq.com:8080_site_media_QQTroubleShoot.exe
call fcn.0040c4ad
xor edi, edi
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], edi
call fcn.004162aa
xor ebx, ebx
lea ecx, [ebp - 0x420]
inc ebx
mov edx, eax
push str.QQTroubleShoot.exe
mov byte [ebp - 4], bl
call fcn.00406141
pop ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040650f
mov ecx, dword [ebp - 0x420]
lea ecx, [ecx - 0x10]
call fcn.0040188c
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.0040188c
push edi
push 0x80
push 2
push edi
push ebx
push 0x40000000
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x412e4d
xor eax, eax
push eax
push SysReAllocString
push eax
push eax
mov eax, dword [ebp - 0x428]
push dword [ebp - 0x41c]
push dword [eax]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x412e4d
jmp 0x412e13
cmp dword [ebp - 0x414], 0
je 0x412e67
push 0
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x414]
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x412e3f
mov eax, dword [ebp - 0x414]
cmp eax, dword [ebp - 0x418]
jne 0x412e3f
and dword [ebp - 0x414], 0
lea eax, [ebp - 0x414]
and dword [ebp - 0x418], 0
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x412dd7
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov ecx, dword [ebp - 0x41c]
add ecx, 0xfffffff0
call fcn.0040188c
mov eax, ebx
call fcn.0042316a
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x412e4f
Function at 0x413812
Capabilities:
Read .ini file

Disassembly:
push 0x438
mov eax, 0x42512e
call fcn.004231c0
push 0x424
xor esi, esi
lea eax, [ebp - 0x434]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x434]
push 0x212
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.bugreport.ini
lea eax, [ebp - 0x434]
push 0x5c
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
pop ecx
pop ecx
add eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
push 0x8000
call fcn.0042246a
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x434]
push eax
push 0x4000
push ebx
push str.STRINGTABLE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x413976
mov edi, ebx
cmp word [ebx], si
je 0x413976
push edi
lea ecx, [ebp - 0x438]
call fcn.0040655d
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], esi
call fcn.0040b7ee
push esi
push 0x42e368
lea ecx, [ebp - 0x438]
call fcn.00406313
mov dword [ebp - 0x43c], eax
cmp eax, 0xffffffff
je 0x41394d
mov ecx, dword [ebp - 0x438]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
lea eax, [ebp - 0x444]
dec ecx
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.0040623c
mov esi, eax
push dword [ebp - 0x43c]
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x438]
call fcn.004061f7
push esi
push eax
mov ecx, 0x437e80
mov byte [ebp - 4], 2
call fcn.00405e52
mov ecx, eax
call fcn.0040650f
mov ecx, dword [ebp - 0x440]
lea ecx, [ecx - 0x10]
call fcn.0040188c
mov ecx, dword [ebp - 0x444]
lea ecx, [ecx - 0x10]
call fcn.0040188c
xor esi, esi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x438]
lea ecx, [ecx - 0x10]
call fcn.0040188c
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
lea edi, [edi + eax*2]
add edi, 2
cmp word [edi], si
jne 0x4138a5
push ebx
call fcn.004224a3
xor eax, eax
pop ecx
inc eax
call fcn.0042316a
ret
Function at 0x414815
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x84
mov eax, 0x4252c1
call fcn.004231c0
mov edi, ecx
lea ecx, [ebp - 0x84]
call fcn.00416729
lea ecx, [ebp - 0x78]
xor ebx, ebx
push ecx
push 0x20019
push ebx
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x84]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0040188c
test esi, esi
jne 0x414919
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], ebx
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], ebx
push eax
push ebx
push str.FullDump
push dword [ebp - 0x78]
mov dword [ebp - 0x88], 4
call esi
cmp dword [ebp - 0x7c], 4
jne 0x414904
cmp dword [ebp - 0x80], 1
jne 0x414904
push 0x64
pop ebx
push ebx
lea eax, [ebp - 0x74]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x8c], ebx
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x90], 1
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x90]
push eax
push 0
push str.HASH
push dword [ebp - 0x78]
call esi
xor eax, eax
mov word [ebp - 0x12], ax
and dword [ebp - 4], eax
lea ecx, [ebp - 0x74]
push ecx
mov ecx, edi
call fcn.00406864
test eax, eax
jne 0x414904
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x41491e
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x7c], 4
jne 0x414919
cmp dword [ebp - 0x80], 2
je 0x4148ff
mov eax, dword [0x437e9c]
call fcn.0042316a
ret

Function at 0x414b77
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov edx, ecx
lea ecx, [ebp - 0xc]
push edi
call fcn.00416729
lea ecx, [ebp - 4]
xor edi, edi
push ecx
push 0x20019
push edi
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0xc]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0040188c
test esi, esi
jne 0x414bfb
push 4
pop esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], edi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push edi
push str.bUseInterMod
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], esi
jne 0x414bfb
mov eax, dword [0x437e9c]
xor ecx, ecx
inc ecx
cmp dword [ebp - 0xc], ecx
cmove eax, ecx
mov dword [0x437e9c], eax
pop edi
pop esi
leave
ret