joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c450d
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x65b168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, dword [0x6a2b04]
push esi
mov esi, ecx
mov dword [esp + 0x44], eax
mov ecx, eax
lea eax, [esp + 0x38]
mov edx, dword [esi]
mov dword [esp + 0x38], ecx
push eax
mov ecx, esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
call dword [edx + 0xb8]
lea eax, [esi + 0x7c]
test eax, eax
je 0x5c4555
add eax, 4
jmp 0x5c4557
xor eax, eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], 0x6a2c90
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
neg eax
sbb eax, eax
mov dword [esp + 0x58], 0
and eax, ecx
lea ecx, [esp + 0x38]
push eax
call fcn.004a28b0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x24]
push edx
call fcn.005c82e0
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x60]
lea eax, [esp + 4]
mov dword [esp + 0xc], edx
push eax
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [esp + 0x24]
mov dword [esp + 0x58], 0xffffffff
call fcn.005c82b0
mov ecx, dword [esp + 0x50]
pop esi
mov dword fs:[0], ecx
add esp, 0x58
ret 4
Function at 0x5c9090
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x65b5e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
call fcn.005c8380
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0
call fcn.005c8380
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
push ecx
push eax
lea eax, [esp + 0x50]
mov ecx, esi
push eax
mov byte [esp + 0x48], 1
call fcn.005c8fd0
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 8]
lea ecx, [esp + 0x48]
mov dword [esp + 0x20], edx
call fcn.005c83b0
push ebp
lea eax, [esp + 0x4c]
push edi
push eax
mov ecx, esi
call fcn.005c8fd0
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 8]
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], edx
call fcn.005c83b0
fld dword [esp + 0x1c]
mov esi, dword [esp + 0x44]
mov byte [esp + 0x3c], 0
fstp dword [esp + 0x24]
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov eax, esi
fstp dword [esp + 0x2c]
fld dword [esp + 0x10]
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov dword [eax], ecx
fld dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
lea ecx, [esp + 0xc]
mov dword [eax + 0xc], edx
call fcn.005c83b0
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
call fcn.005c83b0
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret 0x14

Function at 0x5c91c0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x65b619
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.005cd7d0
mov eax, dword [0x6d6700]
lea ebx, [esi + 0x14]
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [ebx], eax
mov ecx, dword [0x6d6700]
lea ebp, [esi + 0x18]
mov dword [ebp], ecx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov edx, dword [0x6d6700]
lea ecx, [esi + 0x2c]
mov dword [ecx], edx
push 0x720360
mov byte [esp + 0x2c], 3
mov dword [esi], 0x6a3558
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], 0x64ffff
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], edi
call fcn.00618999
push 0x720350
mov ecx, ebx
call fcn.00618999
push str.reply
mov ecx, ebp
call fcn.00618999
lea eax, [esp + 0x14]
push eax
call fcn.00465101
mov ecx, dword [eax]
mov dword [esi + 0x1c], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x24], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi], 0x6a3488
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x5ca2f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65b8ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.005cd7d0
mov eax, dword [0x6d6700]
lea ebx, [esi + 0x14]
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [ebx], eax
mov ecx, dword [0x6d6700]
lea ebp, [esi + 0x18]
mov dword [ebp], ecx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov edx, dword [0x6d6700]
lea ecx, [esi + 0x2c]
mov dword [ecx], edx
push 0x720360
mov byte [esp + 0x30], 3
mov dword [esi], 0x6a3708
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], 0x64ffff
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], edi
call fcn.00618999
push 0x720350
mov ecx, ebx
call fcn.00618999
push str.reply
mov ecx, ebp
call fcn.00618999
lea eax, [esp + 0x14]
push eax
call fcn.00465101
mov ecx, dword [eax]
mov dword [esi + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x20], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x24], eax
lea ebx, [esi + 0x38]
mov dword [esp + 0x2c], 4
mov ecx, ebx
call fcn.005cd460
mov eax, 2
mov edx, dword [ebx]
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x34]
push edi
mov dword [esi + 0x80], eax
push eax
lea eax, [esp + 0x1c]
mov ecx, 1
push eax
mov byte [esp + 0x38], 5
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], 9
mov dword [esi + 0x94], edi
mov dword [esi + 0xa0], edi
mov dword [esi], 0x6a3638
mov dword [esi + 0x28], 0xb46464
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
push 0x50000000
mov ecx, ebx
call dword [edx + 0xbc]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x5cdc70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65bd38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov dword [esp + 8], 0x6a3bc8
lea eax, [esp + 8]
mov dword [esp + 0x14], 0
push eax
call fcn.0060f7b0
mov esi, eax
mov eax, dword [esp + 0x20]
add esp, 4
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x30]
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x5d81c0
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push 0
push eax
push 0
push 2
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x5d81ea
xor eax, eax
ret 0x10
mov edx, dword [esp + 0x10]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 1
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
ret 0x10

