Function at 0x4a7750
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d961b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push ebx
push esi
lea esi, [ecx + 0x3b0]
mov dword [esp + 0xc], ecx
push edi
mov ecx, esi
call fcn.0049c670
push eax
push 0x18
lea ecx, [esp + 0x20]
call fcn.00497a20
xor eax, eax
mov ecx, esi
mov dword [esp + 0xfc], eax
mov dword [esp + 0x14], eax
call fcn.0049c670
test eax, eax
jle 0x4a794e
lea ecx, [ecx]
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.00497a10
mov esi, eax
xor ebx, ebx
mov edi, dword [esp + 0x10]
add edi, 0x3ec
mov ecx, edi
call fcn.004b20b0
cmp ebx, eax
jge 0x4a788d
push ebx
mov ecx, edi
call fcn.00497b00
cmp dword [eax], esi
je 0x4a77e8
inc ebx
jmp 0x4a77c0
mov edx, dword [esi]
lea eax, [esp + 0x70]
push eax
mov ecx, esi
call dword [edx + 0x50]
mov ecx, dword [eax]
mov edx, dword [esi]
lea eax, [esp + 0xa8]
mov dword [esp + 0x50], ecx
push eax
mov ecx, esi
call dword [edx + 0x50]
mov ecx, dword [eax + 4]
mov edx, dword [esi]
lea eax, [esp + 0x68]
mov dword [esp + 0x54], ecx
push eax
mov ecx, esi
call dword [edx + 0x50]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0xc], eax
call dword [edx + 0x58]
mov edi, eax
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
lea eax, [esp + 0x78]
add edi, edx
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x50]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0xc], eax
call dword [edx + 0x60]
mov esi, eax
mov eax, dword [esp + 0xc]
add esi, dword [eax + 4]
mov ecx, dword [esp + 0x10]
push ebx
add ecx, 0x3ec
call fcn.00497b00
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
add eax, 8
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov dword [eax + 8], edi
push ebx
add ecx, 0x3ec
mov dword [eax + 0xc], esi
call fcn.00497b00
push eax
jmp 0x4a7923
mov eax, dword [esi]
lea ecx, [esp + 0xa0]
push ecx
mov ecx, esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 1
call dword [eax + 0x50]
mov edi, dword [eax]
mov edx, dword [esi]
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call dword [edx + 0x50]
mov ecx, dword [eax + 4]
mov edx, dword [esi]
lea eax, [esp + 0x98]
mov dword [esp + 0x8c], ecx
push eax
mov ecx, esi
call dword [edx + 0x50]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0xc], eax
call dword [edx + 0x58]
mov ebx, eax
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
lea eax, [esp + 0x80]
add ebx, edx
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x50]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0xc], eax
call dword [edx + 0x60]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x8c]
add eax, edx
lea edx, [esp + 0x38]
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00497a70
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
add esi, 0x3b0
inc edi
mov ecx, esi
mov dword [esp + 0x14], edi
call fcn.0049c670
cmp edi, eax
jl 0x4a77b0
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
add esi, 0x3ec
mov edi, esi
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [esp + 0xbc], edi
mov edi, esi
mov dword [edi], ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x20]
push 0
push 0
mov dword [edi + 8], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xc4]
push 0x270f
mov dword [esp + 0x28], ecx
push 0x270f
lea ecx, [esp + 0x38]
mov dword [edi + 0xc], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.004976e0
mov ecx, esi
xor edi, edi
call fcn.004b20b0
test eax, eax
jle 0x4a7a0b
push edi
mov ecx, esi
call fcn.00497b00
mov ebx, eax
mov ecx, dword [ebx]
mov edx, dword [ecx]
call dword [edx + 0xc0]
test eax, eax
je 0x4a79ff
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0xe4]
test eax, eax
jne 0x4a79ff
push edi
mov ecx, esi
call fcn.00497b00
add eax, 8
push eax
lea ecx, [esp + 0x2c]
call fcn.00497710
mov ecx, esi
inc edi
call fcn.004b20b0
cmp edi, eax
jl 0x4a79c4
mov ecx, esi
xor edi, edi
call fcn.004b20b0
test eax, eax
jle 0x4a7a48
mov ebx, dword [sym.imp.USER32.dll_OffsetRect]
mov edi, edi
push edi
mov ecx, esi
call fcn.00497b00
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
neg ecx
push ecx
neg edx
add eax, 8
push edx
push eax
call ebx
mov ecx, esi
inc edi
call fcn.004b20b0
cmp edi, eax
jl 0x4a7a20
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x18]
mov dword [eax + 0xc], edx
mov dword [esp + 0xfc], 0xffffffff
call fcn.00497a60
mov ecx, dword [esp + 0xf4]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4