joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2e4
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
cmp edx, 0xb4
jle 0x4866a8
mov edx, 0xb4
mov ebx, dword [ebp + 0x14]
xor eax, eax
mov dword [esp + 0x10], 0
mov ecx, 0xb6
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x2d8], ecx
mov dword [esp + 0x24c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x23c], eax
lea ecx, [edx + edx]
mov eax, ecx
shr ecx, 2
mov byte [esp + 0x78], 0x40
mov dword [esp + 0xa0], ebx
lea edi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x51d5c4
mov word [esp + edx*2 + 0xa8], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x51c738
push 0x10000
lea ecx, [esp + 0x18]
push ecx
push 0x485910
push 0x20000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esp + 0xc], eax
je 0x486788
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0x270f
jmp 0x486750
cmp dword [esp + 0xa0], ebx
jne 0x48677d
push 0
call esi
dec edi
jns 0x486750
cmp dword [esp + 0xa0], ebx
jne 0x48677d
lea esp, [esp]
push 1
call esi
cmp dword [esp + 0xa0], ebx
je 0x486770
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x51d5c4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48cfe0
Capabilities:
Access peb ldr_data
Check os version
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e9dbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
push ebx
push ebp
push edi
mov ebx, ecx
mov edx, dword [ebx + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
xor edi, edi
push 0x465
push edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
cmp ebp, edi
mov dword [esp + 0xc], ebp
je 0x48d0fb
mov eax, dword [ebx + 0xa8]
mov eax, dword [eax]
mov ecx, dword [ebx + 0xac]
mov ecx, dword [ecx]
push esi
mov esi, ebp
sub esi, eax
sar esi, 2
add esi, 0x1000
xor edx, edx
test ecx, ecx
jle 0x48d08c
mov ebp, eax
mov eax, dword [ebp]
cmp dword [eax + 4], 6
jne 0x48d080
mov edi, dword [esp + 0x5c]
cmp edi, dword [eax + 0x44]
sete al
movzx edi, al
test edi, edi
jne 0x48d088
inc edx
add ebp, 4
cmp edx, ecx
jl 0x48d066
mov ebp, dword [esp + 0x10]
push 0x48
call fcn.004cc845
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x30], 0
je 0x48d0ea
mov ecx, dword [esp + 0x5c]
xor edx, edx
test edi, edi
sete dl
push edx
mov edx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push ecx
push esi
push edx
mov ecx, eax
call fcn.0048c6a0
jmp 0x48d0ec
xor eax, eax
push 0
push ebx
mov dword [ebp], eax
call fcn.00445960
add esp, 8
pop esi
mov ecx, dword [esp + 0x24]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x28
Function at 0x4a2670
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x28
push esi
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x4a2683
xor eax, eax
pop esi
add esp, 0x28
ret
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dl, byte [esp + 0x34]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov dword [esp + 0x14], eax
movsx eax, byte [esp + 0x38]
mov byte [esp + 0x10], dl
mov edx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 4], esi
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0
je 0x4a26f1
lea eax, [esp + 4]
push eax
push 0x44cee0
push ecx
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [esp + 8]
pop esi
add esp, 0x28
ret
lea ecx, [esp + 4]
push ecx
push 0x44cee0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 8]
pop esi
add esp, 0x28
ret

Function at 0x4a2710
Capabilities:
Read file via mapping

Disassembly:
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x1c]
push edi
push edx
add eax, ebx
push eax
mov eax, dword [esp + 0x1c]
adc ecx, ebp
push ecx
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
jne 0x4a274c
pop edi
pop esi
pop ebp
pop ebx
ret
push 0
push ebx
and esi, 4
push ebp
or esi, 8
shr esi, 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x4a2da0
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x14
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4a2dc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x14
ret
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 8]
push esi
lea ecx, [esp + 8]
push ecx
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4a2e01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0xc]
push 0
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop esi
add esp, 0x14
ret
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
push 0
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4a2e43
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 8]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0xc]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push ebx
push edi
push 0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
push 4
push eax
mov dword [esp + 0x20], 4
call esi
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.004492b0
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x10]
push eax
push ebx
push 2
push ecx
mov dword [esp + 0x20], edx
call esi
mov edi, dword [esp + 0x30]
push 0x4f004f
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0xc]
xor esi, esi
test eax, eax
jbe 0x4a2ed1
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
movzx edx, byte [esi + ebx]
push edx
push str._02X
push edi
call ebp
mov eax, dword [esp + 0x1c]
add esp, 0xc
add edi, 2
inc esi
cmp esi, eax
jb 0x4a2eb4
pop ebp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 0x14]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea ecx, [esp + 0x1c]
call fcn.00443880
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x14
ret

Function at 0x4a2f00
Capabilities:
Hash data with crc32

Disassembly:
push 0x400
call fcn.004a1d10
add esp, 4
mov dword [0x51d644], eax
xor edx, edx
mov ecx, edx
shr ecx, 1
test dl, 1
je 0x4a2f23
xor ecx, 0xedb88320
test cl, 1
je 0x4a2f32
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x4a2f34
shr ecx, 1
test cl, 1
je 0x4a2f43
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x4a2f45
shr ecx, 1
test cl, 1
je 0x4a2f54
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x4a2f56
shr ecx, 1
test cl, 1
je 0x4a2f65
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x4a2f67
shr ecx, 1
test cl, 1
je 0x4a2f76
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x4a2f78
shr ecx, 1
test cl, 1
je 0x4a2f87
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x4a2f89
shr ecx, 1
test cl, 1
je 0x4a2f98
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x4a2f9a
shr ecx, 1
mov dword [eax + edx*4], ecx
inc edx
cmp edx, 0x100
jl 0x4a2f14
ret
Function at 0x4a2fb0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [0x51d644]
test esi, esi
jne 0x4a2fc6
call fcn.004a2f00
mov esi, dword [0x51d644]
mov edx, dword [esp + 0xc]
or eax, 0xffffffff
test edx, edx
je 0x4a2ffb
mov ecx, dword [esp + 8]
push ebx
push edi
jmp 0x4a2fe0
movzx ebx, byte [ecx]
mov edi, eax
and edi, 0xff
xor edi, ebx
mov ebx, dword [esi + edi*4]
shr eax, 8
xor eax, ebx
inc ecx
dec edx
jne 0x4a2fe0
pop edi
pop ebx
not eax
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a3017
push esi
push str._08X
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, esi
pop esi
ret

Function at 0x4a36e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push ebx
movzx ebx, ax
mov ecx, eax
and ecx, 0x1000000
test ebx, ebx
mov dword [esp + 8], ecx
jne 0x4a3721
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push 8
push ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
pop ebx
add esp, 8
ret
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov al, bl
add edx, esi
xor al, 0xa
xor ebp, ebp
cmp esi, edx
push edi
mov byte [esp + 0x30], al
mov dword [esp + 0x10], edx
jae 0x4a37bf
mov edi, dword [esp + 0x28]
jmp 0x4a3750
mov al, byte [esp + 0x30]
mov edx, dword [esp + 0x10]
mov edi, edi
cmp esi, edx
mov ecx, esi
jae 0x4a3763
mov dl, byte [esi]
inc esi
cmp al, dl
je 0x4a3763
cmp esi, dword [esp + 0x10]
jb 0x4a3756
cmp ecx, esi
mov eax, ecx
jae 0x4a3777
lea esp, [esp]
xor byte [eax], bl
inc eax
cmp eax, esi
jb 0x4a3770
mov eax, dword [esp + 0x2c]
sub eax, ebp
push eax
mov eax, dword [esp + 0x20]
push edi
mov edx, esi
sub edx, ecx
push edx
push ecx
push 8
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x4a37a8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a37b9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
add ebp, eax
dec eax
js 0x4a37b9
inc eax
mov edi, edi
xor word [edi], bx
add edi, 2
dec eax
jne 0x4a37b0
cmp esi, dword [esp + 0x10]
jb 0x4a3746
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret

Function at 0x4a3810
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, dword [esp + 0x14]
mov esi, eax
lea eax, [esi + 2]
push eax
mov ecx, edi
call fcn.004494e0
mov ecx, dword [edi]
mov word [ecx], 0
mov edx, dword [edi]
inc esi
push esi
push edx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
pop edi
pop esi
pop ebx
ret
Function at 0x4a44e0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
or eax, 0xffffffff
mov dword [esp], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 4]
add esp, 8
ret
Function at 0x4a6df0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 0x40
jae 0x4a6dfc
xor eax, eax
ret
push edi
mov edi, dword [esp + 8]
cmp word [edi], 0x5a4d
je 0x4a6e0c
xor eax, eax
pop edi
ret
push esi
mov esi, dword [edi + 0x3c]
lea ecx, [esi + 0xf8]
cmp eax, ecx
jge 0x4a6e1f
pop esi
xor eax, eax
pop edi
ret
mov ecx, dword [esi + edi]
add esi, edi
cmp ecx, 0x4550
jne 0x4a6e1a
mov cx, word [esi + 0x16]
test ch, 0x20
jne 0x4a6e1a
test cl, 2
je 0x4a6e1a
cmp word [esi + 0x14], 0xe0
jne 0x4a6e1a
push ebx
lea ebx, [esi + 0xf8]
push ebx
push esi
push eax
push edi
call fcn.004a2840
mov edx, dword [esp + 0x34]
add esp, 0x10
test eax, eax
mov dword [edx], eax
jne 0x4a6e63
pop ebx
pop esi
pop edi
ret
movzx ecx, word [esi + 6]
test ecx, ecx
push ebp
mov ebp, dword [esi + 0x54]
jle 0x4a6e86
lea edx, [ebx + 0x14]
mov esi, ecx
mov ecx, dword [edx]
test ecx, ecx
je 0x4a6e80
cmp ecx, ebp
jae 0x4a6e80
mov ebp, ecx
add edx, 0x28
dec esi
jne 0x4a6e74
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + edi + 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x40
push 0x1000
push eax
push ecx
call ebx
test eax, eax
mov esi, dword [esp + 0x24]
mov dword [esi], eax
jne 0x4a6ec5
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
push 0x40
push 0x1000
push eax
push 0
call ebx
test eax, eax
mov dword [esi], eax
jne 0x4a6ec5
pop ebp
pop ebx
pop esi
pop edi
ret
mov ecx, dword [esi]
push ebp
push edi
push ecx
call fcn.004b3b10
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
mov ebp, dword [esp + 0x28]
add eax, edx
mov dword [ebp], eax
lea ecx, [eax + 0xf8]
mov eax, dword [esp + 0x2c]
mov dword [eax], ecx
mov edi, dword [ebp]
mov ebx, dword [edi + 0x38]
mov edx, dword [edi + 0x54]
lea eax, [edx + ebx - 1]
xor edx, edx
div ebx
add esp, 0xc
mov dword [esp + 0x18], 0
mov esi, eax
mov eax, dword [esp + 0x24]
imul esi, ebx
add esi, dword [eax]
cmp word [edi + 6], 0
jbe 0x4a6f99
xor edi, edi
lea ecx, [ecx]
mov eax, dword [edi + ecx + 0xc]
test eax, eax
je 0x4a6f30
mov edx, dword [esp + 0x24]
mov esi, dword [edx]
add esi, eax
mov eax, dword [edi + ecx + 0x10]
test eax, eax
je 0x4a6f6b
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edi + ecx + 0x14]
add eax, edx
push eax
push esi
call fcn.004b3b10
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx]
mov eax, dword [edi + ecx + 0x10]
mov edx, dword [edi + ecx + 8]
add esp, 0xc
cmp edx, eax
jae 0x4a6f6b
mov edx, dword [ebp]
mov ebx, dword [edx + 0x38]
lea eax, [eax + ebx - 1]
jmp 0x4a6f79
mov eax, dword [ebp]
mov ebx, dword [eax + 0x38]
mov edx, dword [edi + ecx + 8]
lea eax, [edx + ebx - 1]
xor edx, edx
div ebx
mov edx, dword [ebp]
movzx edx, word [edx + 6]
add edi, 0x28
imul eax, ebx
add esi, eax
mov eax, dword [esp + 0x18]
inc eax
cmp eax, edx
mov dword [esp + 0x18], eax
jl 0x4a6f20
pop ebp
pop ebx
pop esi
mov eax, 1
pop edi
ret
Function at 0x4a8430
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ecc38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0x44]
xor ebx, ebx
push edi
mov edi, SysReAllocStringLen
and al, 0xf8
mov dword [esp + 0xc], esi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], edi
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x35], bl
mov byte [esi + 0x44], al
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], 0xdefbac
mov dword [esi + 0x30], 0xff0000
mov dword [esi + 0x24], 0xbf800000
mov byte [esi + 0x34], 0x4c
mov dword [esi + 0x40], ebx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x64], ecx
lea ecx, [esi + 0x6c]
mov dword [esp + 0x18], ebx
mov dword [esi], fcn.004a7fc0
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov byte [esi + 0x68], bl
mov byte [esi + 0x69], bl
mov byte [esi + 0x6a], bl
mov byte [esi + 0x6b], bl
call fcn.00449480
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x84], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x88], ebx
mov byte [esi + 0x8c], bl
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov byte [esi + 0x8d], bl
mov byte [esi + 0x8e], bl
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4a8950
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x48
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x38]
push eax
push ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
call ebp
push 6
mov ebx, eax
call ebp
push 0x2d
mov dword [esp + 0x18], eax
call ebp
push 0x2e
mov dword [esp + 0x1c], eax
call ebp
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0x48]
push ecx
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x28]
push eax
push edi
push 0x130a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [esp + 0x5c]
test al, al
jne 0x4a8a18
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
add ecx, edx
jmp 0x4a8a30
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add edx, ebx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], edx
mov eax, edx
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
sub edi, edx
mov edx, dword [esp + 0x1c]
sub edi, ebx
mov ebx, dword [esp + 0x14]
sub ebp, edx
mov edx, dword [esp + 0x38]
sub ebp, ebx
sub edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
sub edi, eax
add eax, edx
mov edx, dword [esp + 0x24]
sub ebx, edx
sub ebp, ecx
add ecx, ebx
cmp dword [esi + 0x60], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x10], ecx
jne 0x4a8a82
cmp dword [esi + 0x64], ecx
jne 0x4a8a82
cmp dword [esi + 0x68], edi
jne 0x4a8a82
cmp dword [esi + 0x6c], ebp
je 0x4a8afa
mov ebx, dword [esi + 0x70]
mov dword [esp + 0x1c], ebx
xor ebx, ebx
cmp dword [esi + 0x78], ebx
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], ebp
jle 0x4a8acd
jmp 0x4a8aa6
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x10]
push 4
push ebp
push edi
push ecx
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + ebx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x78]
inc ebx
cmp ebx, eax
jl 0x4a8a9e
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
neg edx
push edx
neg eax
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x18]
push 1
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 4
Function at 0x4a8b10
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4ecc58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
push 0
mov esi, ecx
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x7c]
push 0
push 0x132f
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, dword [esi + 0x70]
mov edi, eax
cmp edi, ebx
je 0x4a8bf6
test edi, edi
jl 0x4a8bf6
cmp edi, dword [esi + 0x78]
jge 0x4a8bf6
mov ecx, dword [ebp + ebx*4]
mov eax, dword [ecx]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4a8b78
mov edx, dword [eax + 0x18]
push 0
push edx
call ebx
mov dword [esi + 0x7c], edi
mov eax, dword [ebp + edi*4]
mov eax, dword [eax]
test eax, eax
je 0x4a8b8d
mov ecx, dword [eax + 0x18]
push 5
push ecx
call ebx
mov ebx, dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
je 0x4a8ba1
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push 0x4fa060
lea ecx, [esp + 0x14]
call fcn.00456550
mov eax, dword [esi + 0x4c]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.00449510
push str..Select
lea ecx, [esp + 0x14]
call fcn.00449510
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x50]
push edx
inc edi
push edi
push eax
call fcn.0044bf50
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00443880
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4a9ed0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x4a9efe
mov ecx, dword [esi + 0x18]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call edi
mov edx, dword [esi + 0x18]
push 5
push edx
call edi
pop edi
pop esi
ret
Function at 0x4aa800
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ecda0
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x24
push ebp
xor ebp, ebp
cmp eax, ebp
jl 0x4aa938
push ebx
mov ebx, dword [esp + 0x3c]
push esi
push edi
lea eax, [esp + 0x24]
push eax
push ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push ebx
sub esi, edx
sub edi, ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov dword [esp + 0x1c], ebx
push 0xf
mov dword [esp + 0x40], ebp
call dword [sym.imp.USER32.dll_GetSysColor]
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
mov dword [esp + 0x18], ebp
push edi
push esi
push ebx
mov byte [esp + 0x48], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x4aa8ad
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push esi
push ebx
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x4aa8d8
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x48]
push edx
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.004a44b0
mov ecx, dword [esp + 0x20]
push ecx
push edi
push esi
push 0
push 0
push ebx
push edi
push esi
push 0
push 0
push ebp
call fcn.004aa6d0
add esp, 0x38
push 0xcc0020
push 0
push 0
push ebp
push edi
push esi
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
test ebp, ebp
je 0x4aa925
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
test ebx, ebx
je 0x4aa935
mov edx, dword [esp + 0x44]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x4b0a20
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 4]
and eax, 0xffdf
sub esp, 8
cmp ax, 0x41
je 0x4b0a41
cmp ax, 0x42
je 0x4b0a41
mov eax, 0xfffffffe
add esp, 8
ret
mov word [esp], ax
lea eax, [esp]
push eax
mov word [esp + 6], 0x3a
mov word [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
cmp eax, 2
setne cl
mov eax, ecx
add esp, 8
ret