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

Disassembly:
push 0xffffffffffffffff
push 0x61d1a8
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.005e7496
push eax
lea ecx, [esp + 0x30]
call fcn.005efc9d
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.005e7496
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.005efb53
mov eax, dword [esi + 0xf4]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x45547d
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.005ef40f
lea edi, [esi + 0x100]
mov ecx, edi
call fcn.005eff9c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
push eax
sub ecx, edx
mov edx, dword [esp + 0x34]
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.005eff45
test edi, edi
je 0x455429
mov edi, dword [edi + 4]
mov eax, dword [esi + 0xf4]
push edi
push eax
call fcn.005ef550
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 0x45549e
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.005efd0f
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x46f680
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x61fbd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x34]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
sub eax, edi
lea ecx, [esp + 0x14]
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [esp + 0x48]
push eax
push 1
sar ebx, 1
push 0
sub ebx, 2
call fcn.005effb2
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.005ef5a3
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x10], eax
lea edx, [edi + ebx + 3]
mov ecx, esi
lea eax, [ebp + 1]
push edx
mov dword [esp + 0x4c], eax
push eax
lea eax, [esp + 0x24]
push eax
call fcn.005efa21
mov ecx, dword [esp + 0x44]
add ebp, 3
lea eax, [ecx - 2]
mov ecx, esi
push eax
push ebp
call fcn.005efa6d
mov edx, dword [esp + 0x44]
mov ecx, esi
lea eax, [edx - 2]
push eax
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.005efa21
mov ecx, dword [esp + 0x40]
lea edx, [edi + 2]
push edx
lea eax, [ecx - 1]
mov ecx, esi
push eax
mov dword [esp + 0x3c], eax
call fcn.005efa6d
mov ecx, dword [esp + 0x48]
lea eax, [edi + ebx + 2]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.005efa21
mov eax, dword [esp + 0x44]
mov ecx, esi
add eax, 0xfffffffd
push eax
push ebp
call fcn.005efa6d
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x1c]
lea eax, [ecx - 3]
mov ecx, esi
push eax
push ebp
push edx
call fcn.005efa21
mov ecx, dword [esp + 0x34]
lea eax, [edi + 1]
push eax
push ecx
mov ecx, esi
call fcn.005efa6d
mov eax, dword [esp + 0x48]
lea edx, [edi + ebx + 1]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.005efa21
mov edx, dword [esp + 0x44]
mov ecx, esi
lea ebx, [edx - 4]
push ebx
push ebp
call fcn.005efa6d
push ebx
lea eax, [esp + 0x3c]
push ebp
push eax
mov ecx, esi
call fcn.005efa21
mov ecx, dword [esp + 0x34]
push edi
push ecx
mov ecx, esi
call fcn.005efa6d
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.005ef5a3
mov dword [esp + 0x14], vtable.CGdiObject.0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 1
call fcn.005eff9c
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x46f9b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x61fc82
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00476b80
xor edi, edi
lea ecx, [esi + 0x28]
mov dword [esp + 0x14], edi
call fcn.005e50d6
push 0xa
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.005e6d3d
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 2
call fcn.005e50d6
push 0xa
lea ecx, [esi + 0x54]
mov byte [esp + 0x18], 3
call fcn.005e6d3d
lea ecx, [esi + 0x70]
mov byte [esp + 0x14], 4
call fcn.005e50d6
push 0xa
lea ecx, [esi + 0x78]
mov byte [esp + 0x18], 5
call fcn.005e6d3d
lea ecx, [esi + 0x94]
mov byte [esp + 0x14], 6
call fcn.005e5dd9
push 0xa
lea ecx, [esi + 0xa8]
mov byte [esp + 0x18], 7
call fcn.005e6d3d
push 0xa
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 8
call fcn.005e62b1
mov dword [esi + 0xfc], edi
mov dword [esi + 0xf8], vtable.CFont.0
xor eax, eax
xor ecx, ecx
mov dword [esi + 0xf0], eax
mov dword [esi + 0xe8], eax
mov byte [esp + 0x14], 0xa
mov dword [esi], 0x642800
mov dword [esi + 0xf4], ecx
mov dword [esi + 0xec], ecx
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call fcn.00471e40
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], 0xffffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x46fb20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61fd1a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x642800
mov eax, dword [esi + 0xd8]
mov dword [esp + 0x14], 0xa
test eax, eax
je 0x46fb84
push edi
lea edi, [esi + 0xcc]
push 0
push 0
push 0
mov ecx, edi
call fcn.005e63b4
push eax
call fcn.005ec3be
push eax
mov ecx, esi
call fcn.004715d0
mov eax, dword [esi + 0xd8]
test eax, eax
jne 0x46fb5e
pop edi
mov ecx, esi
call fcn.0046fc50
lea ecx, [esi + 0xf8]
mov dword [esp + 8], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x14], 0xb
call fcn.005eff9c
lea ecx, [esi + 0xcc]
mov byte [esp + 0x14], 8
call fcn.005e62f0
lea ecx, [esi + 0xa8]
mov byte [esp + 0x14], 7
call fcn.005e6df0
lea ecx, [esi + 0x94]
mov byte [esp + 0x14], 6
call fcn.005e5e0c
lea ecx, [esi + 0x78]
mov byte [esp + 0x14], 5
call fcn.005e6df0
lea ecx, [esi + 0x70]
mov byte [esp + 0x14], 4
call fcn.005e50ff
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 3
call fcn.005e6df0
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 2
call fcn.005e50ff
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.005e6df0
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 0
call fcn.005e50ff
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00476bc0
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x46fd00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61fd50
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
xor ebp, ebp
and edi, 0xffff
push ebp
mov esi, ecx
push edi
call fcn.00472450
add esp, 8
cmp eax, ebp
je 0x46fed6
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 0x6331c0
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], ebp
call fcn.005eff45
call fcn.006061a0
mov ebx, dword [eax + 0xc]
cmp ebx, ebp
je 0x46febd
push 0xf1
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
je 0x46febd
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, ebp
je 0x46febd
mov edx, dword [esi + 0xe8]
xor ecx, ecx
mov cx, word [ebx + 4]
xor eax, eax
mov ax, word [ebx + 2]
cmp edx, ebp
jne 0x46fe97
push 0xa
push ebp
mov dword [esi + 0xe8], eax
lea edi, [eax + 4]
push 1
mov dword [esi + 0xec], ecx
lea edx, [ecx + 4]
push ecx
mov dword [esi + 0xf0], edi
push eax
lea ecx, [esi + 0x28]
mov dword [esi + 0xf4], edx
call fcn.005e519b
mov eax, dword [esi + 0x2c]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
push 0xf
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
neg ecx
sbb ecx, ecx
push eax
and ecx, edi
push ecx
mov ecx, dword [esi + 0x2c]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp word [ebx + 6], bp
mov dword [esp + 0x14], ebp
jbe 0x46fe6e
lea edx, [ebx + 8]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
xor edi, edi
mov di, word [eax]
test edi, edi
jbe 0x46fe50
lea ecx, [esp + 0x18]
lea ebp, [esi + 0x30]
push ecx
push edi
mov ecx, ebp
call fcn.005e6e9c
test eax, eax
je 0x46fe3e
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x46fe4c
push edi
mov ecx, ebp
call fcn.005e6ebe
mov edx, dword [esp + 0x34]
mov dword [eax], edx
inc dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
xor ecx, ecx
inc eax
mov cx, word [ebx + 6]
add edi, 2
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
jl 0x46fe15
lea ecx, [esp + 0x1c]
call fcn.005eff72
mov dword [esp + 0x1c], vtable.CGdiObject.0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 3
call fcn.005eff9c
mov eax, 1
jmp 0x46fed8
cmp dword [esi + 0xe8], eax
jne 0x46feab
cmp dword [esi + 0xec], ecx
je 0x46fdd4
mov dword [esp + 0x1c], vtable.CGdiObject.0
mov dword [esp + 0x2c], 2
jmp 0x46fecd
mov dword [esp + 0x1c], vtable.CGdiObject.0
mov dword [esp + 0x2c], 1
lea ecx, [esp + 0x1c]
call fcn.005eff9c
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x471cb0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x61fed0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x68]
mov esi, ecx
push 9
mov ecx, edi
mov dword [esp + 0x14], esi
call fcn.005eb44d
xor ebp, ebp
cmp eax, ebp
jle 0x471d0f
push eax
lea eax, [esp + 0x6c]
push eax
mov ecx, edi
call fcn.005e340e
push eax
mov ecx, edi
mov dword [esp + 0x64], ebp
call fcn.005eb0bf
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0xffffffff
call fcn.005eaf86
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x68]
push ecx
push edx
lea ecx, [esi + 0xa8]
call fcn.005e6e9c
mov esi, eax
mov eax, dword [esp + 0x68]
neg esi
sbb esi, esi
and esi, eax
je 0x471e1c
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyA]
test ebp, ebp
mov eax, 0x69735c
jne 0x471d4a
mov eax, 0x64163c
push eax
mov ecx, edi
call fcn.005eb362
test byte [esi], 0x10
je 0x471d63
push str.Alt
mov ecx, edi
call fcn.005eb362
test byte [esi], 8
je 0x471d74
push str.Ctrl
mov ecx, edi
call fcn.005eb362
test byte [esi], 4
je 0x471d85
push str.Shift
mov ecx, edi
call fcn.005eb362
test byte [esi], 1
je 0x471de8
xor eax, eax
push 0
mov ax, word [esi + 2]
push eax
call ebx
lea ecx, [esp + 0x18]
push 0x40
shl eax, 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.005eaff4
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x70]
push eax
call fcn.00471b30
push eax
mov ecx, edi
mov dword [esp + 0x64], 1
call fcn.005eb39e
lea ecx, [esp + 0x6c]
mov dword [esp + 0x60], 0xffffffff
call fcn.005eaf86
jmp 0x471df3
mov cl, byte [esi + 2]
push ecx
mov ecx, edi
call fcn.005eb389
mov ax, word [esi + 4]
mov ebp, 1
test ax, ax
je 0x471e1c
and eax, 0xffff
lea edx, [eax*4]
sub edx, eax
neg edx
lea esi, [esi + edx*2]
test esi, esi
jne 0x471d3c
mov ecx, dword [esp + 0x58]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret 8
Function at 0x472090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov eax, dword [esp + 0x30]
push esi
push edi
xor edi, edi
test eax, eax
mov esi, ecx
mov dword [esp + 8], edi
jne 0x4720af
lea eax, [esi + 0x30]
lea edi, [esi + 0x28]
mov dword [esp + 8], eax
jmp 0x4720cf
cmp eax, 1
jne 0x4720c0
lea ecx, [esi + 0x54]
lea edi, [esi + 0x4c]
mov dword [esp + 8], ecx
jmp 0x4720cf
cmp eax, 2
jne 0x4720cf
lea edx, [esi + 0x78]
lea edi, [esi + 0x70]
mov dword [esp + 8], edx
xor eax, eax
test edi, edi
je 0x47215c
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x47214e
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x3c]
sub eax, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], ecx
jmp 0x4720ff
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
test ecx, ecx
mov ecx, dword [esp + 0x38]
push edi
push ebp
push ecx
push edx
je 0x47212a
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + ebx]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00472190
jmp 0x47213e
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebx]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00472200
mov eax, dword [esp + 0x40]
add ebx, 4
dec eax
mov dword [esp + 0x40], eax
jne 0x4720fb
pop ebp
pop ebx
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x472177
mov edx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
mov ecx, esi
call fcn.004723e0
pop edi
mov eax, 1
pop esi
pop ecx
ret 0x2c
Function at 0x472200
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x61ff30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0x6331c0
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
cmp eax, ebp
mov dword [esp + 0x2c], ebx
jne 0x472250
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x47231e
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
push esi
call ebx
push esi
mov edi, eax
call ebx
mov ebx, eax
mov eax, dword [esp + 0x44]
push eax
push ebp
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x34]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push edi
mov dword [esp + 0x18], eax
call ebp
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
push edx
push ebx
call ebp
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
push 0xcc0020
sub eax, edx
push 0
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
sar eax, 1
mov ecx, eax
mov eax, dword [esp + 0x44]
sub eax, edx
push 0
cdq
sub eax, edx
mov edx, dword [esp + 0x48]
push edi
push edx
mov edx, dword [esp + 0x4c]
sar eax, 1
neg eax
neg ecx
push edx
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x34]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x14]
push ecx
push ebx
call ebp
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
call fcn.005eff45
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call esi
push ebx
call esi
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
jmp 0x47232c
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x1c]
push eax
call fcn.005eff45
mov eax, dword [esi + 0xe8]
test eax, eax
jne 0x472354
lea ecx, [ebp + 4]
lea eax, [edi + 4]
mov dword [esi + 0xe8], ebp
mov dword [esi + 0xf0], ecx
mov dword [esi + 0xec], edi
mov dword [esi + 0xf4], eax
mov esi, dword [esp + 0x4c]
mov eax, dword [esi + 4]
test eax, eax
jne 0x472371
push 0xa
push 0
push 0xff
push edi
push ebp
mov ecx, esi
call fcn.005e519b
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
mov edx, dword [esi + 4]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
push ecx
and eax, ebp
push eax
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x1c]
call fcn.005eff72
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x1c], vtable.CGdiObject.0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 1
call fcn.005eff9c
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x1c
Function at 0x472600
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x61ff90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov eax, esi
mov edi, ecx
mov dword [esp + 0x10], vtable.CBrush.0
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
xor eax, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
call fcn.0046f920
mov ebx, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
call ebx
push eax
lea ecx, [esp + 0x14]
call fcn.005eff45
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0xf0]
mov edx, dword [esp + 0x14]
add eax, ecx
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [ebp + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call fcn.005eff9c
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0xf0]
mov dword [esp + 0x20], edx
add eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [0x6f0980]
test eax, eax
je 0x4726db
push 4
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
jmp 0x4726e0
push 0xffffff
call ebx
push eax
lea ecx, [esp + 0x14]
call fcn.005eff45
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
lea edx, [esp + 0x18]
and eax, ebx
push eax
mov eax, dword [ebp + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call fcn.005eff9c
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call fcn.005eff9c
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x4735d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x260
push ebx
push ebp
mov ebp, dword [esp + 0x270]
push esi
push edi
mov edi, dword [esp + 0x280]
test edi, edi
mov esi, ecx
jne 0x473612
mov eax, dword [esp + 0x27c]
mov ecx, dword [esp + 0x274]
push eax
push 0
push 0
push ebp
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebx, eax
jmp 0x473616
mov ebx, dword [esp + 0x10]
cmp ebx, 0x20
jbe 0x473624
cmp edi, 1
jne 0x473708
mov edx, dword [esi]
lea eax, [esp + 0x68]
push eax
push str..htm
push SysReAllocStringLen
mov ecx, esi
call dword [edx + 0xf8]
test eax, eax
jne 0x473708
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x68]
push str._shellopencommand
push ecx
call edi
mov edx, dword [esi]
lea eax, [esp + 0x68]
lea ecx, [esp + 0x68]
push eax
push ecx
push SysReAllocStringLen
mov ecx, esi
call dword [edx + 0xf8]
test eax, eax
jne 0x473708
lea edx, [esp + 0x68]
push str.__1_
push edx
call fcn.00461817
add esp, 8
test eax, eax
jne 0x4736a4
lea eax, [esp + 0x68]
push 0x6916d4
push eax
call fcn.00461817
add esp, 8
test eax, eax
je 0x4736a7
mov byte [eax], 0
lea ecx, [esp + 0x68]
push 0x68f8b0
push ecx
call edi
lea edx, [esp + 0x68]
push ebp
push edx
call edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x68]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0
mov dword [esp + 0x4c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x473704
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret 0x10
mov ebx, dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x260
ret 0x10
Function at 0x4784d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6205d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
push 1
lea ecx, [esp + 8]
call fcn.004826d0
mov eax, dword [esp + 8]
mov dword [esp + 0x38], 0
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x48]
push eax
mov edx, dword [esp + ecx + 0xc]
lea esi, [esp + ecx + 0xc]
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esp + 0x40]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 8]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00480d40
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4785c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x620661
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push esi
push edi
lea ecx, [esp + 0x30]
call fcn.0047b270
lea ecx, [esp + 0x18]
mov dword [esp + 0xbc], 0
call fcn.0047b270
lea ecx, [esp + 0xc]
mov byte [esp + 0xbc], 1
call fcn.0047b270
lea ecx, [esp + 0x24]
mov byte [esp + 0xbc], 2
call fcn.0047b270
mov edi, dword [esp + 0xd0]
lea eax, [esp + 0x30]
push edi
push eax
mov byte [esp + 0xc4], 3
call fcn.00478440
mov esi, eax
lea ecx, [esp + 0x20]
add esi, edi
push esi
push ecx
call fcn.00478440
add esi, eax
lea edx, [esp + 0x1c]
push esi
push edx
call fcn.00478440
add esi, eax
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.00478440
add esp, 0x20
lea ecx, [esp + 0x24]
lea edx, [esp + 0xc]
lea eax, [esp + 0x18]
push 1
push ecx
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.00483540
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc4]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
mov byte [esp + 0xc8], 4
mov eax, dword [edx + 0x10]
lea ecx, [esp + eax + 0x54]
call fcn.004831c0
and eax, 0xff
lea ecx, [esp + 0x94]
mov esi, eax
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xbc], 5
call fcn.00478a60
lea eax, [esp + 0x40]
lea edx, [esp + 0x48]
neg eax
sbb eax, eax
mov byte [esp + 0xbc], 3
and eax, edx
lea ecx, [eax + 0x48]
call fcn.004787b0
mov dword [esp + 0xa4], 0x642d94
mov dword [esp + 0x9c], 0x642d88
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x94], 0x642d78
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
push eax
call fcn.005e6f52
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005e6f52
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x24]
push edx
call fcn.005e6f52
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x40]
push eax
call fcn.005e6f52
mov ecx, dword [esp + 0xc4]
add esp, 0x10
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xb8
ret