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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x14]
and dword [edi + 0x18], 0x7fffffff
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x1c]
lea esi, [edi + 0x64]
mov dword [edi + 0xc], edx
mov edx, dword [esi]
mov dword [edi + 8], ecx
mov dword [edi + 0x10], eax
mov eax, dword [edx + 4]
mov ecx, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
call eax
mov ebx, eax
mov dword [esp + 0x20], ebx
cmp dword [edi + 0x88], ebx
je 0x42ec6c
mov eax, dword [edi + 0x84]
test eax, eax
je 0x42ec32
push eax
call fcn.0045f531
add esp, 4
xor ecx, ecx
mov eax, ebx
mov edx, 0x14
mul edx
seto cl
mov dword [edi + 0x88], ebx
neg ecx
or ecx, eax
push ecx
call fcn.0045ea51
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42ec64
mov edx, dword [esp + 0x20]
call fcn.004225a0
jmp 0x42ec66
xor ebx, ebx
mov dword [edi + 0x84], ebx
mov eax, dword [edi + 4]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [edi + 0x88], eax
jle 0x42ed5d
mov edx, dword [edi + 0x84]
mov dword [esp + 0x14], eax
jmp 0x42ec95
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [eax + edx + 4], ecx
mov edx, dword [edi + 0x84]
mov ecx, dword [edi + 8]
mov dword [eax + edx + 8], ecx
mov edx, dword [esi]
mov eax, dword [esp + 0x10]
mov edx, dword [edx]
push eax
mov ecx, esi
call edx
mov esi, eax
call fcn.0041eea0
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
mov ecx, dword [edi]
mov edx, eax
call fcn.0041c4f0
mov edi, dword [ebp + 8]
xor ecx, ecx
push 0x20
lea esi, [esp + 0x28]
mov ebx, eax
mov dword [esp + 0x28], vtable.ui::Rect.0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 0x2710
mov dword [esp + 0x38], 0x64
call fcn.00422260
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov esi, dword [eax + 0x84]
add edx, 0x14
mov dword [ecx + esi + 0xc], edx
mov edx, dword [eax + 0x84]
mov esi, dword [eax + 0x78]
mov dword [ecx + edx + 0x10], esi
mov edx, dword [eax + 0x84]
mov esi, dword [ecx + edx + 0xc]
add esi, dword [eax + 0x7c]
add ecx, 0x14
add dword [esp + 0xc], esi
mov esi, dword [esp + 0x10]
inc esi
cmp esi, dword [eax + 0x88]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov edi, eax
jl 0x42ec91
mov eax, dword [edi + 0x78]
add dword [ebp + 0x14], eax
sub dword [ebp + 0x1c], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x20], ebx
jle 0x42ee1a
jmp 0x42ed7c
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov edx, dword [eax]
push ebx
mov ecx, esi
call edx
mov ecx, dword [ebp + 0x10]
mov esi, eax
movzx eax, word [esi + 0x50]
movzx ebx, word [esi + 0x52]
lea edx, [eax + ecx]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x28], edx
lea edx, [ebx + ecx]
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x2c], edx
movzx edx, word [esi + 0x54]
sub ecx, edx
mov edx, dword [ebp + 0x1c]
sub ecx, eax
movzx eax, word [esi + 0x56]
sub edx, eax
sub esp, 0x14
sub edx, ebx
mov eax, esp
lea ebx, [esp + 0x38]
mov dword [esp + 0x28], esp
mov dword [eax], vtable.ui::Rect.0
cmp eax, ebx
je 0x42ede4
mov ebx, dword [esp + 0x3c]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x40]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov edx, dword [esi]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x2c]
push eax
mov ecx, esi
call edx
mov ebx, dword [esp + 0x18]
mov eax, dword [esi]
mov ecx, esi
cmp ebx, dword [edi + 0x80]
jne 0x42ee06
mov edx, dword [eax + 0x10]
jmp 0x42ee09
mov edx, dword [eax + 0x14]
call edx
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, dword [esp + 0x20]
jl 0x42ed78
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18