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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov edi, ecx
call sym.DTLUI.dll_public_virtual:_void___thiscall_DuiLib::CControlUI::SetPos_class_DuiLib::CDuiRect_const__
mov ecx, dword [edi + 0x134]
add ecx, dword [edi + 0x74c]
mov eax, dword [edi + 0x130]
mov esi, dword [edi + 0x138]
mov ebx, dword [edi + 0x13c]
add eax, dword [edi + 0x748]
sub esi, dword [edi + 0x750]
sub ebx, dword [edi + 0x754]
mov dword [esp + 0x5c], ecx
mov ecx, dword [edi + 0x768]
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x13], 0
test ecx, ecx
je 0x100588ec
mov edx, dword [ecx]
mov eax, dword [edx + 0xe4]
call eax
test al, al
je 0x100588ec
mov ecx, dword [edi + 0x768]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
mov byte [esp + 0x13], 1
call eax
sub esi, eax
mov dword [esp + 0x60], esi
mov ecx, dword [edi + 0x76c]
test ecx, ecx
je 0x10058917
mov edx, dword [ecx]
mov eax, dword [edx + 0xe4]
call eax
test al, al
je 0x10058917
mov ecx, dword [edi + 0x76c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
call eax
sub ebx, eax
mov dword [esp + 0x64], ebx
cmp dword [edi + 0x774], 0
je 0x10058a5b
mov ecx, dword [esp + 0x58]
mov esi, dword [edi + 0xf00]
mov eax, dword [esp + 0x5c]
add eax, dword [edi + 0xf04]
add esi, dword [esp + 0x58]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x60]
sub ecx, dword [edi + 0xf08]
mov edx, ebx
sub edx, dword [edi + 0xf0c]
mov dword [esp + 0x38], esi
mov esi, dword [edi + 0x774]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
call fcn.100562e0
cmp byte [esp + 0x13], 0
je 0x10058a5b
mov ecx, dword [edi + 0x768]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe4]
call eax
test al, al
je 0x1005899d
cmp byte [edi + 0x778], 0
je 0x10058a5b
mov ecx, dword [edi + 0x768]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
call eax
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x38]
mov edx, dword [edi + 0x774]
add eax, ecx
mov dword [esp + 0x20], eax
or eax, 0xffffffff
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [edi]
mov dword [esp + 0x1c], 0
mov esi, dword [edx + 0xc]
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
mov eax, dword [eax + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [eax]
push 1
push 0
push 0
push ecx
push 1
mov ecx, esi
call edx
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
cmp dword [esp + 0x1c], eax
jle 0x10058a39
mov ecx, dword [edi + 0x768]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe8]
push 1
call eax
mov ecx, dword [edi + 0x768]
push 0
call sym.DTLUI.dll_public:_void___thiscall_DuiLib::CScrollBarUI::SetScrollPos_int_
mov byte [edi + 0x778], 1
jmp 0x10058a5b
cmp byte [edi + 0x778], 0
je 0x10058a5b
mov ecx, dword [edi + 0x768]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe8]
push 0
call eax
mov byte [edi + 0x778], 0
mov ecx, dword [edi + 0x768]
test ecx, ecx
je 0x10058aae
mov edx, dword [ecx]
mov eax, dword [edx + 0xe4]
call eax
test al, al
je 0x10058aae
mov ecx, dword [edi + 0x768]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
call eax
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
add eax, esi
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi + 0x768]
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x54], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x48]
push eax
call edx
jmp 0x10058ab2
mov esi, dword [esp + 0x60]
mov ecx, dword [edi + 0x76c]
test ecx, ecx
je 0x10058aff
mov eax, dword [ecx]
mov edx, dword [eax + 0xe4]
call edx
test al, al
je 0x10058aff
mov ecx, dword [edi + 0x76c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x6c]
call edx
mov ecx, dword [esp + 0x58]
add eax, ebx
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0x76c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x48]
push eax
call edx
sub esi, dword [esp + 0x58]
sub ebx, dword [esp + 0x5c]
mov ecx, dword [edi + 0x76c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebx
test ecx, ecx
je 0x10058b3d
mov eax, dword [ecx]
mov edx, dword [eax + 0xe4]
call edx
test al, al
je 0x10058b3d
mov eax, dword [edi + 0x76c]
mov eax, dword [eax + 0x744]
add eax, esi
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x744]
mov edx, dword [eax + 0x10]
sub edx, dword [eax + 0xc]
xor esi, esi
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
test edx, 0xfffffffc
jle 0x10058c6a
jmp 0x10058b70
mov esi, dword [edi + 0x744]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
cmp ebx, eax
jb 0x10058b89
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov esi, dword [ecx + ebx*4]
mov edx, dword [esi]
mov eax, dword [edx + 0xe4]
mov ecx, esi
call eax
test al, al
je 0x10058c46
mov edx, dword [esi]
mov eax, dword [edx + 0x110]
mov ecx, esi
call eax
test al, al
jne 0x10058c46
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esi]
mov edx, dword [edx + 0x130]
push eax
push ecx
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x2c], 0
jne 0x10058bdf
inc dword [esp + 0x14]
jmp 0x10058c1d
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
mov ecx, esi
call edx
cmp dword [esp + 0x2c], eax
jge 0x10058bfb
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
mov ecx, esi
call edx
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
mov ecx, esi
call edx
cmp dword [esp + 0x2c], eax
jle 0x10058c1d
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
mov ecx, esi
call edx
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
mov ecx, esi
call edx
lea ebx, [eax + 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
mov ecx, esi
call edx
mov ecx, dword [ebx]
add ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
add ecx, dword [eax]
add dword [esp + 0x18], ecx
inc dword [esp + 0x1c]
mov eax, dword [edi + 0x744]
mov edx, dword [eax + 0x10]
sub edx, dword [eax + 0xc]
inc ebx
sar edx, 2
cmp ebx, edx
mov dword [esp + 0x20], ebx
jl 0x10058b70
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 0x758]
dec eax
imul edx, eax
xor ebx, ebx
add ecx, edx
cmp esi, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
jle 0x10058ca3
mov eax, dword [esp + 0x38]
sub eax, ecx
cdq
idiv esi
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x76c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x14], esi
test ecx, ecx
je 0x10058ce5
mov edx, dword [ecx]
mov eax, dword [edx + 0xe4]
call eax
test al, al
je 0x10058ce5
mov ecx, dword [edi + 0x76c]
mov eax, esi
sub eax, dword [ecx + 0x748]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x744]
mov edx, dword [eax + 0x10]
sub edx, dword [eax + 0xc]
mov dword [esp + 0x18], 0
test edx, 0xfffffffc
jle 0x10058f08
jmp 0x10058d10
mov esi, dword [edi + 0x744]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
cmp dword [esp + 0x18], eax
jb 0x10058d2b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
mov esi, dword [ecx + edx*4]
mov eax, dword [esi]
mov edx, dword [eax + 0xe4]
mov ecx, esi
call edx
test al, al
je 0x10058ee4
mov eax, dword [esi]
mov edx, dword [eax + 0x110]
mov ecx, esi
call edx
test al, al
je 0x10058d6f
mov ecx, dword [esp + 0x18]
mov eax, dword [edi]
mov edx, dword [eax + 0x1e0]
push ecx
mov ecx, edi
call edx
jmp 0x10058ee4
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi]
mov edx, dword [edx + 0x130]
mov ebx, eax
mov eax, dword [esp + 0x48]
sub eax, dword [ebx]
push ecx
push eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x38], 0
mov ecx, esi
jne 0x10058dac
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
call eax
cmp dword [esp + 0x38], eax
jge 0x10058dc6
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
mov ecx, esi
call eax
mov dword [esp + 0x38], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
cmp dword [esp + 0x38], eax
jle 0x10058de8
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
mov dword [esp + 0x38], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x6c]
mov ecx, esi
call eax
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x10058e0d
mov eax, dword [esp + 0x64]
sub eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
test eax, eax
jge 0x10058e17
mov dword [esp + 0x3c], 0
mov edx, dword [esi]
mov eax, dword [edx + 0x88]
mov ecx, esi
call eax
cmp dword [esp + 0x3c], eax
jge 0x10058e39
mov edx, dword [esi]
mov eax, dword [edx + 0x88]
mov ecx, esi
call eax
mov dword [esp + 0x3c], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x90]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jle 0x10058e5f
mov edx, dword [esi]
mov eax, dword [edx + 0x90]
mov ecx, esi
call eax
mov ecx, eax
mov dword [esp + 0x3c], ecx
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [ebx]
add eax, dword [esp + 0x5c]
add ecx, edx
add ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 4]
add ecx, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx]
add ecx, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call edx
mov eax, dword [ebx + 8]
mov ebx, dword [ebx]
mov ecx, dword [edi + 0x758]
lea edx, [eax + ebx]
add edx, ecx
add edx, dword [esp + 0x38]
lea esi, [eax + ebx]
add dword [esp + 0x14], edx
mov edx, dword [esp + 0x38]
add eax, ecx
add esi, edx
add dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x1c]
add eax, edx
sub dword [esp + 0x48], eax
mov eax, dword [edi + 0x744]
mov edx, dword [eax + 0x10]
sub edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x18]
inc ecx
sar edx, 2
cmp ecx, edx
mov dword [esp + 0x18], ecx
jl 0x10058d10
mov esi, dword [esp + 0x58]
mov eax, dword [edi + 0x758]
imul eax, dword [esp + 0x2c]
mov ecx, dword [edi + 0x76c]
add ebx, eax
test ecx, ecx
je 0x100590fe
cmp ebx, dword [esp + 0x34]
jle 0x10059046
mov edx, dword [ecx]
mov eax, dword [edx + 0xe4]
call eax
test al, al
je 0x10058f94
sub ebx, dword [esp + 0x60]
mov edi, dword [edi + 0x76c]
add ebx, esi
cmp dword [edi + 0x744], ebx
je 0x100590fe
mov dword [edi + 0x744], ebx
test ebx, ebx
jge 0x10058f67
mov dword [edi + 0x744], 0
mov eax, dword [edi + 0x744]
cmp dword [edi + 0x748], eax
jle 0x10058f7b
mov dword [edi + 0x748], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x3c]
lea eax, [edi + 0x130]
push eax
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [edi + 0x76c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe8]
push 1
call edx
sub ebx, dword [esp + 0x60]
mov ecx, dword [edi + 0x76c]
add ebx, esi
cmp dword [ecx + 0x744], ebx
je 0x10058ff0
mov dword [ecx + 0x744], ebx
test ebx, ebx
jge 0x10058fce
mov dword [ecx + 0x744], 0
mov eax, dword [ecx + 0x744]
cmp dword [ecx + 0x748], eax
jle 0x10058fe2
mov dword [ecx + 0x748], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
lea edx, [ecx + 0x130]
push edx
call eax
mov ebx, dword [edi + 0x76c]
cmp dword [ebx + 0x748], 0
je 0x100590f1
mov eax, dword [ebx + 0x744]
mov dword [ebx + 0x748], 0
test eax, eax
jge 0x1005901d
mov dword [ebx + 0x748], eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
lea eax, [ebx + 0x130]
push eax
mov ecx, ebx
call edx
mov ecx, dword [ebx + 0x750]
test ecx, ecx
je 0x100590f1
push 0
push 0
push 0
jmp 0x100590dc
mov eax, dword [ecx]
mov edx, dword [eax + 0xe4]
call edx
test al, al
je 0x100590fe
mov ecx, dword [edi + 0x76c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe8]
xor esi, esi
push esi
call edx
mov ecx, dword [edi + 0x76c]
cmp dword [ecx + 0x744], esi
je 0x1005909b
cmp dword [ecx + 0x748], esi
mov dword [ecx + 0x744], esi
jle 0x1005908d
mov dword [ecx + 0x748], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
lea edx, [ecx + 0x130]
push edx
call eax
mov ebx, dword [edi + 0x76c]
cmp dword [ebx + 0x748], esi
je 0x100590f1
mov eax, dword [ebx + 0x744]
cmp eax, esi
mov dword [ebx + 0x748], esi
jge 0x100590bf
mov dword [ebx + 0x748], eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
lea eax, [ebx + 0x130]
push eax
mov ecx, ebx
call edx
mov ecx, dword [ebx + 0x750]
cmp ecx, esi
je 0x100590f1
push esi
push esi
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
push str.scroll
call edx
mov ecx, dword [ebx + 0x18]
push eax
call sym.DTLUI.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov ecx, dword [edi + 0x76c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x6c]
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4