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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x6a8c7c]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ecx + 0x20]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], esi
test edi, edi
jle 0x4d3577
sub eax, esi
cdq
idiv edi
mov edi, eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x1c], edi
jmp 0x4d357a
mov edi, dword [ecx + 0x1c]
test edi, edi
jne 0x4d358a
mov dword [ecx + 0x1c], 1
mov edi, 1
sub eax, esi
mov dword [esp + 0x54], esi
cdq
xor ecx, ecx
idiv edi
mov dword [esp + 8], ecx
imul edi, eax
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x18]
mov edx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ecx
sub edx, edi
sub edx, esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0xc]
mov edi, dword [edx]
mov dword [esp + 0x2c], edi
cmp edi, dword [edx + 4]
je 0x4d361f
nop
mov esi, dword [edi]
mov ecx, esi
mov dword [esp + 0x10], esi
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x4d3606
cmp byte [esi + 0x58], 0
je 0x4d3642
movups xmm0, xmmword [ebp + 0x10]
sub esp, 0x10
lea ecx, [esp + 0x88]
mov eax, esp
mov edx, esi
movups xmmword [eax], xmm0
call fcn.004ae840
add esp, 0x10
mov ecx, dword [esp + 8]
mov eax, dword [ebp + 0xc]
add edi, 4
mov dword [esp + 0x2c], edi
cmp edi, dword [eax + 4]
jne 0x4d35d0
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
mov edx, dword [esp + 0x5c]
sub eax, esi
pop edi
pop esi
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xa4]
mov dword [edx], eax
xor ecx, esp
mov eax, edx
call fcn.005d584c
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
test ecx, ecx
lea edx, [eax + 1]
cmovle edx, eax
lea eax, [ecx - 1]
cmovle eax, ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
add ecx, 0x1c
mov eax, dword [esp + 0x18]
cdq
mov dword [esp + 0x30], ecx
idiv dword [ecx]
test edx, edx
jne 0x4d37e3
mov eax, dword [esp + 0x18]
mov esi, edi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
cmp edi, dword [eax + 4]
je 0x4d37df
mov edi, dword [esp + 0x10]
nop dword [eax + eax]
mov ecx, dword [esi]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x4d37cc
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x58], 0
jne 0x4d37cc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc0]
cmp eax, method.ui::CheckBoxTemplate_class_ui::Box_.virtual_192
jne 0x4d398b
movups xmm0, xmmword [ecx + 0xb4]
movups xmmword [esp + 0x80], xmm0
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0xc]
sub ecx, dword [esp + 0x88]
sub ecx, dword [esp + 0x80]
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x18]
je 0x4d3726
mov edi, dword [esp + 0x30]
inc eax
cdq
idiv dword [edi]
mov edi, dword [esp + 0x10]
test edx, edx
je 0x4d3726
mov eax, dword [esp + 0x1c]
sub ecx, dword [eax + 0x14]
jmp 0x4d3734
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov edx, dword [edi + 0x30]
cmp ecx, edx
mov eax, dword [edi + 0x38]
cmovge edx, ecx
test eax, eax
js 0x4d3748
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x14]
sub esp, 8
mov eax, esp
mov dword [eax], edx
lea edx, [esp + 0x4c]
mov dword [eax + 4], 0x270f
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
mov ecx, dword [esp + 0x44]
cmp ecx, dword [edi + 0x30]
mov eax, dword [edi + 0x38]
cmovl ecx, dword [edi + 0x30]
mov dword [esp + 0x44], ecx
test eax, eax
js 0x4d3783
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x48]
cmp edx, dword [edi + 0x34]
mov eax, dword [esp + 0x8c]
cmovl edx, dword [edi + 0x34]
cmp edx, dword [edi + 0x3c]
mov ecx, dword [esp + 8]
cmovg edx, dword [edi + 0x3c]
inc ecx
add eax, dword [esp + 0x84]
add eax, edx
mov dword [esp + 8], ecx
cmp dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
cmovg eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, ecx
mov ecx, dword [esp + 0x30]
cdq
idiv dword [ecx]
test edx, edx
je 0x4d37db
mov eax, dword [ebp + 0xc]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x4d36a0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 0xc0]
cmp eax, method.ui::CheckBoxTemplate_class_ui::Box_.virtual_192
jne 0x4d399a
movups xmm0, xmmword [esi + 0xb4]
movups xmmword [esp + 0x90], xmm0
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x14]
test edx, edx
jns 0x4d3813
add edx, 1
sar edx, 1
mov eax, dword [esp + 0x90]
sub esp, 8
mov ecx, dword [esp + 0x14]
add ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x44]
sub ecx, edx
mov dword [esp + 0x1c], eax
sub ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x28]
mov esi, ecx
add eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x9c]
add edx, dword [esp + 0x3c]
sub esi, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov ecx, eax
mov dword [esp + 0x10], eax
sub ecx, edx
mov eax, esp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], edx
lea edx, [esp + 0x2c]
push edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax], esi
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edx, dword [esp + 0x24]
cmp edx, 0xffffffff
mov ecx, dword [esp + 0x10]
cmove edx, esi
mov esi, dword [esp + 0x28]
cmp esi, 0xffffffff
mov dword [esp + 0x24], edx
cmove esi, dword [esp + 0x40]
mov dword [esp + 0x28], esi
cmp edx, dword [ecx + 0x30]
cmovl edx, dword [ecx + 0x30]
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 0x38]
mov dword [esp + 0xc], edx
test eax, eax
js 0x4d38bf
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x24], edx
cmp esi, dword [ecx + 0x34]
mov eax, dword [esp + 0x14]
cmovl esi, dword [ecx + 0x34]
mov dword [esp + 0x28], esi
mov ecx, dword [ecx + 0x3c]
cmp esi, ecx
cmovg esi, ecx
sub eax, edx
add eax, dword [esp + 0x2c]
sub esp, 0x10
cdq
sub eax, edx
mov dword [esp + 0x38], esi
mov esi, eax
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x38]
add eax, dword [esp + 0x18]
cdq
sub eax, edx
sar esi, 1
mov ecx, eax
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0x1c]
add eax, esi
sar ecx, 1
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x38]
add eax, ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x7c], eax
mov eax, esp
movups xmm0, xmmword [esp + 0x70]
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x18], eax
cdq
idiv dword [ecx]
test edx, edx
jne 0x4d3973
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
add eax, dword [esp + 0x20]
add dword [esp + 0x34], eax
sub ecx, dword [ebp + 0x14]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], eax
mov dword [esp + 8], ecx
jmp 0x4d360a
mov ecx, dword [esp + 8]
sub ecx, dword [ebp + 0x14]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
jmp 0x4d360a
lea edx, [esp + 0x80]
push edx
call eax
jmp 0x4d36ed
lea ecx, [esp + 0x90]
push ecx
mov ecx, esi
call eax
jmp 0x4d3805