joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a8e70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x669718
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, 0x6f1b28
mov eax, edi
xor esi, esi
or ebx, 0xffffffff
mov edx, ecx
test eax, eax
mov dword [esp + 0x10], edi
je 0x5a8eb0
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], ecx
jmp 0x5a8eb4
mov dword [esp + 0x14], esi
mov edi, 0x6e54bc
mov ecx, edi
mov dword [esp + 0x18], edi
test ecx, ecx
je 0x5a8ed2
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], ecx
jmp 0x5a8ed6
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x10]
push ecx
mov ecx, dword [edx + 4]
push eax
call fcn.00498950
mov edi, 0x6e6c84
mov dword [esp + 0x30], esi
mov ecx, edi
mov dword [esp + 0x20], edi
test ecx, ecx
je 0x5a8f0f
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], ecx
jmp 0x5a8f13
mov dword [esp + 0x24], esi
lea edx, [esp + 0x20]
lea ecx, [esp + 0xc]
push edx
call fcn.00499da0
test al, al
je 0x5a8f46
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], ebx
call fcn.00499a60
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov edi, 0x6e54f4
mov eax, edi
mov dword [esp + 0x20], edi
test eax, eax
je 0x5a8f64
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], ecx
jmp 0x5a8f68
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x10]
call fcn.00499da0
test al, al
je 0x5a8f9e
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], ebx
call fcn.00499a60
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov edi, 0x6e5490
mov edx, edi
mov dword [esp + 0x20], edi
test edx, edx
je 0x5a8fbc
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], ecx
jmp 0x5a8fc0
mov dword [esp + 0x24], esi
lea eax, [esp + 0x20]
lea ecx, [esp + 0xc]
push eax
call fcn.00499da0
test al, al
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0xc]
je 0x5a8ff6
call fcn.00499a60
pop edi
pop esi
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
call fcn.00499a60
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x5ab410
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6699f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
lea eax, [esp]
push esi
push eax
xor esi, esi
call fcn.005ab4a0
mov eax, dword [esp + 4]
mov dword [esp + 0x10], esi
test eax, eax
je 0x5ab46e
mov eax, dword [eax + 4]
lea ecx, [esp + 4]
push eax
push eax
call fcn.00499fd0
mov ecx, dword [esp + 0x1c]
push eax
push 1
push esi
push 0x6e53fc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0xffffffffffffffff
lea ecx, [esp + 8]
mov esi, eax
call fcn.00499f60
xor edx, edx
lea ecx, [esp + 4]
test esi, esi
sete dl
mov esi, edx
mov dword [esp + 0x10], 0xffffffff
call fcn.00499a60
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x5b0100
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x669fb7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
fld dword [esi + 0xc]
fsub dword [esi + 8]
mov dword [esp + 0x24], edi
fmul dword [0x68ba68]
fst dword [esp + 0x10]
fstp dword [esp + 0x20]
fld dword [esp + 0x10]
fcomp dword [0x675254]
fnstsw ax
test ah, 0x41
je 0x5b0156
mov dword [esp + 0x10], 0x3f800000
fld dword [esi + 8]
fadd dword [0x67222c]
mov eax, dword [esi]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
sub esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 1
fstp qword [esp]
fld dword [esp + 0x10]
sub esp, 8
fstp qword [esp]
push 0x7323a8
push ecx
call fcn.0049a7c0
add esp, 0x18
mov dword [esp + 0x14], edi
fld dword [esp + 8]
fcomp dword [esi + 4]
mov byte [esp + 0x30], 2
mov edi, 1
fnstsw ax
test ah, 1
je 0x5b0218
fld dword [esp + 8]
fadd dword [esp + 0x10]
mov edx, edi
sub esp, 8
and edx, 1
sub esp, 8
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x24]
fstp dword [esp + 0x18]
fild dword [esp + 0x2c]
fmul dword [esp + 0x30]
fadd dword [esp + 0x28]
fstp qword [esp + 8]
fld dword [esp + 0x18]
fstp qword [esp]
push 0x73239c
push eax
call fcn.0049a7c0
add esp, 0x18
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
call fcn.00499d70
fld dword [esp + 8]
fcomp dword [esi + 4]
inc edi
fnstsw ax
test ah, 1
jne 0x5b01b7
push 0x72fb94
lea ecx, [esp + 0x10]
call fcn.00499d20
mov esi, dword [ebp + 8]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00499b80
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.00499a60
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.00499a60
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x5b84d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66a920
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
lea eax, [esp + 0x2c]
push edi
mov esi, ecx
push eax
call fcn.005b7400
lea ecx, [esi + 0xa4]
call fcn.005dc570
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x4c]
xor ebx, ebx
mov dword [esp + 0xc], 0x67b24c
mov dword [esp + 0x10], ebx
push eax
mov dword [esp + 0x4c], ebx
call fcn.00620780
add esp, 4
cmp eax, 0x7f
jge 0x5b8530
push 0xffffff
jmp 0x5b8531
push ebx
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x10]
call fcn.0062d806
mov esi, dword [esp + 0x50]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0062ce64
mov edi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0x67b25c
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 1
push ecx
mov dword [esp + 0x28], 1
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
push eax
lea ecx, [esp + 0x18]
call fcn.0062d806
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call fcn.0062ce64
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov ebx, eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.0062d2e2
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
push eax
mov ecx, esi
call fcn.0062d32e
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
dec ecx
lea eax, [esp + 0x1c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0062d2e2
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0062d32e
push edi
mov ecx, esi
call fcn.0062ce64
push ebx
mov ecx, esi
call fcn.0062ce64
mov esi, 0x67b26c
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 2
call fcn.0062d85d
mov dword [esp + 0xc], esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x48], 3
call fcn.0062d85d
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x5c63a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66b3ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
xor esi, esi
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], esi
call fcn.004c50a0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x70], 1
fld dword [eax + 0xc]
fsub dword [eax + 8]
fld qword [0x6b4038]
fcos
fxch st(1)
fxch st(1)
fadd dword [0x67222c]
fdivp st(1)
fld dword [eax + 8]
fadd dword [eax + 0xc]
fmul dword [0x675260]
fld dword [eax + 4]
fadd dword [eax]
xor eax, eax
fmul dword [0x675260]
fld dword [0x6b4034]
fld st(0)
fcos
add eax, 4
cmp eax, 0x14
fmul st(4)
fadd st(2)
fstp dword [esp + eax + 0x3c]
fld st(0)
fsin
fmul st(4)
fadd st(3)
fstp dword [esp + eax + 0x50]
fadd dword [0x6b4030]
jl 0x5c6414
fstp st(0)
mov edi, 0x6f2ffc
fstp st(0)
mov eax, edi
mov dword [esp + 0x14], edi
fstp st(0)
test eax, eax
fstp st(0)
je 0x5c6461
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], ecx
jmp 0x5c6465
mov dword [esp + 0x18], esi
mov edi, 0x6e5e1c
mov ecx, edi
mov dword [esp + 0xc], edi
test ecx, ecx
je 0x5c6484
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ecx
jmp 0x5c6488
mov dword [esp + 0x10], esi
fld dword [esp + 0x54]
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x34]
sub esp, 8
fstp qword [esp]
fld dword [esp + 0x4c]
push eax
sub esp, 8
fstp qword [esp]
call fcn.004c52b0
mov ecx, eax
call fcn.004c5210
mov ecx, eax
call fcn.004c52b0
mov ecx, eax
call fcn.004c5210
lea edx, [esp + 0x40]
lea ebx, [esp + 0x54]
mov dword [esp + 0x14], 5
jmp 0x5c64da
mov edx, dword [esp + 0xc]
add esi, 2
add ebx, 8
add edx, 8
cmp esi, 5
mov dword [esp + 0xc], edx
jl 0x5c64f9
sub esi, 5
sub ebx, 0x14
sub edx, 0x14
mov dword [esp + 0xc], edx
mov edi, 0x6f2ff4
mov ecx, edi
mov dword [esp + 0x20], edi
test ecx, ecx
je 0x5c6518
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], ecx
jmp 0x5c6520
mov dword [esp + 0x24], 0
mov edi, 0x6e5e1c
mov eax, edi
mov dword [esp + 0x28], edi
test eax, eax
je 0x5c653f
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x2c], ecx
jmp 0x5c6547
mov dword [esp + 0x2c], 0
fld dword [ebx]
lea ecx, [esp + 0x20]
lea eax, [esp + 0x28]
push ecx
lea ecx, [esp + 0x34]
sub esp, 8
fstp qword [esp]
fld dword [edx]
push eax
sub esp, 8
fstp qword [esp]
call fcn.004c52b0
mov ecx, eax
call fcn.004c5210
mov ecx, eax
call fcn.004c52b0
mov ecx, eax
call fcn.004c5210
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x5c64d6
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x30]
push esi
call fcn.004c51e0
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 0
call fcn.004c50c0
mov ecx, dword [esp + 0x68]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c6bb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
push ebx
push esi
mov esi, dword [esp + 0x40]
mov ebx, ecx
mov eax, esi
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
mov edx, dword [eax + 4]
push ecx
mov ecx, ebx
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
call fcn.005c89b0
mov eax, dword [ebx + 0x78]
test eax, eax
jne 0x5c6c02
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 8]
pop esi
pop ebx
mov dword [edx + 8], ecx
add esp, 0x30
ret 8
mov eax, dword [esp + 0x14]
test eax, eax
jge 0x5c6c0c
xor eax, eax
mov ecx, dword [ebx + 0x60]
cmp eax, ecx
jl 0x5c6c16
lea eax, [ecx - 1]
push ebp
push edi
test eax, eax
jl 0x5c6c29
cmp eax, dword [ebx + 0x60]
jge 0x5c6c29
mov edx, dword [ebx + 0x5c]
mov edi, dword [edx + eax*4]
jmp 0x5c6c2b
xor edi, edi
inc eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [edi + 0x10]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xffffffff
call fcn.004e7e50
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x4c]
lea esi, [edx + 1]
mov dword [esp + 0x30], ecx
cmp esi, eax
jge 0x5c6cad
test esi, esi
jl 0x5c6ca5
cmp esi, dword [edi + 0x4c]
jge 0x5c6ca5
mov eax, dword [edi + 0x48]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x5c6ca5
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
inc edx
push eax
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, ebx
call fcn.004e7fc0
mov eax, dword [edi + 0x4c]
inc esi
cmp esi, eax
jl 0x5c6c77
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.005c6f10
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
mov ecx, eax
pop edi
mov dword [ecx], ebp
pop ebp
pop esi
pop ebx
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + 8], edx
add esp, 0x30
ret 8
Function at 0x5ce640
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x66b9cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
or edi, 0xffffffff
mov dword [esi], 0
lea ebx, [esi + 0x28]
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov ecx, ebx
mov dword [esp + 0x18], 0
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
call fcn.004a34f0
mov word [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov ecx, ebx
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esp + 0x18], edi
call fcn.00499a60
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5d4b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66bc11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
call fcn.004af230
xor edi, edi
lea ebx, [esi + 0x34]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov ecx, ebx
mov dword [esi], 0x68bf8c
call fcn.004f0af0
lea ecx, [esi + 0x5c]
mov dword [esp + 0x18], edi
call fcn.00598490
mov dword [esi + 0x70], 0x41400000
mov dword [esi + 0x74], 0x6b41bc
mov dword [esi], 0x6b4344
mov dword [ebx], 0x6b4328
mov dword [esi + 0x74], 0x6b430c
lea ecx, [esi + 0x78]
push 4
mov dword [esp + 0x1c], 1
call fcn.0049b150
push 4
lea ecx, [esi + 0x8c]
mov byte [esp + 0x1c], 2
call fcn.0049b150
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi], 0x6b4290
mov dword [esi + 0x74], 0x6b4274
mov dword [esi + 0xb0], 1
mov eax, esi
pop edi
mov dword [ebx], 0x6b4258
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5d8020
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
jne 0x5d802f
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.004a34f0
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x5d8048
pop edi
pop esi
ret
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
jne 0x5d805f
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
xor eax, eax
pop esi
ret
push eax
push 0x7326b4
push edi
call fcn.0049a7c0
add esp, 0xc
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov eax, 1
pop esi
ret

