joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408cab
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x5937d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push dword [edi + 0x20]
mov dword [ebp - 0x204], edi
mov esi, edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x408ce8
mov ecx, dword [edi + 0x198]
test ecx, ecx
je 0x408ce8
push 0
call fcn.004d7975
mov eax, 0x1e8
test esi, esi
jne 0x408d62
lea esi, [ebp - 0x200]
mov dword [esi], eax
mov eax, dword [edi + 0x20]
or dword [esi + 0xc], 3
push ebx
mov dword [esi + 4], eax
mov dword [esi + 8], 0x63
call fcn.004dc474
mov eax, dword [eax + 8]
push 0x66
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push esi
lea edi, [esi + 0x1a0]
push 0
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 0x496
mov dword [edi], 0xa
call ebx
test eax, eax
je 0x408d6a
push esi
push 4
mov dword [edi], 3
call ebx
test eax, eax
je 0x408d6a
mov ecx, dword [ebp - 0x204]
push 0
call fcn.004d7975
xor eax, eax
inc eax
jmp 0x408d6c
cmp dword [esi], eax
je 0x408cf7
xor eax, eax
jmp 0x408d6d
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004f2b62
leave
ret
Function at 0x40dbf8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x14
mov eax, 0x51f72e
call fcn.004f8194
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x10], edi
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x10]
shr eax, 4
inc eax
movzx eax, ax
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
cmp eax, edi
jne 0x40dc55
push ecx
lea eax, [ebp + 0x14]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.0040dde5
pop ecx
pop ecx
mov dword [ebp - 0x10], ebx
jmp 0x40ddd1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x40dcbe
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.CCoreResource::LoadStringEx
call fcn.00401769
mov byte [ebp - 4], 3
push 0x1c8
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str..CoreResource.cpp
call fcn.00401769
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.LoadResource_failed_
call fcn.00401769
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], bl
call fcn.004114a5
lea eax, [ebp + 0x14]
push eax
mov ecx, esi
call fcn.0040184e
jmp 0x40dc4d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x40dd0e
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.CCoreResource::LoadStringEx
call fcn.00401769
mov byte [ebp - 4], 6
push 0x1d1
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str..CoreResource.cpp
call fcn.00401769
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.LockResource_failed_
call fcn.00401769
mov byte [ebp - 4], 8
jmp 0x40dca2
mov eax, dword [ebp + 0xc]
and eax, 0xf
jle 0x40dd20
dec eax
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x40dd16
lea ecx, [ebp + 0xc]
call fcn.0040df7a
mov byte [ebp - 4], 9
movzx eax, word [edi]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040e1a7
test eax, eax
jne 0x40dd9a
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.CCoreResource::LoadStringEx
call fcn.00401769
mov byte [ebp - 4], 0xa
push 0x1e2
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str..CoreResource.cpp
call fcn.00401769
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.CStringW.GetBuffer_failed_
call fcn.00401769
mov byte [ebp - 4], 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], 9
call fcn.004114a5
lea eax, [ebp + 0x14]
push eax
mov ecx, esi
call fcn.0040184e
jmp 0x40ddc3
movzx ecx, word [edi]
add ecx, ecx
push ecx
lea ecx, [edi + 2]
push ecx
push eax
call fcn.004f4410
movzx eax, word [edi]
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
call fcn.0040df50
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0040e052
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.0040e1db
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00401898
mov eax, esi
call fcn.004f826c
ret
Function at 0x40e25f
Capabilities:
Identify system language via api

