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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x461605
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x47c020]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push esi
push edi
mov eax, dword [0x47c020]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov esi, dword [edi + 0x10]
call dword [eax + 0x28]
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [edi + 0x10]
mov ecx, edi
call fcn.004090e0
mov eax, dword [edi]
lea ecx, [esp + 0x8c]
push ecx
mov ecx, edi
call dword [eax + 0x90]
push eax
mov ecx, edi
mov dword [esp + 0x434], 0
call fcn.00409400
cmp dword [esp + 0xa0], 8
jb 0x410cfc
push dword [esp + 0x8c]
call fcn.0044da7e
add esp, 4
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov byte [esp + 0x1f8], 1
mov dword [esp + 0x20c], 0
mov dword [esp + 0x430], 1
lea ecx, [esp + 0x8c]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x94]
mov esi, eax
lea eax, [esp + 0xa4]
mov byte [esp + 0x430], 2
push eax
mov ecx, edi
call fcn.004093c0
push esi
mov edx, eax
mov byte [esp + 0x434], 3
lea ecx, [esp + 0x78]
call fcn.00411b70
add esp, 4
cmp dword [esp + 0xb8], 8
jb 0x410d96
push dword [esp + 0xa4]
call fcn.0044da7e
add esp, 4
xor eax, eax
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], 0
mov word [esp + 0xa4], ax
mov byte [esp + 0x430], 6
cmp dword [esp + 0xa0], 8
jb 0x410dd7
push dword [esp + 0x8c]
call fcn.0044da7e
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 0x411fd0
mov dword [esp + 0x60], eax
lea edx, [esp + 0x14]
movq xmm0, qword [esp + 0x5c]
lea ecx, [esp + 0x3c]
sub esp, 0x10
mov word [esp + 0x9c], ax
mov eax, esp
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], 0
mov dword [esp + 0x24], edi
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.0040d300
add esp, 0x10
push 0
push 0
push edi
sub esp, 0x18
mov ebx, esp
mov dword [esp + 0x38], ebx
mov dword [ebx + 0x10], 0
push 0x30
mov byte [esp + 0x458], 8
call fcn.0044da2d
mov esi, eax
add esp, 4
test esi, esi
jne 0x410e5f
call fcn.0044d8f7
lea eax, [esp + 0x60]
mov dword [esi], 0x46c7dc
lea ecx, [esi + 8]
push eax
call fcn.0040d440
mov dword [ebx + 0x10], esi
lea ecx, [esp + 0x98]
mov byte [esp + 0x454], 7
cmp dword [esp + 0xac], 8
cmovae ecx, dword [esp + 0x98]
push ecx
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0xe4]
call fcn.00428fc0
or ebx, 0xffffffff
test eax, eax
jne 0x410f0f
push 0x206
push eax
mov word [esp + 0x21c], ax
lea eax, [esp + 0x21e]
push eax
call fcn.004594a0
add esp, 0xc
lea eax, [esp + 0x74]
cmp dword [esp + 0x88], 8
cmovae eax, dword [esp + 0x74]
push eax
lea eax, [esp + 0x218]
push str.Failed_to_load_xml_file__s
push eax
call fcn.00411bd0
add esp, 0xc
lea eax, [esp + 0x214]
push 0x10
push str.Duilib
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
or esi, ebx
jmp 0x411422
push eax
lea ecx, [edi + 0x1fc]
call fcn.00417080
mov esi, eax
mov ecx, edi
push esi
call fcn.00409180
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x24]
cmp dword [esi + 0x28], 0xfffffffe
je 0x410f38
cmp dword [esi + 0x2c], 0xfffffffe
jne 0x410f9c
sub esp, 8
lea ecx, [esp + 0x1c]
mov eax, esp
push ecx
mov dword [eax], 0x1869f
mov ecx, esi
mov dword [eax + 4], 0x1869f
mov eax, dword [esi]
call dword [eax + 0x18]
mov edx, dword [esp + 0x14]
cmp edx, dword [esi + 0x30]
mov eax, dword [esi + 0x38]
cmovl edx, dword [esi + 0x30]
mov dword [esp + 0x14], edx
test eax, eax
js 0x410f75
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esi + 0x34]
push 0
cmovl ecx, dword [esi + 0x34]
cmp ecx, dword [esi + 0x3c]
cmovg ecx, dword [esi + 0x3c]
push ecx
push edx
push 0
push 0
push dword [edi + 0x10]
mov dword [esp + 0x30], ecx
call dword [sym.imp.USER32.dll_MoveWindow]
push str.closebtn
lea ecx, [esp + 0x60]
call fcn.0040fc90
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.0040b5f0
cmp dword [esp + 0x70], 8
mov esi, eax
jb 0x410fcb
push dword [esp + 0x5c]
call fcn.0044da7e
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
test esi, esi
je 0x4110bd
push eax
push 0x47e6e4
push 0x47e0d8
push eax
push esi
call fcn.0044f55b
add esp, 4
mov dword [esp + 0x6c], 0x4118a0
mov ecx, esp
mov dword [esp + 0x70], 0
movq xmm0, qword [esp + 0x6c]
lea edx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x24], edi
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
lea ecx, [esp + 0x2c]
call fcn.0040d300
add esp, 0x10
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x434], 9
call fcn.00411bf0
lea eax, [esp + 0x14]
mov byte [esp + 0x430], 0xa
push eax
lea ecx, [esi + 0x6c]
mov dword [esp + 0x18], 0x29
call fcn.0040f210
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
call fcn.0040f5a0
mov byte [esp + 0x430], 9
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x41109d
mov edx, dword [ecx]
lea eax, [esp + 0x5c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esp + 0x6c], 0
mov byte [esp + 0x430], 7
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4110bd
lea eax, [ecx + 8]
mov edx, ebx
lock xadd dword [eax], edx
jne 0x4110bd
mov eax, dword [ecx]
call dword [eax + 4]
push str.minbtn
lea ecx, [esp + 0x60]
call fcn.0040fc90
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.0040b5f0
cmp dword [esp + 0x70], 8
mov esi, eax
jb 0x4110ec
push dword [esp + 0x5c]
call fcn.0044da7e
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
test esi, esi
je 0x4111de
push eax
push 0x47e6e4
push 0x47e0d8
push eax
push esi
call fcn.0044f55b
add esp, 4
mov dword [esp + 0x6c], 0x4118a0
mov ecx, esp
mov dword [esp + 0x70], 0
movq xmm0, qword [esp + 0x6c]
lea edx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x24], edi
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
lea ecx, [esp + 0x2c]
call fcn.0040d300
add esp, 0x10
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x434], 0xb
call fcn.00411bf0
lea eax, [esp + 0x14]
mov byte [esp + 0x430], 0xc
push eax
lea ecx, [esi + 0x6c]
mov dword [esp + 0x18], 0x29
call fcn.0040f210
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
call fcn.0040f5a0
mov byte [esp + 0x430], 0xb
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4111be
mov edx, dword [ecx]
lea eax, [esp + 0x5c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esp + 0x6c], 0
mov byte [esp + 0x430], 7
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4111de
lea eax, [ecx + 8]
mov edx, ebx
lock xadd dword [eax], edx
jne 0x4111de
mov eax, dword [ecx]
call dword [eax + 4]
push str.maxbtn
lea ecx, [esp + 0x60]
call fcn.0040fc90
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.0040b5f0
cmp dword [esp + 0x70], 8
mov esi, eax
jb 0x41120d
push dword [esp + 0x5c]
call fcn.0044da7e
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
test esi, esi
je 0x4112ff
push eax
push 0x47e6e4
push 0x47e0d8
push eax
push esi
call fcn.0044f55b
add esp, 4
mov dword [esp + 0x6c], 0x4118a0
mov ecx, esp
mov dword [esp + 0x70], 0
movq xmm0, qword [esp + 0x6c]
lea edx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x24], edi
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
lea ecx, [esp + 0x2c]
call fcn.0040d300
add esp, 0x10
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x434], 0xd
call fcn.00411bf0
lea eax, [esp + 0x14]
mov byte [esp + 0x430], 0xe
push eax
lea ecx, [esi + 0x6c]
mov dword [esp + 0x18], 0x29
call fcn.0040f210
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
call fcn.0040f5a0
mov byte [esp + 0x430], 0xd
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4112df
mov edx, dword [ecx]
lea eax, [esp + 0x5c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esp + 0x6c], 0
mov byte [esp + 0x430], 7
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4112ff
lea eax, [ecx + 8]
mov edx, ebx
lock xadd dword [eax], edx
jne 0x4112ff
mov eax, dword [ecx]
call dword [eax + 4]
push str.restorebtn
lea ecx, [esp + 0x60]
call fcn.0040fc90
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.0040b5f0
cmp dword [esp + 0x70], 8
mov esi, eax
jb 0x41132e
push dword [esp + 0x5c]
call fcn.0044da7e
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
test esi, esi
je 0x411420
push eax
push 0x47e6e4
push 0x47e0d8
push eax
push esi
call fcn.0044f55b
add esp, 4
mov dword [esp + 0x6c], 0x4118a0
mov ecx, esp
mov dword [esp + 0x70], 0
movq xmm0, qword [esp + 0x6c]
lea edx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x24], edi
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
lea ecx, [esp + 0x2c]
call fcn.0040d300
add esp, 0x10
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x434], 0xf
call fcn.00411bf0
lea eax, [esp + 0x14]
mov byte [esp + 0x430], 0x10
push eax
lea ecx, [esi + 0x6c]
mov dword [esp + 0x18], 0x29
call fcn.0040f210
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
call fcn.0040f5a0
mov byte [esp + 0x430], 0xf
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x411400
mov edx, dword [ecx]
lea eax, [esp + 0x5c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esp + 0x6c], 0
mov byte [esp + 0x430], 7
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x411420
lea eax, [ecx + 8]
mov edx, ebx
lock xadd dword [eax], edx
jne 0x411420
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
mov byte [esp + 0x430], 6
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x411441
lea eax, [ecx + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x411441
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esp + 0x88], 8
jb 0x411457
push dword [esp + 0x74]
call fcn.0044da7e
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
lea ecx, [esp + 0xbc]
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
call fcn.004114b0
mov eax, esi
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.0044e224
mov esp, ebp
pop ebp
ret 0x10