joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4195e3
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x483e68]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
push 0x46c85c
push 0
mov dword [ebp - 0x408], ecx
mov dword [ebp - 0x414], eax
call fcn.004393e0
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.004374f0
mov ecx, dword [ebp - 0x408]
add esp, 0x14
push 2
call fcn.00418d45
mov dword [ebp - 0x40c], eax
test eax, eax
jne 0x419677
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00405c12
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00405c12
xor eax, eax
lea esp, [ebp - 0x420]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435805
leave
ret 0x10
mov ecx, dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push eax
push dword [ebp + 8]
call fcn.00419340
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0xc]
mov eax, dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrlenW]
add esi, 0x12
mov dword [ebp - 0x410], eax
test eax, eax
je 0x4196b3
push eax
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x4196b7
xor eax, eax
jmp 0x4196d2
lea edi, [eax + eax]
mov eax, edi
call fcn.00439560
mov eax, esp
push 3
push edi
push dword [ebp - 0x410]
push eax
call fcn.00407cbb
mov ecx, dword [ebp - 0x408]
push 0x35
push eax
push esi
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x40c]
call fcn.00418d64
test eax, eax
jg 0x419719
mov eax, dword [ebp - 0x414]
and dword [eax], 0
cmp dword [ebp - 0x40c], 0xffffffff
je 0x419648
push dword [ebp - 0x40c]
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x419648
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call edi
mov esi, dword [ebp - 0x414]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x410], eax
test eax, eax
je 0x419741
push eax
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x419745
xor eax, eax
jmp 0x419766
lea esi, [eax + eax]
mov eax, esi
call fcn.00439560
mov eax, esp
push 3
push esi
push dword [ebp - 0x410]
push eax
call fcn.00407cbb
mov esi, dword [ebp - 0x414]
mov ebx, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x408]
push 0x186a0
push 0x35
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push ebx
call fcn.00418dbd
test eax, eax
jg 0x41979f
cmp ebx, 0xffffffff
je 0x419648
push ebx
jmp 0x41970e
call edi
sub eax, dword [esi]
mov dword [esi], eax
xor esi, esi
cmp word [ebp - 0x3fe], si
jne 0x4197d9
cmp ebx, 0xffffffff
je 0x4197bc
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00405c12
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00405c12
mov eax, esi
jmp 0x419660
cmp ebx, 0xffffffff
je 0x4197e5
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
xor esi, esi
inc esi
jmp 0x4197bc

Function at 0x41a145
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.00419890
xor eax, eax
push eax
push eax
push esi
push 0x41a0be
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
ret
Function at 0x41a5eb
Capabilities:
Get session user name
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x483e68]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x23c], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov esi, str.PCMaster_DNSHelper
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004399bb
pop ecx
pop ecx
push 0
push esi
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test esi, esi
je 0x41a6c3
cmp eax, 0xb7
jne 0x41a6c3
test edi, edi
je 0x41a6be
push edi
mov dword [ebp - 0x238], 0x2c
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x41a685
push 5
push edi
call esi
lea eax, [ebp - 0x238]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowPlacement]
test eax, eax
je 0x41a6b7
cmp dword [ebp - 0x230], 2
jne 0x41a6b2
push 9
push edi
call esi
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x41a6b7
push 5
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
inc eax
jmp 0x41a6c5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00435805
leave
ret

Function at 0x41b6d1
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x483e68]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.0041b106
mov ebx, eax
cmp ebx, esi
je 0x41b742
lea ecx, [ebp - 0x214]
call fcn.0041b083
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435805
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x41b760
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.0041b6d1
cmp eax, esi
jne 0x41b7a7
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call ebx
test eax, eax
je 0x41b74a
lea ecx, [ebp - 0x214]
call fcn.0041b083
push dword [ebp - 0x218]
mov ecx, edi
call fcn.0041b013
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.0041b083
mov eax, esi
jmp 0x41b731
Function at 0x41e31e
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, eax
cmp edi, dword [esi + 4]
je 0x41e372
cmp edi, dword [esi + 0x1100]
je 0x41e372
mov ecx, dword [esi + 0x10f8]
call fcn.00407c8e
cmp edi, eax
je 0x41e372
mov ecx, dword [esi + 0x10fc]
call fcn.00407c8e
cmp edi, eax
je 0x41e372
push 1
push 1
push 8
push dword [esi + 0x1100]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4