Function at 0x5d8fb0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x65cfcf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
xor esi, esi
push edi
cmp ebx, esi
mov dword [esp + 0x18], esi
je 0x5d901a
cmp byte [ebx], 0
je 0x5d901a
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push esi
push eax
push esi
push 1
push esi
push esi
push esi
push ebx
push ecx
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebp, dword [esp + 0x10]
cmp ebp, esi
jne 0x5d901e
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
push 0xffffffffffffffff
push edx
mov ecx, esi
call fcn.00490fb0
jmp 0x5d912f
mov ebp, dword [esp + 0x30]
lea eax, [esp + 0x34]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea ecx, [esp + 0x18]
push esi
push ecx
mov dword [esp + 0x40], esi
push esi
mov esi, dword [esp + 0x48]
push esi
push ebp
call edi
test eax, eax
je 0x5d9067
test ebx, ebx
je 0x5d9050
cmp byte [ebx], 0
je 0x5d9050
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
push 0xffffffffffffffff
push edx
mov ecx, esi
call fcn.00490fb0
jmp 0x5d912f
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 1
cmp eax, 1
je 0x5d90bc
cmp eax, 2
je 0x5d90bc
cmp eax, 4
jne 0x5d90b5
lea eax, [esp + 0x34]
lea ecx, [esp + 0x3c]
push eax
push ecx
push 0
push 0
push esi
push ebp
call edi
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x30]
push edx
push 0x6d3c34
push eax
call fcn.00491cb0
add esp, 0xc
jmp 0x5d90f9
mov ecx, dword [esp + 0x3c]
push ecx
jmp 0x5d90f0
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x30]
push edx
call fcn.004914e0
lea ecx, [esp + 0x34]
push ecx
push eax
push 0
push 0
push esi
push ebp
call edi
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
call fcn.00491470
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x5d90f9
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x34]
call fcn.00491140
test ebx, ebx
je 0x5d9109
cmp byte [ebx], 0
je 0x5d9109
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.00491060
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 1
mov byte [esp + 0x24], 0
call fcn.00490f90
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
Function at 0x5dc460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65d358
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
fld dword [esp + 0x3c]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x24]
lea eax, [esi + 0x4c]
fadd dword [edi + 0x10]
fstp dword [edi + 0x10]
fld dword [esp + 0x48]
fadd dword [edi + 0x14]
fstp dword [edi + 0x14]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov ecx, edi
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], edx
call fcn.004a28b0
mov ecx, dword [esi + 0x40]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx]
call dword [edx + 0x3c]
fld dword [0x66419c]
fld dword [esp + 0x14]
add eax, 0x68
mov dword [esp + 8], 0
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
fcomp dword [esp + 0x24]
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0xc]
fnstsw ax
mov dword [esp + 0x30], edx
test ah, 1
je 0x5dc50f
fld dword [esp + 0x24]
fsub dword [esp + 0x14]
fstp dword [esp + 8]
fld dword [esp + 0x18]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jne 0x5dc52a
fld dword [esp + 0x28]
fsub dword [esp + 0x18]
fstp dword [esp + 8]
fld dword [esp + 0x20]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 0x41
jne 0x5dc543
fstp st(0)
fld dword [esp + 0x30]
fsub dword [esp + 0x20]
fld dword [esp + 0x1c]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x5dc55c
fstp st(0)
fld dword [esp + 0x2c]
fsub dword [esp + 0x1c]
fld dword [esp + 8]
fadd dword [edi + 0x10]
fstp dword [edi + 0x10]
fadd dword [edi + 0x14]
fstp dword [edi + 0x14]
fld dword [esi + 0x38]
fld dword [esi + 0x34]
mov eax, dword [esi + 0x3c]
fst dword [esi + 0x14]
fld st(1)
test eax, eax
fstp dword [esi + 0x18]
fstp dword [esp + 8]
fstp dword [esp + 0xc]
je 0x5dc634
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00407340
fld dword [esi + 0xc]
fadd dword [esi + 8]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x44]
push ecx
push edx
push ecx
mov ecx, edi
fchs
fstp dword [esp]
push 0
mov dword [esp + 0x4c], 0
call fcn.004a2750
fld dword [esi + 0x34]
fld dword [esp + 0x44]
fsub st(1)
mov eax, dword [esi + 0x3c]
fstp dword [esp + 0x44]
fstp st(0)
fld dword [esi + 0x38]
fld dword [esp + 0x48]
fsub st(1)
fstp dword [esp + 0x48]
mov edi, dword [eax + 0x14]
test edi, edi
fstp st(0)
je 0x5dc61c
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, edi
mov edi, dword [edi]
push ecx
push edx
mov eax, dword [eax + 8]
mov ecx, eax
call fcn.004a5640
fld dword [esp + 8]
fadd dword [esp + 0x44]
test edi, edi
fstp dword [esp + 8]
fld dword [esp + 0xc]
fadd dword [esp + 0x48]
fstp dword [esp + 0xc]
jne 0x5dc5e8
mov ecx, esi
call fcn.005dc650
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00490f90
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x5f5980
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x65e70c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x6d6700]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0x18]
mov dword [edi], eax
mov edx, dword [0x6d6700]
lea ebx, [esi + 0x1c]
xor ecx, ecx
mov dword [esp + 0x120], ecx
mov dword [ebx], edx
mov eax, 1
mov dword [esi + 0x10], ecx
mov byte [esp + 0x120], al
mov dword [esi + 8], eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esi + 0x20], 0x96
mov dword [esi + 0x24], 0x4b
mov dword [esi], 0x6a5848
mov dword [esi + 0x14], 0x3ff00000
mov dword [esi + 0xc], 0xffff
mov dword [esp + 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
call fcn.00618999
push 0x71d960
mov ecx, ebx
call fcn.00618999
mov ecx, dword [esp + 0x118]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret
Function at 0x600350
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x65f260
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push 0
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x600389
add eax, 0xc
jmp 0x60038e
mov eax, 0x730504
push ebx
push ebp
push esi
push edi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00492310
add esp, 0xc
mov eax, dword [esp + 0x10]
mov byte [esp + 0x1c], 1
test eax, eax
je 0x6003b4
mov esi, dword [eax + 4]
jmp 0x6003b6
xor esi, esi
add esi, 0x20
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebx, ebx
rep stosb byte es:[edi], al
jne 0x6003f3
push ebx
push ebx
push 0x6d4f4c
call fcn.00620d2e
jmp 0x600452
mov eax, dword [esp + 0x10]
test eax, eax
je 0x600400
mov eax, dword [eax + 4]
jmp 0x600402
xor eax, eax
push eax
lea ecx, [esp + 0x14]
call fcn.004914e0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0xffffffffffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.0049a2a0
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call fcn.00490f90
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00490f90
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x601050
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x65f2d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
xor ecx, ecx
mov edx, dword [esi]
mov cl, ah
and ecx, 0xff
push ebx
mov dword [esp + 0x14], ecx
push ebp
mov ecx, esi
call dword [edx + 0x20]
push 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], eax
call fcn.00492640
lea eax, [esp + 0x14]
mov ecx, esi
push eax
mov dword [esp + 0x34], 0
call fcn.00602cd0
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebp
mov ecx, edi
call fcn.00600090
test eax, eax
je 0x6010d2
push 0x65
jmp 0x6010f8
mov eax, dword [esp + 0x40]
test eax, eax
je 0x6010f6
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x6010f6
call fcn.00632d98
push 0x7f01
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
jmp 0x6010ff
push 0x66
mov ecx, edi
call fcn.00601130
push eax
call dword [sym.imp.USER32.dll_SetCursor]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.00492660
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x609270
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00465d90
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x60933b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x60933b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x6092ee
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x6092f9
or bh, 8
and edi, 0x8000000
je 0x609314
mov eax, dword [0x7489dc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x60933b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x609710
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x60973b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x60975f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x60977a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x60c410
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004691f8
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x60c433
test byte [esp + 8], 2
je 0x60c433
call fcn.0046926b
mov dword [eax], 0xd
call fcn.00469274
mov dword [eax], 5
jmp 0x60c40c
xor eax, eax
ret