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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x730]
mov ecx, dword [edi + 0x810]
mov edx, dword [ecx + 0x44]
xor ebx, ebx
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x72c]
add eax, dword [edi + 0x728]
push ebx
add eax, dword [edi + 0x50c]
push ebx
push ebx
push 0x5773ac
mov dword [esp + 0x48], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x54], edx
call dword [sym.imp.GDI32.dll_CreateICW]
mov esi, dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CSize::constructor_int__int_]
push ebx
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], eax
call esi
push ebx
push ebx
lea ecx, [esp + 0x30]
call esi
push ebx
push ebx
lea ecx, [esp + 0x38]
call esi
push ebx
push ebx
lea ecx, [esp + 0x28]
call esi
xor eax, eax
cmp dword [edi + 0x734], ebx
mov word [esp + 0x60], bx
mov dword [esp + 0x62], eax
mov dword [esp + 0x66], eax
mov dword [esp + 0x6a], eax
mov dword [esp + 0x6e], eax
mov word [esp + 0x72], ax
mov word [esp + 0x4c], bx
mov dword [esp + 0x4e], eax
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov word [esp + 0x5e], ax
mov dword [esp + 0x1c], ebx
jle 0x44571b
mov dword [esp + 0x18], ebx
mov esi, dword [edi + 0x738]
add esi, dword [esp + 0x18]
cmp byte [esi + 9], 0
jne 0x445384
mov eax, dword [esp + 0xc]
add eax, 1
cmp eax, 7
mov dword [esp + 0xc], eax
jl 0x4456fc
add dword [esp + 0x10], 1
mov dword [esp + 0xc], ebx
jmp 0x4456fc
mov eax, dword [esi + 0x14]
push eax
lea ecx, [esp + 0x64]
push 0x571094
push ecx
call fcn.00405340
mov eax, dword [esi + 0x20]
lea edx, [eax + eax*4]
lea eax, [edx*2 + 0x57a08e]
push eax
lea ecx, [esp + 0x5c]
push 0x574fd8
push ecx
call fcn.00405340
lea eax, [esp + 0x78]
add esp, 0x18
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4453c0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x64]
lea ecx, [esi + 0x84]
push edx
call fcn.00402120
mov ecx, 0x5711a4
lea eax, [esp + 0x4c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x445416
cmp dx, bx
je 0x445412
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x445416
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4453f0
xor eax, eax
jmp 0x44541b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x44548d
mov eax, dword [esi + 0x1c]
lea eax, [eax + eax*4]
lea ecx, [eax*2 + 0x57a1be]
push ecx
lea edx, [esp + 0x50]
push 0x574fd8
push edx
call fcn.00405340
lea eax, [esp + 0x58]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x445446
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
lea ebx, [esi + 0xa0]
push eax
mov ecx, ebx
call fcn.00402120
lea eax, [esp + 0x4c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x445470
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x4c]
push eax
push ecx
lea ecx, [esi + 0x164]
jmp 0x4454b1
lea eax, [esp + 0x4c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x445494
sub eax, edx
sar eax, 1
lea ebx, [esi + 0xa0]
push eax
lea edx, [esp + 0x50]
push edx
mov ecx, ebx
call fcn.00402120
mov eax, dword [edi + 0x7d8]
add eax, dword [edi + 0x7d0]
imul eax, dword [esp + 0xc]
add eax, dword [esp + 0x48]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x7dc]
add ecx, dword [edi + 0x7d4]
imul ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x7d0]
add edx, eax
mov dword [esi + 0x3c], edx
mov eax, dword [edi + 0x7dc]
add eax, dword [edi + 0x7d4]
mov edx, dword [esp + 0x14]
add eax, ecx
mov dword [esi + 0x40], eax
mov ecx, dword [edi + 0x75c]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esi + 0x9c], 8
mov eax, dword [esi + 0x98]
jb 0x44552b
mov ecx, dword [esi + 0x88]
jmp 0x445531
lea ecx, [esi + 0x88]
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esi + 0x34]
add eax, 6
mov dword [esi + 0x44], eax
mov ecx, dword [esp + 0x3c]
add eax, ecx
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x7d4]
sub eax, dword [esp + 0x44]
cdq
sub eax, edx
mov edx, dword [esi + 0x38]
sar eax, 1
add eax, edx
mov dword [esi + 0x48], eax
mov ecx, dword [esp + 0x40]
add eax, ecx
mov dword [esi + 0x50], eax
mov edx, dword [edi + 0x760]
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebx + 0x18], 8
mov eax, dword [esi + 0xb4]
jb 0x445598
mov ebx, dword [ebx + 4]
jmp 0x44559b
add ebx, 4
lea ecx, [esp + 0x28]
push ecx
push eax
push ebx
mov ebx, dword [esp + 0x20]
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esi + 0x34]
add eax, 0x1d
mov dword [esi + 0x54], eax
mov edx, dword [esp + 0x28]
add eax, edx
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0x2c]
lea ecx, [eax + eax]
mov eax, dword [edi + 0x7d4]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esi + 0x38]
sar eax, 1
add eax, edx
mov dword [esi + 0x58], eax
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov dword [esi + 0x60], eax
cmp dword [esi + 0x140], 0
je 0x44565f
mov edx, dword [edi + 0x764]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esi + 0x144], 8
mov ecx, dword [esi + 0x140]
jb 0x445612
mov eax, dword [esi + 0x130]
jmp 0x445618
lea eax, [esi + 0x130]
lea edx, [esp + 0x30]
push edx
push ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esi + 0x34]
add eax, 0x1d
mov dword [esi + 0x64], eax
mov ecx, dword [esp + 0x30]
add eax, ecx
mov dword [esi + 0x6c], eax
mov edx, dword [esp + 0x34]
lea eax, [edx + edx]
mov ecx, eax
mov eax, dword [edi + 0x7d4]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esi + 0x38]
sar eax, 1
add eax, edx
mov dword [esi + 0x68], eax
mov ecx, dword [esp + 0x34]
add eax, ecx
mov dword [esi + 0x70], eax
cmp dword [esi + 0x15c], 0
je 0x4456dd
mov edx, dword [edi + 0x768]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esi + 0x160], 8
mov ecx, dword [esi + 0x15c]
jb 0x44568d
mov eax, dword [esi + 0x14c]
jmp 0x445693
lea eax, [esi + 0x14c]
lea edx, [esp + 0x20]
push edx
push ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esi + 0x34]
add eax, 0x1d
mov dword [esi + 0x74], eax
mov ecx, dword [esp + 0x20]
add eax, ecx
mov dword [esi + 0x7c], eax
mov edx, dword [esp + 0x24]
lea eax, [edx + edx]
mov ecx, eax
mov eax, dword [edi + 0x7d4]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esi + 0x38]
sar eax, 1
add eax, edx
mov dword [esi + 0x78], eax
mov ecx, dword [esp + 0x24]
add eax, ecx
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0xc]
add eax, 1
cmp eax, 7
mov dword [esp + 0xc], eax
jl 0x4456fa
add dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
xor ebx, ebx
mov eax, dword [esp + 0x1c]
add dword [esp + 0x18], 0x180
add eax, 1
cmp eax, dword [edi + 0x734]
mov dword [esp + 0x1c], eax
jl 0x445352
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004aeca3
mov esp, ebp
pop ebp
ret