Disassembly:
push 8
mov eax, 0x528cbd
call fcn.004f8194
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
xor esi, esi
inc esi
mov dword [ebp - 0x14], esi
call fcn.0041f8eb
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, dword [ebp + 8]
movzx edi, ax
call fcn.00404402
movzx eax, di
push eax
push str.0x_04x
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
call fcn.004043ef
add esp, 0xc
mov byte [ebp - 4], 0
call fcn.0040e1fe
mov eax, dword [ebp + 8]
call fcn.004f826c
ret
Function at 0x4121b4
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x51ab14
call fcn.004f8194
mov esi, ecx
and dword [ebp - 0x10], 0
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x164], 0xffffffff
je 0x41222f
push ebx
push 0x25
push ecx
mov ecx, esp
mov dword [ebp + 0x14], esp
push str.CCoreFile::FindFirst
call fcn.00401769
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push str.Called_FindFirst_while_previous_call_still_open_
call fcn.00401769
mov byte [ebp - 4], 3
mov eax, dword [esi]
push ebx
mov byte [ebp - 4], bl
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [ebp + 8]
push 0x53b9e7
call fcn.00401769
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401898
mov eax, dword [ebp + 8]
jmp 0x412366
mov eax, dword [ebp + 0x10]
push ecx
mov dword [esi + 0x16c], eax
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 4
mov byte [ebp - 4], bl
lea edi, [ebp + 0x10]
call fcn.00413746
pop ecx
mov byte [ebp - 4], 5
lea edi, [esi + 0x168]
push eax
mov ecx, edi
call fcn.004044be
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10]
call fcn.00401898
lea eax, [esi + 0x24]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esi + 0x164], eax
cmp eax, 0xffffffff
jne 0x4122ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 2
je 0x4122dc
cmp edi, 3
je 0x4122dc
push ebx
push 0x34
push ecx
mov ecx, esp
mov dword [ebp + 0x14], esp
push str.CCoreFile::FindFirst
call fcn.00401769
mov byte [ebp - 4], 6
push ecx
mov eax, esp
mov dword [ebp + 0x10], esp
lea ecx, [ebp + 0xc]
push ecx
push str.FindFirstFile_returned_an_error_
push eax
call fcn.00404205
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [esi]
push edi
mov byte [ebp - 4], bl
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [ebp + 8]
push 0x53b9e7
call fcn.00401769
jmp 0x412218
mov ecx, esi
call fcn.00412484
test eax, eax
jne 0x41230b
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 8]
call fcn.0041236e
jmp 0x412218
cmp dword [ebp + 0x14], 0
je 0x412325
push 0x140
lea eax, [esi + 0x24]
push eax
push dword [ebp + 0x14]
call fcn.004f4410
add esp, 0xc
push ecx
add esi, 0x50
mov ecx, esp
mov dword [ebp + 0x14], esp
push esi
call fcn.00401769
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push edi
call fcn.0040184e
mov byte [ebp - 4], 9
mov byte [ebp - 4], bl
mov esi, dword [ebp + 8]
call fcn.004138e4
pop ecx
pop ecx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401898
mov eax, esi
call fcn.004f826c
ret 0x10
Function at 0x4126b6
Capabilities:
Create directory

Disassembly:
push 8
mov eax, 0x51f5a3
call fcn.004f8194
and dword [ebp - 4], 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x412730
push 1
push 0xb3
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.CCoreFile::CreateFolder
call fcn.00401769
mov byte [ebp - 4], 1
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
push ecx
push str.CreateDirectory_failed_
push eax
call fcn.00404205
add esp, 0xc
mov byte [ebp - 4], 2
mov byte [ebp - 4], 0
mov ecx, 0x59c36c
call fcn.00411920
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401898
mov eax, esi
call fcn.004f826c
ret
xor esi, esi
inc esi
jmp 0x41271c

Function at 0x4129df
Capabilities:
Get common file path

