joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448b9e
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
call fcn.00419550
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d6b0
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0041a570
push 0x401614
lea ecx, [ebp - 0x30]
call fcn.00419550
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041dcc0
mov ecx, eax
call fcn.0041dea0
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d700
lea ecx, [ebp - 0x48]
call fcn.00419660
lea ecx, [ebp - 0x60]
call fcn.00419660
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0041a570
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmovae eax, dword [ebp - 0x18]
push eax
call esi
push dword [ebp + 0xc]
call esi
push dword [ebp + 0x10]
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x18]
call fcn.00419660
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x448c49
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
xor eax, eax
push esi
mov word [ebp - 4], ax
mov esi, 0x104
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x448c99
cmp eax, esi
jae 0x448c99
xor esi, esi
push dword [esi + 0x4014f0]
lea eax, [ebp - 0x20c]
push eax
call fcn.00448a5b
add esi, 4
pop ecx
pop ecx
cmp esi, 8
jb 0x448c7d
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x449089
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x104
push ebx
push esi
call fcn.0044a055
push 0x4014dc
push ebx
push esi
mov dword [ebp + 8], eax
call fcn.00449ff2
add esp, 0x14
test al, al
je 0x44916e
and dword [ebp - 0x250], 0
lea eax, [ebp - 0x24c]
push edi
push 0x24c
push 0
push eax
call fcn.00449f04
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44915c
cmp word [ebp - 0x1c], 0
lea eax, [ebp - 0x224]
lea ebx, [ebp - 0x1c]
cmove ebx, eax
push ebx
call fcn.00448df7
pop ecx
test al, al
jne 0x449143
mov eax, dword [ebp + 8]
mov ecx, esi
inc eax
push eax
call fcn.00449ee7
push ebx
push 0x104
push esi
call fcn.00449ff2
add esp, 0xc
test al, al
je 0x449143
test byte [ebp - 0x250], 0x10
push esi
je 0x44913d
call fcn.00449089
pop ecx
jmp 0x449143
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4490f0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
mov ecx, esi
call fcn.00449ee7
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4491b7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push 0x40
xor ebx, ebx
mov dword [ebp - 0x54], 0x44
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.00449f04
add esp, 0xc
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x10], xmm0
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x449204
xor al, al
jmp 0x449245
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [ebp - 0x10]
mov bl, 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x449222
xor bl, bl
jmp 0x44923a
cmp dword [ebp + 0x10], 0
je 0x44923a
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
neg eax
sbb al, al
and bl, al
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a1e1
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push dword [esi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x44a1fb
xor al, al
jmp 0x44a26b
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x44a20d
xor al, al
jmp 0x44a26a
push ebx
push dword [esi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44a25a
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x44a25e
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x44a269
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne al
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x44c12d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
xor ebx, ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x1c], ebx
call fcn.00419530
lea eax, [ebp - 0x4c]
push eax
push 2
call fcn.00426c20
pop ecx
pop ecx
test al, al
jne 0x44c15c
xor bl, bl
jmp 0x44c257
push esi
lea ecx, [ebp - 0x34]
call fcn.00419530
and dword [ebp - 8], ebx
xor eax, eax
mov word [ebp - 0x18], ax
mov esi, 0x104
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 7
push esi
push eax
call fcn.0042dbd0
pop ecx
pop ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x44c1b0
cmp eax, esi
jae 0x44c1b0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041d6b0
push eax
lea ecx, [ebp - 0x34]
call fcn.0041d700
lea ecx, [ebp - 0x64]
jmp 0x44c1db
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041dcc0
mov ecx, eax
call fcn.0041dcc0
push eax
lea ecx, [ebp - 0x34]
call fcn.0041d700
lea ecx, [ebp - 0x64]
call fcn.00419660
lea ecx, [ebp - 0x7c]
call fcn.00419660
push 0x56
mov esi, 0x401e00
push esi
call fcn.0041fd30
pop ecx
pop ecx
cmp eax, 1
jl 0x44c226
push 0xffffffffffffffff
push 0x302
xor ebx, ebx
lea ecx, [ebp - 0x12c]
push esi
inc ebx
call fcn.0041fdc0
lea ecx, [ebp - 0x34]
add eax, 8
push ecx
push 0x402104
push eax
call fcn.0041bbb0
pop ecx
pop ecx
push eax
call fcn.0041d380
pop ecx
pop ecx
pop esi
test bl, 1
je 0x44c237
lea ecx, [ebp - 0x12c]
call fcn.0041fe10
lea eax, [ebp - 0x34]
push eax
call fcn.00424260
pop ecx
push 0
push 1
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.0041a570
lea ecx, [ebp - 0x34]
call fcn.00419660
lea ecx, [ebp - 0x4c]
call fcn.00419660
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c8e1
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
mov edi, 0x4037ec
push edi
call fcn.004183f0
test al, al
je 0x44cab7
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov bl, 1
call fcn.00419340
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00418540
xor edi, edi
lea ecx, [ebp - 0x2c]
push edi
push 1
call fcn.0041a110
push 0x40380c
mov ecx, esi
call fcn.004183f0
test al, al
je 0x44c9d7
push 0x40380c
lea ecx, [ebp - 0x5c]
call fcn.00419340
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004185e0
push edi
push 1
lea ecx, [ebp - 0x5c]
call fcn.0041a110
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], edi
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00424900
pop ecx
pop ecx
test al, al
je 0x44c9c8
push dword [ebp - 4]
lea eax, [ebp - 0x14]
push eax
call fcn.00425d00
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00425b50
lea ecx, [ebp - 0x14]
call fcn.00425c20
push edi
lea ecx, [ebp - 0xc]
call fcn.00425ea0
xor ecx, ecx
movzx ebx, bl
test al, al
cmovne ebx, ecx
lea ecx, [ebp - 0xc]
call fcn.00425c20
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041a570
test bl, bl
je 0x44c9e2
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x401ef0
lea ecx, [ebp - 0x5c]
call fcn.00419550
push 1
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x44]
call fcn.0041dcc0
mov ecx, eax
call fcn.0041dea0
push eax
call fcn.00422e70
pop ecx
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.00419660
lea ecx, [ebp - 0x74]
call fcn.00419660
push edi
push 1
lea ecx, [ebp - 0x5c]
call fcn.0041a570
lea eax, [ebp - 0x44]
push 1
push eax
call fcn.00422e70
pop ecx
pop ecx
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x44]
call fcn.0041dcc0
mov ecx, eax
call fcn.0041de00
mov edi, 0x401f08
mov esi, eax
push edi
call fcn.00416d20
pop ecx
push eax
push edi
push dword [esi + 0x10]
mov ecx, esi
push 0
call fcn.0041b140
mov ebx, eax
lea ecx, [ebp - 0x74]
neg ebx
sbb bl, bl
call fcn.00419660
lea ecx, [ebp - 0x5c]
call fcn.00419660
inc bl
pop ebx
je 0x44caad
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x44]
call fcn.0041dcc0
cmp dword [eax + 0x14], 8
jb 0x44ca9e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x74]
call fcn.00419660
lea ecx, [ebp - 0x44]
call fcn.00419660
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44d111
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push 0x401908
lea ecx, [ebp - 0x18]
call fcn.00419550
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.00424540
push dword [esi]
call fcn.00422d20
pop ecx
test al, al
je 0x44d164
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44d164
mov bl, 1
jmp 0x44d166
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x18]
call fcn.0041a570
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44ddc9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
xor ebx, ebx
push edi
push 0x60
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x40c], ebx
call esi
mov edi, eax
test edi, edi
jne 0x44de11
push 2
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
test edi, edi
jne 0x44de11
call fcn.0044bf38
mov esi, eax
jmp 0x44dea9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x44de2b
call fcn.0044bf38
jmp 0x44de9c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44de24
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x44de51
mov esi, 0x8007000e
jmp 0x44de9e
push eax
lea ecx, [ebp - 0x40c]
call fcn.0044b99b
cmp dword [ebp - 0x40c], 0
je 0x44de4a
push esi
push dword [ebp - 0x40c]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x44de24
mov eax, dword [ebp - 0x40c]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 8]
push dword [ebp - 0x40c]
call fcn.0044dcbb
mov esi, eax
test edi, edi
je 0x44dea9
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x44dec2
lea ecx, [ebp - 0x40c]
call fcn.0044c6ad
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44f497
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x44f4aa
push 0xd
pop eax
jmp 0x44f4ee
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x44f4bd
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x44f4b5
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44f4f5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x44f507
push 0xd
pop eax
jmp 0x44f539
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x44f510
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x45061c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x18], edi
push eax
push ebx
movdqu xmmword [ebp - 0x38], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x2c]
mov esi, eax
sub ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ecx
push eax
push edi
mov dword [ebp - 4], esi
call ebx
push eax
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xe
push esi
push 0x318
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
push dword [ebp + 8]
movdqu xmmword [ebp - 0x28], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x1c]
mov edi, eax
sub ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push ecx
push eax
push esi
mov dword [ebp - 8], edi
call ebx
push eax
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea esi, [ebp - 0x28]
mov ebx, eax
lea edi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x48]
push 2
push eax
push dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
push 0xcc0020
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push esi
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
push edi
push edi
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push dword [ebp - 0xc]
mov dword [ebp + 0xc], eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp + 8]
test eax, eax
je 0x45073d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
test edi, edi
je 0x45074a
push edi
call ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x450758
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x45075f
push esi
call ebx
lea ecx, [ebp - 0x18]
call fcn.004502c7
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4507d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor ebx, ebx
push esi
push edi
cmp byte [0x4b1f7c], bl
jne 0x450812
lea eax, [ebp - 8]
mov byte [0x4b1f7c], 1
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 1
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
call sub.gdiplus.dll_GdiplusStartup
mov eax, dword [ebp + 8]
shr eax, 0x10
test ax, ax
je 0x450851
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x450952
lea eax, [ebp - 4]
mov dword [esi], 0x40220c
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromFile
mov dword [esi + 8], eax
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
jmp 0x450954
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x450933
cmp eax, 2
je 0x450933
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
mov dword [ebp - 0xc], ebx
call fcn.0045173f
mov edi, dword [ebp - 0x10]
test al, al
je 0x4508db
push dword [ebp - 0xc]
push dword [0x4b6094]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4508db
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.0048d700
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 1
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jns 0x4508ed
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x4508e6
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x45097a
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x45091b
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [esi], 0x40220c
mov dword [ebp - 0xc], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
jmp 0x45091d
mov esi, ebx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
je 0x450954
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x450954
push 0x10
call sub.gdiplus.dll_GdipAlloc
test eax, eax
je 0x450952
push dword [ebp + 8]
mov ecx, eax
push dword [0x4b6094]
call fcn.00450122
mov esi, eax
jmp 0x450954
mov esi, ebx
test esi, esi
je 0x4508e6
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x45096f
mov dword [esi + 8], eax
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4515f3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push ebx
push 0xb
push ebx
lea edi, [esi + 4]
mov ecx, edi
call fcn.00451817
push ebx
push ecx
mov eax, esp
push ebx
push ebx
push ebx
push ecx
mov dword [eax], ebx
lea ecx, [esi + 0x24]
mov eax, esp
mov dword [eax], ebx
push dword [edi]
call fcn.00450c76
push dword [esi + 0x28]
mov ecx, esi
call fcn.0045210b
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
test byte [esi + 0x50], 1
push ebx
pop ecx
cmovne eax, ecx
mov dword [esi + 0x4c], eax
xor eax, eax
push 0x256
mov word [ebp - 0x258], ax
lea eax, [ebp - 0x256]
push ebx
push eax
call fcn.00449f04
add esp, 0xc
lea eax, [ebp - 0x258]
push 0x12b
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x451698
lea eax, [ebp - 0x258]
mov ecx, esi
push eax
call fcn.0045210b
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x4516ad
push 3
pop eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4580db
Capabilities:
Hide graphical window

Disassembly:
push esi
push 5
push dword [ecx + 4]
jmp 0x4580ef
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x4580e3
pop esi
ret
Function at 0x45848b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov ecx, dword [edi + 0x58]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x4584d7
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call esi
push dword [edi + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call esi
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push esi
push 0x4e
push eax
jmp 0x458502
shr ecx, 2
test cl, 1
je 0x45850a
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
mov ecx, eax
movzx eax, si
push eax
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x458539
push 1
xor esi, esi
push esi
push esi
push dword [edi + 0x28]
push 0x4035b8
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x458539
or byte [edi + 0x5c], 2
push 1
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45888c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x7fe
mov word [ebp - 0x834], ax
mov esi, ecx
lea eax, [ebp - 0x832]
push ebx
push eax
call fcn.00449f04
add esp, 0xc
lea eax, [ebp - 0x834]
push 0x400
push eax
push dword [esi + 0x68c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x834]
mov dword [ebp - 0xc], ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00419550
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0045eb6d
add esp, 0xc
lea ecx, [ebp - 0x34]
xor edi, edi
inc edi
push ebx
push edi
call fcn.0041a570
mov eax, dword [ebp - 4]
test eax, eax
jne 0x458924
mov dword [esi + 0x6b4], ebx
jmp 0x45893f
cmp eax, edi
jne 0x458934
mov dword [esi + 0x6b4], 3
jmp 0x45893f
cmp eax, 2
jne 0x45893f
mov dword [esi + 0x6b4], edi
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [esi + 0x694]
push dword [esi + 4]
call fcn.00460f26
lea eax, [ebp - 0x834]
push eax
call fcn.00416d20
add esp, 0x10
lea ecx, [esi + 0x6bc]
push eax
lea eax, [ebp - 0x834]
push eax
call fcn.0041aec0
mov ecx, esi
call fcn.00458542
push ebx
push edi
lea ecx, [ebp - 0x1c]
call fcn.0041a570
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10