joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422db4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
lea eax, [ebp + 0xc]
push edi
mov edi, dword [0x4bed14]
push eax
lea eax, [ebp - 0xc]
mov esi, 0x4bed10
push eax
mov ecx, esi
call fcn.00423a63
cmp dword [ebp - 0xc], edi
je 0x422e02
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
call fcn.0041bb47
mov ecx, dword [ebp + 8]
push eax
call fcn.004038b5
lea ecx, [ebp + 0xc]
call fcn.004038fb
mov eax, dword [ebp + 8]
jmp 0x422ed1
push ebx
xor ebx, ebx
push str.application_unknown
lea ecx, [ebp - 4]
mov dword [ebp - 8], ebx
call fcn.00403927
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push dword [ebp + 0xc]
push SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422e9b
push 0x7f
lea edi, [ebp - 0x20a]
pop ecx
mov word [ebp - 0x20c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x200
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push str.Content_Type
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x422e92
lea eax, [ebp - 0x20c]
test eax, eax
je 0x422e82
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x20c]
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.004039ec
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0041bb47
mov ecx, eax
call fcn.00403a8c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.004038b5
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
mov eax, dword [ebp + 8]
pop ebx
pop edi
pop esi
leave
ret

Function at 0x422f23
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push str.SoftwareMicrosoftWindows_DefenderWindows_Defender_Exploit_GuardControlled_Folder_AccessAllowedApplications
lea ecx, [ebp - 0x10]
call fcn.00403927
lea eax, [ebp - 0x14]
xor esi, esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 1
push esi
push esi
push esi
push dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 8], esi
push reloc.SHELL32.dll_SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x422f62
mov edi, dword [ebp - 8]
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 2
push eax
call fcn.00422ed5
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], 4
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0xc], esi
lea ecx, [ebp - 4]
jne 0x422fb1
call fcn.004038fb
cmp edi, esi
je 0x422fac
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop esi
jmp 0x422fc1
call fcn.004038fb
cmp edi, esi
je 0x422fc1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
call fcn.004038fb
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x422fcf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
push edi
push 0x4b2700
lea ecx, [ebp - 4]
call fcn.00403927
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x40]
mov edx, dword [ebp - 4]
rep stosd dword es:[edi], eax
mov eax, dword [0x4bd5dc]
mov ecx, 0x1ff
mov dword [ebp - 0x840], eax
xor eax, eax
lea edi, [ebp - 0x83c]
push edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x840]
mov dword [ebp - 0x40], 0x3c
push eax
mov dword [ebp - 0x3c], 0x200
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], str._UserProfile_
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x840]
push 0x2e
push eax
call fcn.0049d3b2
pop ecx
pop ecx
pop edi
test eax, eax
je 0x423051
lea eax, [ebp - 0x840]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp dword [ebp + 8], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], 0x4b1138
jne 0x423079
mov dword [ebp - 0x34], 0x4bd5d8
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
leave
ret

Function at 0x423095
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4b0550]
and byte [ebp - 5], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 4]
mov byte [ebp - 0x20], 0x77
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x6e
mov byte [ebp - 0x1d], 0x64
mov byte [ebp - 0x1c], 0x6f
mov byte [ebp - 0x1b], 0x77
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x19], 0x64
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x66
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x3a
mov byte [ebp - 0x10], 0x2f
mov byte [ebp - 0xf], 0x2f
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x74
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 9], 0x6e
mov byte [ebp - 8], 0x67
mov byte [ebp - 7], 0x73
mov byte [ebp - 6], 0x2f
call fcn.00403adc
push 5
push 0
push dword [ebp - 4]
push str.explorer.exe
push str.open
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.004038fb
leave
ret
Function at 0x425441
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 0x1c]
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.00403a8c
push 0
push dword [ebp + 8]
push dword [ebp + 8]
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebx + 0x48]
lea esi, [ebx + 0x3c]
add eax, 0x3e8
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
call fcn.00425865
mov ecx, eax
call fcn.00403a8c
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.00425865
mov edi, eax
lea esi, [ebp + 0xc]
add edi, 8
lea eax, [ebp - 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebx + 0x3c]
movsd dword es:[edi], dword [esi]
call fcn.00425865
and dword [eax + 0x18], 0
push 0
push 0x32
push dword [ebp - 4]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp + 8]
call fcn.004038fb
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x426c6a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4bedc4]
push ebx
push esi
push edi
cmp dword [eax - 8], 0
mov edi, ecx
mov ebx, 0x4b0fd8
mov esi, 0x4bedc4
jne 0x426d2c
push eax
push 0x4b0fec
lea eax, [ebp - 4]
push ebx
push eax
call fcn.0044ae7c
add esp, 0x10
mov ecx, esi
push eax
call fcn.00403a8c
lea ecx, [ebp - 4]
call fcn.004038fb
mov eax, dword [0x4bedc4]
cmp dword [eax - 8], 0
jne 0x426d2c
lea ecx, [ebp - 0x10]
call fcn.0048997e
push dword [edi + 4]
lea ecx, [ebp - 0x10]
push 0x1a
call fcn.0048a1c3
lea eax, [ebp - 8]
push str.Q_DirFavoriten_
push eax
lea ecx, [ebp - 0x10]
call fcn.00489fbf
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040a915
lea ecx, [ebp - 8]
call fcn.004038fb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x426d11
test al, 0x10
je 0x426d11
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.00403a8c
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.0048996a
mov eax, dword [0x4bedc4]
cmp dword [eax - 8], 0
je 0x426d63
mov edi, 0x4b0efc
mov eax, edi
test eax, eax
je 0x426d3e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, esi
call fcn.00403bd8
push esi
call fcn.004602be
push 0
push dword [0x4bedc4]
push 0x4b0fec
push ebx
call fcn.0044ae5b
add esp, 0x14
pop edi
pop esi
pop ebx
leave
ret

