Function at 0x40a8b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x445c51
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x45b080]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
push edi
mov eax, dword [0x45b080]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x70], edi
mov eax, dword [edi + 0xc8]
lea esi, [edi + 4]
mov byte [eax + 0x2c], 0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
mov dword [esp + 0x74], esi
call eax
test al, al
jne 0x40a93e
mov ecx, dword [edi + 0x8c]
test ecx, ecx
je 0x40a924
push 0
call fcn.0040a240
mov ecx, dword [edi + 0x90]
test ecx, ecx
je 0x40b0f2
push 0
call fcn.0040a240
jmp 0x40b0f2
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
jmp 0x40a963
lea esi, [edi + 4]
mov ecx, edi
call fcn.0040b130
push 0
mov ecx, edi
call fcn.0040a810
push 1
mov ecx, edi
mov byte [esp + 0x1f], al
call fcn.0040a810
mov byte [esp + 0x1a], al
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.004098f0
mov eax, dword [esi]
movdqa xmm0, xmmword [esp + 0x24]
mov eax, dword [eax + 0x20]
mov ecx, esi
movdqa xmmword [esp + 0x44], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x68], 0
call eax
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
test eax, eax
jle 0x40af26
lea ecx, [ecx]
mov eax, dword [esi]
push dword [esp + 0x68]
mov eax, dword [eax + 0x14]
mov ecx, esi
call eax
mov esi, eax
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x4c]
jge 0x40ade5
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x50]
jge 0x40ade5
mov eax, dword [esi + 0x30]
shr eax, 6
test al, 1
jne 0x40ab17
mov edi, dword [esi + 0xc8]
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x154]
push eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [edi + 0x30]
push eax
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0xb4], 0
mov dword [esp + 0xb8], 9
mov dword [esp + 0xb0], vtable.FooUI::Widgets::Event::FLayoutChangedEvent.0
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x150]
push eax
lea eax, [esp + 0xc8]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0xa8]
mov dword [esp + 0x170], 1
mov ecx, dword [edi]
push eax
call fcn.0040ceb0
cmp byte [esp + 0xac], 0
je 0x40aade
movq xmm0, qword [esp + 0xc4]
movq qword [edi + 0x30], xmm0
movq xmm0, qword [esp + 0xcc]
lea ecx, [esp + 0x98]
jmp 0x40aee4
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
movq xmm0, qword [esp + 0x110]
movq qword [edi + 0x30], xmm0
movq xmm0, qword [esp + 0x118]
lea ecx, [esp + 0x98]
jmp 0x40aee4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x68]
push eax
mov ecx, esi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.0040b300
mov eax, dword [esi + 0x34]
dec eax
cmp eax, 3
ja case.default.0x40ab56
jmp dword [eax*4 + 0x40b118]
mov eax, dword [esi + 0x4c]
add eax, dword [esi + 0x44]
mov edx, dword [esp + 0x1c]
add eax, edx
add dword [esp + 0x44], eax
jmp 0x40abb1
mov eax, dword [esi + 0x4c]
add eax, dword [esi + 0x44]
mov edx, dword [esp + 0x1c]
add eax, edx
sub dword [esp + 0x4c], eax
jmp 0x40abb1
mov eax, dword [esi + 0x50]
add eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add eax, ecx
add dword [esp + 0x48], eax
jmp 0x40abb5
mov eax, dword [esi + 0x50]
add eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add eax, ecx
sub dword [esp + 0x50], eax
jmp 0x40abb5
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x4c]
sub eax, dword [esp + 0x24]
add eax, dword [esp + 0x60]
add eax, edx
mov edx, dword [esp + 0x38]
cmp edx, eax
cmovle edx, eax
mov eax, dword [esi + 0x50]
sub eax, dword [esp + 0x28]
mov dword [esp + 0x38], edx
add eax, dword [esp + 0x64]
mov edx, dword [esp + 0x40]
add eax, ecx
cmp edx, eax
cmovle edx, eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov dword [esp + 0x40], edx
cmp dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
setg cl
sub eax, dword [esp + 0x28]
mov byte [esp + 0x6c], cl
cmp edx, eax
mov al, byte [esp + 0x1b]
setg dh
mov byte [esp + 0x3c], dh
test cl, cl
je 0x40ac19
test al, al
je 0x40ac24
test dh, dh
je 0x40ac78
cmp byte [esp + 0x1a], 0
jne 0x40ac78
xor dl, dl
test cl, cl
je 0x40ac54
test al, al
jne 0x40ac54
push 0
mov ecx, edi
call fcn.0040a880
test eax, eax
je 0x40ac54
mov ecx, dword [edi + 0x8c]
test ecx, ecx
je 0x40ac52
push dword [esp + 0x6c]
call fcn.0040a240
mov dh, byte [esp + 0x3c]
mov dl, 1
test dh, dh
je 0x40ac70
cmp byte [esp + 0x1a], 0
jne 0x40ac70
push 1
mov ecx, edi
call fcn.0040a880
test eax, eax
jne 0x40afd1
test dl, dl
jne 0x40a960
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x1c]
add edx, eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x7c], eax
add eax, dword [esp + 0x20]
push 0
mov ecx, edi
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
call fcn.0040a810
test al, al
je 0x40acd1
push 0
mov ecx, edi
call fcn.0040a880
mov ecx, dword [eax + 0xd8]
mov eax, dword [esp + 0x60]
neg ecx
add eax, ecx
add edx, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], edx
push 1
mov ecx, edi
call fcn.0040a810
test al, al
je 0x40ad00
push 1
mov ecx, edi
call fcn.0040a880
mov ecx, dword [eax + 0xd8]
mov eax, dword [esp + 0x64]
neg ecx
add eax, ecx
add dword [esp + 0x84], ecx
mov dword [esp + 0x7c], eax
mov edi, dword [esi + 0xc8]
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x144]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [edi + 0x30]
push eax
lea eax, [esp + 0xe4]
push eax
mov byte [esp + 0xe0], 0
mov dword [esp + 0xe4], 9
mov dword [esp + 0xdc], vtable.FooUI::Widgets::Event::FLayoutChangedEvent.0
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0xf4]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0xd4]
mov dword [esp + 0x170], 2
mov ecx, dword [edi]
push eax
call fcn.0040ceb0
cmp byte [esp + 0xd8], 0
je 0x40ad9c
movq xmm0, qword [esp + 0xf0]
movq qword [edi + 0x30], xmm0
movq xmm0, qword [esp + 0xf8]
jmp 0x40adc6
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x124]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
movq xmm0, qword [esp + 0x120]
movq qword [edi + 0x30], xmm0
movq xmm0, qword [esp + 0x128]
mov dword [esp + 0x170], 0xffffffff
mov dword [esp + 0xd4], vtable.FooUI::Widgets::Event::FEvent.0
lea ecx, [esp + 0x78]
jmp 0x40aeef
mov edi, dword [esi + 0xc8]
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x134]
push eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [edi + 0x30]
push eax
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0xb4], 0
mov dword [esp + 0xb8], 9
mov dword [esp + 0xb0], vtable.FooUI::Widgets::Event::FLayoutChangedEvent.0
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x130]
push eax
lea eax, [esp + 0xc8]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0xa8]
mov dword [esp + 0x170], 0
mov ecx, dword [edi]
push eax
call fcn.0040ceb0
cmp byte [esp + 0xac], 0
je 0x40aeb0
movq xmm0, qword [esp + 0xc4]
movq qword [edi + 0x30], xmm0
movq xmm0, qword [esp + 0xcc]
jmp 0x40aedd
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x104]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
movq xmm0, qword [esp + 0x100]
movq qword [edi + 0x30], xmm0
movq xmm0, qword [esp + 0x108]
lea ecx, [esp + 0x88]
mov dword [esp + 0x170], 0xffffffff
movq qword [edi + 0x38], xmm0
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x68]
mov eax, dword [esi]
inc edi
mov eax, dword [eax + 0x20]
mov ecx, esi
mov dword [esp + 0x68], edi
call eax
cmp edi, eax
mov edi, dword [esp + 0x70]
jl 0x40a9d0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x4c]
jge 0x40aff8
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x50]
jge 0x40aff8
mov eax, ecx
sub eax, dword [esp + 0x24]
cmp dword [esp + 0x38], eax
mov eax, edx
setg cl
sub eax, dword [esp + 0x28]
mov byte [esp + 0x6c], cl
cmp dword [esp + 0x40], eax
mov al, byte [esp + 0x1b]
setg dl
mov byte [esp + 0x3c], dl
cmp cl, al
jne 0x40af76
cmp dl, byte [esp + 0x1a]
je 0x40aff8
xor dh, dh
cmp cl, al
je 0x40afa2
push 0
mov ecx, edi
call fcn.0040a880
test eax, eax
je 0x40afa2
mov ecx, dword [edi + 0x8c]
test ecx, ecx
je 0x40afa0
push dword [esp + 0x6c]
call fcn.0040a240
mov dl, byte [esp + 0x3c]
mov dh, 1
cmp dl, byte [esp + 0x1a]
je 0x40aff0
push 1
mov ecx, edi
call fcn.0040a880
test eax, eax
je 0x40aff0
mov ecx, dword [edi + 0x90]
test ecx, ecx
je 0x40a963
push dword [esp + 0x3c]
call fcn.0040a240
jmp 0x40a963
mov ecx, dword [edi + 0x90]
lea esi, [edi + 4]
test ecx, ecx
je 0x40a963
push dword [esp + 0x3c]
call fcn.0040a240
jmp 0x40a960
test dh, dh
jne 0x40a963
mov esi, dword [edi + 0x8c]
test esi, esi
je 0x40b075
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x2c]
mov eax, 0
add edx, dword [esp + 0x38]
mov dword [esi + 0xcc], 0
cmovs edx, eax
mov eax, dword [esi + 0xd8]
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov eax, dword [esi]
cmp ecx, edx
mov dword [esi + 0xd0], edx
cmovl edx, ecx
mov ecx, esi
mov dword [esi + 0xd8], edx
call dword [eax + 0x9c]
push 0
push 2
push 0x19
push dword [esi + 0x1c]
mov ecx, esi
push esi
call fcn.0040cc50
mov ecx, dword [edi + 0x8c]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov dword [ecx + 0xd4], eax
mov eax, dword [ecx]
call dword [eax + 0x9c]
mov esi, dword [edi + 0x90]
test esi, esi
je 0x40b0f2
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x30]
mov eax, 0
add edx, dword [esp + 0x40]
mov dword [esi + 0xcc], 0
cmovs edx, eax
mov eax, dword [esi + 0xd8]
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov eax, dword [esi]
cmp ecx, edx
mov dword [esi + 0xd0], edx
cmovl edx, ecx
mov ecx, esi
mov dword [esi + 0xd8], edx
call dword [eax + 0x9c]
push 0
push 2
push 0x19
push dword [esi + 0x1c]
mov ecx, esi
push esi
call fcn.0040cc50
mov ecx, dword [edi + 0x90]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov dword [ecx + 0xd4], eax
mov eax, dword [ecx]
call dword [eax + 0x9c]
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.00432b46
mov esp, ebp
pop ebp
ret 4