Function at 0x41e410
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 0x10fc]
call dword [sym.imp.USER32.dll_IsWindow]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x41e435
push 0
push dword [esi + 0x10fc]
call ebx
push 0
push dword [esi + 4]
call ebx
push 1
push dword [esi + 0x10f4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 3
push 0x40a
push dword [esi + 0x10f4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
ret 4

Function at 0x41f489
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push dword [ebp + 0xc]
mov edi, eax
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov ebx, eax
cmp ebx, esi
jne 0x41f4b4
xor eax, eax
jmp 0x41f515
push ebx
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push ebx
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push esi
push 2
push 2
push esi
push 7
push 0x40000000
push dword [ebp + 0x10]
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, esi
je 0x41f509
push esi
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x420304
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [esi + 4]
or ecx, 1
push ecx
xor edi, edi
push edi
push eax
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esi], eax
cmp eax, edi
je 0x420341
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00405c12
mov eax, edi
pop edi
pop esi
leave
ret 4
push edi
push edi
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 8]
mov dword [ebp - 8], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov dword [esi], eax
cmp eax, edi
jne 0x42036f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 8]
jmp 0x42032e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42032e
Function at 0x420377
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 4
pop eax
lea edx, [ebp - 4]
push edx
mov edx, dword [ecx + 4]
or edx, 0x20019
push edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x10]
push 0
push eax
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4203bd
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00405c12
mov eax, esi
pop esi
leave
ret 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4203e1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 8]
jmp 0x4203ab

Function at 0x420edd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x4661e6
call fcn.004358b3
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x420f36
call fcn.0041ae20
mov esi, eax
jmp 0x42100c
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x420f4f
call fcn.0041ae20
jmp 0x420ffe
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x420f45
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x420f89
mov esi, 0x8007000e
jmp 0x421000
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0041bd24
mov dword [ebp - 4], 1
jmp 0x420fb7
cmp dword [ebp - 0x418], esi
je 0x420f82
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
cmp eax, esi
je 0x420f45
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.0041d2a2
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x421025
lea ecx, [ebp - 0x418]
call fcn.0041b67a
mov eax, esi
call fcn.0043590f
ret 0x10
Function at 0x421944
Capabilities:
Get file version info

Disassembly:
push 0x224
mov eax, 0x466298
call fcn.0043587d
mov ebx, ecx
xor esi, esi
push 0x485444
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x22c], esi
call fcn.004061f3
mov dword [ebp - 4], esi
lea eax, [ebp - 0x218]
cmp ebx, esi
jne 0x421989
push 0x208
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
jmp 0x421991
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x224], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x230], eax
cmp eax, esi
je 0x421a6c
push eax
push 2
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x220], esi
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebx, eax
cmp ebx, esi
je 0x421a6c
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push eax
push dword [ebp - 0x230]
mov dword [ebp - 0x22c], eax
push dword [ebp - 0x224]
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x46d250
push dword [ebp - 0x22c]
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 0x228], esi
je 0x421a6c
mov eax, dword [ebp - 0x220]
cmp eax, esi
je 0x421a6c
mov cx, word [eax + 0x12]
mov dx, word [eax + 0x10]
mov si, word [eax + 0x16]
movzx eax, word [eax + 0x14]
push eax
movzx eax, si
push eax
movzx eax, dx
push eax
movzx eax, cx
push eax
lea eax, [ebp - 0x21c]
push 0x46ef48
push eax
call fcn.0040cdc8
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov esi, dword [ebp - 0x21c]
add esi, 0xfffffff0
push esi
call fcn.00405e04
add eax, 0x10
pop ecx
mov ecx, esi
mov dword [edi], eax
call fcn.00405c12
mov eax, edi
call fcn.00435900
ret
Function at 0x424ecc
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x818
mov eax, 0x46695f
call fcn.0043587d
mov esi, dword [ebp + 8]
and dword [ebp - 0x81c], 0
mov ebx, ecx
xor eax, eax
mov word [ebp - 0x810], ax
mov eax, dword [ebp + 0xc]
push ecx
xor edi, edi
inc edi
mov dword [ebp - 0x818], esp
add eax, 0xfffffff0
mov dword [ebp - 0x818], esp
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x820], edi
mov dword [ebp - 0x81c], 0x400
mov dword [ebp - 0x814], edi
call fcn.00405e04
pop ecx
mov ecx, dword [ebp - 0x818]
add eax, 0x10
mov dword [ecx], eax
mov ecx, ebx
call fcn.00420304
mov dword [ebp - 0x820], eax
cmp eax, edi
je 0x424f60
cmp eax, 2
je 0x424f60
cmp eax, 7
je 0x424f60
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.00405e04
add eax, 0x10
pop ecx
mov dword [esi], eax
jmp 0x424fda
mov eax, dword [ebx + 0x10]
lea ecx, [ebp - 0x824]
push ecx
mov ecx, dword [ebx + 4]
or ecx, 0x20019
push ecx
xor edi, edi
push edi
push eax
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebx], eax
cmp eax, edi
jne 0x424f4c
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x820]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebx], eax
cmp eax, edi
je 0x424fb8
mov dword [ebp - 0x814], edi
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x814], edi
je 0x424f4c
lea eax, [ebp - 0x810]
push eax
mov ecx, esi
call fcn.004076dd
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00405c12
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00405c12
mov eax, esi
call fcn.00435900
ret 0xc