Function at 0x426d8e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
push 1
call fcn.004273f4
test eax, eax
je 0x426e5e
cmp dword [0x4c39a4], 4
jae 0x426dd6
mov ecx, esi
call fcn.00426c6a
push 5
push edi
push edi
push dword [0x4bedc4]
push str.explore
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x426e5e
mov eax, dword [0x4b0550]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.004273ab
mov eax, dword [eax]
pop ecx
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.00489f86
lea edi, [esi + 0x4c]
mov ebx, eax
mov ecx, edi
call fcn.00403816
mov eax, ebx
add ebx, 4
neg eax
sbb eax, eax
mov ecx, edi
and eax, ebx
push eax
call fcn.00404359
lea ecx, [ebp - 0x10]
call fcn.0048996a
lea ecx, [ebp - 8]
call fcn.004038fb
lea eax, [esi + 0x48]
neg eax
sbb eax, eax
and eax, edi
mov eax, dword [eax]
mov dword [0x4bedfc], eax
lea eax, [ebp - 4]
push eax
push 0x4000
push ecx
mov ecx, esp
push str._______
call fcn.00403927
push dword [esi + 4]
mov ecx, 0x4bedc8
call fcn.00497970
lea ecx, [ebp - 4]
call fcn.004038fb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42713e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [eax], ebx
mov eax, dword [0x4b0550]
mov esi, 0xfbc
lea ecx, [ebp - 4]
push esi
mov dword [ebp - 4], eax
call fcn.00403c58
push esi
push eax
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00403cd2
push 0x4b0890
lea ecx, [ebp - 0xc]
call fcn.00403927
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 0xc]
call fcn.004038fb
push ebx
lea ecx, [ebp - 4]
call fcn.00403c58
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], ebx
mov esi, dword [ecx - 8]
mov ecx, dword [0x4b0550]
mov dword [ebp + 0x14], ecx
lea ecx, [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
mov dword [ebp - 0x10], ebx
push eax
call fcn.0048ebfe
add esp, 0x10
test eax, eax
je 0x427230
mov eax, dword [ebp + 0x14]
cmp dword [eax - 8], 0xa
jle 0x427215
inc dword [ebp - 8]
mov eax, dword [0x4b0550]
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 0x4b1ab0
push eax
call fcn.00403d66
push ebx
push dword [ebp + 0x14]
push dword [ebp - 0xc]
push dword [edi + 0x20]
call fcn.0044ae5b
add esp, 0x1c
lea ecx, [ebp - 0xc]
call fcn.004038fb
push 0x4bd614
lea ecx, [ebp + 0x14]
call fcn.00403adc
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp - 0x14]
jmp 0x4271ca
push ebx
push dword [ebp - 8]
push 0x4b2a74
push dword [edi + 0x20]
call fcn.0044ad31
movzx eax, word [ebp + 0xc]
add esp, 0x10
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp + 0x14]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x4273f4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov ebx, 0x4b0fec
push dword [0x4bedc4]
mov edi, 0x4b0fd8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], ecx
push ebx
push edi
push eax
call fcn.0044ae7c
add esp, 0x10
mov esi, 0x4bedc4
mov ecx, esi
push eax
call fcn.00403a8c
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea eax, [ebp - 0x14]
push eax
call fcn.004273ab
cmp dword [ebp + 0xc], 0
pop ecx
jne 0x427460
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 3
jle 0x427460
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427460
test al, 0x10
jne 0x4275db
lea ecx, [ebp - 0x58]
call fcn.00497925
mov eax, dword [0x4b0550]
and dword [ebp - 0x24], 0
push 0x80
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.0040aeda
push 0x4bd614
lea ecx, [ebp - 0xc]
call fcn.00403927
lea eax, [ebp - 0x1c]
push eax
call fcn.004273ab
pop ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00403a8c
lea ecx, [ebp - 0x1c]
call fcn.004038fb
mov eax, dword [0x4b0550]
push 0x40
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00461770
pop ecx
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.00403a8c
lea ecx, [ebp - 0x1c]
call fcn.004038fb
cmp dword [ebp + 0xc], 0
jne 0x4274eb
mov eax, dword [ebp - 0x18]
push 0
push 0x4bd5d8
push dword [ebp - 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [ebp - 0xc]
push eax
push 0
push ecx
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.004038b5
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
push dword [eax + 4]
call fcn.00497b92
test eax, eax
jne 0x42753e
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0x58]
call fcn.00497962
lea ecx, [ebp - 0x14]
call fcn.004038fb
xor eax, eax
jmp 0x4275e6
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.00403a8c
mov eax, dword [0x4bedc4]
cmp dword [eax - 0xc], 0
jl 0x427563
mov dword [ebp - 4], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x427575
mov ecx, dword [0x4b0550]
push eax
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
call fcn.0040a70f
lea eax, [ebp - 4]
push eax
call fcn.0045f9a4
test eax, eax
pop ecx
je 0x4275a1
push 0
push 0x4b2a7c
lea ecx, [ebp - 4]
call fcn.00403d34
test eax, eax
jne 0x4275a1
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.00403a8c
push 0
push dword [0x4bedc4]
push ebx
push edi
call fcn.0044ae5b
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0x58]
call fcn.00497962
lea ecx, [ebp - 0x14]
call fcn.004038fb
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x427a32
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
push dword [esi + 4]
lea edi, [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, edi
call fcn.004035ec
push dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [edi]
call ebp
push dword [esi + 0x38]
mov ebx, 0x80
push 0
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0x38]
push 1
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ed
push dword [edi]
call ebx
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x2c], eax
cmp dword [ecx - 8], 0
je 0x427ab9
push ecx
push eax
call ebp
push 5
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x34]
push 0xf1
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x20]
push 0x3ee
push dword [edi]
mov dword [esp + 0x18], eax
call ebx
push dword [esp + 0x10]
push eax
call ebp
lea eax, [esi + 0x24]
push 0x3ea
push dword [edi]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
mov dword [esp + 0x18], eax
call ebx
push dword [esp + 0x10]
push eax
call ebp
push 0x3ea
push dword [edi]
call ebx
mov ecx, dword [esp + 0x14]
push 0x4bd614
mov dword [esi + 0x28], eax
call fcn.00403adc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
pop ecx
ret 0x10

