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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c2978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
push 0xa
lea ecx, [esp + 0x10]
call fcn.004b0809
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp ecx, ebx
mov dword [esp + 0x30], 0
je 0x45b689
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x45b689
test ecx, ecx
jne 0x45b599
imul eax, ebx
xor esi, esi
test eax, eax
jle 0x45b689
push 8
call fcn.004b0fcc
add esp, 4
mov dword [eax], 0
lea ecx, [edi + 0xd8]
mov dword [eax + 4], 0
push eax
call fcn.004b0a22
mov eax, dword [edi + 0xb4]
inc esi
imul eax, ebx
cmp esi, eax
jl 0x45b563
jmp 0x45b689
mov esi, dword [edi + 0xdc]
test ebx, ebx
jne 0x45b5ca
test esi, esi
je 0x45b5bf
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x45b5bb
push eax
call fcn.004b0ff5
add esp, 4
test esi, esi
jne 0x45b5a7
lea ecx, [edi + 0xd8]
jmp 0x45b684
test esi, esi
je 0x45b5e3
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.004b0a22
test esi, esi
jne 0x45b5ce
lea ecx, [edi + 0xd8]
call fcn.004b0968
mov ecx, dword [edi + 0xb4]
xor esi, esi
imul ecx, ebx
test ecx, ecx
jle 0x45b660
push 8
call fcn.004b0fcc
mov edx, dword [edi + 0xb4]
add esp, 4
imul edx, dword [ebp + 8]
cmp esi, edx
mov ebx, eax
jge 0x45b638
push esi
lea ecx, [esp + 0x10]
call fcn.004b0871
test eax, eax
je 0x45b6b3
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
jmp 0x45b645
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebx
lea ecx, [edi + 0xd8]
call fcn.004b0a22
mov eax, dword [edi + 0xb4]
inc esi
imul eax, dword [ebp + 0xc]
cmp esi, eax
jl 0x45b5fd
mov esi, dword [esp + 0x10]
test esi, esi
je 0x45b680
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x45b67c
push eax
call fcn.004b0ff5
add esp, 4
test esi, esi
jne 0x45b668
lea ecx, [esp + 0xc]
call fcn.004b0968
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004b0848
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004b0848
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45be00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c2a67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x52febc]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 0xac]
lea edx, [esp + 0xc]
push ecx
push 0x524eb4
push edx
mov dword [esp + 0x30], 1
call fcn.004ae913
mov eax, dword [0x52febc]
add esp, 0xc
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push 0x524eb0
push edx
mov byte [esp + 0x30], 2
call fcn.004b1594
push 0x524eac
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x2c], 3
push eax
call fcn.004b1520
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov edi, dword [eax]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x2c], 4
call fcn.0045bda0
sub esp, 8
lea eax, [esp + 0x10]
fstp qword [esp]
push edi
push eax
call fcn.004ae913
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.004b128b
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.004b128b
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004b1000
mov dword [esp + 0x18], 1
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.004b128b
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.004b128b
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x45bf20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c2a90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0x4fb16c
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x6c], esi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [ebp]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x70]
mov ecx, ebp
push eax
call dword [edx + 0x30]
cmp dword [ebx + 0x68], esi
je 0x45c09f
mov ecx, dword [ebp + 8]
push edi
push 6
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.004b81b6
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x3c
jne 0x45bfe0
mov dword [esp + 0x14], esi
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jne 0x45bfa7
xor eax, eax
jmp 0x45bfaa
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], edx
push eax
call fcn.004b7eba
mov eax, dword [ebx + 0x6c]
cmp dword [eax + 0x10], esi
je 0x45bfc9
mov esi, dword [eax + 8]
mov ecx, 0xf
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x2c], ecx
jmp 0x45c01b
lea edx, [esp + 0x2c]
push edx
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.004b7eba
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00456710
mov edx, dword [ebp]
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call dword [edx + 0x28]
mov eax, dword [ebx + 0x74]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebx + 0x44]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x74]
sub eax, edx
cdq
mov edi, dword [ebp]
sub eax, edx
mov edx, dword [ecx - 8]
push edx
push ecx
sar eax, 1
push 0x14
push eax
mov ecx, ebp
call dword [edi + 0x5c]
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0x78]
add edx, 0x14
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x28], edx
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x28]
lea ecx, [esp + 0x1c]
call fcn.004b8222
pop edi
mov eax, dword [esp + 0xc]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov dword [esp + 0x18], 0x4fb160
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 1
call fcn.004b8222
mov ecx, dword [esp + 0x64]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8
Function at 0x45e460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c2d20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0x4fb1bc
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x6c], esi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [ebp]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x54]
mov ecx, ebp
push eax
call dword [edx + 0x30]
cmp dword [ebx + 0x48], esi
je 0x45e5df
mov ecx, dword [ebp + 8]
push edi
push 6
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.004b81b6
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x3c
jne 0x45e520
mov dword [esp + 0x14], esi
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jne 0x45e4e7
xor eax, eax
jmp 0x45e4ea
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], edx
push eax
call fcn.004b7eba
mov eax, dword [ebx + 0x4c]
cmp dword [eax + 0x10], esi
je 0x45e509
mov esi, dword [eax + 8]
mov ecx, 0xf
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x2c], ecx
jmp 0x45e55b
lea edx, [esp + 0x2c]
push edx
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.004b7eba
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00456710
mov edx, dword [ebp]
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call dword [edx + 0x28]
mov eax, dword [ebx + 0x50]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x50]
sub eax, edx
cdq
mov edi, dword [ebp]
sub eax, edx
mov edx, dword [ecx - 8]
push edx
push ecx
sar eax, 1
push 0x14
push eax
mov ecx, ebp
call dword [edi + 0x5c]
mov ecx, dword [ebx + 0x30]
mov edx, dword [esp + 0x28]
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x78]
add edx, 0x14
mov dword [ebx + 8], esi
mov dword [ebx + 4], esi
mov dword [ebx + 0x10], edx
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x28]
lea ecx, [esp + 0x1c]
call fcn.004b8222
pop edi
mov eax, dword [esp + 0xc]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov dword [esp + 0x18], 0x4fb1b0
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 1
call fcn.004b8222
mov ecx, dword [esp + 0x64]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8
Function at 0x460190
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c3097
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x52febc]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], 1
mov dword [esp + 8], eax
mov eax, dword [esi + 0xb4]
lea ecx, [esp + 0xc]
push eax
push 0x524ef0
push ecx
mov byte [esp + 0x30], 2
call fcn.004ae913
add esp, 0xc
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push 0x524eec
push eax
call fcn.004b1594
push 0x524ee8
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x30], 3
call fcn.004b1520
mov edi, dword [eax]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x2c], 4
call fcn.00460130
sub esp, 8
lea ecx, [esp + 0x10]
fstp qword [esp]
push edi
push ecx
call fcn.004ae913
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.004b128b
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.004b128b
mov esi, dword [esp + 0x2c]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.004b1000
mov dword [esp + 0x18], 1
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.004b128b
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.004b128b
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x4602b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c30c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0x4fb244
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x6c], esi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [ebp]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x74]
mov ecx, ebp
push eax
call dword [edx + 0x30]
cmp dword [ebx + 0x68], esi
je 0x46042f
mov ecx, dword [ebp + 8]
push edi
push 6
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.004b81b6
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x3c
jne 0x460370
mov dword [esp + 0x14], esi
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jne 0x460337
xor eax, eax
jmp 0x46033a
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], edx
push eax
call fcn.004b7eba
mov eax, dword [ebx + 0x6c]
cmp dword [eax + 0x10], esi
je 0x460359
mov esi, dword [eax + 8]
mov ecx, 0xf
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x2c], ecx
jmp 0x4603ab
lea edx, [esp + 0x2c]
push edx
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.004b7eba
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00456710
mov edx, dword [ebp]
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call dword [edx + 0x28]
mov eax, dword [ebx + 0x70]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebx + 0x4c]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x70]
sub eax, edx
cdq
mov edi, dword [ebp]
sub eax, edx
mov edx, dword [ecx - 8]
push edx
push ecx
sar eax, 1
push 0x14
push eax
mov ecx, ebp
call dword [edi + 0x5c]
mov ecx, dword [ebx + 0x4c]
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0x78]
add edx, 0x14
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x28], edx
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x28]
lea ecx, [esp + 0x1c]
call fcn.004b8222
pop edi
mov eax, dword [esp + 0xc]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov dword [esp + 0x18], 0x4fb238
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 1
call fcn.004b8222
mov ecx, dword [esp + 0x64]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8
Function at 0x462000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c3323
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 eax, dword [0x52febc]
mov dword [esp + 0x14], 0
mov dword [esi + 0x14], eax
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
mov byte [esp + 0x1c], 1
mov dword [esi], 0x4fb274
call fcn.004b1000
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
call fcn.004620b0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], 0xffffffff
call fcn.004b128b
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 0x14
Function at 0x466090
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push ebp
push esi
push edi
mov edi, ebx
mov esi, ecx
mov ecx, dword [esp + 0x14]
and edi, 0xff
or edi, 0x200
mov edx, dword [esi + 0x19d6c]
shl edi, 8
and eax, 0xff
and ecx, 0xff
or edi, eax
shl edi, 8
or edi, ecx
push edi
push edx
call dword [sym.imp.GDI32.dll_GetNearestPaletteIndex]
mov ecx, dword [esi + 0x19d70]
xor edx, edx
mov dl, byte [ecx + eax*4 + 6]
mov ebp, edx
xor edx, edx
mov dl, byte [ecx + eax*4 + 5]
or ebp, 0x200
shl ebp, 8
or ebp, edx
xor edx, edx
mov dl, byte [ecx + eax*4 + 4]
shl ebp, 8
or ebp, edx
cmp ebp, edi
je 0x466196
mov cx, word [ecx + 2]
mov eax, dword [esi + 0x1a180]
mov edx, ecx
dec eax
and edx, 0xffff
cmp edx, eax
jge 0x466196
cmp cx, 0xff
jae 0x466196
mov eax, dword [esi + 0x19d6c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x19d70]
mov dl, byte [esp + 0x14]
xor ecx, ecx
mov cx, word [eax + 2]
mov byte [eax + ecx*4 + 4], dl
mov eax, dword [esi + 0x19d70]
mov dl, byte [esp + 0x18]
xor ecx, ecx
mov cx, word [eax + 2]
mov byte [eax + ecx*4 + 5], dl
mov eax, dword [esi + 0x19d70]
xor ecx, ecx
xor edx, edx
mov cx, word [eax + 2]
mov byte [eax + ecx*4 + 6], bl
mov eax, dword [esi + 0x19d70]
mov dx, word [eax + 2]
mov byte [eax + edx*4 + 7], 0
mov eax, dword [esi + 0x19d70]
inc word [eax + 2]
mov eax, dword [esi + 0x19d70]
push eax
call dword [sym.imp.GDI32.dll_CreatePalette]
mov dword [esi + 0x19d6c], eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x46a4e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c3720
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
push edi
push 0x400
lea ecx, [esp + 0xc]
call fcn.004b91ce
push 0
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x8c], 0
call fcn.004b8516
mov edi, dword [esp + 0x84]
mov byte [esp + 0x7c], 1
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov edx, dword [edi + 0x28]
mov esi, eax
mov eax, dword [edi + 0x24]
lea ecx, [esp + 0x30]
sub eax, edx
mov byte [esp + 0x7c], 0
add esi, eax
call fcn.004b85f2
lea ecx, [esp + 8]
mov dword [esp + 0x7c], 0xffffffff
call fcn.004b9293
mov ecx, dword [esp + 0x74]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x78
ret
Function at 0x479c24
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4c40c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
mov eax, dword [esp + 0x138]
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, dword [esp + 0x134]
mov ecx, dword [eax]
push edi
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, dword [ebp]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], edx
call fcn.004b7d87
mov ebx, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
sub ebx, ecx
mov ecx, dword [esi + 0x18]
xor edx, edx
sub ecx, edi
mov edi, dword [esp + 0x13c]
xor eax, eax
push 0x1fff
mov dx, word [edi + 8]
mov ax, word [edi + 4]
sub edx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
xor ecx, ecx
xor edx, edx
mov cx, word [edi + 6]
mov dx, word [edi + 2]
push 0x1fff
sub ecx, edx
push ebx
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, eax
mov eax, dword [ebp]
push eax
lea ecx, [esp + 0x58]
call fcn.004b7f23
lea ecx, [esp + 0x54]
mov dword [esp + 0x130], 0
push ecx
mov ecx, dword [ebp]
call fcn.0047b510
push 0x14
lea edx, [esp + 0x6c]
push edi
push edx
call fcn.0049ce10
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x14]
mov edi, dword [esi + 0xc]
lea eax, [esp + 0x74]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x10]
sub edx, edi
add esp, 0xc
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x140]
sub eax, ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x144]
test edx, edx
jne 0x479d37
mov dword [esp + 0x50], edx
jmp 0x479d47
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
push 0
mov dword [esp + 0x2c], ecx
push eax
push 0x479640
lea ecx, [esp + 0x30]
push edx
push ecx
lea ecx, [esp + 0x90]
call fcn.00484b20
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 1
call fcn.004b23df
lea ecx, [esp + 0x124]
mov byte [esp + 0x130], 3
call fcn.004b128b
lea ecx, [esp + 0xd8]
mov byte [esp + 0x130], 2
call fcn.004b9ce3
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0
call fcn.004b207b
lea ecx, [esp + 0x54]
mov dword [esp + 0x130], 0xffffffff
call fcn.004b7f95
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret 0x14

