joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ce62
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
call fcn.0043c6ca
push esi
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov edi, eax
test edi, edi
je 0x43cf2b
inc dword [esi + 8]
mov eax, dword [esi + 8]
push ebx
xor ecx, ecx
push 2
pop ebx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043fd86
inc dword [esi + 0x14]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x14]
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043fd86
inc dword [esi + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x20]
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043fd86
inc dword [esi + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x28]
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043fd86
inc dword [esi + 0x30]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x30]
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043fd86
inc dword [esi + 0x38]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x38]
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043fd86
add esp, 0x18
mov dword [esi + 0x34], eax
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x43cf33
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], 4
call fcn.0043ca4b
movzx edi, al
test al, al
je 0x43cf6a
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push dword [esi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test edi, edi
jne 0x43cf7c
or dword [ebp - 4], 0xffffffff
jmp 0x43cf82
mov eax, dword [esi + 0x48]
add dword [ebp - 4], eax
mov ecx, esi
call fcn.0043c4eb
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43cf98
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov esi, ecx
call ebx
sub eax, dword [esi + 0x6c]
xor edi, edi
cmp eax, 0x7530
jbe 0x43cfd5
mov eax, dword [esi + 0x60]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x68]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x64]
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x58], eax
mov dword [esi + 0x64], edi
call ebx
mov dword [esi + 0x6c], eax
mov ecx, dword [esi + 0x5c]
test ecx, ecx
jne 0x43cfe1
mov eax, dword [esi + 0x54]
jmp 0x43d02d
push 0xa
pop ebx
mov dword [ebp - 4], edi
test edi, edi
jne 0x43d02b
or eax, 0xffffffff
xor edx, edx
div ebx
mov edi, dword [esi + 0x54]
cmp edi, eax
jbe 0x43d003
shr edi, 1
shr ecx, 1
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], ecx
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x5c]
imul eax, ebx
xor edx, edx
div ecx
xor edx, edx
imul eax, eax, 0x3e8
div ebx
imul ebx, ebx, 0xa
mov edi, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 3
jb 0x43cfe7
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43d113
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x10]
push eax
xor ebx, ebx
push ebx
push 8
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43d189
call esi
cmp eax, 0x3f0
jne 0x43d16c
lea eax, [ebp - 0x10]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call esi
cmp eax, 0x78
jne 0x43d182
push 1
push dword [ebp - 0x10]
call fcn.0043d26d
pop ecx
pop ecx
jmp 0x43d25f
test eax, eax
jne 0x43d189
push ebx
jmp 0x43d173
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x43d1b0
push ebx
push dword [ebp - 0x10]
call fcn.0043d26d
pop ecx
jmp 0x43d25d
call esi
cmp eax, 0x7a
jne 0x43d1a1
push dword [ebp - 0x18]
call fcn.004401ab
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push esi
push 2
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x43d1d8
push ebx
jmp 0x43d249
cmp byte [ebp + 8], bl
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
mov eax, 0x223
push ebx
lea ecx, [eax - 3]
cmovne eax, ecx
push eax
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x43d1d5
mov byte [ebp - 0x14], bl
mov edi, ebx
cmp dword [esi], ebx
jbe 0x43d23d
lea ebx, [esi + 4]
push dword [ebp - 0x1c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x43d228
inc edi
add ebx, 8
cmp edi, dword [esi]
jb 0x43d20f
jmp 0x43d23d
cmp byte [ebp + 0xc], 0
je 0x43d239
test byte [esi + edi*8 + 8], 0x10
mov byte [ebp - 0x14], 0
jne 0x43d23d
mov byte [ebp - 0x14], 1
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.0043d26d
pop ecx
pop ecx
push esi
mov bl, al
call fcn.0043ffad
mov al, bl
pop ecx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00440060
leave
ret

Function at 0x43d2f3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x84
mov eax, 0x469436
call fcn.004414e8
mov esi, dword [ebp + 8]
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x43d310
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43d35b
push 0
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4745e4
mov dword [ebp - 0x18], 0x46ef78
call fcn.00406676
and dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.00412a4f
push 0x47e36c
lea eax, [ebp - 0x90]
push eax
call fcn.0044006f
call fcn.00441497
ret
Function at 0x43d66f
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2e0
mov eax, 0x469dd6
call fcn.004414e8
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
call fcn.0043d2f3
pop ecx
test al, 0x10
je 0x43d7e8
push 0x4740c8
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x70]
xor ebx, ebx
push eax
inc ebx
call fcn.0043d290
add eax, 4
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x43d6b7
mov eax, dword [eax]
lea ecx, [ebp - 0x2e0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2e8], esi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00401500
cmp esi, 0xffffffff
je 0x43d782
test ebx, ebx
je 0x43d782
push 0x46dbe8
lea eax, [ebp - 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x43d76d
push 0x4740d0
lea eax, [ebp - 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x43d76d
push dword [ebp + 0x38]
lea eax, [ebp - 0x2e1]
push 0
push eax
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4745e4
mov dword [ebp - 0x18], 0x46ef78
call fcn.00406761
sub esp, 0x30
mov eax, esp
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp + 8]
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.0043421a
add esp, 0xc
call fcn.0043d66f
add esp, 0x34
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401500
lea eax, [ebp - 0x2e0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
jmp 0x43d6e2
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0
call fcn.0041ed27
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x43d824
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4745e4
mov dword [ebp - 0x18], 0x46ef78
call fcn.00406676
mov byte [ebp - 4], 3
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.00412a4f
push 0x47e36c
lea eax, [ebp - 0x90]
push eax
call fcn.0044006f
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43d824
cmp byte [ebp + 0x38], al
jne 0x43d824
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4745e4
mov dword [ebp - 0x18], 0x46ef78
call fcn.00406676
mov byte [ebp - 4], 4
jmp 0x43d7c6
lea ecx, [ebp + 8]
call fcn.00401500
call fcn.00441497
ret
Function at 0x43e606
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov ebx, ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
test eax, eax
jne 0x43e629
xor al, al
jmp 0x43e6c3
push eax
call fcn.0043fd86
pop ecx
push eax
push dword [ebp - 4]
mov dword [ebx + 0x40], eax
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43e622
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x46d690
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43e622
push esi
mov esi, dword [ebp - 0xc]
push edi
push 0xd
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea edi, [ebx + 4]
push str.VarFileInfoTranslation
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueW
pop edi
pop esi
test eax, eax
je 0x43e6c1
mov eax, dword [ebp - 4]
shr eax, 2
xor ecx, ecx
push 4
pop edx
mov dword [ebx + 0x3c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043fd86
xor edx, edx
pop ecx
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x3c], edx
jbe 0x43e6c1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x38]
mov eax, dword [eax + edx*4]
mov dword [ecx + edx*4], eax
inc edx
cmp edx, dword [ebx + 0x3c]
jb 0x43e6af
mov al, 1
pop ebx
leave
ret 4
Function at 0x44cbf5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00444055
mov dword [ebp - 0x14], eax
cmp dword [0x48a80c], edi
jne 0x44cce6
push 0x800
push edi
push 0x47881c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x44cc73
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x44cdc6
push 0x47881c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x44cdc6
push 0x478834
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44cdc6
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x48a80c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x48a810], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x48a814], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x48a81c], eax
test eax, eax
je 0x44cce3
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x48a818], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x44cd0b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44ccfe
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x44cd20
push 4
pop eax
jmp 0x44cdc8
cmp dword [ebp - 0x14], edi
je 0x44cd20
push dword [0x48a80c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x44cd05
mov eax, dword [0x48a818]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x44cd7e
cmp dword [0x48a81c], esi
je 0x44cd7e
push eax
call ebx
push dword [0x48a81c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x44cd7e
test eax, eax
je 0x44cd7e
call ecx
test eax, eax
je 0x44cd73
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x44cd73
test byte [ebp - 8], 1
jne 0x44cd7e
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x44cdae
mov eax, dword [0x48a810]
cmp eax, esi
je 0x44cdab
push eax
call ebx
test eax, eax
je 0x44cdab
call eax
mov edi, eax
test edi, edi
je 0x44cdab
mov eax, dword [0x48a814]
cmp eax, esi
je 0x44cdab
push eax
call ebx
test eax, eax
je 0x44cdab
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x48a80c]
call ebx
test eax, eax
je 0x44cdc6
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x44cdc8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00440060
leave
ret
Function at 0x451a70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a62f
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x78], edi
mov dword [edi + 8], 0x4745e4
mov dword [edi + 0x30], 0x46ef78
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x34], eax
mov dword [edi + 0x20], 7
mov dword [edi + 0x1c], 0
xor eax, eax
mov word [edi + 0xc], ax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 4]
push dword [eax + edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [edi + 0x38]
mov dword [ebp - 4], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
call fcn.00454bf0
mov dword [edi + 0x38], eax
lea ecx, [edi + 0x40]
mov byte [ebp - 4], 1
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
call fcn.00454bf0
mov dword [edi + 0x40], eax
lea ecx, [edi + 0x4c]
mov byte [ebp - 4], 2
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
call fcn.00454bf0
mov dword [edi + 0x4c], eax
mov dword [edi + 0x58], 0
push 0
lea eax, [ebp - 0x71]
push eax
push str.uxtheme.dll
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0x48], 1
mov byte [edi + 0x54], 0
mov dword [ebp - 0x40], 0x4745e4
mov dword [ebp - 0x18], 0x46ef78
call fcn.00406761
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 5
call fcn.00436319
add eax, 4
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x451ba0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [edi + 0x58]
mov esi, eax
cmp ecx, esi
je 0x451bcb
test ecx, ecx
je 0x451bc8
mov edx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edx, edx
je 0x451bc8
push ecx
call edx
mov dword [edi + 0x58], 0
mov dword [edi + 0x58], esi
lea ecx, [ebp - 0x70]
call fcn.00401500
lea ecx, [ebp - 0x40]
call fcn.00401500
mov eax, dword [edi + 0x58]
test eax, eax
je 0x451bf3
push str.SetWindowTheme
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x5c], eax
jmp 0x451bfa
mov dword [edi + 0x5c], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00440060
mov esp, ebp
pop ebp
ret
Function at 0x4528b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x9e
push eax
mov word [ebp - 0xa4], ax
lea eax, [ebp - 0xa2]
push eax
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], ebx
call fcn.004400d0
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0xb4]
push eax
push dword [ebx]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
add dword [ebp - 0xb4], 0xa
sub dword [ebp - 0xac], 0xa
push 0x50
lea eax, [ebp - 0xa4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0xa4], 0
je 0x452aa7
push edi
push 0x478ed0
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xfffffffffffffff0
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
call esi
push 0xffffffffffffffec
push dword [ebp - 0xbc]
mov edi, eax
call esi
push 0
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push 0xffffffffffffffff
push dword [ebx]
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0xb4]
sub eax, ecx
push eax
push edx
shr edi, 0x10
push ecx
and edi, 0xff7faffc
or edi, 0x50000000
push edi
lea eax, [ebp - 0xa4]
push eax
push str.STATIC
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x452aa6
mov eax, dword [ebp - 0xb8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x31
push dword [eax]
call esi
push 1
push eax
push 0x30
push ebx
mov dword [ebp - 0xc8], eax
call esi
push 0x454af0
push 0xfffffffffffffffc
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [ebp - 0xb8]
mov esi, dword [sym.imp.USER32.dll_SetPropW]
push str.PROP_STAT_PSKIN
push ebx
mov edi, eax
call esi
push edi
push str.PROP_STAT_OLDPROC
push ebx
call esi
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], ecx
test esi, esi
je 0x452a76
push dword [ebp - 0xc8]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0xa4]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xc4]
push 2
push ecx
push eax
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
push dword [ebp - 0xbc]
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [eax + 0x14c]
push ebx
call fcn.00452510
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00440060
mov esp, ebp
pop ebp
ret
Function at 0x45aa80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b07e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x487db8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov dword [ebx + 0x7c], edi
mov dword [ebx + 0x80], 0
push 0x4c
push 0
push ebx
mov dword [ebp - 4], 0
call fcn.004400d0
push 0x30
lea esi, [ebx + 0x4c]
push 0
push esi
call fcn.004400d0
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
mov eax, dword [ebx + 0x7c]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebx + 0x54], 1
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x64], 0x64
mov dword [ebx + 0x68], 0x64
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x34], 0x4000
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 1
mov dword [ebx + 0x48], eax
call fcn.0045efa0
mov dword [ebx + 0x58], eax
add esp, 0x1c
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45c070
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x45c07c
pop ebp
ret
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0045aea0