Function at 0x4283e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.0040c929
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push dword [ebp + 0xc]
push ebx
call esi
push pe_nt_image_headers32
mov dword [ebp + 8], eax
push dword [ebp + 0xc]
push ebx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp eax, ecx
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp - 8], ecx
je 0x428440
push eax
push ebx
call esi
push eax
mov dword [ebp - 4], eax
call edi
mov dword [ebp + 0xc], eax
cmp dword [ebp + 8], 0
je 0x428490
push dword [ebp + 8]
push ebx
call esi
push eax
mov dword [ebp + 8], eax
call edi
push dword [ebp + 0xc]
mov esi, eax
push esi
call fcn.0040c59d
pop ecx
mov edi, eax
pop ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
cmp edi, esi
mov dword [ebp - 8], eax
je 0x428487
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [ebp + 0xc], 0
pop edi
pop esi
pop ebx
je 0x4284a8
cmp dword [ebp - 0xc], 0
je 0x4284a8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
leave
ret 0x14
Function at 0x428540
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx]
xor edi, edi
cmp eax, edi
je 0x4285f1
cmp dword [0x4c2f40], edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x428572
push str.GdipCreateFromHDC
push eax
call esi
mov dword [0x4c2f40], eax
cmp dword [0x4c2f44], edi
jne 0x428588
push str.GdipDeleteGraphics
push dword [ebx]
call esi
mov dword [0x4c2f44], eax
cmp dword [0x4c2f48], edi
jne 0x42859e
push str.GdipDrawImageRectRectI
push dword [ebx]
call esi
mov dword [0x4c2f48], eax
cmp dword [0x4c2f4c], edi
jne 0x4285b4
push str.GdipCreateImageAttributes
push dword [ebx]
call esi
mov dword [0x4c2f4c], eax
mov eax, dword [0x4c2f50]
cmp eax, edi
jne 0x4285cb
push str.GdipSetImageAttributesColorMatrix
push dword [ebx]
call esi
mov dword [0x4c2f50], eax
cmp dword [0x4c2f40], edi
je 0x4285f1
cmp dword [0x4c2f44], edi
je 0x4285f1
cmp dword [0x4c2f48], edi
je 0x4285f1
mov ecx, dword [0x4c2f4c]
cmp ecx, edi
je 0x4285f1
cmp eax, edi
jne 0x4285f8
xor eax, eax
jmp 0x428709
cmp dword [0x4c2f54], edi
jne 0x428607
push 0x4c2f54
call ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
call dword [0x4c2f40]
fld1
mov esi, dword [ebp + 0x20]
fstp dword [ebp - 0x68]
fldz
cmp esi, edi
fstp dword [ebp - 0x64]
fldz
fstp dword [ebp - 0x60]
fldz
fstp dword [ebp - 0x5c]
fldz
fstp dword [ebp - 0x58]
fld1
fstp dword [ebp - 0x54]
fld1
fstp dword [ebp - 0x50]
fldz
fstp dword [ebp - 0x4c]
fldz
fstp dword [ebp - 0x48]
fldz
fstp dword [ebp - 0x44]
fldz
fstp dword [ebp - 0x40]
fldz
fstp dword [ebp - 0x3c]
fld1
fstp dword [ebp - 0x38]
fldz
fstp dword [ebp - 0x34]
fldz
fstp dword [ebp - 0x30]
fldz
fstp dword [ebp - 0x2c]
fldz
fstp dword [ebp - 0x28]
fldz
fstp dword [ebp - 0x24]
fld1
fstp dword [ebp - 0x20]
fldz
fstp dword [ebp - 0x1c]
fldz
fstp dword [ebp - 0x18]
fldz
fstp dword [ebp - 0x14]
fldz
fstp dword [ebp - 0x10]
fldz
fstp dword [ebp - 0xc]
fld1
fstp dword [ebp - 8]
je 0x4286bf
push 0x19
lea eax, [ebp - 0x68]
pop ecx
lea edi, [ebp - 0x68]
push 0
push eax
lea eax, [ebp - 0x68]
push eax
push 1
push 1
push dword [0x4c2f54]
rep movsd dword es:[edi], dword [esi]
call dword [0x4c2f50]
xor edi, edi
mov ecx, ebx
call fcn.00428894
mov ecx, ebx
mov esi, eax
call fcn.004288c4
push edi
push edi
push dword [0x4c2f54]
push 2
push eax
mov eax, dword [ebp + 0x18]
push esi
sub eax, dword [ebp + 0x10]
push edi
push edi
push eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push dword [ebp - 4]
call dword [0x4c2f48]
push dword [ebp - 4]
call dword [0x4c2f44]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x4287a9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004288f4
cmp dword [0x4c2f7c], 0
jne 0x4287d5
push str.GdipLoadImageFromStream
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4c2f7c], eax
je 0x428811
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x428811
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x428811
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x428815
xor eax, eax
jmp 0x42888d
mov eax, dword [ebx + 4]
test eax, eax
je 0x428830
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 4], 0
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebx + 4], eax
je 0x42888a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x42888a
mov ecx, edi
mov edi, eax
mov eax, ecx
and dword [ebp + 0x10], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp + 0x10]
and ecx, 3
push eax
push 0
rep movsb byte es:[edi], byte [esi]
push dword [ebx + 4]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x42888a
add ebx, 0xc
push ebx
push dword [ebp + 0x10]
call dword [0x4c2f7c]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 1
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x428938
Capabilities:
Check os version

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov dword [esi], 0x4ab25c
mov dword [esi + 0x1c], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
cmp dword [0x4c31b4], ebp
jne 0x4289bd
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x45
mov edx, 0x4c30a0
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
push edx
mov dword [0x4c31b4], 1
mov dword [0x4c30a0], 0x114
call ebx
cmp dword [0x4c30a4], 5
jb 0x4289bd
push 0x47
mov edx, 0x4c2f80
pop ecx
xor eax, eax
mov edi, edx
push edx
rep stosd dword es:[edi], eax
mov dword [0x4c2f80], 0x11c
call ebx
mov eax, dword [0x4c2f84]
mov dword [0x4c30a4], eax
mov eax, dword [0x4c2f88]
mov dword [0x4c30a8], eax
mov dword [esi + 0xc], ebp
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4292ff
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4b0550]
and word [ebp - 0x14], 0
push esi
push edi
mov esi, ecx
mov edi, 0x400
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00403c58
push edi
push eax
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00403cd2
cmp dword [esi + 0x3c], 0
je 0x42936a
mov eax, dword [ebp - 4]
push dword [eax - 8]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
lea edx, [ebp - 0x14]
mov esi, dword [esi + 0x3c]
push edx
lea edx, [ebp - 0x14]
mov ecx, dword [esi]
push edx
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x14]
push edx
push eax
push esi
call dword [ecx + 0x2c]
mov esi, eax
jmp 0x42936c
xor esi, esi
lea ecx, [ebp - 4]
call fcn.004038fb
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
pop edi
pop esi
leave
ret