joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4104e7
Capabilities:
Accept command line arguments

Disassembly:
push 0x18
mov eax, 0x4380c4
call fcn.0041f559
mov dword [ebp - 0x20], ecx
xor ebx, ebx
mov dword [ecx + 0x40], ebx
push 0x450200
lea ecx, [ebp - 0x24]
call fcn.00404fd7
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], eax
jle 0x410651
mov edi, 0x44fcf0
mov eax, dword [ebp - 0x1c]
lea esi, [eax + ebx*4]
push dword [esi]
lea ecx, [ebp - 0x10]
call fcn.004065bc
lea eax, [ebx + 1]
cmp eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
jge 0x410637
push str._product
push dword [ebp - 0x10]
mov dword [ebp - 0x18], 2
call fcn.0041f972
test eax, eax
pop ecx
pop ecx
jne 0x410570
mov ecx, 0x44fcec
jmp 0x410621
push str._icon
push dword [ebp - 0x10]
call fcn.0041f972
test eax, eax
pop ecx
pop ecx
jne 0x4105e5
push dword [esi + 4]
mov ecx, edi
call fcn.00405f20
mov eax, dword [0x44fcf0]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x410632
dec eax
push eax
mov ecx, edi
call fcn.0040fb1b
cmp ax, 0x22
jne 0x4105bd
mov eax, dword [0x44fcf0]
mov eax, dword [eax - 0xc]
dec eax
push eax
mov ecx, edi
call fcn.00410392
mov eax, dword [0x44fcf0]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x410632
jl 0x41067f
movzx eax, word [eax]
cmp ax, 0x22
jne 0x410632
push 1
push 0
mov ecx, edi
call fcn.0040fffe
jmp 0x410632
push str._sleep
push dword [ebp - 0x10]
call fcn.0041f972
test eax, eax
pop ecx
pop ecx
jne 0x410609
push dword [esi + 4]
call fcn.0041fcb6
pop ecx
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x40], eax
jmp 0x410632
push str._param
push dword [ebp - 0x10]
call fcn.0041f972
test eax, eax
pop ecx
pop ecx
jne 0x41062b
mov ecx, 0x44fc7c
push dword [esi + 4]
call fcn.00405f20
jmp 0x410632
mov dword [ebp - 0x18], 1
add ebx, dword [ebp - 0x18]
jmp 0x410639
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00404981
cmp ebx, dword [ebp - 0x14]
jl 0x41052c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.00410431
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov bl, al
call fcn.00404981
mov al, bl
call fcn.0041f5f8
ret 8
push 0x80070057
call fcn.004047db
int3
Function at 0x4106ce
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push str.MMInstallerInstance
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4106f9
xor eax, eax
inc eax
jmp 0x410751
push ebx
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call sub.gdiplus.dll_GdiplusStartup
mov eax, dword [ebp + 8]
push dword [ebp + 0x14]
mov ecx, 0x44fd10
mov dword [0x44fd08], eax
call fcn.0041068a
mov ebx, eax
call fcn.0040f893
cmp edi, esi
je 0x410746
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call sub.gdiplus.dll_GdiplusShutdown
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0x10

Function at 0x410eb7
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 5
push dword [esi + 4]
mov dword [esi + 0x4d4], 3
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 5
lea ecx, [esi + 0x564]
call fcn.0041519c
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
ret

Function at 0x415766
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 8
mov eax, 0x43873d
call fcn.0041f559
mov esi, dword [0x450220]
push 0x440a3c
lea ecx, [ebp - 0x14]
call fcn.004065bc
push dword [ebp - 0x14]
movzx eax, word [ebp + 8]
push eax
xor edi, edi
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push dword [ebp + 8]
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 8]
push ebx
push eax
call fcn.0041fd40
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
push esi
mov dword [ebp - 0x10], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push edi
push dword [ebp - 0x10]
call fcn.0041522e
pop ecx
pop ecx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00404981
mov eax, edi
call fcn.0041f5f8
ret
Function at 0x416bfe
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
push 0x40
lea esi, [ecx + 0x58]
push eax
push esi
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
call fcn.0041f640
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret

Function at 0x41752c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x58], edi
jne 0x417562
push 0x98
call fcn.0041e976
cmp eax, edi
pop ecx
je 0x417552
mov ecx, eax
call fcn.00416cc9
jmp 0x417554
xor eax, eax
cmp eax, edi
mov dword [esi + 0x58], eax
jne 0x417562
xor eax, eax
jmp 0x417631
push 0x440f00
push dword [ebp + 8]
call fcn.0042043a
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp + 8], eax
je 0x41755b
push ebx
mov ebx, dword [ebp + 0xc]
cmp ebx, edi
jne 0x4175ba
cmp dword [esi + 0x5c], 0
mov edi, 0xff
jne 0x4175a3
push edi
call fcn.0041d1c2
pop ecx
mov dword [esi + 0x5c], eax
jmp 0x4175a3
mov ecx, dword [esi + 0x58]
push eax
push dword [esi + 0x5c]
call fcn.004173e8
push dword [ebp + 8]
push edi
push 1
push dword [esi + 0x5c]
call fcn.004231b4
add esp, 0x10
test eax, eax
jne 0x417597
jmp 0x417619
mov eax, dword [esi + 0x5c]
cmp eax, edi
je 0x4175cb
push eax
call fcn.0041f61b
pop ecx
mov dword [esi + 0x5c], edi
lea edi, [ebx + 1]
push edi
call fcn.0041d1c2
push edi
xor edi, edi
push edi
push eax
mov dword [esi + 0x5c], eax
call fcn.0041f640
push dword [ebp + 8]
mov dword [ebp + 0xc], edi
push ebx
push 1
push dword [esi + 0x5c]
call fcn.004231b4
add esp, 0x20
cmp eax, edi
mov dword [ebp + 0xc], eax
je 0x417619
cmp dword [ebp + 0x10], edi
je 0x41760b
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0x5c]
call dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ecx, dword [esi + 0x58]
push dword [esi + 0x5c]
call fcn.004173e8
push dword [ebp + 8]
call fcn.00420117
pop ecx
mov ecx, dword [esi + 0x58]
lea edi, [esi + 4]
push edi
call fcn.00417489
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x417637
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
mov dword [esi], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov dword [edi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4176c8
push ebx
call fcn.0041d1c2
pop ecx
push eax
push ebx
push dword [ebp - 4]
mov dword [ebp + 0x10], eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4176b9
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x43be70
push dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 8], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4176b9
cmp dword [ebp + 0xc], ebx
je 0x4176b9
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov eax, dword [eax + 0xc]
mov dword [esi], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0x10], 0
je 0x4176c8
push dword [ebp + 0x10]
call fcn.0041f61b
pop ecx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41778a
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x4388e7
call fcn.0041f5c2
mov esi, dword [ebp + 8]
xor edi, edi
push 0x450200
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], edi
call fcn.00404fd7
push 0x206
lea eax, [ebp - 0x216]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x21c], 1
mov word [ebp - 0x218], di
call fcn.0041f640
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00405f20
push esi
call fcn.0040c5cf
pop ecx
mov eax, esi
call fcn.0041f60c
ret
Function at 0x4178be
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x120
mov eax, dword [0x44e620]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa8]
push edi
push eax
call fcn.0041f640
add esp, 0xc
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x417921
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x114
call esi
cmp eax, edi
je 0x4179d2
mov eax, dword [ebp - 0x98]
dec eax
je 0x4179be
dec eax
jne 0x4179d2
mov eax, dword [ebp - 0xa4]
xor ecx, ecx
inc ecx
cmp eax, 6
jne 0x41796e
cmp dword [ebp - 0xa0], ecx
jne 0x417958
xor eax, eax
cmp byte [ebp + 0x72], cl
setne al
add eax, 8
jmp 0x4179ba
cmp dword [ebp - 0xa0], edi
jne 0x4179a7
xor eax, eax
cmp byte [ebp + 0x72], cl
setne al
lea eax, [eax + eax + 7]
jmp 0x4179ba
cmp eax, 5
jne 0x417998
cmp dword [ebp - 0xa0], 2
jne 0x41797f
push eax
jmp 0x41799f
cmp dword [ebp - 0xa0], 1
jne 0x41798c
push 6
jmp 0x41799f
cmp dword [ebp - 0xa0], edi
jne 0x4179d2
push 3
jmp 0x41799f
cmp eax, 4
ja 0x4179a2
push 4
pop edi
jmp 0x4179d2
cmp eax, 6
jb 0x4179d2
cmp dword [ebp - 0xa0], 2
jb 0x4179d2
cmp byte [ebp + 0x72], cl
jne 0x4179d2
call fcn.00417811
mov edi, eax
jmp 0x4179d2
mov eax, dword [ebp - 0x9c]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov ecx, dword [ebp + 0x74]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0041f54a
add ebp, 0x78
leave
ret
Function at 0x417c96
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa4]
sub esp, 0x124
mov eax, dword [0x44e620]
xor eax, ebp
mov dword [ebp + 0xa0], eax
mov eax, dword [ebp + 0xac]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push eax
xor ebx, ebx
mov edi, 0x20019
push edi
push ebx
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x78], 0x104
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x68], ebx
call esi
test eax, eax
jne 0x417e09
push dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push str._sConnection
push 0x103
push eax
call fcn.00417c79
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
push edi
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call esi
test eax, eax
jne 0x417e00
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push str.MediaSubType
push dword [ebp - 0x68]
mov dword [ebp - 0x70], ebx
call esi
test eax, eax
jne 0x417df7
push 0x104
xor edi, edi
lea eax, [ebp - 0x64]
push ebx
inc edi
push eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], 0x103
call fcn.0041f640
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push str.PnpInstanceID
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x417df7
cmp dword [ebp - 0x70], edi
jne 0x417de7
mov esi, 0x440fb4
push esi
call fcn.0041e400
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.004236ef
add esp, 0x10
test eax, eax
jne 0x417dc1
mov dword [ebp - 0x6c], ebx
jmp 0x417df7
cmp dword [ebp - 0x70], edi
jne 0x417de7
push esi
call fcn.0041e400
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.004236ef
add esp, 0x10
test eax, eax
je 0x417de7
mov dword [ebp - 0x6c], 2
jmp 0x417df7
xor eax, eax
cmp dword [ebp - 0x70], 2
setne al
lea eax, [eax + eax + 1]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xa0]
mov eax, dword [ebp - 0x6c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f54a
add ebp, 0xa4
leave
ret
Function at 0x4187db
Capabilities:
Hash data with md5

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

Function at 0x4189b4
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4189fb
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4189fb
push 6
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push 0
push 0
push esi
push edi
push 0
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
je 0x418a03
dec ebx
je 0x4189fb
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jg 0x4189ca
xor eax, eax
pop edi
pop esi
pop ebx
ret 8
xor eax, eax
inc eax
jmp 0x4189fd

Function at 0x418aff
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x44e620]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov ecx, dword [ebp + 0x1a0]
mov eax, dword [ebp + 0x1a4]
push esi
mov esi, dword [ebp + 0x1a8]
push edi
xor edi, edi
cmp ecx, edi
jne 0x418b38
xor eax, eax
jmp 0x418bad
mov eax, dword [eax]
push ebx
lea edx, [ebp - 0x78]
push edx
push dword [ebp + 0x1ac]
xor ebx, ebx
push edi
push eax
push ecx
mov dword [ebp - 0x78], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418b9c
mov esi, dword [esi]
cmp dword [esi - 0xc], edi
je 0x418b99
push 0x206
lea eax, [ebp - 0x72]
push edi
push eax
mov word [ebp - 0x74], di
call fcn.0041f640
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push esi
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0x208
mov dword [ebp - 0x80], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418b9c
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x78], edi
je 0x418baa
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
mov ecx, dword [ebp + 0x194]
pop edi
xor ecx, ebp
pop esi
call fcn.0041f54a
add ebp, 0x198
leave
ret 0x10
Function at 0x419a2a
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x44e620]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 0xc
mov eax, 0x438a3a
call fcn.0041f559
mov edi, dword [ebp + 0x238]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x18], edi
je 0x419b68
push 0x228
lea eax, [ebp + 4]
push ebx
push eax
mov dword [ebp], ebx
call fcn.0041f640
add esp, 0xc
push ebx
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [ebp]
push ecx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x419b59
mov esi, SysReAllocStringLen
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x10]
call fcn.004065bc
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
and ecx, esi
cmp ecx, esi
movzx eax, al
jne 0x419b08
cmp eax, 4
jne 0x419b08
push ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00404f9e
cmp eax, 0xffffffff
je 0x419b17
push ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00404f9e
mov ebx, eax
test ebx, ebx
jle 0x419b17
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x18]
mov edi, dword [eax - 0xc]
call fcn.0041ed7c
add eax, ebx
cmp eax, edi
pop ecx
jne 0x419b17
dec ebx
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040fb1b
cmp ax, 0x5c
jmp 0x419b15
push edi
push dword [ebp - 0x10]
call fcn.0041f972
pop ecx
pop ecx
test eax, eax
je 0x419b40
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00404981
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x419b59
mov edi, dword [ebp - 0x18]
xor ebx, ebx
jmp 0x419a9f
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404981
xor eax, eax
inc eax
jmp 0x419b6a
cmp dword [ebp - 0x14], 0xffffffff
je 0x419b68
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.0041f54a
add ebp, 0x230
leave
ret 4
Function at 0x41a003
Capabilities:
Check if file exists
Delete file
Get common file path
Get startup folder
Read .ini file

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x44e620]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x18
mov eax, 0x438a95
call fcn.0041f559
mov ebx, 0x206
xor edi, edi
push ebx
lea eax, [ebp + 0x20a]
push edi
push eax
mov dword [ebp - 0x18], ecx
mov word [ebp + 0x208], di
call fcn.0041f640
add esp, 0xc
push edi
push 0x23
lea eax, [ebp + 0x208]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41a17d
push str.mon_pro.ini
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0x208]
push eax
push str.http:__dldir1.qq.com_qqtv_azdk_mon_pro.ini
call fcn.004189b4
test eax, eax
je 0x41a17d
lea eax, [ebp + 0x208]
push eax
push edi
push str.ProcessCount
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, edi
mov dword [ebp - 0x24], eax
je 0x41a17d
xor ecx, ecx
inc ecx
cmp eax, ecx
mov dword [ebp - 0x10], ecx
jl 0x41a17a
mov esi, 0x450200
push ebx
lea eax, [ebp + 2]
push edi
push eax
mov word [ebp], di
call fcn.0041f640
add esp, 0xc
push esi
lea ecx, [ebp - 0x20]
call fcn.00404fd7
mov dword [ebp - 0x1c], edi
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.00404fd7
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str.Process_d
push eax
mov byte [ebp - 4], 1
call fcn.00405ba4
add esp, 0xc
lea eax, [ebp + 0x208]
push eax
push 0x104
lea eax, [ebp]
push eax
push 0x43beb0
push str.name
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405f20
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
call fcn.00419a2a
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00419fae
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00404981
mov ecx, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00404981
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x24]
jle 0x41a0c6
xor edi, edi
inc edi
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a19b
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0041f54a
add ebp, 0x414
leave
ret
push esi
mov esi, ecx
call fcn.00419c02
mov ecx, esi
pop esi
jmp 0x41a003
Function at 0x41a1c0
Capabilities:
Check if file exists
Delete file
Get common file path
Read .ini file

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x44e620]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x18
mov eax, 0x438a95
call fcn.0041f559
mov ebx, 0x206
xor edi, edi
push ebx
lea eax, [ebp + 0x20a]
push edi
push eax
mov dword [ebp - 0x18], ecx
mov word [ebp + 0x208], di
call fcn.0041f640
add esp, 0xc
push edi
push 0x23
lea eax, [ebp + 0x208]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41a17d
push str.mon_pro.ini
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0x208]
push eax
push str.http:__dldir1.qq.com_qqtv_azdk_mon_pro.ini
call fcn.004189b4
test eax, eax
je 0x41a17d
lea eax, [ebp + 0x208]
push eax
push edi
push str.ProcessCount
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, edi
mov dword [ebp - 0x24], eax
je 0x41a17d
xor ecx, ecx
inc ecx
cmp eax, ecx
mov dword [ebp - 0x10], ecx
jl 0x41a17a
mov esi, 0x450200
push ebx
lea eax, [ebp + 2]
push edi
push eax
mov word [ebp], di
call fcn.0041f640
add esp, 0xc
push esi
lea ecx, [ebp - 0x20]
call fcn.00404fd7
mov dword [ebp - 0x1c], edi
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.00404fd7
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str.Process_d
push eax
mov byte [ebp - 4], 1
call fcn.00405ba4
add esp, 0xc
lea eax, [ebp + 0x208]
push eax
push 0x104
lea eax, [ebp]
push eax
push 0x43beb0
push str.name
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405f20
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
call fcn.00419a2a
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00419fae
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00404981
mov ecx, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00404981
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x24]
jle 0x41a0c6
xor edi, edi
inc edi
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a19b
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0041f54a
add ebp, 0x414
leave
ret
push esi
mov esi, ecx
call fcn.00419c02
mov ecx, esi
pop esi
jmp 0x41a003