Function at 0x446460
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab0fc
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4e4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea eax, [ebx + 8]
mov dword [ebx + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebp - 4], 3
lea esi, [ebx + 0x20]
push 0x30
push 0
push esi
call fcn.0047fe70
mov dword [esi], 0x30
add esp, 0xc
mov dword [ebx + 0x24], 0x80
mov eax, dword [0x4e5400]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], 0xc4
mov dword [ebx + 0x38], 0x43f5e0
mov dword [ebx + 0x40], 0x44a7a0
mov dword [ebx + 0x3c], ebx
mov dword [ebp - 4], 4
lea eax, [ebx + 0x50]
mov dword [ebp - 0x18], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 5
mov byte [eax + 0x1c], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xffffffff
mov dword [eax + 0x18], 0xffffffff
mov byte [ebp - 4], 6
mov word [ebx + 0x74], 0
mov dword [ebp - 4], 7
mov eax, dword [ebp + 8]
mov dword [ebx + 0x78], 0x4c8138
mov byte [ebx + 0x7c], 1
mov dword [ebx + 0x80], 0x4c8168
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x84], 0x4c74fc
mov dword [ebx + 0x90], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx], 0x4c8184
mov dword [ebx + 0x78], 0x4c8138
mov dword [ebx + 0x80], 0x4c8178
mov dword [ebx + 0x84], 0x4c8174
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0xa0], 0
mov byte [ebp - 4], 8
lea esi, [ebx + 0xa8]
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xa4], eax
lea eax, [esi + 8]
mov dword [ebp + 8], esi
mov dword [esi + 4], 0
mov dword [ebp + 0x10], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 0xa
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [ebp - 4], 0xb
mov ebx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], ebx
mov byte [ebp - 4], 0xd
lea eax, [esi + 0x30]
mov edi, dword [sym.imp.USER32.dll_SetRectEmpty]
push eax
mov byte [esi + 0x24], 0
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0xffffffff
mov dword [esi + 0x50], 4
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov byte [esi + 0x60], 1
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov byte [esi + 0x6c], 1
mov dword [esi + 0x70], 1
mov dword [esi + 0x74], 0xffffffff
mov dword [esi + 0x78], 0xffffffff
mov byte [esi + 0x7c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call edi
mov byte [ebp - 4], 0xe
mov dword [esi], 0x4c8148
mov byte [ebp - 4], 0xf
mov esi, dword [ebp - 0x10]
add esi, 0x128
mov dword [ebp - 0x1c], esi
lea eax, [esi + 8]
mov dword [ebp - 0x20], eax
mov dword [esi + 4], 0
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 0x11
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [ebp - 4], 0x12
mov dword [esi + 0x20], ebx
mov byte [ebp - 4], 0x14
lea eax, [esi + 0x30]
push eax
mov byte [esi + 0x24], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0xffffffff
mov dword [esi + 0x50], 4
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov byte [esi + 0x60], 1
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov byte [esi + 0x6c], 1
mov dword [esi + 0x70], 1
mov dword [esi + 0x74], 0xffffffff
mov dword [esi + 0x78], 0xffffffff
mov byte [esi + 0x7c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call edi
mov byte [ebp - 4], 0x15
mov dword [esi], 0x4c8148
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x10]
lea ecx, [edx + 0x1a8]
mov dword [ebp - 0x24], ecx
lea eax, [ecx + 8]
mov dword [ecx + 4], 0
mov dword [ebp - 0x28], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 0x18
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov byte [ebp - 4], 0x19
mov dword [ecx + 0x20], ebx
mov byte [ebp - 4], 0x1b
mov dword [ecx], 0x4c8158
mov byte [ebp - 4], 0x1c
lea ecx, [edx + 0x1d0]
mov dword [ebp - 0x2c], ecx
lea eax, [ecx + 8]
mov dword [ecx + 4], 0
mov dword [ebp - 0x30], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 0x1e
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov byte [ebp - 4], 0x1f
mov dword [ecx + 0x20], ebx
mov byte [ebp - 4], 0x21
mov dword [ecx], 0x4c72e0
mov byte [ebp - 4], 0x22
mov ebx, edx
mov dword [ebx + 0x1f8], 0
mov dword [ebx + 0x1fc], 0
mov dword [ebx + 0x200], 0
mov dword [ebx + 0x204], 0
mov dword [ebx + 0x208], 0
mov dword [ebx + 0x20c], 0
mov byte [ebp - 4], 0x23
lea eax, [ebx + 0x210]
mov dword [ebp - 0x34], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 0x25
lea esi, [ebx + 0x224]
mov dword [ebx + 0x21c], 0
mov dword [ebx + 0x220], 0
mov dword [ebp - 0x38], esi
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x446bab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x27
lea esi, [ebx + 0x228]
mov dword [ebp + 8], esi
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x446bab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x29
lea esi, [ebx + 0x22c]
mov dword [ebp + 8], esi
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x446bab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x2b
lea esi, [ebx + 0x230]
mov dword [ebp + 8], esi
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x446bab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x2d
lea esi, [ebx + 0x234]
mov dword [ebp + 8], esi
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x446bab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x2f
lea esi, [ebx + 0x238]
mov dword [ebp + 8], esi
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x446bab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x31
lea esi, [ebx + 0x23c]
mov dword [ebp + 8], esi
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x446bab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x33
lea esi, [ebx + 0x240]
mov dword [ebp + 8], esi
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x446bab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x35
lea esi, [ebx + 0x244]
mov dword [ebp + 8], esi
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x446bab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x37
lea esi, [ebx + 0x248]
mov dword [ebp + 8], esi
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x446bab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x39
lea esi, [ebx + 0x24c]
mov dword [ebp + 8], esi
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x446bab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x3b
lea esi, [ebx + 0x250]
mov dword [ebp + 8], esi
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x446bab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x3d
lea eax, [ebx + 0x254]
mov dword [ebp + 8], eax
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x446bab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x254], eax
mov byte [ebp - 4], 0x3f
mov dword [ebx + 0x258], 0
mov dword [ebx + 0x260], 0
mov dword [ebx + 0x264], 0
mov dword [ebx + 0x268], 0
mov byte [ebp - 4], 0x40
mov edx, 0x84
lea ecx, [ebp + 8]
call fcn.004099f0
mov byte [ebp - 4], 0x41
lea ecx, [ebx + 0x254]
push eax
call fcn.00408f80
mov byte [ebp - 4], 0x40
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446acc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebx + 0x94]
cmp dword [edi + 4], 1
jne 0x446b42
mov edi, dword [edi + 0xc]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov dword [ebp + 8], eax
call esi
mov ecx, dword [edi + 0x30]
shr ecx, 1
test cl, 1
je 0x446b06
cmp dword [ebp + 8], 0x400
jl 0x446b06
cmp eax, 0x300
jge 0x446b42
mov edx, 0xe5
lea ecx, [ebp + 8]
call fcn.004099f0
mov byte [ebp - 4], 0x43
lea ecx, [ebx + 0x254]
push eax
call fcn.00408f80
mov byte [ebp - 4], 0x40
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446b42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x254]
or dword [ebx + 0x24], 0x1000
mov dword [ebx + 0x48], eax
xor eax, eax
mov esi, dword [ecx + 4]
test esi, esi
jle 0x446b82
xor edx, edx
test edx, edx
js 0x446bb5
cmp eax, esi
jge 0x446bb5
mov ecx, dword [ecx]
mov ecx, dword [ecx + edx + 0xc]
cmp dword [ecx - 0xc], 0
jne 0x446ba7
mov ecx, dword [ebp + 0xc]
inc eax
add edx, 0x16c
cmp eax, esi
jl 0x446b60
xor al, al
mov byte [ebx + 0x25c], al
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov al, 1
jmp 0x446b84
push 0x80004005
call fcn.004027c0
push 0x8000000b
call fcn.004027c0
int3