Function at 0x424ffa
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x483e68]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
xor edi, edi
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
mov dword [ebp - 0x210], edi
call fcn.004374f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x8026
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, esi
test eax, eax
js 0x42505c
lea eax, [ebp - 0x20c]
push eax
jmp 0x425061
push 0x46c7fc
call fcn.004076dd
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00435805
leave
ret 4
Function at 0x4256fd
Capabilities:
Check if file exists

Disassembly:
push 0x2c
mov eax, 0x466b32
call fcn.00435847
and dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0040b355
mov eax, dword [ebp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
mov byte [ebp - 4], 4
call fcn.00405e04
add eax, 0x10
pop ecx
mov dword [esi], eax
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.0040df4c
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040df75
mov edi, dword [ebp + 0xc]
push str.HTML
push edi
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x425772
push 0x17
pop edi
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
call fcn.00405e04
add eax, 0x10
pop ecx
mov dword [esi], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040dd6e
push dword [ebp - 0x14]
mov byte [ebp - 4], 7
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4257c7
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
call fcn.00405e04
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x38]
mov dword [esi], eax
call fcn.0040e040
push dword [ebp - 0x18]
push edi
push dword [ebp + 8]
call fcn.0041f489
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00405c12
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00405c12
lea ecx, [ebp - 0x38]
call fcn.0040a472
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00405c12
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00405c12
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00405c12
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00405c12
xor eax, eax
call fcn.004358ec
ret 0xc
Function at 0x425830
Capabilities:
Check if file exists

Disassembly:
push 0x28
mov eax, 0x4671b8
call fcn.00435814
lea ecx, [ebp - 0x34]
call fcn.0040b355
and dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.configdnshelper_router.cfg
call fcn.004076dd
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.0040df4c
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.0040df75
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
mov byte [ebp - 4], 2
call fcn.00405e04
add eax, 0x10
pop ecx
mov dword [esi], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040dd6e
push dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
mov ecx, dword [ebp - 0x14]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.00405c12
inc bl
je 0x4258f1
mov eax, dword [ebp - 0x10]
push ecx
mov dword [ebp - 0x18], esp
mov ebx, esp
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov edi, esp
push eax
call fcn.00405e04
pop ecx
add eax, 0x10
push ebx
lea ecx, [ebp - 0x34]
mov dword [edi], eax
call fcn.0040dd6e
lea ecx, [ebp - 0x34]
call fcn.0040e040
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x425941
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
call fcn.00405e04
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x46f628
mov byte [ebp - 4], 3
call fcn.004076dd
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.router.cfg
mov byte [ebp - 4], 4
call fcn.004076dd
mov byte [ebp - 4], 2
call fcn.004256fd
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00405c12
lea ecx, [ebp - 0x34]
call fcn.0040a472
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00405c12
call fcn.004358ec
ret
Function at 0x428ed3
Capabilities:
Check if file exists

Disassembly:
push 0x48
mov eax, 0x467175
call fcn.00435814
mov esi, dword [ebp + 8]
xor edi, edi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
call fcn.0040b355
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x1c], esp
inc ebx
push str.pcmaster.exe
mov dword [ebp - 4], ebx
call fcn.004076dd
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.0040df4c
push esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0040df75
push dword [esi]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4290c4
lea ecx, [ebp - 0x3c]
call fcn.0040b355
push str.SoftwareRuanMeiPCMaster
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004076dd
mov byte [ebp - 4], 4
call fcn.00409301
test eax, eax
je 0x428f76
mov ebx, str.SoftwareWow6432NodeRuanMeiPCMaster
push ebx
call fcn.0043787e
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x10]
call fcn.00407160
mov eax, dword [ebp - 0x10]
push edi
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov edi, esp
push eax
call fcn.00405e04
pop ecx
add eax, 0x10
push closesocket
lea ecx, [ebp - 0x3c]
mov dword [edi], eax
call fcn.00422d2c
test eax, eax
je 0x4290a6
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov edi, 0x46c7fc
push edi
call fcn.004076dd
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Install_Dir
mov byte [ebp - 4], 5
call fcn.004076dd
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00424ecc
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.004073a1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00405c12
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x4290a6
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push edi
call fcn.004076dd
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.ExeName
mov byte [ebp - 4], 7
call fcn.004076dd
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00424ecc
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 8
jne 0x429046
mov ecx, esi
call fcn.00406189
jmp 0x42909b
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov edi, esp
push eax
call fcn.00405e04
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi]
sub eax, 0x10
mov dword [ebp - 0x24], esp
mov edi, esp
push eax
mov byte [ebp - 4], 9
call fcn.00405e04
add eax, 0x10
mov dword [edi], eax
pop ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 8
call fcn.0040df75
push eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.004073a1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00405c12
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00405c12
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00405c12
lea ecx, [ebp - 0x3c]
call fcn.0040a472
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00405c12
lea ecx, [ebp - 0x54]
call fcn.0040a472
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00405c12
mov eax, esi
call fcn.004358ec
ret