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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5603a4
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5afee0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x5afee0]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esp + 0x4c], esi
call dword [eax + 0x70]
lea eax, [esp + 0x4c]
push eax
call fcn.004b213d
and dword [esp + 0x138], 0
lea eax, [esp + 0x94]
push eax
call fcn.004b213d
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x13c], 1
call fcn.004b213d
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x13c], 2
call fcn.004b213d
and dword [esp + 0x2c], 0
mov byte [esp + 0x138], 3
mov ebx, dword [esi + 0x5c]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x4eb9e4
jmp 0x4eb6cc
mov ebx, dword [esp + 0x14]
lea esi, [esp + 0x104]
call fcn.004031c3
xor eax, eax
push 0xf
lea edi, [esp + 0x40]
stosd dword es:[edi], eax
pop esi
xor edi, edi
push edi
lea ecx, [esp + 0xe8]
mov dword [esp + 0x104], ebx
mov dword [esp + 0x100], esi
call fcn.004031f2
push edi
lea ecx, [esp + 0xcc]
mov dword [esp + 0xe4], esi
call fcn.004031f2
push str.layout_width
lea ecx, [esp + 0xb0]
mov byte [esp + 0x13c], 6
call fcn.0040319e
lea ecx, [esp + 0xe4]
push ecx
lea ecx, [esp + 0xb0]
mov byte [esp + 0x13c], 7
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x20]
push edi
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x140], 6
call fcn.00403211
push str.layout_height
lea ecx, [esp + 0xb0]
call fcn.0040319e
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0xb0]
mov byte [esp + 0x13c], 8
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x20]
push edi
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x140], 6
call fcn.00403211
mov edx, dword [esp + 0xf8]
push 0x577673
xor ebx, ebx
lea eax, [esp + 0xe8]
call fcn.004052b6
test eax, eax
je 0x4eb80d
mov edx, dword [esp + 0xf8]
push str.wrap_content
push 0xc
pop ebx
lea eax, [esp + 0xe8]
call fcn.004052b6
test eax, eax
je 0x4eb80d
cmp dword [esp + 0xfc], 0x10
mov eax, dword [esp + 0xe8]
jae 0x4eb7fe
lea eax, [esp + 0xe8]
push eax
call fcn.00532ee3
mov edi, dword [esp + 0x18]
pop ecx
mov esi, eax
jmp 0x4eb82b
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
call dword [eax + 0x78]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0xdc]
push str.fill_parent
push 0xb
pop ebx
lea eax, [esp + 0xcc]
call fcn.004052b6
test eax, eax
jne 0x4eb854
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
jmp 0x4eb8c6
mov edx, dword [esp + 0xdc]
push 0x577673
xor ebx, ebx
lea eax, [esp + 0xcc]
call fcn.004052b6
test eax, eax
je 0x4eb8b2
mov edx, dword [esp + 0xdc]
push str.wrap_content
push 0xc
pop ebx
lea eax, [esp + 0xcc]
call fcn.004052b6
test eax, eax
je 0x4eb8b2
cmp dword [esp + 0xe0], 0x10
mov eax, dword [esp + 0xcc]
jae 0x4eb8a9
lea eax, [esp + 0xcc]
push eax
call fcn.00532ee3
pop ecx
jmp 0x4eb8c6
mov eax, dword [edi]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call dword [eax + 0x78]
mov eax, dword [eax + 4]
push str.layout_gravity
lea ecx, [esp + 0xb0]
mov dword [esp + 0x124], esi
mov dword [esp + 0x128], eax
call fcn.0040319e
lea ecx, [esp + 0x104]
push ecx
lea ecx, [esp + 0xb0]
mov byte [esp + 0x13c], 9
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x20]
xor ebx, ebx
push ebx
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x140], 6
call fcn.00403211
push 0x591304
lea eax, [esp + 0x108]
push eax
call fcn.004185c5
cmp eax, 0xffffffff
je 0x4eb93a
lea esi, [esp + 0x4c]
jmp 0x4eb993
push str.front
lea eax, [esp + 0x108]
push eax
call fcn.004185c5
cmp eax, 0xffffffff
je 0x4eb95a
lea esi, [esp + 0x94]
jmp 0x4eb993
push str.last
lea eax, [esp + 0x108]
push eax
call fcn.004185c5
cmp eax, 0xffffffff
je 0x4eb98f
lea eax, [esp + 0x100]
push eax
lea esi, [esp + 0x68]
call fcn.004ebf0f
mov eax, dword [esp + 0x120]
add dword [esp + 0x2c], eax
jmp 0x4eb9a0
lea esi, [esp + 0x7c]
lea eax, [esp + 0x100]
push eax
call fcn.004ebf0f
mov edi, dword [edi + 0x64]
push ebx
push 1
lea ecx, [esp + 0xd0]
mov dword [esp + 0x1c], edi
call fcn.00403211
push ebx
push 1
lea ecx, [esp + 0xec]
call fcn.00403211
push ebx
push 1
lea ecx, [esp + 0x10c]
mov byte [esp + 0x140], 3
call fcn.00403211
cmp edi, ebx
jne 0x4eb6c8
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x58]
push 0x28
cdq
pop esi
idiv esi
mov ecx, dword [esp + 0x20]
and dword [esp + 0x10], 0
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
test eax, eax
jbe 0x4ebaf1
push dword [esp + 0x10]
lea esi, [esp + 0x50]
call fcn.00454699
mov esi, eax
xor eax, eax
lea edi, [esp + 0xcc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push str.right
lea edi, [esi + 4]
push edi
call fcn.004185c5
cmp eax, 0xffffffff
je 0x4eba4d
mov eax, dword [esp + 0x28]
sub eax, dword [esi + 0x20]
mov dword [esp + 0x28], eax
mov dword [esp + 0xc8], eax
jmp 0x4eba57
mov dword [esp + 0xc8], ebx
add ebx, dword [esi + 0x24]
push 0x58da28
push edi
call fcn.004185c5
cmp eax, 0xffffffff
je 0x4eba6d
mov eax, dword [esp + 0x1c]
jmp 0x4eba96
push str.bottom
push edi
call fcn.004185c5
cmp eax, 0xffffffff
mov eax, dword [esp + 0x24]
je 0x4eba86
sub eax, dword [esi + 0x24]
jmp 0x4eba96
sub eax, dword [esi + 0x24]
sub eax, dword [esp + 0x1c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x20]
add ecx, dword [esp + 0xc8]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
mov ecx, dword [esi + 0x24]
add ecx, eax
mov dword [esp + 0xd4], ecx
mov ecx, dword [esi]
mov eax, dword [ecx]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0xd8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x4c]
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x58]
push 0x28
cdq
pop ecx
idiv ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], eax
jb 0x4eba0b
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0xa0]
push 0x28
cdq
pop esi
idiv esi
and dword [esp + 0x10], 0
test eax, eax
jbe 0x4ebbdd
push dword [esp + 0x10]
lea esi, [esp + 0x98]
call fcn.00454699
mov esi, eax
xor eax, eax
lea edi, [esp + 0xcc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x58da28
lea edi, [esi + 4]
mov dword [esp + 0xcc], ebx
add ebx, dword [esi + 0x24]
push edi
call fcn.004185c5
cmp eax, 0xffffffff
je 0x4ebb53
mov eax, dword [esp + 0x1c]
jmp 0x4ebb7c
push str.bottom
push edi
call fcn.004185c5
cmp eax, 0xffffffff
mov eax, dword [esp + 0x24]
je 0x4ebb6c
sub eax, dword [esi + 0x24]
jmp 0x4ebb7c
sub eax, dword [esp + 0x1c]
sub eax, dword [esi + 0x24]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x20]
add ecx, dword [esp + 0xc8]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
mov ecx, dword [esi + 0x24]
add ecx, eax
mov dword [esp + 0xd4], ecx
mov ecx, dword [esi]
mov eax, dword [ecx]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0xd8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x4c]
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0xa0]
push 0x28
cdq
pop ecx
idiv ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], eax
jb 0x4ebb12
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x8c]
sub eax, dword [esp + 0x88]
push 0x28
cdq
pop esi
idiv esi
mov esi, eax
test esi, esi
jbe 0x4ebd59
mov eax, ecx
sub eax, ebx
sub eax, dword [esp + 0x2c]
xor edx, edx
div esi
mov dword [esp + 0x38], eax
test eax, eax
jle 0x4ebe45
and dword [esp + 0x10], 0
mov dword [esp + 0x40], edx
test esi, esi
jbe 0x4ebd59
push dword [esp + 0x10]
lea esi, [esp + 0x80]
call fcn.00454699
mov edx, dword [esp + 0x48]
mov ecx, dword [edx + 0x2b0]
lea esi, [esp + 0x18]
lea edi, [esp + 0xc8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x30], eax
mov dword [esp + 0xc8], ebx
test ecx, ecx
je 0x4ebc62
cmp ecx, dword [esp + 0x38]
jle 0x4ebc88
mov ecx, dword [edx + 0x2b4]
mov esi, dword [esp + 0x38]
cmp esi, ecx
jl 0x4ebc88
cmp dword [esp + 0x40], 0
lea ecx, [esi + ebx]
mov dword [esp + 0xd0], ecx
jle 0x4ebc91
inc ecx
dec dword [esp + 0x40]
jmp 0x4ebc8a
add ecx, ebx
mov dword [esp + 0xd0], ecx
mov edx, dword [edx + 0x2b8]
mov dword [esp + 0x14], ecx
test edx, edx
jle 0x4ebca2
mov dword [eax + 0x24], edx
lea esi, [eax + 4]
push 0x58da28
push esi
call fcn.004185c5
cmp eax, 0xffffffff
je 0x4ebcbb
mov eax, dword [esp + 0x1c]
jmp 0x4ebce8
push str.bottom
push esi
call fcn.004185c5
mov ecx, dword [esp + 0x30]
cmp eax, 0xffffffff
mov eax, dword [esp + 0x24]
je 0x4ebcd8
sub eax, dword [ecx + 0x24]
jmp 0x4ebce8
sub eax, dword [ecx + 0x24]
sub eax, dword [esp + 0x1c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x24]
mov ecx, dword [ecx]
mov dword [esp + 0xcc], eax
add edx, eax
mov eax, dword [ecx]
mov dword [esp + 0xd4], edx
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0xd8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x4c]
xor eax, eax
cmp ebx, dword [esp + 0x28]
setl al
xor ebx, ebx
push eax
mov eax, dword [esp + 0x34]
mov esi, dword [eax]
push 0x18
call fcn.004bb4fc
mov eax, dword [esp + 0x8c]
sub eax, dword [esp + 0x88]
push 0x28
cdq
pop ecx
idiv ecx
inc dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
jb 0x4ebc24
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
lea edx, [ebx + eax]
cmp edx, ecx
jle 0x4ebd6c
sub ecx, eax
mov dword [esp + 0x14], ecx
mov ebx, ecx
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x70]
push 0x28
cdq
pop ecx
idiv ecx
and dword [esp + 0x10], 0
test eax, eax
jbe 0x4ebe45
push dword [esp + 0x10]
lea esi, [esp + 0x68]
call fcn.00454699
mov esi, eax
xor eax, eax
lea edi, [esp + 0xcc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x58da28
lea edi, [esi + 4]
mov dword [esp + 0xcc], ebx
add ebx, dword [esi + 0x24]
push edi
call fcn.004185c5
cmp eax, 0xffffffff
je 0x4ebdc5
mov eax, dword [esp + 0x1c]
jmp 0x4ebdee
push str.bottom
push edi
call fcn.004185c5
cmp eax, 0xffffffff
mov eax, dword [esp + 0x24]
je 0x4ebdde
sub eax, dword [esi + 0x24]
jmp 0x4ebdee
sub eax, dword [esi + 0x24]
sub eax, dword [esp + 0x1c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x20]
add ecx, dword [esp + 0xc8]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
mov ecx, dword [esi + 0x24]
add ecx, eax
mov dword [esp + 0xd4], ecx
mov ecx, dword [esi]
mov eax, dword [ecx]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0xd8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x4c]
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x70]
push 0x28
cdq
pop ecx
idiv ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], eax
jb 0x4ebd87
lea esi, [esp + 0x7c]
call fcn.004ebee2
lea esi, [esp + 0x64]
call fcn.004ebee2
lea esi, [esp + 0x94]
call fcn.004ebee2
lea esi, [esp + 0x4c]
call fcn.004ebee2
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0052f7d0
mov esp, ebp
pop ebp
ret