joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4075e1
Capabilities:
Get common file path

Disassembly:
push 0x248
mov eax, 0x572418
call fcn.00545ef4
mov edi, ecx
mov dword [ebp - 0x250], edi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4077e1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40760e
mov al, byte [eax]
jmp 0x407611
mov al, byte [esi + 0x18]
test al, al
je 0x4077e1
mov ecx, esi
call fcn.0040a49b
lea ecx, [ebp - 0x248]
mov ebx, eax
call fcn.00403ba0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00403ba0
mov byte [ebp - 4], 1
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
add edi, 0xbc
test eax, eax
je 0x407677
push edi
xor eax, eax
push eax
push eax
push 0x8023
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push edi
lea ecx, [ebp - 0x248]
call fcn.00403030
push ebx
lea ecx, [ebp - 0x230]
jmp 0x4076a7
push ebx
push 0x104
push edi
call fcn.0054deec
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403030
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push edi
lea ecx, [ebp - 0x248]
call fcn.00403030
test dword [esi + 0x10], 0x20000
je 0x407707
push edi
push 0
lea ecx, [ebp - 0x230]
call fcn.00402d50
push eax
lea ecx, [ebp - 0x248]
call fcn.00402d50
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x407707
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x407707
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x407707
lea eax, [ebp - 0x218]
add ecx, 4
push eax
call fcn.00403030
mov ecx, esi
call fcn.0040a49b
mov ebx, eax
push ebx
mov dword [ebp - 0x24c], ebx
call fcn.0054dad7
pop ecx
test eax, eax
je 0x407785
xor eax, eax
test dword [esi + 0x10], 0x10000
push eax
push 0x80
je 0x407736
push 2
jmp 0x407738
push 4
push eax
push eax
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x407785
lea eax, [ebp - 0x254]
push eax
push edi
push 0x104
push 0
push dword [ebp - 0x24c]
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x40777e
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x40777e
add ecx, 4
push edi
call fcn.00403030
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test dword [esi + 0xc], 0x40000000
je 0x4077b3
mov edi, dword [ebp - 0x250]
mov ecx, edi
push esi
call fcn.00407388
test dword [esi + 0x10], 0x100000
je 0x4077b3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, edi
call fcn.004072ed
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4077bf
mov byte [eax], 0
jmp 0x4077c3
mov byte [esi + 0x18], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00402db0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00402db0
call fcn.00545e9e
ret 4
Function at 0x409067
Capabilities:
Check mutex on windows