Function at 0x5dad80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66bfd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x6b45c4]
push esi
mov esi, ecx
mov dword [esp + 0x24], eax
mov ecx, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
call fcn.005df060
mov eax, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call dword [edx + 0xb8]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.004abc70
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
call fcn.005df0a0
mov esi, dword [esp + 0x40]
mov ecx, eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi], eax
mov dword [esi + 4], ecx
lea ecx, [esp + 0xc]
call fcn.005df090
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 4

Function at 0x5dae68
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66bff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.005dfca0
mov edx, dword [esi]
lea eax, [esp + 4]
neg eax
sbb eax, eax
lea ecx, [esp + 8]
and eax, ecx
mov ecx, esi
push eax
mov dword [esp + 0x2c], 0
call dword [edx + 0xb8]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x14]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x40]
push eax
call fcn.005dfdc0
push eax
lea ecx, [esi + 0x7c]
call fcn.005df040
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call fcn.005dfcf0
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10
Function at 0x5daf0d
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x66c018
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, dword [0x6b45c4]
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 0x5daf55
add eax, 4
jmp 0x5daf57
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], 0x6b4750
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.004abd90
lea edx, [esp + 0x14]
lea ecx, [esp + 0x24]
push edx
call fcn.005defc0
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.005def90
mov ecx, dword [esp + 0x50]
pop esi
mov dword fs:[0], ecx
add esp, 0x58
ret 4
Function at 0x5db0a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66c040
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x6c], eax
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00624d20
mov edi, eax
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x20]
mov dword [esp + 0x14], edi
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.0062d414
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
lea edi, [esi + 0x48]
mov dword [esi + 0x4c], eax
lea eax, [esp + 0xc]
mov dword [edi], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x50], ecx
push eax
mov ecx, esi
mov dword [esi + 0x54], edx
call fcn.005dad80
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
push edi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x5db28b
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
lea ecx, [esi + 0x44]
call fcn.005df130
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
add eax, edx
mov ebx, dword [edi]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [edi + 8]
mov edi, dword [esp + 0x34]
add eax, ebx
mov ebx, dword [esp + 0x30]
cdq
sub eax, edx
mov edx, edi
sar ecx, 1
sub edx, ecx
mov ecx, ebx
sar eax, 1
mov dword [esp + 0xc], edx
sub ecx, eax
fild dword [esp + 0xc]
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fpatan
fld st(0)
fcos
fmul qword [0x6afaf8]
call fcn.004665dc
fsin
add ebx, eax
mov dword [esp + 0x30], ebx
fmul qword [0x6afaf8]
call fcn.004665dc
mov ecx, dword [esp + 0x40]
add edi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], edi
cmp eax, ecx
jne 0x5db206
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
cmp edx, eax
mov ecx, edx
jle 0x5db1f2
add ecx, 2
sub eax, 2
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
jmp 0x5db222
mov eax, dword [esp + 0x44]
sub ecx, 2
add eax, 2
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
jmp 0x5db222
jle 0x5db214
add eax, 2
sub ecx, 2
mov dword [esp + 0x38], eax
jmp 0x5db21e
sub eax, 2
add ecx, 2
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
xor eax, eax
mov dword [esp + 0x18], 0x67b334
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], eax
push 2
lea eax, [esp + 0x34]
push 3
push eax
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
push eax
lea ecx, [esp + 0x1c]
call fcn.0062d806
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push 1
mov edx, dword [ecx + 0x1c]
neg eax
sbb eax, eax
and eax, edi
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRgn]
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], 0x67b26c
mov dword [esi + 0x6c], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 1
call fcn.0062d85d
mov ecx, dword [esp + 0x48]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4