Disassembly:
push 0x118
mov eax, 0x51f563
call fcn.004f81fd
and dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], edi
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x412a2e
lea esi, [ebp - 0x118]
call fcn.00412092
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 8]
call fcn.004044be
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00401898
lea eax, [ebp - 0x114]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x412a57
lea eax, [ebp - 0x114]
push eax
mov ecx, edi
call fcn.00401769
jmp 0x412aa6
push 1
push pe_nt_image_headers32
push ecx
mov ecx, esp
mov dword [ebp - 0x118], esp
push str.CCoreFile::CreateTempFile
call fcn.00401769
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x124], esp
push str.GetTempFileName_failed_
call fcn.00401769
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
mov ecx, 0x59c36c
call fcn.00411920
push 0x53b9e7
mov ecx, edi
call fcn.00401769
mov dword [ebp - 0x11c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401898
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401898
mov eax, edi
call fcn.004f8280
ret
Function at 0x412b57
Capabilities:
Set file attributes

Disassembly:
push ebp
sub esp, 0x170
lea ebp, [esp - 4]
mov eax, dword [0x5937d0]
xor eax, ebp
mov dword [ebp + 0x170], eax
push 0x10
mov eax, 0x528c74
call fcn.004f8194
xor ebx, ebx
mov dword [ebp - 4], ebx
push ecx
lea eax, [ebp + 0x17c]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 1
mov byte [ebp - 4], bl
call fcn.00412d84
pop ecx
cmp eax, ebx
jne 0x412bd9
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x17c]
call fcn.00401898
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x170]
xor ecx, ebp
call fcn.004f2b62
add ebp, 0x174
leave
ret
lea eax, [ebp]
push eax
call fcn.00412107
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x5409b0
call fcn.00401769
mov byte [ebp - 4], 3
push ecx
lea eax, [ebp + 0x17c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
lea esi, [ebp - 0x1c]
call fcn.004138e4
pop ecx
pop ecx
mov byte [ebp - 4], 5
push ebx
push 2
push ecx
mov eax, esi
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 6
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 5
lea ecx, [ebp]
call fcn.004121b4
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edi, 0x80
jle 0x412caf
push edi
push eax
call esi
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 8
mov byte [ebp - 4], 7
call fcn.00412b57
pop ecx
push ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
call fcn.0041236e
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x10]
call fcn.004044be
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00401898
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jg 0x412c60
lea eax, [ebp]
call fcn.0041254a
push ebx
push 1
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 7
lea ecx, [ebp]
call fcn.004121b4
mov byte [ebp - 4], 0xb
jmp 0x412d15
push edi
push eax
call esi
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 7
call fcn.00412ad0
pop ecx
push ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
call fcn.0041236e
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x10]
call fcn.004044be
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00401898
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jg 0x412ce3
lea eax, [ebp]
call fcn.0041254a
push ecx
lea eax, [ebp + 0x17c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 7
call fcn.00412b03
pop ecx
mov esi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.00401898
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00401898
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.00412166
jmp 0x412ba5
Function at 0x41318f
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push 0x14
mov eax, 0x51f4f5
call fcn.004f8194
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41327b
push ebx
push 0x1b0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.CCoreFile::Copy
call fcn.00401769
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push str.CopyFile
push eax
call fcn.00404205
mov byte [ebp - 4], 3
push str._to
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004041a1
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040414a
mov byte [ebp - 4], 5
add esp, 0x20
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x540a40
push eax
push ecx
call fcn.004041a1
add esp, 0xc
mov byte [ebp - 4], 6
mov byte [ebp - 4], 9
mov ecx, 0x59c36c
call fcn.00411920
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
call fcn.00401898
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00401898
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.00401898
xor ebx, ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401898
mov eax, ebx
call fcn.004f826c
ret
cmp dword [ebp + 0x14], 0
je 0x41325b
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test bl, al
je 0x41325b
and eax, 0xfffffffe
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x41325b
Function at 0x41564c
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x5146db
call fcn.004f8194
mov esi, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
mov dword [ebp - 4], 3
mov ecx, esi
call fcn.00404402
mov eax, dword [ebp + 8]
push dword [ebp + 0x18]
mov edi, dword [eax]
mov ecx, esi
mov dword [ebp - 0x10], 1
call fcn.00401673
push edi
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00404376
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x10]
call fcn.00401898
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.00401898
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x1c]
call fcn.00401898
mov eax, esi
call fcn.004f826c
ret 0x18