Disassembly:
push 0x54
mov eax, 0x5726df
call fcn.00545ef4
mov esi, ecx
mov dword [ebp - 0x5c], esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x60], esi
call fcn.00403ba0
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 8], ebx
jne 0x4090ef
lea ecx, [ebp - 0x28]
call fcn.00403ba0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, str.RegValues
call fcn.0040a3cc
push str.Lock
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.00403960
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
call fcn.00402df0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00402db0
lea ecx, [ebp - 0x28]
call fcn.00402d50
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 8], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402db0
push 0x32
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x409194
push str.MappedFile
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.00403960
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402d50
push eax
mov edi, 0x88
push edi
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
test eax, eax
je 0x409180
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push 0
push 0
xor ebx, ebx
cmp eax, 0xb7
push 0xf001f
push dword [esi + 4]
setne bl
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x40917e
test ebx, ebx
je 0x409179
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.00405632
mov byte [ebp - 4], 3
mov eax, dword [esi + 0xc]
inc dword [eax]
xor ebx, ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402db0
mov esi, dword [esi + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402db0
mov eax, esi
call fcn.00545e9e
ret 4
Function at 0x4091ea
Capabilities:
Check mutex on windows

Disassembly:
push 0x54
mov eax, 0x57274b
call fcn.00545ef4
mov esi, ecx
mov dword [ebp - 0x5c], esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x60], esi
call fcn.00403ba0
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 8], ebx
jne 0x409272
lea ecx, [ebp - 0x28]
call fcn.00403ba0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, str.ExtMonitor
call fcn.0040a3cc
push str.Lock
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.00403960
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
call fcn.00402df0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00402db0
lea ecx, [ebp - 0x28]
call fcn.00402d50
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 8], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402db0
push 0x32
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x409351
push str.MappedFile
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.00403960
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402d50
push eax
push 0x48
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
test eax, eax
je 0x40933d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x48
push 0
push 0
xor ebx, ebx
cmp eax, 0xb7
push 0xf001f
push dword [esi + 4]
setne bl
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov dword [esi + 0xc], edi
test edi, edi
je 0x40933b
test ebx, ebx
je 0x409329
mov dword [ebp - 0x5c], edi
mov byte [ebp - 4], 4
xor ebx, ebx
mov dword [edi + 4], ebx
lea ecx, [edi + 0x14]
mov dword [edi], vtable.NGLogging::CExtMonitorSettings.0
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
call fcn.00403ba0
mov byte [ebp - 4], 5
lea ecx, [edi + 0x2c]
call fcn.00403ba0
mov byte [ebp - 4], 6
mov dword [edi + 0x44], ebx
mov byte [ebp - 4], 3
jmp 0x40932b
xor ebx, ebx
mov ecx, dword [esi + 0xc]
lea eax, [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
inc dword [ecx]
jmp 0x40933d
xor ebx, ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00402db0
mov esi, dword [esi + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402db0
mov eax, esi
call fcn.00545e9e
ret 4
Function at 0x40a299
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x40a313
xor ecx, ecx
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 8]
mov dword [ebp - 4], ecx
push eax
push ecx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40a313
cmp dword [ebp - 8], 1
jne 0x40a313
mov eax, dword [ebp - 4]
xor ecx, ecx
push esi
shr eax, 1
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004149bd
mov esi, eax
pop ecx
test esi, esi
je 0x40a312
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40a30b
mov ecx, dword [ebp + 8]
push esi
call fcn.00403030
push esi
call fcn.004149c6
pop ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b802
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 4], ebx
mov esi, edi
jmp 0x40b817
mov ebx, dword [ebp - 4]
add edi, 0x200
test esi, esi
je 0x40b828
push esi
call fcn.004149c6
pop ecx
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004149bd
mov esi, eax
pop ecx
test esi, esi
je 0x40b889
xor eax, eax
lea ecx, [ebx + 4]
mov word [esi], ax
call fcn.00402d50
push eax
push edi
push esi
push 0x5b883c
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
lea ecx, [edi - 1]
cmp ebx, ecx
jae 0x40b814
mov ecx, dword [ebp + 0x10]
push esi
call fcn.00403030
push esi
call fcn.004149c6
xor eax, eax
cmp eax, ebx
pop ecx
sbb eax, eax
neg eax
jmp 0x40b88b
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x410257
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x57345f
call fcn.00545ef4
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x410363
cmp byte [ebx + 0x3e], 0
je 0x410363
mov eax, dword [ebx]
mov esi, 0xffff
push esi
call dword [eax + 0xc]
movzx eax, ax
cmp si, ax
jne 0x410293
xor al, al
jmp 0x410365
xor eax, eax
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push 8
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
call fcn.00410e15
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
lea eax, [ebp - 0x30]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4102f7
sub eax, 1
je 0x4102fb
dec eax
sub eax, 1
je 0x41034d
xor bl, bl
jmp 0x41034f
mov byte [ebx + 0x3e], 0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmp ecx, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, edx
sub esi, eax
je 0x410333
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0055ac93
add esp, 0x10
cmp esi, eax
jne 0x4102f3
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [ebx + 0x3e], 0
je 0x41034d
test esi, esi
jne 0x4102bd
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00408ca9
jmp 0x4102b7
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.00408569
mov al, bl
jmp 0x410365
mov al, 1
call fcn.00545e9e
ret

Function at 0x4111c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esp, ebp
pop ebp
ret 0x28

Function at 0x411290
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret 0x18

Function at 0x411370
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esp, ebp
pop ebp
ret 8

