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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov esi, ecx
call sym.DTLUI.dll_public_virtual:_void___thiscall_DuiLib::CControlUI::SetPos_class_DuiLib::CDuiRect_const__
mov eax, dword [esi + 0x130]
mov ecx, dword [esi + 0x134]
mov edi, dword [esi + 0x138]
mov ebx, dword [esi + 0x13c]
add eax, dword [esi + 0x748]
add ecx, dword [esi + 0x74c]
sub edi, dword [esi + 0x750]
sub ebx, dword [esi + 0x754]
cmp dword [esi + 0x768], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebx
je 0x1003a188
mov ecx, dword [esi + 0x768]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe4]
call eax
test al, al
je 0x1003a188
mov ecx, dword [esi + 0x768]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
call eax
mov edx, dword [esi]
sub dword [esp + 0x58], eax
mov eax, dword [edx + 0x190]
mov ecx, esi
call eax
test al, al
jne 0x1003a188
mov ecx, dword [esi + 0x768]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
call eax
sub edi, eax
mov dword [esp + 0x48], edi
cmp dword [esi + 0x76c], 0
je 0x1003a1d9
mov ecx, dword [esi + 0x76c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe4]
call eax
test al, al
je 0x1003a1d9
mov ecx, dword [esi + 0x76c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
call eax
mov edx, dword [esi]
sub dword [esp + 0x5c], eax
mov eax, dword [edx + 0x190]
mov ecx, esi
call eax
test al, al
jne 0x1003a1d9
mov ecx, dword [esi + 0x76c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
call eax
sub ebx, eax
mov dword [esp + 0x4c], ebx
mov eax, dword [esi + 0x744]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
test ecx, 0xfffffffc
jne 0x1003a20b
mov edx, dword [esi]
mov edx, dword [edx + 0x1e4]
push 0
push 0
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x768], 0
je 0x1003a23b
mov ecx, dword [esi + 0x768]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe4]
call edx
test al, al
je 0x1003a23b
mov ecx, dword [esi + 0x768]
mov eax, dword [ecx]
mov edx, dword [eax + 0x64]
call edx
sub edi, eax
mov dword [esp + 0x48], edi
cmp dword [esi + 0x76c], 0
je 0x1003a26b
mov ecx, dword [esi + 0x76c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe4]
call edx
test al, al
je 0x1003a26b
mov ecx, dword [esi + 0x76c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x6c]
call edx
sub ebx, eax
mov dword [esp + 0x4c], ebx
sub edi, dword [esp + 0x40]
mov eax, ebx
sub eax, dword [esp + 0x44]
cmp dword [esi + 0x76c], 0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
je 0x1003a2b0
mov ecx, dword [esi + 0x76c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe4]
call edx
test al, al
je 0x1003a2b0
mov eax, dword [esi + 0x76c]
mov eax, dword [eax + 0x744]
add eax, edi
mov dword [esp + 0x30], eax
mov edi, dword [esi + 0x744]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
test ecx, 0xfffffffc
jle 0x1003a3d2
lea ebx, [ebx]
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 0xc]
sar edx, 2
cmp dword [esp + 0xc], edx
jb 0x1003a2f5
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0xc]
mov edi, dword [eax + ecx*4]
mov edx, dword [edi]
mov eax, dword [edx + 0xe4]
mov ecx, edi
call eax
test al, al
je 0x1003a3b2
mov edx, dword [edi]
mov eax, dword [edx + 0x110]
mov ecx, edi
call eax
test al, al
jne 0x1003a3b2
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [edi]
mov edx, dword [edx + 0x130]
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call edx
cmp dword [esp + 0x24], 0
jne 0x1003a34f
inc dword [esp + 0x18]
jmp 0x1003a38d
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
cmp dword [esp + 0x24], eax
jge 0x1003a36b
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
mov dword [esp + 0x24], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
cmp dword [esp + 0x24], eax
jle 0x1003a38d
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov dword [esp + 0x24], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x54]
mov ecx, edi
call edx
lea ebx, [eax + 8]
mov eax, dword [edi]
mov edx, dword [eax + 0x54]
mov ecx, edi
call edx
mov ecx, dword [ebx]
add ecx, dword [esp + 0x24]
add ecx, dword [eax]
add dword [esp + 0x14], ecx
inc dword [esp + 0x10]
mov edi, dword [esi + 0x744]
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 0xc]
mov eax, dword [esp + 0xc]
inc eax
sar edx, 2
cmp eax, edx
mov dword [esp + 0xc], eax
jl 0x1003a2e0
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x758]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
dec eax
imul edx, eax
xor ebx, ebx
add ecx, edx
cmp edi, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], ebx
jle 0x1003a413
mov eax, dword [esp + 0x30]
sub eax, ecx
cdq
idiv edi
xor ecx, ecx
cmp eax, ebx
setl cl
dec ecx
and ecx, eax
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], edi
cmp dword [esi + 0x76c], ebx
je 0x1003a459
mov ecx, dword [esi + 0x76c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe4]
call eax
test al, al
je 0x1003a459
mov ecx, dword [esi + 0x76c]
mov eax, edi
sub eax, dword [ecx + 0x748]
mov dword [esp + 0x10], eax
mov edi, dword [esi + 0x744]
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 0xc]
xor ebx, ebx
mov dword [esp + 0x18], ebx
test edx, 0xfffffffc
jle 0x1003a64d
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
sar eax, 2
cmp ebx, eax
jb 0x1003a48a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [edi + 0xc]
mov edi, dword [ecx + ebx*4]
mov edx, dword [edi]
mov eax, dword [edx + 0xe4]
mov ecx, edi
call eax
test al, al
je 0x1003a631
mov edx, dword [edi]
mov eax, dword [edx + 0x110]
mov ecx, edi
call eax
test al, al
je 0x1003a4c6
mov edx, dword [esi]
mov eax, dword [edx + 0x1e0]
push ebx
mov ecx, esi
call eax
jmp 0x1003a631
mov edx, dword [edi]
mov eax, dword [edx + 0x54]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [edi]
mov edx, dword [edx + 0x130]
mov ebx, eax
mov eax, dword [esp + 0x38]
sub eax, dword [ebx]
push ecx
push eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call edx
cmp dword [esp + 0x30], 0
mov ecx, edi
jne 0x1003a503
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
call eax
cmp dword [esp + 0x30], eax
jge 0x1003a51d
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
mov dword [esp + 0x30], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
cmp dword [esp + 0x30], eax
jle 0x1003a53f
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
mov dword [esp + 0x30], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x6c]
mov ecx, edi
call eax
mov dword [esp + 0x34], eax
test eax, eax
jne 0x1003a564
mov eax, dword [esp + 0x4c]
sub eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
sub eax, dword [esp + 0x44]
mov dword [esp + 0x34], eax
test eax, eax
jge 0x1003a56e
mov dword [esp + 0x34], 0
mov edx, dword [edi]
mov eax, dword [edx + 0x88]
mov ecx, edi
call eax
cmp dword [esp + 0x34], eax
jge 0x1003a590
mov edx, dword [edi]
mov eax, dword [edx + 0x88]
mov ecx, edi
call eax
mov dword [esp + 0x34], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x90]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jle 0x1003a5b6
mov edx, dword [edi]
mov eax, dword [edx + 0x90]
mov ecx, edi
call eax
mov ecx, eax
mov dword [esp + 0x34], ecx
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x44]
add eax, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
add eax, ecx
mov ecx, dword [ebx]
mov dword [esp + 0x20], eax
lea eax, [ecx + edx]
mov edx, dword [esp + 0x10]
add ecx, edx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x1c]
add eax, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x3c]
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 0x758]
mov ebx, dword [ebx]
lea edx, [eax + ecx]
add edx, ebx
add edx, dword [esp + 0x30]
lea edi, [eax + ebx]
add dword [esp + 0x10], edx
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
add eax, ecx
add edi, edx
add dword [esp + 0xc], edi
add eax, edx
sub dword [esp + 0x38], eax
mov edi, dword [esi + 0x744]
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
inc ebx
sar eax, 2
cmp ebx, eax
mov dword [esp + 0x18], ebx
jl 0x1003a477
mov ecx, dword [esi + 0x758]
imul ecx, dword [esp + 0x24]
add dword [esp + 0xc], ecx
cmp dword [esi + 0x76c], 0
je 0x1003a846
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x76c]
mov eax, dword [ecx]
cmp dword [esp + 0xc], edx
mov edx, dword [eax + 0xe4]
jle 0x1003a796
call edx
mov ecx, dword [esi + 0x76c]
test al, al
je 0x1003a6e4
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x48]
add eax, dword [esp + 0xc]
cmp dword [ecx + 0x744], eax
je 0x1003a846
mov dword [ecx + 0x744], eax
test eax, eax
jge 0x1003a6bd
mov dword [ecx + 0x744], 0
mov eax, dword [ecx + 0x744]
cmp dword [ecx + 0x748], eax
jle 0x1003a6d1
mov dword [ecx + 0x748], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
lea edx, [ecx + 0x130]
push edx
call eax
jmp 0x1003a846
mov edx, dword [ecx]
mov eax, dword [edx + 0xe8]
push 1
call eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x48]
mov ecx, dword [esi + 0x76c]
add eax, dword [esp + 0xc]
cmp dword [ecx + 0x744], eax
je 0x1003a740
mov dword [ecx + 0x744], eax
test eax, eax
jge 0x1003a71e
mov dword [ecx + 0x744], 0
mov eax, dword [ecx + 0x744]
cmp dword [ecx + 0x748], eax
jle 0x1003a732
mov dword [ecx + 0x748], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
lea eax, [ecx + 0x130]
push eax
call edx
mov edi, dword [esi + 0x76c]
cmp dword [edi + 0x748], 0
je 0x1003a839
mov eax, dword [edi + 0x744]
mov dword [edi + 0x748], 0
test eax, eax
jge 0x1003a76d
mov dword [edi + 0x748], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x3c]
lea ecx, [edi + 0x130]
push ecx
mov ecx, edi
call edx
mov ecx, dword [edi + 0x750]
test ecx, ecx
je 0x1003a839
push 0
push 0
push 0
jmp 0x1003a824
call edx
test al, al
je 0x1003a846
mov ecx, dword [esi + 0x76c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe8]
xor ebx, ebx
push ebx
call edx
mov ecx, dword [esi + 0x76c]
cmp dword [ecx + 0x744], ebx
je 0x1003a7e3
cmp dword [ecx + 0x748], ebx
mov dword [ecx + 0x744], ebx
jle 0x1003a7d5
mov dword [ecx + 0x748], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
lea edx, [ecx + 0x130]
push edx
call eax
mov edi, dword [esi + 0x76c]
cmp dword [edi + 0x748], ebx
je 0x1003a839
mov eax, dword [edi + 0x744]
cmp eax, ebx
mov dword [edi + 0x748], ebx
jge 0x1003a807
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
mov ecx, dword [edi + 0x750]
cmp ecx, ebx
je 0x1003a839
push ebx
push ebx
push ebx
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
push str.scroll
call edx
mov ecx, dword [edi + 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 [esi + 0x76c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x6c]
call edx
mov ecx, dword [esp + 0xc]
mov eax, dword [esi]
mov eax, dword [eax + 0x1e4]
push 0
push ecx
lea edx, [esp + 0x58]
push edx
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4