joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440820
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0043afd0
test eax, eax
je 0x44090f
mov ecx, edi
call fcn.0043afd0
mov ecx, eax
call fcn.00438530
test eax, eax
jne 0x44090f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44090f
mov eax, dword [0x51d7b8]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x440882
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0043afd0
mov ecx, eax
call fcn.00438760
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x44090f
cmp ebx, eax
jne 0x44090f
cmp dword [esp + 0x10], eax
jne 0x4408f5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4434b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c0168
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4434e9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4435fc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4434fd
mov eax, 0xffffffc7
jmp 0x4435fe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x44350e
cmp dword [esi + 8], eax
jne 0x4434fd
cmp dword [esi + 8], eax
jne 0x443527
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x443527
mov eax, 0xffffffc7
jmp 0x4435fe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x44353b
push eax
mov ecx, ebx
call fcn.00442ce0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0040d860
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x44356c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0040d880
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00442450
test eax, eax
mov dword [esp + 0x38], eax
je 0x44359f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4e1998
call fcn.0040da60
mov eax, dword [esp + 0x38]
jmp 0x4435fe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00443310
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4435e3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00443330
mov esi, eax
test esi, esi
jne 0x443613
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00443310
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4435b5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4e1998
call fcn.0040da60
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 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4e1998
call fcn.0040da60
mov eax, esi
jmp 0x4435fe

Function at 0x446570
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4465d0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4465d0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4465d0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4465d0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x446610
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x44c4d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c0798
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004b822c
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0044be70
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004b815a
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004b488f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004b488f
push 1
push 0
push 0
mov ecx, esi
call fcn.004b4837
push 1
push 0
push 1
mov ecx, esi
call fcn.004b4837
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004b829e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x44c650
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c07b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004b822c
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0044be70
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004b815a
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x44c714
cmp dword [esp + 0x40], 1
jne 0x44c712
cmp ecx, eax
jge 0x44c714
mov eax, ecx
cmp eax, 0xc8
jge 0x44c720
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0044c4d0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004b829e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x44ce90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c0823
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004b2ba7
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004b84d4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004ba180
test eax, eax
je 0x44cfac
mov ecx, dword [esp + 0x3c]
call fcn.004b8501
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44cf70
push edi
mov ecx, esi
call fcn.004b59df
mov ecx, esi
call fcn.0044d110
cmp dword [esp + 0x38], 1
jne 0x44cfa5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004b5b1a
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44f900
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44f933
push esi
call fcn.00452a10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44f92c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44f9b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44f9a2
mov eax, dword [esi + 8]
test eax, eax
je 0x44f957
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44f99e
cmp eax, 2
je 0x44f9a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44f94a
cmp eax, 3
je 0x44f97d
cmp eax, 1
jne 0x44f94a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44f94a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44f94a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044f9e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44f9c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044f9e0
add esp, 4
pop esi
ret

Function at 0x45daa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c0c60
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.004b94d7
push 0
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x8c], 0
call fcn.004b881f
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.004b88fb
lea ecx, [esp + 8]
mov dword [esp + 0x7c], 0xffffffff
call fcn.004b959c
mov ecx, dword [esp + 0x74]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x78
ret
Function at 0x46d1e4
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4c1609
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.004b8090
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.004b822c
lea ecx, [esp + 0x54]
mov dword [esp + 0x130], 0
push ecx
mov ecx, dword [ebp]
call fcn.0046ead0
push 0x14
lea edx, [esp + 0x6c]
push edi
push edx
call fcn.004a11c0
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 0x46d2f7
mov dword [esp + 0x50], edx
jmp 0x46d307
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 0x46cc00
lea ecx, [esp + 0x30]
push edx
push ecx
lea ecx, [esp + 0x90]
call fcn.004780e0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 1
call fcn.004b26ac
lea ecx, [esp + 0x124]
mov byte [esp + 0x130], 3
call fcn.004b157a
lea ecx, [esp + 0xd8]
mov byte [esp + 0x130], 2
call fcn.004ba1a1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0
call fcn.004b2348
lea ecx, [esp + 0x54]
mov dword [esp + 0x130], 0xffffffff
call fcn.004b829e
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 0x46e980
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, ecx
call fcn.0046e950
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x46e996
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 0x46e9c0
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 0x46e9d5
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov ecx, ebp
call fcn.0046e950
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x46e9f1
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 0x46ea32
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 0x46efb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c1728
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.004b4867
mov edi, eax
push 0
imul edi, dword [esi + 0x190]
mov ecx, esi
call fcn.004b4867
imul eax, dword [esi + 0x18c]
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], eax
test ecx, ecx
mov dword [esp + 0xc], edi
jne 0x46f01a
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.004b822c
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov dword [esp + 0x30], 0
call fcn.0046ead0
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.004b829e
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x46f8f0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4c1820
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov esi, dword [esp + 0x34]
push edi
push eax
lea eax, [esp + 0x1c]
mov edx, dword [esi]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x38]
push 0xffffff
push 1
push 2
lea ecx, [esp + 0x1c]
call fcn.004b8541
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
push ecx
mov ecx, esi
call fcn.004b7ae2
mov edx, dword [esi]
push 5
mov ecx, esi
mov edi, eax
call dword [edx + 0x24]
push 7
mov ecx, esi
mov ebx, eax
call fcn.004b7c1a
push 1
mov ecx, esi
mov ebp, eax
call fcn.004b7bbe
mov eax, dword [esp + 0x3c]
push eax
push esi
call fcn.00460770
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi]
add esp, 8
push eax
lea eax, [esp + 0x24]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x38]
push ebp
mov ecx, esi
call fcn.004b7c1a
push edi
mov ecx, esi
call fcn.004b7ae2
push ebx
mov ecx, esi
call fcn.004b7ae2
mov dword [esp + 0x10], 0x4e6414
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call fcn.004b852b
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10