Function at 0x411530
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esp, ebp
pop ebp
ret 4
Function at 0x412080
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esp, ebp
pop ebp
ret 8

Function at 0x412890
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret 4

Function at 0x4128b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret 0x18

Function at 0x412bf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x30]
push eax
mov ecx, dword [ebp + 0x2c]
push ecx
mov edx, dword [ebp + 0x28]
push edx
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esp, ebp
pop ebp
ret 0x2c

Function at 0x412fa0
Capabilities:
Monitor local ipv4 address changes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_NotifyAddrChange]
mov esp, ebp
pop ebp
ret 8
Function at 0x413800
Capabilities:
Get file version info

Disassembly:
push 0x10
mov eax, 0x573737
call fcn.00545f2b
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.NGUtils::AFileVersionInfo.0
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.NGUtils::CFileVersionInfo.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 4], edi
mov eax, dword [ebp + 8]
test eax, eax
je 0x4138d6
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x4138d6
mov byte [ebp - 4], 1
push ebx
call fcn.004149bd
pop ecx
mov dword [esi + 0xc], eax
mov dword [ebp - 4], edi
jmp 0x41387f
cmp dword [esi + 0xc], 0
je 0x4138d6
push dword [esi + 0xc]
push ebx
push dword [ebp - 0x18]
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4138d6
mov dword [ebp + 8], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp + 8]
push eax
lea eax, [esi + 0x10]
push eax
push 0x5bd01c
push dword [esi + 0xc]
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x4138c4
mov eax, dword [ebp + 8]
shr eax, 2
mov dword [esi + 8], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [esi + 4]
push eax
push 0x5bac20
push dword [esi + 0xc]
call edi
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00545e89
ret 4

Function at 0x414740
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_WSAConnect]
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x41bfd6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x41c01b
call fcn.00415a0e
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41c01b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x41c037
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00426120
mov ebx, eax
test edi, edi
je 0x41c035
test esi, esi
je 0x41c035
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41ca24
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x41cae2
cmp dword [esi + 0x20], 0
je 0x41cae2
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41cae2
cmp dword [ebp + 8], 0
je 0x41cae2
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00415a0e
push 0x5831f0
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x41cab3
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41cae2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.00426eaf
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x41cad3
test edi, edi
je 0x41cad3
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x41cade
mov ecx, esi
call fcn.0041c7c7
mov eax, ebx
jmp 0x41cae4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x420fef
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x57ff8b
call fcn.00545ec0
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x421015
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x421074
call fcn.004173b8
push eax
lea ecx, [ebp - 0x10]
call fcn.0041560d
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.00545d9c
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0054fb12
push eax
call fcn.00414e2c
add esp, 0x14
test esi, esi
je 0x421067
push esi
call fcn.0054dad7
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00415c54
mov eax, ebx
call fcn.00545e89
ret 8
Function at 0x42352e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00420f39
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x42356a
call fcn.00423750
mov dword [esi + 0xc], 1
jmp 0x42356f
call fcn.00423750
cmp dword [esi], 0
je 0x4235b8
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x423592
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004162b6
jmp 0x4235a3
push 0xff
mov ecx, esi
call fcn.00415bd7
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004162d9
jmp 0x4235dc
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4235dc
push dword [esi]
push dword [ebp - 4]
call fcn.00422d62
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4236a5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00423750
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4236ed
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004162b6
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004162d9
jmp 0x4236f8
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00422d62
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x42752a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x427555
cmp dword [ebx + 0x80], 0
jne 0x427555
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.00415a0e
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.004277e8
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x42758f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00415a0e
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4275c6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004275e7
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4296f9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x429713
mov edi, dword [esi + 0xc]
jmp 0x429753
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42972c
call fcn.004243d4
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x429741
call fcn.004243d4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x429753
call fcn.004243d4
call fcn.00415a0e
cmp dword [eax + 0x3c], 0
je 0x429768
push edi
mov ecx, ebx
call fcn.00428d8d
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00429945
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x429791
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x42979d
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8