Function at 0x4afbc0
Capabilities:
Access peb ldr_data
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4db180
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517050]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 0x8c]
xor ecx, ecx
mov eax, edi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041b40f
xor ebx, ebx
add esp, 4
mov ebp, eax
xor edx, edx
cmp edi, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x38], ebx
jle 0x4afc6e
mov ecx, dword [esp + 0x88]
sub ecx, ebp
mov dword [esp + 0x8c], edi
nop
cmp dword [esp + 0x94], ebx
mov esi, dword [ecx + eax]
jne 0x4afc58
add edx, esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x34], edx
mov edx, dword [ecx + eax + 4]
add esi, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x38], esi
mov dword [eax], edx
jmp 0x4afc5e
mov dword [eax], esi
mov esi, dword [ecx + eax + 4]
mov dword [eax + 4], esi
add eax, 8
sub dword [esp + 0x8c], 1
jne 0x4afc30
mov esi, dword [esp + 0x80]
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 0x4e4798
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x7c], ebx
call dword [sym.imp.gdi32.dll_CreateRectRgnIndirect]
push eax
lea ecx, [esp + 0x30]
call fcn.00424989
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0x4e4798
push 1
push edi
push ebp
mov byte [esp + 0x84], 1
call dword [sym.imp.gdi32.dll_CreatePolygonRgn]
push eax
lea ecx, [esp + 0x20]
call fcn.00424989
push 1
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00424552
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.gdi32.dll_GetRgnBox]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0x4e2fb0
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
push eax
push ecx
mov ecx, dword [esi + 4]
push ecx
mov byte [esp + 0x84], 2
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x28]
call fcn.00424989
lea edx, [esp + 0x24]
push edx
push esi
lea ecx, [esp + 0x64]
call fcn.00469b10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x48]
sub edx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
sub edi, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x8c]
mov ebp, dword [ecx]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
xor ebx, ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0x18]
lea edx, [esp + 0x70]
mov byte [esp + 0x8c], 3
push edx
call eax
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
push 0xcc0020
push 0
push 0
mov edi, eax
mov eax, dword [esp + 0x54]
push ebp
sub eax, edx
push eax
sub ecx, ebx
push ecx
mov ecx, dword [esi + 4]
push edx
push ebx
push ecx
call dword [sym.imp.gdi32.dll_BitBlt]
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.0042445d
mov eax, dword [esp + 0x18]
push eax
call fcn.0041b414
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 2
call fcn.00469ba0
mov esi, 0x4e2d94
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 1
mov dword [esp + 0x24], esi
call fcn.004249dc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 0
mov dword [esp + 0x1c], esi
call fcn.004249dc
lea ecx, [esp + 0x2c]
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x2c], esi
call fcn.004249dc
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x18