joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454c80
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x20]
push edi
mov edi, ecx
mov ecx, dword [ebx]
push eax
push ecx
push esi
mov ebp, 0x6010
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x454d61
mov edx, dword [ebx + 4]
mov eax, dword [esi + 4]
cmp edx, eax
jle 0x454d61
push 0xf
mov dword [esp + 0x14], 1
call dword [sym.imp.USER32.dll_GetSysColor]
mov ebx, eax
call fcn.00452b80
mov eax, dword [eax + 4]
push ebx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
cmp dword [esp + 0x1c], 1
jne 0x454cf8
mov ecx, dword [edi + 0x3c]
mov dword [ecx + 0x1dc], 5
jmp 0x454d05
mov edx, dword [edi + 0x3c]
mov dword [edx + 0x1dc], 4
mov eax, dword [esp + 0x28]
mov edx, esi
mov dword [edi + 0x354], eax
lea ecx, [edi + 0x358]
mov ebx, dword [edx]
mov dword [ecx], ebx
mov ebx, dword [edx + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [edx + 8]
mov dword [ecx + 8], ebx
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [edi + 0x34c]
cmp ecx, eax
jne 0x454d4d
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x350]
cmp ecx, dword [eax + 0x1dc]
jne 0x454d4d
mov ebp, 0x2210
mov edx, dword [esp + 0x18]
push ebp
push 4
push esi
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_DrawFrameControl]
jmp 0x454d7b
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov edi, eax
call fcn.00452b80
mov ecx, dword [eax + 4]
push edi
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov ebx, dword [0x53e950]
sub eax, ecx
sub eax, ebx
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
cdq
sub eax, edx
push 0x11
mov edi, eax
mov eax, dword [esi + 0xc]
sar edi, 1
add edi, ecx
mov ecx, dword [esi + 4]
sub eax, ecx
sub eax, ebx
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
add ebx, ecx
call ebp
mov si, ax
push 0x10
and esi, 0x8000
call ebp
and eax, 0x8000
test esi, esi
je 0x454ddf
test eax, eax
je 0x454df8
mov edx, dword [esp + 0x1c]
dec edx
neg edx
sbb edx, edx
and edx, 2
add edx, 5
mov dword [esp + 0x1c], edx
jmp 0x454e0b
test eax, eax
je 0x454e0b
mov eax, dword [esp + 0x1c]
dec eax
neg eax
sbb eax, eax
and eax, 2
add eax, 9
mov dword [esp + 0x1c], eax
jmp 0x454e0b
mov ecx, dword [esp + 0x1c]
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 2
add ecx, 0xd
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x454e17
dec dword [esp + 0x1c]
call fcn.00452b80
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x454e27
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 4]
push 0
push ebx
push edi
push ecx
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x14
Function at 0x45b2c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x500bd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x5748d0]
push esi
mov dword [esp + 0xc], eax
push 0x8010
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
call fcn.004dc2b4
lea ecx, [esp + 0xc]
push ecx
call fcn.00485b00
mov ecx, eax
call fcn.00486290
mov edx, dword [0x5748d0]
mov dword [esp + 4], edx
mov esi, dword [esp + 0xc]
mov byte [esp + 0x2c], 1
call fcn.0040b720
mov eax, dword [eax + 0x36c]
lea ecx, [esp + 4]
push eax
push esi
push ecx
call fcn.004d3827
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.004d5c12
mov byte [esp + 0x2c], 2
call fcn.0040b720
test byte [eax + 0x1a4], 1
je 0x45b365
mov edx, dword [esp + 0x18]
push 0xef4e
push edx
lea ecx, [esp + 0x18]
call fcn.004d6449
call fcn.0040b720
test byte [eax + 0x1a4], 2
je 0x45b386
mov eax, dword [esp + 0x18]
push 0x8021
push eax
lea ecx, [esp + 0x18]
call fcn.004d6449
call fcn.0040b720
cmp dword [eax + 0x374], 1
jne 0x45b3a0
mov ecx, dword [esp + 0x18]
push 0xef4b
push ecx
jmp 0x45b3d2
call fcn.0040b720
cmp dword [eax + 0x374], 2
jne 0x45b3ba
mov edx, dword [esp + 0x18]
push 0xef4c
push edx
jmp 0x45b3d2
call fcn.0040b720
cmp dword [eax + 0x374], 3
jne 0x45b3db
mov eax, dword [esp + 0x18]
push 0xef4d
push eax
lea ecx, [esp + 0x18]
call fcn.004d6449
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x45b475
push 0x53eac4
lea ecx, [esp + 8]
call fcn.004dbfbc
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jle 0x45b467
mov ecx, dword [0x5748d0]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 3
mov eax, dword [edx + esi*4]
push eax
call fcn.004dc2b4
lea ecx, [esp + 8]
push ecx
call fcn.00485b00
mov ecx, eax
call fcn.00486290
test esi, esi
jle 0x45b442
push 0x53eabc
lea ecx, [esp + 8]
call fcn.004dbfbc
lea edx, [esp + 8]
lea ecx, [esp + 4]
push edx
call fcn.004dbff8
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 2
call fcn.004dbbcb
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x45b3ff
push 0x53eab8
lea ecx, [esp + 8]
call fcn.004dbfbc
mov eax, dword [esp + 4]
push 0
push 0x30
push eax
call fcn.004e33ea
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call fcn.004d5c45
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 0
call fcn.004dbbcb
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004dbbcb
mov ecx, dword [esp + 0x24]
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x46c120
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5015c0
push eax
mov dword fs:[0], esp
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
mov edi, ecx
mov eax, ebx
cdq
mov ecx, dword [edi + 0xd0]
mov ebp, dword [edi + 0xd8]
idiv ecx
mov esi, eax
mov eax, ebx
cdq
idiv ecx
mov ecx, dword [ebp + esi*4]
mov esi, dword [esp + 0x28]
lea eax, [edx + edx*4]
lea ebp, [ecx + eax*8]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46c180
test esi, esi
jge 0x46c180
push eax
call fcn.004bf79a
mov esi, eax
mov eax, dword [esp + 0x28]
add esp, 4
mov edx, dword [0x5748d0]
mov dword [esp + 0x28], edx
push esi
push eax
lea eax, [esi + 2]
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x24], 0
call fcn.004dc010
push eax
call fcn.004bf6c4
add esp, 0xc
lea ecx, [esp + 0x28]
push esi
call fcn.004dc060
mov ecx, dword [0x5748d0]
mov dword [esp + 0x20], ecx
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
push eax
add eax, 2
push edx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 1
call fcn.004dc010
push eax
call fcn.004bf6c4
mov eax, dword [ebp + 4]
add esp, 0xc
lea ecx, [esp + 0x20]
push eax
call fcn.004dc060
push 0x20
lea ecx, [esp + 0x24]
call fcn.004dbfe3
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x24]
call fcn.004dbff8
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
push edx
push 0xffffffffffffffff
push eax
push ebx
mov ecx, edi
call fcn.0046bb40
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x18], 0
call fcn.004dbbcb
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.004dbbcb
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x10
Function at 0x4703a0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x501713
push eax
mov dword fs:[0], esp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esi], method.CCommandLineInfo.virtual_0
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esi + 0x14], 0x5162a4
mov dword [esi + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov eax, dword [esi + 4]
mov dword [esi + 0x2c], edi
cmp eax, edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x10], 0x64
je 0x470400
push eax
call fcn.004db92d
add esp, 4
mov dword [esi + 4], edi
mov ecx, dword [esp + 8]
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret

Function at 0x474650
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x501818
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x28]
push esi
mov esi, ecx
push edi
push ebx
mov eax, dword [esi]
call dword [eax + 0x150]
mov edi, eax
test edi, edi
jne 0x47469a
mov eax, dword [esi + 0x1fc]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov ecx, dword [0x5748d0]
mov dword [esp + 0x30], ecx
mov edx, dword [esi]
push ebx
mov ecx, esi
mov dword [esp + 0x28], 0
call dword [edx + 0x158]
lea ecx, [esp + 0x30]
push ecx
push edi
push 0
push eax
mov ecx, esi
call fcn.00471780
add esi, 0x218
lea edi, [esp + 0xc]
push 0xc10
push edi
mov edx, dword [esi]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0xc]
mov esi, dword [ecx]
mov dword [esp + 0x20], edx
mov edx, dword [eax - 8]
push edx
push eax
call dword [esi + 0x68]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x30]
sub esi, eax
mov dword [esp + 0x24], 0xffffffff
call fcn.004dbbcb
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x47b470
Capabilities:
Log keystrokes via application hook

Disassembly:
push 0xffffffffffffffff
push 0x501b38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
push 1
lea ecx, [esp + 0x10]
lea eax, [esi + 0x14]
push eax
call fcn.004beb0b
mov edi, dword [esi + 8]
mov ebx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x20], 0
test edi, edi
jle 0x47b4c4
mov ecx, dword [esi + 4]
cmp dword [ecx], ebx
je 0x47b565
inc eax
add ecx, 4
cmp eax, edi
jl 0x47b4b4
push ebp
lea ecx, [edi + 1]
push 0xffffffffffffffff
push ecx
mov ecx, esi
call fcn.00429680
mov edx, dword [esi + 4]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edx + edi*4], ebx
mov eax, dword [esi + 0x34]
mov bl, byte [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExW]
test eax, eax
jne 0x47b505
test bl, 2
je 0x47b505
call ebp
push eax
push 0
push 0x47b3f0
push 2
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x47b522
test bl, 1
je 0x47b522
call ebp
push eax
push 0
push 0x47b430
push 7
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x3c]
test eax, eax
jne 0x47b53f
test bl, 4
je 0x47b53f
call ebp
push eax
push 0
push 0x47b3b0
push 0xc
call edi
mov dword [esi + 0x3c], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.004beb47
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004beb47
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x47dbc0
Capabilities:
Encrypt data using blowfish