Function at 0x415b2c
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x1218]
mov eax, 0x1298
call fcn.004fa0f0
mov eax, dword [0x5937d0]
xor eax, ebp
mov dword [ebp + 0x1214], eax
mov eax, dword [ebp + 0x1220]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1224]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1228]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x122c]
push ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1230]
xor ebx, ebx
push esi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1234]
push 0x3c
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
push ebx
push eax
mov esi, ecx
mov byte [ebp + 0x11d4], bl
mov byte [ebp + 0x7d4], bl
mov byte [ebp + 0xbd4], bl
mov byte [ebp - 0x2c], bl
mov byte [ebp + 0x10d4], bl
mov byte [ebp + 0xfd4], bl
call fcn.004f3c10
mov esi, dword [esi + 4]
lea eax, [ebp + 0x11d4]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x7d4]
mov dword [ebp - 0x70], eax
mov eax, 0x400
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x50], eax
add esp, 0xc
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
lea ecx, [ebp + 0xbd4]
push esi
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x78], 0x40
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x48], 0x800
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x415c7e
mov ecx, dword [ebp - 0x44]
cmp ecx, ebx
je 0x415c1f
lea eax, [ebp + 0x11d4]
push eax
call fcn.00401732
mov ecx, dword [ebp - 0x3c]
cmp ecx, ebx
je 0x415c32
lea eax, [ebp + 0x7d4]
push eax
call fcn.00401732
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
je 0x415c45
lea eax, [ebp + 0xbd4]
push eax
call fcn.00401732
mov ecx, dword [ebp - 0x40]
cmp ecx, ebx
je 0x415c55
lea eax, [ebp - 0x2c]
push eax
call fcn.00401732
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x415c68
lea eax, [ebp + 0x10d4]
push eax
call fcn.00401732
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x415c7b
lea eax, [ebp + 0xfd4]
push eax
call fcn.00401732
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x1214]
pop esi
xor ecx, ebp
pop ebx
call fcn.004f2b62
add ebp, 0x1218
leave
ret 0x18
Function at 0x4176cd
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
sub esp, 0x128
lea ebp, [esp - 4]
mov eax, dword [0x5937d0]
xor eax, ebp
mov dword [ebp + 0x128], eax
push 0x18
mov eax, 0x5256c2
call fcn.004f81c7
mov esi, ecx
mov edi, dword [ebp + 0x134]
push edi
push 0x417892
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x417717
cmp dword [ebp + 0x138], eax
jne 0x417717
inc eax
jmp 0x4177d7
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x14], ebx
cmp ebx, 0xffffffff
jne 0x41777e
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.CCoreProcess::RecurseBringTreeToFront
call fcn.00401769
and dword [ebp - 4], 0
push 0x15d
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str..CoreProcess.cpp
call fcn.00401769
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.CreateToolHelp32Snapshot_failed_
call fcn.00401769
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
or dword [ebp - 4], ebx
call fcn.004114a5
xor eax, eax
jmp 0x4177d7
and dword [ebp - 0x18], 0
mov dword [ebp - 4], 3
mov dword [ebp], 0x128
lea eax, [ebp]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4177c7
cmp dword [ebp + 0x18], edi
jne 0x4177fc
push dword [ebp + 0x138]
push dword [ebp + 8]
mov ecx, esi
call fcn.004176cd
test eax, eax
je 0x4177fc
cmp dword [ebp + 0x138], 0
jne 0x4177fc
mov dword [ebp - 0x18], 1
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x128]
xor ecx, ebp
call fcn.004f2b62
add ebp, 0x12c
leave
ret 8
lea eax, [ebp]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
jmp 0x41779a
Function at 0x4179d4
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525674
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.004fa0f0
push ebx
push esi
push edi
mov eax, dword [0x5937d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x18]
push eax
push 0x1000
lea eax, [ebp - 0x1028]
push eax
mov dword [ebp - 0x18], esi
call sub.PSAPI.DLL_EnumProcesses
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
test eax, eax
jne 0x417a93
push str.CCoreProcess::IsProcessExistByName
call fcn.00401769
mov byte [ebp - 4], 1
push 0x1d3
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str..CoreProcess.cpp
call fcn.00401769
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.EnumProcesses_failed_
call fcn.00401769
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], 0
call fcn.004114a5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401898
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x24], esi
call fcn.0040184e
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
lea edi, [ebp - 0x14]
call fcn.004141ea
pop ecx
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp + 8]
call fcn.004044be
mov byte [ebp - 4], 0
mov ecx, edi
call fcn.00401898
shr dword [ebp - 0x18], 2
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x18]
jge 0x417bd1
lea ebx, [ebp + esi*4 - 0x1028]
push dword [ebx]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x417bba
lea ecx, [ebp - 0x10]
call fcn.00404402
mov byte [ebp - 4], 6
mov esi, 0x104
push esi
lea ecx, [ebp - 0x10]
call fcn.00401673
push esi
push eax
push 0
push dword [ebp - 0x1c]
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
jbe 0x417bab
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00404376
push 0x540fa4
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.00414c6c
test eax, eax
jge 0x417bab
push str.SystemRoot
xor ecx, ecx
call fcn.00414c6c
test eax, eax
jge 0x417bab
push ecx
mov eax, esi
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 7
mov byte [ebp - 4], 6
lea edi, [ebp - 0x20]
call fcn.004141ea
pop ecx
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.004044be
mov byte [ebp - 4], 6
mov ecx, edi
call fcn.00401898
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.004040fb
test eax, eax
jne 0x417bab
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], 1
test eax, eax
je 0x417bab
mov ecx, dword [ebx]
mov dword [eax], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401898
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x14], esi
je 0x417acf
mov esi, dword [ebp - 0x24]
jmp 0x417a75
Function at 0x417bd9
Capabilities:
Enumerate process modules

