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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x84]
push edi
xor edi, edi
mov byte [esp + 0x13], 0
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], edi
test esi, esi
je 0x51bb23
cmp dword [esi], 0xc0dedbad
jne 0x51bb23
mov ecx, dword [esp + 0x80]
cmp byte [ecx + 0x149], 0
je 0x51a970
mov edi, 0x2a
push esi
mov dword [esp + 0x1c], edi
call sym.ClientofCSP.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
push 0
push edi
push esi
call fcn.0051a350
add esp, 0x10
cmp dword [esi + 0x34], 0x10
je 0x51a969
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0x10
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x51a936
push eax
call fcn.0051c200
add esp, 4
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x51a959
push esi
push ebx
call fcn.0052af50
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x2c0]
push eax
call fcn.00536bf0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.00519080
add esp, 4
mov ecx, dword [esp + 0x80]
mov al, byte [ecx + 0x146]
xor ebx, ebx
mov byte [esp + 0x12], 0
mov byte [ecx + 0x146], bl
test al, al
je 0x51a999
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x51a999
push dword [eax]
push ecx
call fcn.0051a2e0
add esp, 8
mov ecx, dword [esi + 0x34]
lea ebp, [esi + 0x18]
lea eax, [ecx - 4]
cmp eax, 0xb
ja 0x51a9b0
cmp dword [ebp], ebx
je case.default.0x51a9f0
lea eax, [ecx - 3]
cmp eax, 0xc
ja 0x51a9e4
mov ebp, dword [esp + 0x84]
lea eax, [esp + 0x18]
push 0
push eax
lea eax, [esp + 0x1a]
push eax
push ebp
push esi
call fcn.0051a740
mov edi, dword [esp + 0x2c]
add esp, 0x14
test al, al
jne 0x51b906
lea ebp, [esi + 0x18]
mov ecx, dword [esi + 0x34]
cmp ecx, 0x11
ja case.default.0x51a9f0
jmp dword [ecx*4 + 0x51bb30]
push esi
call fcn.005342c0
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x51a9f0.1
cmp dword [esi + 0x34], 2
je 0x51aa1b
mov dword [esi + 0x34], 2
push 1
lea eax, [esp + 0x40]
push esi
push eax
call fcn.0053ea10
add esp, 0xc
push 2
lea eax, [esp + 0x50]
push esi
push eax
call fcn.0053ea10
mov ebp, dword [esp + 0x90]
add esp, 0xc
movups xmm0, xmmword [eax]
movups xmmword [ebp], xmm0
mov eax, dword [esi + 0x1d8]
test eax, eax
je 0x51aa61
push 0xa
push 0
push eax
push esi
call fcn.00518e70
add esp, 0x10
mov eax, dword [esi + 0x1dc]
test eax, eax
je 0x51aa79
push 2
push 0
push eax
push esi
call fcn.00518e70
add esp, 0x10
cmp dword [esi + 0x34], 3
je 0x51aa98
push esi
mov dword [esi + 0x34], 3
call fcn.00534210
add esp, 4
jmp 0x51aa98
mov ebp, dword [esp + 0x84]
lea eax, [esp + 0x15]
push eax
lea eax, [esp + 0x1b]
push eax
push esi
call fcn.005270a0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
cmp edi, 0x59
jne 0x51ab1f
cmp dword [esi + 0x34], 1
je 0x51aac3
mov dword [esi + 0x34], 1
mov ebp, dword [esp + 0x80]
lea eax, [esi + 0x1c]
push eax
push esi
lea eax, [ebp + 0x24]
push eax
call fcn.00536a30
mov ecx, dword [esi + 0x14]
add esp, 0xc
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x51aaea
mov dword [ecx + 0x10], eax
jmp 0x51aaed
mov dword [ebp + 4], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
test ecx, ecx
je 0x51ab0b
mov dword [ecx + 0x14], eax
xor edi, edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esp + 0x18], edi
jmp case.0x51a9f0.1
mov dword [ebp + 8], eax
xor edi, edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esp + 0x18], edi
jmp case.0x51a9f0.1
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x51ab34
push dword [ecx]
push eax
call fcn.0051a2e0
add esp, 8
test edi, edi
jne case.0x51a9f0.1
push 3
lea eax, [esp + 0x60]
push esi
push eax
call fcn.0053ea10
add esp, 0xc
movups xmm0, xmmword [eax]
movups xmmword [ebp], xmm0
mov eax, dword [esi + 0x34]
cmp byte [esp + 0x17], bl
je 0x51ab71
cmp eax, 4
je case.0x51a9f0.1
mov dword [esi + 0x34], 4
jmp 0x51b8cc
or ebx, 0xffffffff
cmp byte [esp + 0x15], 0
je 0x51ab90
cmp eax, 7
je case.0x51a9f0.1
mov dword [esi + 0x34], 7
jmp 0x51b8cc
cmp eax, 5
je case.0x51a9f0.1
mov dword [esi + 0x34], 5
jmp 0x51b8cc
mov eax, dword [ebp]
mov dword [esp + 0x1c], ebx
cmp byte [eax + 0x278], bl
je 0x51abb9
mov ebx, dword [eax + 0x78]
jmp 0x51abc9
cmp byte [eax + 0x281], bl
je 0x51abc6
mov ebx, dword [eax + 0x48]
jmp 0x51abc9
mov ebx, dword [eax + 0x30]
push dword [eax + 0xec]
push ebx
push esi
call fcn.005374e0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x51ac0b
push ebx
push 0x72e260
xor edi, edi
mov dword [esi + 0x948], eax
push esi
mov byte [esi + 0x95c], 1
mov dword [esp + 0x24], edi
call fcn.0052b990
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x51ac1f
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00538120
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x80]
push esi
push ebx
call fcn.0051c330
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x51ba9e
cmp dword [esp + 0x1c], eax
je 0x51ac84
lea eax, [esp + 0x15]
push eax
push esi
call fcn.00537b90
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x51ac5d
mov dword [esi + 0x18], ebx
jmp 0x51ac84
mov eax, dword [esi + 0x34]
or ebx, 0xffffffff
cmp byte [esp + 0x15], 0
je 0x51ac78
cmp eax, 7
je 0x51ac84
mov dword [esi + 0x34], 7
jmp 0x51ac84
cmp eax, 5
je 0x51ac84
mov dword [esi + 0x34], 5
test edi, edi
je case.0x51a9f0.1
mov byte [esp + 0x12], 1
jmp case.0x51a9f0.1
lea eax, [esp + 0x13]
push eax
push esi
call fcn.00539610
mov edi, eax
add esp, 8
mov eax, dword [ebp]
mov dword [esp + 0x18], edi
cmp byte [eax + 0x27c], bl
je 0x51ace5
xor edi, edi
or ebx, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x24], edi
call fcn.0051a350
add esp, 0xc
cmp dword [esi + 0x34], 3
je case.0x51a9f0.1
push esi
mov dword [esi + 0x34], 3
call fcn.00534210
jmp 0x51b8c2
test edi, edi
jne 0x51ac8c
or ebx, 0xffffffff
cmp dword [esi + 0x34], 7
je case.0x51a9f0.1
mov dword [esi + 0x34], 7
jmp case.0x51a9f0.1
lea eax, [esp + 0x15]
push eax
push 0
push 0
push esi
call fcn.0052adc0
add esp, 0x10
mov edi, eax
mov dword [esp + 0x18], edi
cmp byte [esp + 0x15], bl
je 0x51ad3d
test edi, edi
jne 0x51ad45
or ebx, 0xffffffff
cmp dword [esi + 0x34], 7
je case.0x51a9f0.1
mov dword [esi + 0x34], 7
jmp case.0x51a9f0.1
test edi, edi
je case.0x51a9f0.1
push esi
call sym.ClientofCSP.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
push 1
push edi
push esi
call fcn.0051a350
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x51a9f0.1
test edi, edi
jne 0x51ad45
mov eax, dword [ebp]
cmp byte [eax + 0x27f], bl
je 0x51ad7f
mov dword [esi + 0x34], 9
or ebx, 0xffffffff
jmp case.0x51a9f0.1
test edi, edi
jne 0x51ad45
mov eax, dword [ebp]
push edi
push eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1b], bl
lea ebp, [eax + 0x286]
call fcn.0052b310
add esp, 8
test al, al
je 0x51adbf
cmp byte [ebp], bl
je 0x51adc4
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x29c]
cmp dword [eax + 0x18], ebx
jne 0x51adbb
mov byte [esp + 0x13], 1
xor edi, edi
jmp 0x51adf1
cmp byte [ebp], bl
jne 0x51adf1
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x29c]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x51ade8
lea ecx, [esp + 0x13]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x51adf1
jmp 0x51aded
mov byte [esp + 0x13], 1
mov byte [ebp], 1
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x51ad45
cmp byte [esp + 0x13], bl
jne 0x51ae6b
cmp ecx, 8
je 0x51ae12
mov dword [esi + 0x34], 8
or ebx, 0xffffffff
jmp case.0x51a9f0.1
mov edx, dword [ebp]
test edx, edx
je 0x51ae56
mov eax, dword [edx + 0x29c]
cmp dword [eax + 0x18], ebx
je 0x51ae56
mov byte [esp + 0x13], bl
lea ecx, [esp + 0x13]
mov eax, dword [edx + 0x29c]
push ecx
push esi
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi + 0x34]
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x51ae61
jmp 0x51ad45
xor edi, edi
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x13], bl
je case.0x51a9f0.1
cmp ecx, 9
je 0x51ae77
mov dword [esi + 0x34], 9
or ebx, 0xffffffff
jmp case.0x51a9f0.1
cmp dword [esi + 0x1b4], ebx
je 0x51af08
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x51ae99
mov byte [eax + 0x147], 1
push dword [esi + 0xdf4]
lea eax, [esi + 0xdc2]
push dword [esi + 0xdf0]
push eax
lea eax, [esi + 0xd94]
push eax
push dword [esi + 0x1b8]
mov eax, dword [esi + 0x1b4]
call eax
mov ecx, dword [esi + 0x7c]
add esp, 0x14
test ecx, ecx
je 0x51aed1
mov byte [ecx + 0x147], bl
test eax, eax
je 0x51af05
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.0052b8c0
mov edi, 0x2a
push esi
mov dword [esp + 0x24], edi
call sym.ClientofCSP.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
push 0
push edi
push esi
call fcn.0051a350
add esp, 0x18
mov byte [esp + 0x12], 1
jmp case.0x51a9f0.1
mov ecx, dword [esi + 0x34]
cmp byte [esi + 0x699], 1
mov eax, dword [esi + 0x18]
jne 0x51af3a
push 0
push eax
call fcn.0052de00
add esp, 8
cmp dword [esi + 0x34], 0xf
je 0x51af2c
mov dword [esi + 0x34], 0xf
xor edi, edi
or ebx, 0xffffffff
mov dword [esp + 0x18], edi
jmp case.0x51a9f0.1
mov eax, dword [eax + 0x29c]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x51af59
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
mov ecx, dword [esi + 0x34]
add esp, 8
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x51b041
cmp byte [esp + 0x14], bl
jne 0x51aff8
cmp byte [esi + 0xd36], bl
je 0x51afe4
mov eax, dword [esi + 0xd48]
mov al, byte [eax + 0x20]
cmp al, 7
je 0x51af88
cmp al, 5
jne 0x51afe4
push 0
push 0
push esi
call fcn.0051a350
mov ebx, dword [esi + 0x18]
add esp, 0xc
mov eax, ebx
neg eax
sbb eax, eax
add eax, 0x10
cmp dword [esi + 0x34], eax
je 0x51afdc
mov dword [esi + 0x34], eax
test ebx, ebx
jne 0x51afc4
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], ebx
jne 0x51afc4
push eax
call fcn.0051c200
add esp, 4
xor eax, eax
test ebx, ebx
sete al
mov eax, dword [eax*4 + 0x72e0ac]
test eax, eax
je 0x51afdc
push esi
call eax
add esp, 4
or ebx, 0xffffffff
jmp case.0x51a9f0.1
cmp ecx, 0xa
je 0x51aff0
mov dword [esi + 0x34], 0xa
or ebx, 0xffffffff
jmp case.0x51a9f0.1
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x285], bl
je 0x51b017
cmp ecx, 0xb
je 0x51b00f
mov dword [esi + 0x34], 0xb
or ebx, 0xffffffff
jmp case.0x51a9f0.1
cmp ecx, 0xc
je 0x51b039
push 7
lea eax, [esp + 0x70]
mov dword [esi + 0x34], 0xc
push esi
push eax
mov byte [esi + 0x134], bl
call fcn.0053ea10
add esp, 0xc
or ebx, 0xffffffff
jmp case.0x51a9f0.1
cmp edi, 0x37
jne 0x51b0f8
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x27f], bl
je 0x51b0f8
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push eax
push esi
call fcn.005349f0
add esp, 8
test eax, eax
je 0x51b07a
mov edi, eax
mov byte [esp + 0x12], 1
mov dword [esp + 0x18], edi
push esi
call sym.ClientofCSP.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
push 0
push edi
push esi
call fcn.0051a350
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x51b0e7
test eax, eax
je 0x51b0af
cmp eax, 0x37
je 0x51b0af
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call dword [0x7f5650]
jmp 0x51b8c2
push 2
push ecx
push esi
call fcn.00533d00
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x51b0d3
cmp dword [esi + 0x34], 2
je 0x51b0ce
mov dword [esi + 0x34], 2
or ebx, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], edi
call dword [0x7f5650]
jmp 0x51b8c2
push ecx
mov byte [esp + 0x16], 1
call dword [0x7f5650]
jmp 0x51b8c2
push esi
call sym.ClientofCSP.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
add esp, 4
cmp dword [esi + 0x18], ebx
je 0x51ad57
push 0
push edi
push esi
call fcn.0051a350
add esp, 0xc
mov byte [esp + 0x12], 1
jmp case.0x51a9f0.1
mov edx, dword [ebp]
test edx, edx
je 0x51b179
mov eax, dword [edx + 0x29c]
cmp dword [eax + 0x1c], ebx
je 0x51b176
mov byte [esp + 0x14], bl
lea ecx, [esp + 0x14]
mov eax, dword [edx + 0x29c]
push ecx
push esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [esi + 0x34]
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
lea eax, [esi + 0x18]
test edi, edi
je 0x51b186
push esi
call sym.ClientofCSP.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
push 0
push edi
push esi
call fcn.0051a350
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x51a9f0.1
lea ebp, [esi + 0x18]
xor edi, edi
mov byte [esp + 0x14], 1
mov dword [esp + 0x18], edi
mov eax, ebp
cmp byte [esp + 0x14], bl
je case.0x51a9f0.1
mov eax, dword [eax]
mov dl, byte [eax + 0x285]
xor eax, eax
test dl, dl
sete al
add eax, 0xb
cmp ecx, eax
je 0x51afdc
mov dword [esi + 0x34], eax
xor eax, eax
test dl, dl
sete al
mov eax, dword [eax*4 + 0x72e09c]
jmp 0x51afd2
mov eax, dword [ebp]
xor edx, edx
mov dword [esp + 0x2c], edx
xor edi, edi
mov eax, dword [eax + 0x29c]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x51b1ec
lea ecx, [esp + 0x2c]
push ecx
push esi
call eax
mov ecx, dword [esi + 0x34]
add esp, 8
mov edx, dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x51b15a
test edx, edx
je case.0x51a9f0.1
xor eax, eax
cmp edx, 1
sete al
lea eax, [eax*2 + 0xa]
cmp ecx, eax
je 0x51afdc
mov dword [esi + 0x34], eax
mov eax, dword [eax*4 + 0x72e070]
jmp 0x51afd2
mov eax, dword [ebp]
cmp byte [eax + 0x28e], bl
je 0x51b24d
mov ebx, dword [esp + 0x80]
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x51b24d
push dword [eax]
push ebx
call fcn.0051a2e0
mov ecx, dword [esi + 0x34]
add esp, 8
mov eax, dword [ebp]
cmp dword [eax + 0x2b8], 0xffffffff
jne 0x51b29d
cmp dword [eax + 0x2bc], 0xffffffff
jne 0x51b29d
cmp byte [esi + 0xd36], 0
je 0x51b284
mov eax, dword [eax + 0x29c]
test dword [eax + 0x50], 0x1000
jne 0x51b284
mov eax, dword [esi + 0xd48]
mov byte [eax + 0x20], 7
cmp dword [esi + 0x34], 0xf
je 0x51afdc
mov dword [esi + 0x34], 0xf
or ebx, 0xffffffff
jmp case.0x51a9f0.1
cmp ecx, 0xd
je 0x51afdc
mov dword [esi + 0x34], 0xd
or ebx, 0xffffffff
jmp case.0x51a9f0.1
push esi
call fcn.0053ed40
add esp, 4
test eax, eax
je 0x51b2d3
mov ecx, 0x2a
mov edi, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], edi
jmp 0x51b2fe
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.005402f0
mov edi, eax
add esp, 0x14
mov dword [esp + 0x18], edi
mov ecx, edi
mov dword [esp + 0x24], ecx
test edi, edi
je 0x51b337
mov edx, dword [ebp]
mov eax, dword [edx + 0x29c]
test byte [eax + 0x50], 2
jne 0x51b31d
cmp ecx, 0x5c
je 0x51b31d
push 2
push edx
call fcn.0052de00
add esp, 8
push esi
call sym.ClientofCSP.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
push 1
push dword [esp + 0x2c]
push esi
call fcn.0051a350
add esp, 0x10
jmp case.0x51a9f0.1
mov edx, dword [esi + 0x208]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x20c]
mov eax, edx
or eax, ecx
movlpd qword [esp + 0x30], xmm0
je 0x51b39e
mov ebp, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7a8]
push ecx
push edx
push dword [esi + 0x7bc]
movups xmmword [eax], xmm0
push dword [esi + 0x7b8]
push dword [esi + 0x704]
push dword [esi + 0x700]
call fcn.0053e650
add esp, 0x38
mov dword [esp + 0x1c], edx
mov ebp, eax
jmp 0x51b3aa
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x210]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x214]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x51b410
mov edx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x210]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7c0]
push ecx
push edx
push dword [esi + 0x7d4]
movups xmmword [eax], xmm0
push dword [esi + 0x7d0]
push dword [esi + 0x6fc]
push dword [esi + 0x6f8]
call fcn.0053e650
add esp, 0x38
mov ecx, eax
jmp 0x51b418
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, ebp
or eax, dword [esp + 0x1c]
jne 0x51b454
mov eax, ecx
or eax, edx
jne 0x51b454
cmp dword [esi + 0x34], 0xd
je 0x51b433
mov dword [esi + 0x34], 0xd
mov ebp, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ebp]
push esi
movups xmmword [eax], xmm0
call fcn.0053f0c0
add esp, 0x14
jmp 0x51b8cc
mov eax, dword [esp + 0x1c]
cmp eax, edx
jl 0x51b474
jg 0x51b462
cmp ebp, ecx
jb 0x51b474
push 0xb
push eax
push ebp
push esi
call fcn.00518e70
add esp, 0x10
jmp case.0x51a9f0.1
push 0xb
push edx
push ecx
push esi
call fcn.00518e70
add esp, 0x10
jmp case.0x51a9f0.1
mov edx, dword [esi + 0x208]
xor al, al
mov ecx, dword [esi + 0x20c]
xorps xmm0, xmm0
mov byte [esp + 0x16], al
mov eax, edx
or eax, ecx
mov dword [esp + 0x1c], ebx
movlpd qword [esp + 0x30], xmm0
je 0x51b4f7
mov ebp, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7a8]
push ecx
push edx
push dword [esi + 0x7bc]
movups xmmword [eax], xmm0
push dword [esi + 0x7b8]
push dword [esi + 0x704]
push dword [esi + 0x700]
call fcn.0053e650
add esp, 0x38
mov dword [esp + 0x20], edx
mov ebp, eax
jmp 0x51b503
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x210]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x214]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x51b56d
mov edx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x210]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7c0]
push ecx
push edx
push dword [esi + 0x7d4]
movups xmmword [eax], xmm0
push dword [esi + 0x7d0]
push dword [esi + 0x6fc]
push dword [esi + 0x6f8]
call fcn.0053e650
add esp, 0x38
mov dword [esp + 0x24], eax
mov ecx, eax
jmp 0x51b579
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov eax, ebp
mov dword [esp + 0x30], edx
or eax, dword [esp + 0x20]
jne 0x51b797
mov eax, ecx
or eax, edx
jne 0x51b797
push esi
call fcn.00534680
add esp, 4
mov edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0x12a], bl
jne 0x51b606
cmp edi, 0x38
je 0x51b606
mov ecx, edi
cmp edi, 0x5c
je 0x51b5c6
mov al, byte [esp + 0x16]
mov byte [esp + 0x16], al
test ecx, ecx
je 0x51b64c
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x29c]
test byte [eax + 0x50], 2
jne 0x51b5e5
cmp edi, 0x5c
je 0x51b5e5
push 2
push ecx
call fcn.0052de00
add esp, 8
push esi
call sym.ClientofCSP.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
push 1
push edi
push esi
call fcn.0051a350
add esp, 0x10
push dword [esp + 0x1c]
call dword [0x7f5650]
jmp 0x51b8c2
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.005349f0
add esp, 8
mov ecx, edi
test eax, eax
jne 0x51b627
cmp dword [esp + 0x1c], ebx
setne al
mov byte [esp + 0x16], al
jmp 0x51b637
test edi, edi
jne 0x51b633
mov edi, eax
mov dword [esp + 0x18], edi
jmp 0x51b5c6
mov al, byte [esp + 0x16]
test al, al
je 0x51b5ba
xor edi, edi
mov byte [esi + 0x12a], 1
mov dword [esp + 0x18], edi
cmp byte [esi + 0x12a], bl
je 0x51b764
push esi
call fcn.0052d1b0
add esp, 4
test al, al
jne 0x51b764
push esi
call sym.ClientofCSP.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
add esp, 4
cmp byte [esp + 0x16], bl
jne 0x51b71e
cmp dword [esi + 0x11c], ebx
jne 0x51b6fa
cmp dword [esi + 0x118], ebx
je 0x51b6d3
push dword [esp + 0x1c]
call dword [0x7f5650]
mov eax, dword [esi + 0x118]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x118], ebx
call fcn.00533d00
mov edi, eax
add esp, 0x10
mov dword [esp + 0x18], edi
test edi, edi
je 0x51b6db
push 1
push edi
push esi
mov byte [esp + 0x1e], 1
call fcn.0051a350
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne 0x51b788
cmp dword [esi + 0x34], 0xf
je 0x51b6e8
mov dword [esi + 0x34], 0xf
push dword [esp + 0x1c]
or ebx, 0xffffffff
call dword [0x7f5650]
jmp 0x51b8c2
push dword [esp + 0x1c]
call dword [0x7f5650]
mov eax, dword [esi + 0x11c]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x11c], ebx
jmp 0x51b723
mov edi, 2
push 0
push 0
push esi
call fcn.0051a350
push edi
push dword [esp + 0x2c]
push esi
call fcn.00533d00
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
test edi, edi
jne 0x51b788
cmp dword [esi + 0x34], 2
je 0x51b752
mov dword [esi + 0x34], 2
push dword [esp + 0x1c]
or ebx, 0xffffffff
call dword [0x7f5650]
jmp 0x51b8c2
cmp byte [esi + 0xd2f], bl
je 0x51b788
push esi
call fcn.00534b20
add esp, 4
test al, al
jne 0x51b788
push 8
push 0
push 0
push esi
call fcn.00518e70
add esp, 0x10
push dword [esp + 0x1c]
call dword [0x7f5650]
jmp 0x51b8c2
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.0053f0c0
add esp, 0x14
cmp dword [esi + 0x34], 0xe
je 0x51b7bf
mov dword [esi + 0x34], 0xe
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
cmp eax, edx
jl 0x51b7e7
jg 0x51b7ef
mov ecx, dword [esp + 0x24]
cmp ebp, ecx
jb 0x51b7eb
push 0xb
push eax
push ebp
push esi
call fcn.00518e70
add esp, 0x10
jmp case.0x51a9f0.1
mov ecx, dword [esp + 0x24]
mov ebp, ecx
mov eax, edx
push 0xb
push eax
push ebp
push esi
call fcn.00518e70
add esp, 0x10
jmp case.0x51a9f0.1
mov eax, dword [ebp]
or ebx, 0xffffffff
test eax, eax
je 0x51b842
cmp byte [eax + 0x28e], 0
je 0x51b82d
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x51b82d
push dword [ecx]
push eax
call fcn.0051a2e0
add esp, 8
push 0
push edi
push esi
call fcn.0051a350
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0xd36], 0
je 0x51b86d
mov eax, dword [esi + 0xd48]
cmp byte [eax + 0x20], 7
je 0x51b86d
cmp dword [esi + 0x34], 0
mov ebp, dword [esp + 0x84]
je 0x51b8cc
mov dword [esi + 0x34], 0
jmp 0x51b8cc
cmp dword [esi + 0x34], 0x10
je case.0x51a9f0.1
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0x10
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x51b892
push eax
call fcn.0051c200
add esp, 4
mov ebp, dword [esi + 0x18]
test ebp, ebp
je 0x51b8b5
push esi
push ebp
call fcn.0052af50
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x2c0]
push eax
call fcn.00536bf0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.00519080
add esp, 4
mov ebp, dword [esp + 0x84]
mov eax, dword [esi + 0x34]
sub eax, 3
cmp eax, 5
ja 0x51b906
mov ecx, dword [esp + 0x80]
cmp ebx, 0xffffffff
je 0x51b90d
cmp byte [ecx + 0x146], 0
jne 0x51b90d
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1a]
push eax
push ebp
push esi
call fcn.0051a740
mov edi, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [esp + 0x80]
mov eax, dword [esi + 0x34]
cmp eax, 0x10
jge 0x51ba78
test edi, edi
je 0x51ba01
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x51b936
push dword [edx]
push ecx
call fcn.0051a2e0
mov eax, dword [esi + 0x34]
add esp, 8
mov ebp, dword [esi + 0x18]
lea ebx, [esi + 0x18]
test ebp, ebp
je 0x51b996
cmp byte [esp + 0x12], 0
mov dword [esp + 0x30], ebx
je 0x51b990
cmp edi, 0x1c
push esi
push ebp
sete byte [esp + 0x40]
call fcn.0052af50
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x2c0]
push eax
call fcn.00536bf0
push 1
push ebp
push esi
mov dword [ebx], 0
call fcn.00522da0
push dword [esp + 0x58]
push ebp
push esi
call fcn.005271c0
lea eax, [esi + 0x18]
add esp, 0x2c
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x30]
jmp 0x51b9a6
mov ebp, ebx
cmp eax, 3
jne 0x51b9a6
push esi
call sym.ClientofCSP.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
add esp, 4
cmp dword [esi + 0x34], 0x10
je 0x51ba75
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0x10
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x51b9d1
push eax
call fcn.0051c200
add esp, 4
mov ebx, ebp
mov ebp, dword [ebx]
test ebp, ebp
je 0x51b9f3
push esi
push ebp
call fcn.0052af50
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x2c0]
push eax
call fcn.00536bf0
add esp, 0x14
push esi
mov dword [ebx], 0
call fcn.00519080
jmp 0x51ba72
cmp dword [esi + 0x18], 0
je 0x51ba78
push esi
call fcn.0053ed40
add esp, 4
test eax, eax
je 0x51ba78
push 2
push dword [esi + 0x18]
mov edi, 0x2a
mov dword [esp + 0x20], edi
call fcn.0052de00
mov ebx, dword [esi + 0x34]
xor eax, eax
add esp, 8
cmp ebx, 0xf
setge al
add eax, 0xf
cmp ebx, eax
je 0x51ba75
mov dword [esi + 0x34], eax
cmp ebx, 0xf
jl 0x51ba5c
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x51ba5c
push eax
call fcn.0051c200
add esp, 4
xor eax, eax
cmp ebx, 0xf
setge al
mov eax, dword [eax*4 + 0x72e0ac]
test eax, eax
je 0x51ba75
push esi
call eax
add esp, 4
or ebx, 0xffffffff
cmp dword [esi + 0x34], 0x10
je 0x51baa8
mov ecx, dword [esp + 0x80]
cmp ebx, 0xffffffff
je 0x51a970
cmp byte [ecx + 0x146], 0
jne 0x51a970
mov dword [esi + 0x38], edi
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov eax, dword [esi + 0x674]
test eax, eax
je 0x51bac2
push edi
push esi
call eax
mov ebx, dword [esp + 0x88]
add esp, 8
jmp 0x51bae7
mov ebx, dword [esp + 0x80]
lea eax, [esi + 0x3c]
push eax
push eax
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
lea eax, [ebx + 0x14]
push eax
call fcn.00536a30
add esp, 0xc
cmp dword [esi + 0x34], 0x11
je 0x51baf4
mov dword [esi + 0x34], 0x11
lea eax, [esi + 0x1c]
push eax
lea eax, [ebx + 0x34]
push esi
push eax
call fcn.00536a30
push esi
push ebx
call fcn.0051c720
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x6c
ret