Disassembly:
sub esp, 0xc
mov ecx, 0x53f5e0
xor eax, eax
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
mov esi, ebx
push edi
lea edx, [ebx + 0x8c]
sub esi, ecx
mov edi, dword [ecx]
sub edx, 4
mov dword [esi + ecx], edi
mov edi, dword [ecx]
mov dword [edx + 4], edi
mov ebp, dword [ecx]
mov edi, eax
add eax, eax
shr edi, 0x1f
or edi, eax
add ecx, 4
add edi, ebp
cmp ecx, 0x53f628
mov eax, edi
jl 0x47dbdc
mov ecx, 0x53f628
lea edx, [ebx + 0x90]
mov esi, 0x100
mov edi, dword [ecx]
lea ebp, [eax + eax*2]
mov dword [edx], edi
lea edi, [eax + eax*2]
add edx, 4
add ecx, 4
lea edi, [eax + edi*4]
lea eax, [eax + ebp*4]
mov ebp, dword [ecx - 4]
shr edi, 0x15
shl eax, 0xb
or edi, eax
add edi, ebp
dec esi
mov eax, edi
jne 0x47dc13
cmp ecx, str.Error_in_crypt_block_routine
jl 0x47dc0e
cmp eax, 0x55861a61
je 0x47dc63
push str.Bad_initialization_data
push ebx
call fcn.004bf69f
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
xor ebp, ebp
mov esi, 0xa
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
push ebp
lea ecx, [esp + 0x18]
push ebx
push ecx
call fcn.0047d6c0
add esp, 0xc
dec esi
jne 0x47dc72
mov edi, dword [esp + 0x14]
mov esi, 0xa
push 1
lea edx, [esp + 0x18]
push ebx
push edx
call fcn.0047d6c0
add esp, 0xc
dec esi
jne 0x47dc8d
cmp edi, 0xaafe4ebd
jne 0x47dd86
cmp dword [esp + 0x14], ebp
jne 0x47dd86
cmp dword [esp + 0x18], ebp
jne 0x47dd86
xor esi, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], 0x12
xor ecx, ecx
mov edi, 4
mov eax, esi
mov ebp, dword [esp + 0x20]
cdq
idiv dword [esp + 0x24]
xor eax, eax
shl ecx, 8
mov al, byte [edx + ebp]
mov edx, eax
or ecx, edx
inc esi
dec edi
jne 0x47dcd5
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
add eax, 4
xor edx, ecx
mov dword [esp + 0x28], eax
mov dword [eax - 4], edx
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x47dcce
mov esi, ebx
lea edi, [ebx + 0x88]
mov ebp, 9
push 0
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.0047d6c0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esi], eax
mov dword [edi + 4], eax
mov eax, dword [esp + 0x18]
sub edi, 8
mov dword [esi + 4], eax
mov dword [edi + 8], eax
add esi, 8
dec ebp
jne 0x47dd1a
lea esi, [ebx + 0x94]
mov ebp, 4
mov edi, 0x80
push 0
lea ecx, [esp + 0x18]
push ebx
push ecx
call fcn.0047d6c0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esi - 4], edx
mov dword [esi], eax
add esp, 0xc
add esi, 8
dec edi
jne 0x47dd56
dec ebp
jne 0x47dd51
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
push str.Error_in_crypt_block_routine
push ebx
call fcn.004bf69f
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x47f050
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x501e48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [ecx + 0x1c]
push 3
push eax
mov dword [esp + 0xc], ecx
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call fcn.004d81c1
mov ecx, dword [0x5748d0]
mov dword [esp], ecx
test eax, eax
mov dword [esp + 0x3c], 0
je 0x47f0a0
lea edx, [esp]
mov ecx, eax
push edx
call fcn.004d8b65
push 0x26
lea ecx, [esp + 4]
call fcn.004dc0e0
test eax, eax
mov dword [esp + 8], eax
jl 0x47f21b
mov ecx, dword [esp]
mov ecx, dword [ecx - 8]
dec ecx
cmp eax, ecx
jge 0x47f21b
push ebx
push ebp
push esi
push edi
push 0xff0000
lea ecx, [esp + 0x30]
call fcn.004df7c4
push 0xffffff
push 0
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
call fcn.004df774
mov esi, dword [esp + 0x54]
lea edx, [esp + 0x24]
push edx
mov ecx, esi
mov byte [esp + 0x50], 2
call fcn.004ded37
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.004ded37
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x54], eax
mov ebx, dword [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [ecx + 0xc]
mov eax, ecx
mov ebp, ecx
sub eax, edx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
sub ebp, edi
add ecx, edi
lea eax, [edi + ebx]
sub ebx, edi
push ebp
push ebx
push ecx
push eax
push ecx
mov ecx, dword [esi + 4]
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.GDI32.dll_Pie]
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov ecx, dword [eax + 0x90]
push ecx
mov ecx, esi
call dword [edx + 0x28]
mov edx, dword [esi]
push 0xffffff
mov ecx, esi
mov dword [esp + 0x5c], eax
call dword [edx + 0x30]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov ax, word [eax + ecx*2 + 2]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
mov edx, dword [esi]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push 1
add ebp, 2
push eax
add edi, ebx
push ebp
push edi
mov ecx, esi
call dword [edx + 0x5c]
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, esi
call fcn.004ded37
mov edx, dword [esp + 0x20]
mov ecx, esi
push edx
call fcn.004ded37
mov ecx, dword [esp + 0x58]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 3
call fcn.004df75e
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 4
call fcn.004df75e
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0xffffffff
call fcn.004dbbcb
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 8
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004dbbcb
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 8
Function at 0x47f240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x501e68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x1c]
push eax
call edi
push eax
call fcn.004d81c1
push eax
lea ecx, [esp + 0x30]
call fcn.004df45f
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x1c]
push edx
call edi
push eax
call fcn.004d81c1
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.004df315
mov eax, dword [esi + 0xf4]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x47f376
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0xf0]
call fcn.004deba3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x100]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.004df707
test edi, edi
je 0x47f322
mov edi, dword [edi + 4]
mov eax, dword [esi + 0xf4]
push edi
push eax
call fcn.004dece4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x108], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0xf4]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0xf0]
sub ecx, edi
test edx, edx
je 0x47f397
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.004df4d1
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x47f9a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x501ec0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [esp + 0x44]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [eax]
mov esi, dword [esp + 0x50]
mov ebp, dword [edi + 0x74]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 8]
test ebp, ebp
mov edx, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
jne 0x47fac3
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 0x10
call ebx
push eax
push 1
push 0
lea ecx, [esp + 0x24]
call fcn.004df774
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov dword [esp + 0x4c], 0
call fcn.004ded37
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
add ecx, 3
lea eax, [esp + 0x20]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004df1e3
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
add ecx, 0xfffffffd
push ecx
push edx
mov ecx, esi
call fcn.004df22f
push 0x14
call ebx
push eax
push 1
push 0
lea ecx, [esp + 0x1c]
call fcn.004df774
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x4c], 1
call fcn.004ded37
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
add ecx, 3
inc edx
push ecx
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, esi
call fcn.004df1e3
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
add ecx, 0xfffffffd
inc edx
push ecx
push edx
mov ecx, esi
call fcn.004df22f
mov ebx, vtable.CGdiObject.0
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call fcn.004df75e
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 3
call fcn.004df75e
push 0xfffffffffffffffe
lea eax, [esp + 0x34]
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [edi + 0x124]
test eax, eax
je 0x47fae3
mov eax, 1
jmp 0x47faef
mov eax, dword [edi + 0x118]
test eax, eax
je 0x47fb66
xor eax, eax
mov edx, dword [esp + 0x30]
mov ebx, 2
sub edx, ebx
test ebp, ebp
mov dword [esp + 0x30], edx
je 0x47fb0a
mov ecx, edx
sub ecx, ebx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
push eax
lea ecx, [esp + 0x28]
push ebp
lea edx, [esp + 0x3c]
push ecx
push edx
push 0
push esi
mov ecx, edi
call fcn.0047f520
mov ecx, dword [esp + 0x30]
add ecx, ebx
test ebp, ebp
mov dword [esp + 0x30], ecx
je 0x47fb95
mov ecx, dword [esi + 4]
push 0xf
lea eax, [esp + 0x34]
push ebx
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawEdge]
jmp 0x47fb95
mov ecx, dword [edi + 0x54]
mov eax, 1
test ecx, ecx
je 0x47fb77
mov eax, 0x101
test ebp, ebp
je 0x47fb80
or ah, 2
jmp 0x47fb83
or ah, 0x40
push eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x34]
push 3
push edx
push eax
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8