Function at 0x45d230
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b3f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x487db8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
or esi, 0xffffffff
mov dword [ebp - 4], 0
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push dword [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, esi
je 0x45d2e9
push edi
push edi
push edi
push 2
push edi
mov esi, ebx
push ebx
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
je 0x45d2e9
push 0
push 0
push 0
push 4
mov edi, eax
push eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp + 8], eax
test eax, eax
je 0x45d2e9
push dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ebx
call fcn.0045cfd0
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov byte [ebp + 0xb], 1
test eax, eax
je 0x45d2ed
push ebx
call eax
jmp 0x45d2ed
mov byte [ebp + 0xb], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x45d2fe
test ebx, ebx
je 0x45d2fe
push edi
call ebx
cmp esi, 0xffffffff
je 0x45d30a
test ebx, ebx
je 0x45d30a
push esi
call ebx
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45ecd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 1
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x30], eax
movzx eax, cx
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x45ed11
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45ed0a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
push ebx
call fcn.0045d4d0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret

Function at 0x45ed50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x45ed63
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
call fcn.0045ef50
movzx ebx, word [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x478c90
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x45edb2
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x45ed9a
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
call fcn.0045eea0
add esp, 8
mov dword [edi], eax
pop esi
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp + 0x10]
mov ebx, eax
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x45ee3f
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x45ee3f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x45ee38
push dword [ebp - 4]
push dword [ebp + 0x10]
push ebx
call fcn.004403a0
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push 0
push esi
mov dword [ebp + 0x10], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x45ee31
push eax
push dword [ebp + 0x10]
call fcn.0045eef0
mov dword [edi], eax
mov eax, dword [ebp + 0x10]
add esp, 8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret