joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ff360
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x2c]
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
push fcn.004ff340
push ebp
push 0x414ce0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
push eax
push 2
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4ff42c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
call fcn.00474760
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x2c]
call fcn.004746b0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
call fcn.00474e70
mov ebx, eax
mov eax, str._DataSize
push eax
push dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x24]
mov edx, str.TWin32WidgetSet.ClipboardGetOwnerShip_DataHandle
mov eax, ebx
call fcn.00476080
mov eax, dword [ebp - 0xc]
mov byte [eax - 0x10], 0
jmp 0x4ff483
push dword [ebp - 0x10]
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x14], eax
xor eax, eax
push fcn.004ff320
push ebp
push 0x414ce0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
call dword [ebx + pe_nt_image_headers32]
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004ff320
push dword [ebp - 0x10]
push dword [ebp - 4]
call sub.user32.dll_SetClipboardData
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004ff340
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x529250
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
jne 0x529278
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
lea esi, [esi]
cmp dword [ebp - 0xc], 0
je 0x52932e
mov esi, esi
xor eax, eax
push 0x52930f
push ebp
push 0x415060
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.0040d680
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
je 0x529304
cmp dword [ebp - 8], 0
je 0x529304
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
lea esi, [esi]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x52932e
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x579e50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
xor eax, eax
push fcn.00579e30
push ebp
push 0x414ce0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x709fb0]
lea eax, [ebp - 0x10]
call fcn.0040a750
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextLengthW
mov dword [ebp - 0xc], eax
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.0040aa50
cmp dword [ebp - 0xc], 0
jle 0x579ec8
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x579eba
mov eax, 0x7432f0
push eax
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextW
mov dword [ebp - 0xc], eax
mov esi, esi
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.0040aa50
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
call fcn.0040b200
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x579ef1
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x579efd
mov eax, 0x7432f0
call fcn.00440ac0
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00579e30
mov esp, ebp
pop ebp
ret
Function at 0x57b440
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov eax, ecx
mov edx, 0x70a6a8
call fcn.0040eed0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.0057b430
push ebp
push 0x414ce0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0xc]
add eax, 0x34
xor edx, edx
call fcn.00408ad0
mov eax, dword [ebp - 0xc]
mov edx, fcn.004fc0d0
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [edx + 0x24], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [edx + 0x28], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
xor dx, dx
call fcn.00409430
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, 0x30
call fcn.00408ad0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov dword [edx + 0x10], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dword [edx + 0x18], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 0x10]
mov eax, dword [ebp - 0xc]
lea edx, [eax + 0xc]
mov eax, dword [ebp - 4]
call fcn.005794d0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0057bad0
mov eax, dword [ebp - 4]
test dword [eax + 0x28], 0x10
jne 0x57b55c
mov eax, dword [ebp - 4]
call fcn.0051d510
test al, al
jne 0x57b55c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
or eax, 0x8000000
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x24], eax
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0057b430
mov esp, ebp
pop ebp
ret
Function at 0x59e1e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
jne 0x59e208
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
lea esi, [esi]
cmp dword [ebp - 0xc], 0
je 0x59e31e
mov esi, esi
xor eax, eax
push 0x59e2ff
push ebp
push 0x415060
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x14], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x15], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x16], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x17], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x18], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x19], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x1a], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x1c], 2
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x20], 2
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x24], 2
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x28], 2
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x2c], 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 3
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x38], 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x3c], 0xa
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.0040d680
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
je 0x59e2f4
cmp dword [ebp - 8], 0
je 0x59e2f4
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x59e31e
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6074c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x14]
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040d5e0
xor eax, eax
push fcn.006074b0
push ebp
push 0x414ce0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, 0x71fbc8
call fcn.005a4920
mov edx, dword [ebp - 0x10]
lea eax, [edx + 4]
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [ebx], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call dword [edx + 0x30]
mov byte [ebx + 0xc], al
mov dword [ebx + 4], edi
mov dword [ebx + 8], esi
mov eax, 0x605590
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call dword [edx + 0x48]
mov esi, eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call dword [edx + 0x30]
test al, al
jne 0x607564
jmp 0x60754b
mov eax, 0x71fbc8
cmp eax, esi
je 0x607564
jmp 0x607556
mov eax, 0x71fddc
cmp eax, esi
je 0x607564
jmp 0x6075d9
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x607584
sub eax, 1
je 0x607594
sub eax, 1
je 0x6075b4
sub eax, 1
je 0x6075a4
sub eax, 1
je 0x6075c4
jmp 0x6075d4
mov eax, 0x6055c0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], eax
jmp 0x6075d4
mov eax, 0x605ba0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], eax
jmp 0x6075d4
mov edx, 0x606220
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], edx
jmp 0x6075d4
mov edx, 0x606800
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], edx
jmp 0x6075d4
mov eax, 0x606de0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], eax
jmp 0x6075d4
jmp 0x60766c
mov edx, dword [ebp - 0x10]
lea eax, [edx + 4]
mov ebx, eax
mov eax, esi
lea ecx, [ebp - 0xc]
mov edx, 0x71fbc8
call fcn.005b72d0
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x60761c
sub eax, 1
je 0x60762c
sub eax, 1
je 0x60763c
sub eax, 1
je 0x60764c
sub eax, 1
je 0x60765c
jmp 0x60766c
mov edx, 0x605790
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], edx
jmp 0x60766c
mov edx, 0x605db0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], edx
jmp 0x60766c
mov edx, 0x6069a0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], edx
jmp 0x60766c
mov edx, 0x6063c0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], edx
jmp 0x60766c
mov edx, 0x607030
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], edx
jmp 0x60766c
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.006074b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x61c060
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
je 0x61c07b
jmp 0x61c088
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
nop
cmp dword [ebp - 0xc], 0
je 0x61c090
jmp 0x61c098
jmp 0x61c1f2
xor eax, eax
push 0x61c1cf
push ebp
push 0x415060
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x14], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x28], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0xc]
fldz
fstp dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0xa0]
mov ebx, eax
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0061d700
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x9c]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x54]
mov dword [ecx + 0x30], edx
mov eax, dword [eax + 0x58]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x30]
call fcn.005a2320
test al, al
jne 0x61c12f
jmp 0x61c150
mov ecx, str.Path_does_not_has_a_starting_coordinate
mov edx, 1
mov eax, 0x6bcedc
call fcn.00465900
mov edx, 0x61c12f
mov ecx, ebp
call fcn.00414b80
nop
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0xa0]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov dword [ecx + 0x38], edx
mov eax, dword [eax + 0x2c]
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x38]
call fcn.005a2320
test al, al
jne 0x61c17e
jmp 0x61c1a0
mov ecx, str.Path_does_not_has_an_ending_coordinate
mov edx, 1
mov eax, 0x6bcedc
call fcn.00465900
mov edx, 0x61c17e
mov ecx, ebp
call fcn.00414b80
mov esi, esi
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x61c1af
jmp 0x61c1c4
cmp dword [ebp - 8], 0
jne 0x61c1b7
jmp 0x61c1c4
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
mov esi, esi
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x61c1f2
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x6826a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp edx, 1
jne 0x6826c4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
call dword [edx + 0x34]
mov dword [ebp - 8], eax
lea esi, [esi]
cmp dword [ebp - 8], 0
je 0x68278a
mov esi, esi
xor eax, eax
push 0x68276b
push ebp
push 0x415060
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
mov byte [eax + 0x10], 0
mov edx, 1
mov eax, 0x6c7344
call fcn.0047dc90
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
mov edx, 1
mov eax, 0x6ba118
call fcn.0044bdd0
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
mov byte [eax + 0x28], 0
mov eax, dword [ebp - 8]
mov byte [eax + 8], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x2c], 8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
mov dword [edx + 0x30], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x682760
cmp dword [ebp - 4], 0
je 0x682760
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x44]
lea esi, [esi]
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x68278a
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40cbbc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x411198]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004071b8
and dword [ebp - 0x14], 0
cmp dword [0x414948], 0
mov dword [ebp - 0x18], eax
jne 0x40cc6f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40cd17
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40fc54
push ebx
call edi
test eax, eax
je 0x40cd17
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x414948], eax
call edi
push eax
call esi
push 0x40fc30
push ebx
mov dword [0x41494c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x414950], eax
call edi
push eax
call esi
mov dword [0x414958], eax
test eax, eax
je 0x40cc6f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x414954], eax
mov eax, dword [0x414954]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40ccc8
cmp dword [0x414958], ecx
je 0x40ccc8
push eax
call esi
push dword [0x414958]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40ccc8
test ebx, ebx
je 0x40ccc8
call edi
test eax, eax
je 0x40ccbf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40ccbf
test byte [ebp - 8], 1
jne 0x40ccc8
or dword [ebp + 0x10], 0x200000
jmp 0x40ccfb
mov eax, dword [0x41494c]
cmp eax, dword [ebp - 0x18]
je 0x40ccfb
push eax
call esi
test eax, eax
je 0x40ccfb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40ccfb
mov eax, dword [0x414950]
cmp eax, dword [ebp - 0x18]
je 0x40ccfb
push eax
call esi
test eax, eax
je 0x40ccfb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x414948]
call esi
test eax, eax
je 0x40cd17
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40cd19
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004060d3
leave
ret
Function at 0x417fe3
Capabilities:
Encode data using xor

Disassembly:
adc eax, 0x85aa7665
push ebp
add byte [esi], cl
add byte [0x6bd1c0a9], bl
out dx, al
or ebx, ebx
popal
int1
enter 0x46b2, 0x1d
push cs
push esp
mov word [ebx - 0x33b923af], es
retf
mov al, byte [0x730e0672]
inc eax
insd dword es:[edi], dx
stosb byte es:[edi], al
and byte [edi], dl
out 0xf7, ax
jbe 0x417f67
push edi
inc dword [eax]
xchg esi, eax
mov ebx, es
std
push edi
mov cl, 0xff
add byte [ebx - 0x25], ch
int1
jmp 0x21cee117
and al, 0x38
sar edi, 0
or bl, byte [esi - 0x5f]
mov esi, 0x9aa67ec6
jle 0x417f9f
test al, 0x7f
leave
or esi, dword [eax + ecx*8]
wait
mov ecx, cs
invalid
Function at 0x402310
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0040587b

Function at 0x402640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402655
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402694
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x402690
lea ebx, [ebx]
cmp esi, edx
jae 0x402694
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x402680
cmp esi, edx
jb 0x402699
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x4048dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x404926
call fcn.004111ad
mov ebx, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x404923
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40495f
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test edi, edi
je 0x404948
push dword [ebp + 0x10]
mov edx, dword [eax]
push edi
push dword [ebp + 8]
mov ecx, eax
call dword [edx + 0x20]
mov ebx, eax
test esi, esi
je 0x404948
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
test ecx, ecx
je 0x40495d
mov eax, dword [ecx]
push dword [ebp + 0x10]
call dword [eax + 0xa0]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4058d7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004111ad
mov ebx, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40590e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0040592d
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x407b01
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5a1140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5a3fcc]
push esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x407b4d
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407b6a
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x5a3fcc], eax
jmp 0x407b56
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x407b6a
push 0x800
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x407bd7
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x407b85
xor eax, eax
jmp 0x407bd7
lea eax, [ebp - 0x210]
push eax
call fcn.005243b1
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x407bb6
push 0x57e4b4
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00524345
add esp, 0xc
test eax, eax
jne 0x407b81
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00524345
add esp, 0xc
test eax, eax
jne 0x407b81
lea eax, [ebp - 0x210]
push eax
call fcn.0040c82f
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00523a82
leave
ret

Function at 0x4083ad
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], esi
je 0x4083f2
call fcn.004111ad
mov ebx, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4083f2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40840e
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042084c
mov ebx, eax
test edi, edi
je 0x40840c
test esi, esi
je 0x40840c
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40fbdb
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x53ec50
call fcn.005247db
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x6c], esi
jne 0x40fc01
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40fc55
call fcn.0041044a
push eax
lea ecx, [ebp - 0x10]
call fcn.00402da0
mov ecx, dword [edi + 0x6c]
lea edx, [ebp - 0x10]
mov eax, dword [ecx]
push edx
mov dword [ebp - 4], esi
call dword [eax + 0x8c]
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00526f8f
push eax
call fcn.004026e0
add esp, 0x14
test edi, edi
je 0x40fc48
push edi
call fcn.005243b1
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402dd0
mov eax, esi
call fcn.005247a9
ret 8