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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x6ddc7c]
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 0x4fd667
sub eax, esi
cdq
idiv edi
mov edi, eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x1c], edi
jmp 0x4fd66a
mov edi, dword [ecx + 0x1c]
test edi, edi
jne 0x4fd67a
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 0x4fd70f
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 0x4fd6f6
cmp byte [esi + 0x58], 0
je 0x4fd732
movups xmm0, xmmword [ebp + 0x10]
sub esp, 0x10
lea ecx, [esp + 0x88]
mov eax, esp
mov edx, esi
movups xmmword [eax], xmm0
call fcn.004d8920
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 0x4fd6c0
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.005ff7bd
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 0x4fd8d3
mov eax, dword [esp + 0x18]
mov esi, edi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
cmp edi, dword [eax + 4]
je 0x4fd8cf
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 0x4fd8bc
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x58], 0
jne 0x4fd8bc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc0]
cmp eax, method.ui::ButtonTemplate_class_ui::Box_.virtual_192
jne 0x4fda7b
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 0x4fd816
mov edi, dword [esp + 0x30]
inc eax
cdq
idiv dword [edi]
mov edi, dword [esp + 0x10]
test edx, edx
je 0x4fd816
mov eax, dword [esp + 0x1c]
sub ecx, dword [eax + 0x14]
jmp 0x4fd824
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 0x4fd838
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 0x4fd873
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 0x4fd8cb
mov eax, dword [ebp + 0xc]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x4fd790
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 0xc0]
cmp eax, method.ui::ButtonTemplate_class_ui::Box_.virtual_192
jne 0x4fda8a
movups xmm0, xmmword [esi + 0xb4]
movups xmmword [esp + 0x90], xmm0
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x14]
test edx, edx
jns 0x4fd903
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 0x4fd9af
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 0x4fda63
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 0x4fd6fa
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 0x4fd6fa
lea edx, [esp + 0x80]
push edx
call eax
jmp 0x4fd7dd
lea ecx, [esp + 0x90]
push ecx
mov ecx, esi
call eax
jmp 0x4fd8f5