Function at 0x46fa20
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4c1860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, dword [eax + 0x10]
push edi
mov edi, dword [eax + 0xc]
lea eax, [esp + 0x18]
push 1
push eax
call fcn.0046efb0
mov ecx, eax
lea edx, [esp + 0x18]
mov eax, dword [ecx]
sub eax, edi
mov ecx, dword [ecx + 4]
sub ecx, esi
mov esi, dword [esp + 0x38]
push ecx
push eax
push edx
mov ecx, esi
call fcn.004b7e0f
push 0xffffff
push 1
push 2
lea ecx, [esp + 0x1c]
call fcn.004b8541
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov dword [esp + 0x34], 0
call fcn.004b7ae2
mov edx, dword [esi]
push 5
mov ecx, esi
mov edi, eax
call dword [edx + 0x24]
push 7
mov ecx, esi
mov ebx, eax
call fcn.004b7c1a
push 1
mov ecx, esi
mov ebp, eax
call fcn.004b7bbe
mov eax, dword [esp + 0x40]
push eax
push esi
call fcn.00460770
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add esp, 8
lea eax, [esp + 0x20]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004b7e0f
push ebp
mov ecx, esi
call fcn.004b7c1a
push edi
mov ecx, esi
call fcn.004b7ae2
push ebx
mov ecx, esi
call fcn.004b7ae2
mov dword [esp + 0x10], 0x4e6414
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call fcn.004b852b
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 0x471530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c1910
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
push 0xffffff
push 1
push 2
lea ecx, [esp + 0x28]
call fcn.004b8541
mov esi, dword [esp + 0x44]
lea eax, [esp + 0x1c]
xor edi, edi
push eax
mov ecx, esi
mov dword [esp + 0x40], edi
call fcn.004b7ae2
mov edx, dword [esi]
push 5
mov ecx, esi
mov dword [esp + 0x10], eax
call dword [edx + 0x24]
push 7
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.004b7c1a
mov ecx, dword [esi + 8]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetViewportOrgEx]
push 1
mov ecx, esi
call fcn.004b7bbe
mov edx, dword [esp + 0x4c]
mov ebx, dword [edx + 8]
dec ebx
js 0x471623
push ebp
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov edx, dword [ebp]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi*4]
mov ecx, dword [eax + 0xc]
sub edx, ecx
mov ecx, dword [ebp + 4]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x10]
sub ecx, edx
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, esi
call fcn.004b815a
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
sub eax, edx
mov edx, dword [esp + 0x18]
sub ecx, edx
mov edx, dword [esi]
push eax
lea eax, [esp + 0x34]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
mov eax, dword [edx + edi*4]
push eax
push esi
call fcn.00460770
add esp, 8
inc edi
cmp edi, ebx
jle 0x4715b8
pop ebp
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esi]
push ecx
lea ecx, [esp + 0x30]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x38]
mov edx, dword [esp + 0x44]
mov ecx, esi
push edx
call fcn.004b7c1a
mov eax, dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b7ae2
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004b7ae2
mov dword [esp + 0x1c], 0x4e6414
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 1
call fcn.004b852b
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0x14
Function at 0x4842f7
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c2e96
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 + 0x14]
call fcn.004b0403
mov eax, dword [0x50cafc]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x48], eax
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp ebx, edi
mov byte [esp + 0x18], 1
mov dword [esi], 0x4e7b8c
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
je 0x484354
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call fcn.004b12bb
add esp, 4
mov dword [esi + 4], eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8