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

Disassembly:
push 0xffffffffffffffff
push 0x510868
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53c1a4]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x10c]
mov edx, dword [0x546fac]
xor ebp, ebp
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x546fac
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x8c], ebp
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
cmp dword [esi + 0x138], ebp
je 0x4aa44d
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x20]
push eax
call edx
mov ebx, dword [eax]
mov edi, dword [eax + 4]
cmp dword [esi + 0x140], ebp
je 0x4aa467
mov ecx, dword [esi + 0x140]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x20]
push edx
call eax
cmp dword [esi + 0x150], ebp
je 0x4aa48e
mov ecx, dword [esi + 0x150]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x20]
push eax
call edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esi + 0x134]
cmp eax, ebp
je 0x4aa49a
mov edi, eax
mov eax, dword [esi + 0x130]
cmp eax, ebp
je 0x4aa4a6
mov ebx, eax
mov eax, dword [esi + 0x174]
sub eax, ebp
je 0x4aa4c3
sub eax, 1
jne 0x4aa4cf
mov eax, dword [esi + 0x12c]
add eax, ebx
add dword [esp + 0x30], eax
jmp 0x4aa4cf
mov ecx, dword [esi + 0x12c]
add ecx, edi
add dword [esp + 0x34], ecx
cmp dword [esi + 0x13c], ebp
je 0x4aa50d
mov edi, dword [esp + 0x30]
mov ecx, dword [esi + 0x13c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push ebp
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x48]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x50]
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0xa8]
push eax
call edx
mov eax, dword [esi + 0x104]
xor edx, edx
cmp eax, ebp
je 0x4aa547
lea esp, [esp]
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
je 0x4aaa72
mov ecx, eax
mov ecx, dword [ecx + 8]
mov eax, dword [eax]
cmp ecx, ebp
je 0x4aa543
cmp dword [ecx + 0x128], ebp
jne 0x4aa543
inc edx
cmp eax, ebp
jne 0x4aa520
xor ebx, ebx
cmp dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
jle 0x4aa9c3
jmp 0x4aa560
test ebx, ebx
jl 0x4aa9b2
cmp ebx, dword [esi + 0x10c]
jge 0x4aa9b2
jb 0x4aa57a
xor eax, eax
jmp 0x4aa597
mov eax, dword [esi + 0x104]
test eax, eax
je 0x4aa597
test ebx, ebx
jbe 0x4aa597
mov ecx, ebx
lea ebx, [ebx]
sub ecx, 1
mov eax, dword [eax]
jne 0x4aa590
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4aaa72
mov ebp, dword [eax + 8]
test ebp, ebp
je 0x4aa9b2
cmp dword [ebp + 0x128], 0
jne 0x4aa9b2
lea eax, [esp + 0x30]
push eax
call fcn.004ab1e0
xor edi, edi
cmp dword [esi + 0x150], edi
je 0x4aa710
mov ecx, 1
cmp dword [esp + 0x1c], ecx
jle 0x4aa710
mov eax, dword [esi + 0x174]
sub dword [esp + 0x1c], ecx
sub eax, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
je 0x4aa66d
sub eax, ecx
jne 0x4aa6d9
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0x124]
mov edx, dword [esp + 0x38]
add eax, ecx
push eax
mov eax, dword [esp + 0x34]
push edx
push ecx
push eax
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jle 0x4aa642
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
cmp ecx, eax
jle 0x4aa65c
mov edx, ecx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], eax
sub eax, ecx
sub eax, dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
push edi
jmp 0x4aa6ce
mov ecx, dword [esp + 0x38]
mov eax, dword [esi + 0x124]
mov edx, dword [esp + 0x3c]
push edx
add eax, ecx
push eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
cmp ecx, eax
jle 0x4aa6aa
mov edx, ecx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
cmp edx, edi
jle 0x4aa6be
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edx
sub eax, ecx
sub eax, dword [esp + 0x28]
push 0
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov edi, dword [esp + 0x40]
mov ecx, dword [esi + 0x150]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push 0xffffffffffffffff
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x58]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x5c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x60]
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0xa8]
push eax
call edx
cmp ebx, dword [esi + 0x120]
je 0x4aa9b2
cmp dword [ebp + 0x128], 0
je 0x4aa7aa
cmp dword [esi + 0x148], 0
je 0x4aa8eb
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x168]
push ecx
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x164]
push eax
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x64], edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edi, dword [esp + 0x50]
mov ecx, dword [esi + 0x148]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x68]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x6c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x70]
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0xa8]
push eax
call edx
jmp 0x4aa8eb
cmp dword [esi + 0x138], 0
je 0x4aa7f6
mov edi, dword [esp + 0x30]
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx]
xor eax, eax
cmp ebx, dword [esi + 0x11c]
mov edx, dword [edx + 0x18]
sete al
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x48]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x50]
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0xa8]
push edi
call edx
jmp 0x4aa7fd
mov edi, dword [esp + 0x94]
cmp dword [esi + 0x14c], 0
je 0x4aa871
cmp dword [ebp + 0x12c], 0
je 0x4aa871
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0x168]
push ecx
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x164]
push eax
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x74], edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ebp, dword [esp + 0x60]
mov ecx, dword [esi + 0x14c]
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov ebp, dword [esp + 0x78]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x7c]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x80]
jmp 0x4aa8e0
cmp dword [esi + 0x140], 0
je 0x4aa8eb
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esi + 0x168]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x164]
push ecx
mov dword [esp + 0x78], edx
push eax
lea edx, [esp + 0x78]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ebp, dword [esp + 0x70]
mov ecx, dword [esi + 0x140]
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov ebp, dword [esp + 0x88]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x8c]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x90]
mov edx, dword [ecx]
mov dword [eax + 0xc], ebp
mov eax, dword [edx + 0x18]
push edi
call eax
mov ecx, dword [esi + 0x170]
mov eax, dword [esi + 0x16c]
push ecx
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
cmp ebx, dword [esi + 0x10c]
jge 0x4aa93b
jb 0x4aa912
xor eax, eax
jmp 0x4aa927
mov eax, dword [esi + 0x104]
test eax, eax
je 0x4aa927
test ebx, ebx
jbe 0x4aa927
sub ebx, 1
mov eax, dword [eax]
jne 0x4aa920
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4aaa72
mov eax, dword [eax + 8]
jmp 0x4aa93d
xor eax, eax
mov edx, dword [eax + 0x124]
test edx, edx
jne 0x4aa94b
xor eax, eax
jmp 0x4aa95f
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4aa950
sub eax, edi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x18]
call fcn.004076e0
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x14]
mov ecx, dword [esi + 0x38]
sub eax, edi
sub edx, ebx
cmp dword [ebp - 0xc], 0
jle 0x4aa9ae
push 0xff
push 0
push eax
mov eax, dword [esp + 0xa0]
push edx
push edi
push ebx
lea edx, [esp + 0x2c]
push edx
push eax
mov edx, 0x88a5
call fcn.00404ae0
mov ebx, dword [esp + 0x20]
inc ebx
cmp ebx, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
jl 0x4aa560
xor ebp, ebp
xor ebx, ebx
cmp dword [esp + 0x18], ebp
jle 0x4aac7e
nop
cmp ebx, ebp
jl 0x4aaa0d
cmp ebx, dword [esi + 0x10c]
jge 0x4aaa0d
jb 0x4aa9e2
xor eax, eax
jmp 0x4aa9fd
mov eax, dword [esi + 0x104]
cmp eax, ebp
jne 0x4aa9f0
xor eax, eax
jmp 0x4aa9fd
cmp ebx, ebp
jbe 0x4aa9fd
mov ecx, ebx
sub ecx, 1
mov eax, dword [eax]
jne 0x4aa9f6
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
je 0x4aaa72
mov eax, dword [eax + 8]
jmp 0x4aaa0f
xor eax, eax
cmp dword [eax + 0x128], ebp
jne 0x4aaa1f
cmp ebx, dword [esi + 0x120]
je 0x4aaa2b
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x4aa9d0
jmp 0x4aac7e
lea ecx, [esp + 0x30]
push ecx
call fcn.004ab1e0
cmp ebx, ebp
jl 0x4aaa81
cmp ebx, dword [esi + 0x10c]
jge 0x4aaa81
jb 0x4aaa47
xor eax, eax
jmp 0x4aaa67
mov eax, dword [esi + 0x104]
cmp eax, ebp
jne 0x4aaa55
xor eax, eax
jmp 0x4aaa67
cmp ebx, ebp
jbe 0x4aaa67
mov ecx, ebx
jmp 0x4aaa60
sub ecx, 1
mov eax, dword [eax]
jne 0x4aaa60
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4aaa7c
push 0x80004005
call fcn.00402a90
mov eax, dword [eax + 8]
jmp 0x4aaa83
xor eax, eax
cmp dword [eax + 0x128], ebp
je 0x4aaade
cmp dword [esi + 0x148], ebp
je 0x4aaba7
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x78], ecx
mov ecx, dword [esi + 0x168]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x164]
push ecx
push eax
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x88], edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 0x148]
jmp 0x4aab6e
cmp dword [esi + 0x138], ebp
je 0x4aab1d
mov edi, dword [esp + 0x30]
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push 2
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x48]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x50]
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0xa8]
push eax
call edx
cmp dword [esi + 0x144], ebp
je 0x4aaba7
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0x168]
push ecx
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x164]
push eax
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x84], edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 0x144]
mov edi, dword [esp + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x88]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x8c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x90]
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0xa8]
push eax
call edx
mov ecx, dword [esi + 0x170]
mov eax, dword [esi + 0x16c]
push ecx
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp ebx, ebp
jl 0x4aac05
cmp ebx, dword [esi + 0x10c]
jge 0x4aac05
jb 0x4aabd2
xor eax, eax
jmp 0x4aabeb
mov eax, dword [esi + 0x104]
cmp eax, ebp
jne 0x4aabe0
xor eax, eax
jmp 0x4aabeb
cmp ebx, ebp
jbe 0x4aabeb
sub ebx, 1
mov eax, dword [eax]
jne 0x4aabe4
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4aac00
push 0x80004005
call fcn.00402a90
mov eax, dword [eax + 8]
jmp 0x4aac07
xor eax, eax
mov edx, dword [eax + 0x124]
cmp edx, ebp
jne 0x4aac15
xor eax, eax
jmp 0x4aac2f
mov eax, edx
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4aac20
sub eax, edi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x18]
call fcn.004076e0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x3c]
sub eax, ecx
sub edx, edi
cmp dword [ebx - 0xc], ebp
jle 0x4aac7e
push 0xff
push ebp
push eax
push edx
mov edx, dword [esp + 0xa4]
push ecx
push edi
lea ecx, [esp + 0x2c]
push ecx
push edx
mov ecx, esi
mov edx, 0x88a5
call fcn.00404ae0
mov dword [esp + 0x8c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4aaca9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 4