Function at 0x47b3c0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, ecx
call fcn.0047b390
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x47b3d6
pop esi
ret
xor eax, eax
mov ax, word [esi + 0x194]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
test esi, esi
setne al
pop esi
ret
Function at 0x47b400
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
test esi, esi
mov ebp, ecx
jg 0x47b415
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov ecx, ebp
call fcn.0047b390
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x47b431
pop esi
pop ebp
pop ebx
ret 8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov esi, dword [esp + 0x14]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x47b472
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
call dword [sym.imp.USER32.dll_EmptyClipboard]
xor ecx, ecx
push ebx
mov cx, word [ebp + 0x194]
push ecx
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8

Function at 0x47b9f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c41e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov esi, ecx
push 1
call fcn.004b44e8
mov edi, eax
push 0
imul edi, dword [esi + 0x190]
mov ecx, esi
call fcn.004b44e8
imul eax, dword [esi + 0x18c]
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], eax
test ecx, ecx
mov dword [esp + 0xc], edi
jne 0x47ba5a
mov ecx, dword [esp + 0x34]
mov dword [ecx], eax
mov dword [ecx + 4], edi
pop edi
mov eax, ecx
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
push esi
lea ecx, [esp + 0x14]
call fcn.004b7f23
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov dword [esp + 0x30], 0
call fcn.0047b510
mov edx, dword [esp + 0x18]
lea ecx, [esp + 8]
push 1
push ecx
push edx
call dword [sym.imp.GDI32.dll_DPtoLP]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esi], eax
mov dword [esi + 4], ecx
lea ecx, [esp + 0x10]
call fcn.004b7f95
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 8