Disassembly:
push 0x24c
mov eax, 0x525604
call fcn.004f8233
xor esi, esi
mov dword [ebp - 4], esi
push dword [ebp + 8]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x254], ebx
cmp ebx, 0xffffffff
jne 0x417c18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401898
mov eax, esi
call fcn.004f828f
ret
mov dword [ebp - 0x24c], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x240], 0x224
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.KERNEL32.dll_Module32First
mov esi, eax
push ecx
mov ecx, esp
mov dword [ebp - 0x248], esp
lea eax, [ebp + 0xc]
push eax
call fcn.0040184e
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
lea edi, [ebp - 0x244]
call fcn.004141ea
pop ecx
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0xc]
call fcn.004044be
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.00401898
lea edi, [ebp + 0xc]
call fcn.0040411d
push eax
mov ecx, edi
call fcn.004044be
test esi, esi
je 0x417d3d
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x244]
call fcn.00401769
mov byte [ebp - 4], 4
push 0x540fa4
xor ecx, ecx
lea esi, [ebp - 0x244]
call fcn.00414c6c
test eax, eax
jge 0x417d58
push str.SystemRoot
xor ecx, ecx
call fcn.00414c6c
test eax, eax
jge 0x417d58
push ecx
mov ecx, esp
mov dword [ebp - 0x250], esp
mov eax, esi
push eax
call fcn.0040184e
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
lea edi, [ebp - 0x248]
call fcn.004141ea
pop ecx
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.004044be
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.00401898
lea eax, [ebp + 0xc]
push eax
mov edi, esi
call fcn.0040411d
push eax
call fcn.00404269
pop ecx
pop ecx
test al, al
je 0x417d58
mov dword [ebp - 0x24c], 1
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00401898
and dword [ebp - 4], 0
push dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x24c]
jmp 0x417c04
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.KERNEL32.dll_Module32Next
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call fcn.00401898
jmp 0x417c89