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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
push edi
xor edi, edi
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], edi
test esi, esi
je 0x520116
cmp dword [esi], 0xc0dedbad
jne 0x520116
mov ecx, dword [esp + 0x70]
cmp byte [ecx + 0x10d], 0
je 0x51eff0
mov edi, 0x2a
push esi
mov dword [esp + 0x1c], edi
call sym._1.0.0.4_10001.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
push 0
push edi
push esi
call fcn.0051e9d0
add esp, 0x10
cmp dword [esi + 0x34], 0xf
je 0x51efe2
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x51efd2
push esi
push ebx
call fcn.005238e0
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x23c]
push eax
call fcn.00546a00
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.0051db50
add esp, 4
mov ecx, dword [esp + 0x70]
nop word [eax + eax]
mov al, byte [ecx + 0x10a]
xor ebp, ebp
mov byte [esp + 0x10], 0
mov byte [ecx + 0x10a], 0
test al, al
je 0x51f011
push ecx
call fcn.00520980
add esp, 4
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
lea eax, [ecx - 3]
cmp eax, 0xb
ja 0x51f030
cmp dword [ebx], ebp
jne 0x51f034
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp dword [ebx], ebp
je 0x51f064
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x51f064
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x80]
push esi
call fcn.0051ede0
mov edi, dword [esp + 0x2c]
add esp, 0x14
test al, al
jne 0x51ff53
mov ecx, dword [esi + 0x34]
cmp ecx, 0x10
ja case.default.0x51f06c
jmp dword [ecx*4 + 0x520124]
push esi
call fcn.00548ec0
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x51f06c.1
cmp dword [esi + 0x34], 2
je 0x51f0a0
push esi
mov dword [esi + 0x34], 2
call fcn.00548e10
add esp, 4
push 1
lea eax, [esp + 0x40]
push esi
push eax
call fcn.0054aa80
add esp, 0xc
or ebp, 0xffffffff
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x74]
movups xmmword [eax], xmm0
jmp case.0x51f06c.1
cmp dword [esi + 0x8c8], ebp
jne 0x51f0f3
mov eax, dword [esi + 0x4b8]
inc eax
push eax
call dword [0x74bc28]
add esp, 4
mov dword [esi + 0x8c8], eax
test eax, eax
jne 0x51f0f3
mov edi, 0x1b
mov dword [esp + 0x18], edi
jmp case.0x51f06c.1
push 2
lea eax, [esp + 0x50]
push esi
push eax
call fcn.0054aa80
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x74]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x1f8]
test eax, eax
je 0x51f125
push 0xa
push 0
push eax
push esi
call fcn.0051d940
add esp, 0x10
mov eax, dword [esi + 0x1fc]
test eax, eax
je 0x51f13d
push 2
push 0
push eax
push esi
call fcn.0051d940
add esp, 0x10
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1b]
push eax
push esi
call fcn.005178b0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
cmp edi, 0x59
jne 0x51f1c4
cmp dword [esi + 0x34], 1
je 0x51f168
mov dword [esi + 0x34], 1
mov ebx, dword [esp + 0x70]
lea eax, [esi + 0x1c]
push eax
push esi
push dword [ebx + 0x28]
lea eax, [ebx + 0x24]
push eax
call fcn.00546980
mov ecx, dword [esi + 0x14]
add esp, 0x10
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x51f18f
mov dword [ecx + 0x10], eax
jmp 0x51f192
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
test ecx, ecx
je 0x51f1b0
mov dword [ecx + 0x14], eax
xor edi, edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esp + 0x18], edi
jmp case.0x51f06c.1
mov dword [ebx + 8], eax
xor edi, edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esp + 0x18], edi
jmp case.0x51f06c.1
cmp byte [esi + 0xd74], 0
je 0x51f1e3
push str.Transfer_was_pending__now_try_another
push esi
call fcn.00524050
push dword [esi + 0x7c]
call fcn.00520980
add esp, 0xc
test edi, edi
jne case.0x51f06c.1
cmp byte [esp + 0x17], 0
mov eax, dword [esi + 0x34]
je 0x51f20a
cmp eax, 3
je case.0x51f06c.1
mov dword [esi + 0x34], 3
jmp case.0x51f06c.1
or ebp, 0xffffffff
cmp byte [esp + 0x13], 0
je 0x51f229
cmp eax, 6
je case.0x51f06c.1
mov dword [esi + 0x34], 6
jmp case.0x51f06c.1
cmp eax, 4
je case.0x51f06c.1
mov dword [esi + 0x34], 4
jmp case.0x51f06c.1
mov eax, dword [ebx]
mov dword [esp + 0x1c], ebp
cmp byte [eax + 0x1c8], 0
je 0x51f255
mov ebx, dword [eax + 0x98]
jmp 0x51f266
cmp byte [eax + 0x1d1], 0
je 0x51f263
mov ebx, dword [eax + 0x68]
jmp 0x51f266
mov ebx, dword [eax + 0x50]
push dword [eax + 0x440]
push ebx
push esi
call fcn.0052c330
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x51f2a6
push ebx
push 0x697874
xor edi, edi
mov dword [esi + 0x990], eax
push esi
mov byte [esi + 0x9a4], 1
mov dword [esp + 0x24], edi
call fcn.00524050
add esp, 0xc
cmp dword [esp + 0x1c], edi
jne 0x51f2ba
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.0052cf20
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x70]
push esi
push ebx
call fcn.00520bb0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x52009e
cmp dword [esp + 0x1c], eax
je 0x51f2f3
lea eax, [esp + 0x13]
push eax
push esi
call fcn.0052c970
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x51f305
mov dword [esi + 0x18], ebp
test edi, edi
je case.0x51f06c.1
mov byte [esp + 0x10], 1
jmp case.0x51f06c.1
mov eax, dword [esi + 0x34]
jmp 0x51f20a
lea eax, [esp + 0x11]
push eax
push esi
call fcn.00538ce0
mov edi, eax
add esp, 8
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
cmp byte [eax + 0x1cc], 0
je 0x51f35c
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x24], edi
call fcn.0051e9d0
add esp, 0xc
cmp dword [esi + 0x34], 2
je case.0x51f06c.1
push esi
mov dword [esi + 0x34], 2
call fcn.00548e10
jmp 0x51fefe
test edi, edi
jne 0x51f2fb
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
jmp 0x51f217
lea eax, [esp + 0x13]
push eax
push 0
push 0
push esi
call fcn.00523760
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x13], 0
mov dword [esp + 0x18], edi
je 0x51f39b
test edi, edi
jne 0x51f3a3
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
jmp 0x51f217
test edi, edi
je case.0x51f06c.1
push esi
call sym._1.0.0.4_10001.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
push 1
push edi
push esi
call fcn.0051e9d0
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x51f06c.1
cmp byte [esi + 0xd7b], 0
je 0x51f3da
push esi
call fcn.005209f0
mov ecx, dword [esi + 0x34]
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov ebx, dword [esi + 0x18]
test edi, edi
jne 0x51f3a3
cmp byte [ebx + 0x1cf], 0
je 0x51f3fe
cmp ecx, 8
je 0x51f3f6
mov dword [esi + 0x34], 8
or ebp, 0xffffffff
jmp case.0x51f06c.1
test edi, edi
jne 0x51f3a3
lea eax, [ebx + 0x1d6]
mov byte [esp + 0x11], 0
push edi
push ebx
mov dword [esp + 0x24], eax
call fcn.00523c90
add esp, 8
test al, al
mov eax, dword [esp + 0x1c]
je 0x51f444
cmp byte [eax], 0
je 0x51f44d
mov eax, dword [ebx + 0x1e8]
movzx ecx, byte [esp + 0x11]
cmp dword [eax + 0x18], edi
mov eax, 1
cmove ecx, eax
mov byte [esp + 0x11], cl
jmp 0x51f479
cmp byte [eax], 0
mov dword [esp + 0x1c], eax
jne 0x51f479
mov eax, dword [ebx + 0x1e8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x51f46d
lea ecx, [esp + 0x11]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x51f479
jmp 0x51f472
mov byte [esp + 0x11], 1
mov eax, dword [esp + 0x1c]
mov byte [eax], 1
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x51f3a3
cmp byte [esp + 0x11], 0
jne 0x51f3ea
cmp ecx, 7
je case.0x51f06c.1
mov dword [esi + 0x34], 7
jmp case.0x51f06c.1
mov edx, dword [ebx]
test edx, edx
je 0x51f4e4
mov eax, dword [edx + 0x1e8]
cmp dword [eax + 0x18], ebp
je 0x51f4e4
mov byte [esp + 0x11], 0
lea ecx, [esp + 0x11]
mov eax, dword [edx + 0x1e8]
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 0x51f4ef
jmp 0x51f3a3
xor edi, edi
mov byte [esp + 0x11], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x11], 0
je case.0x51f06c.1
jmp 0x51f3ea
cmp dword [esi + 0x1cc], ebp
je 0x51f5a9
mov eax, dword [esi + 0x80]
lea edi, [esi + 0x7c]
test eax, eax
jne 0x51f51e
mov eax, dword [edi]
test eax, eax
je 0x51f525
mov byte [eax + 0x10b], 1
push dword [esi + 0xe38]
lea eax, [esi + 0xe08]
push dword [esi + 0xe00]
push eax
lea eax, [esi + 0xdd0]
push eax
push dword [esi + 0x1d0]
mov eax, dword [esi + 0x1cc]
call eax
mov ecx, dword [esi + 0x80]
add esp, 0x14
mov edx, eax
test ecx, ecx
je 0x51f565
mov byte [ecx + 0x10b], 0
jmp 0x51f572
mov eax, dword [edi]
test eax, eax
je 0x51f572
mov byte [eax + 0x10b], 0
test edx, edx
je 0x51f5a6
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.00523f80
mov edi, 0x2a
push esi
mov dword [esp + 0x24], edi
call sym._1.0.0.4_10001.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
push 0
push edi
push esi
call fcn.0051e9d0
add esp, 0x18
mov byte [esp + 0x10], 1
jmp case.0x51f06c.1
mov ecx, dword [esi + 0x34]
cmp byte [esi + 0x6be], 1
mov edx, dword [esi + 0x18]
jne 0x51f5db
push 0
push edx
call fcn.00524d30
add esp, 8
cmp dword [esi + 0x34], 0xe
je 0x51f5cd
mov dword [esi + 0x34], 0xe
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x18], edi
jmp case.0x51f06c.1
mov eax, dword [edx + 0x1e8]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x51f5fd
lea ecx, [esp + 0x12]
push ecx
push esi
call eax
mov edx, dword [esi + 0x18]
add esp, 8
mov ecx, dword [esi + 0x34]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x51f6d7
cmp byte [esp + 0x12], 0
jne 0x51f68a
cmp byte [esi + 0xd6e], 0
je 0x51f675
mov eax, dword [esi + 0xd80]
mov al, byte [eax + 0x20]
cmp al, 7
je 0x51f62a
cmp al, 5
jne 0x51f675
push 0
push 0
push esi
call fcn.0051e9d0
mov ecx, dword [esi + 0x18]
add esp, 0xc
mov eax, ecx
neg eax
sbb eax, eax
add eax, 0xf
cmp dword [esi + 0x34], eax
je 0x51f66d
mov dword [esi + 0x34], eax
test ecx, ecx
jne 0x51f655
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
xor eax, eax
test ecx, ecx
sete al
mov eax, dword [eax*4 + 0x697650]
test eax, eax
je 0x51f66d
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x51f06c.1
cmp ecx, 9
je case.0x51f06c.1
mov dword [esi + 0x34], 9
jmp case.0x51f06c.1
cmp byte [edx + 0x1d5], 0
je 0x51f6a8
cmp ecx, 0xa
je case.0x51f06c.1
mov dword [esi + 0x34], 0xa
jmp case.0x51f06c.1
cmp ecx, 0xb
je 0x51f3f6
push 6
lea eax, [esp + 0x60]
mov dword [esi + 0x34], 0xb
push esi
push eax
mov byte [esi + 0x14f], 0
call fcn.0054aa80
add esp, 0xc
or ebp, 0xffffffff
jmp case.0x51f06c.1
cmp edi, 0x37
jne 0x51f795
cmp byte [edx + 0x1cf], 0
je 0x51f795
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push eax
push esi
call fcn.00549620
add esp, 8
test eax, eax
je 0x51f70e
mov edi, eax
mov byte [esp + 0x10], 1
mov dword [esp + 0x18], edi
push esi
call sym._1.0.0.4_10001.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
push 0
push edi
push esi
call fcn.0051e9d0
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x51f784
test eax, eax
je 0x51f743
cmp eax, 0x37
je 0x51f743
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call dword [0x74bc2c]
jmp 0x51fefe
push 2
push ecx
push esi
call fcn.005488e0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x51f770
cmp dword [esi + 0x34], 2
je 0x51f76b
push esi
mov dword [esi + 0x34], 2
call fcn.00548e10
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], edi
call dword [0x74bc2c]
jmp 0x51fefe
push ecx
mov byte [esp + 0x14], 1
call dword [0x74bc2c]
jmp 0x51fefe
push esi
call sym._1.0.0.4_10001.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
add esp, 4
cmp dword [esi + 0x18], ebp
je 0x51f3b5
push 0
push edi
push esi
call fcn.0051e9d0
add esp, 0xc
mov byte [esp + 0x10], 1
jmp case.0x51f06c.1
mov edx, dword [ebx]
test edx, edx
je 0x51f813
mov eax, dword [edx + 0x1e8]
cmp dword [eax + 0x1c], ebp
je 0x51f813
mov byte [esp + 0x12], 0
lea ecx, [esp + 0x12]
mov eax, dword [edx + 0x1e8]
push ecx
push esi
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esi + 0x18]
mov edi, eax
mov ecx, dword [esi + 0x34]
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x51f81e
push esi
call sym._1.0.0.4_10001.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
push 0
push edi
push esi
call fcn.0051e9d0
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x51f06c.1
xor edi, edi
mov byte [esp + 0x12], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x12], 0
je case.0x51f06c.1
mov dl, byte [edx + 0x1d5]
xor eax, eax
test dl, dl
sete al
add eax, 0xa
cmp ecx, eax
je 0x51f3f6
mov dword [esi + 0x34], eax
xor eax, eax
test dl, dl
sete al
mov eax, dword [eax*4 + 0x697640]
test eax, eax
je 0x51f3f6
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x51f06c.1
mov eax, dword [ebx]
xor edx, edx
mov dword [esp + 0x2c], edx
xor edi, edi
mov eax, dword [eax + 0x1e8]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x51f893
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 0x51f7f7
test edx, edx
je case.0x51f06c.1
xor eax, eax
cmp edx, 1
sete al
lea eax, [eax*2 + 9]
cmp ecx, eax
je 0x51f3f6
mov dword [esi + 0x34], eax
mov eax, dword [eax*4 + 0x697618]
test eax, eax
je 0x51f3f6
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x51f06c.1
mov eax, dword [ebx]
cmp byte [eax + 0x1df], 0
je 0x51f8fc
mov ebx, dword [esp + 0x70]
push ebx
call fcn.00520980
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
add esp, 4
mov eax, dword [ebx]
cmp dword [eax + 0x200], 0xffffffff
jne 0x51f947
cmp dword [eax + 0x204], 0xffffffff
jne 0x51f947
cmp byte [esi + 0xd6e], 0
je 0x51f932
mov eax, dword [eax + 0x1e8]
test dword [eax + 0x4c], 0x1000
jne 0x51f932
mov eax, dword [esi + 0xd80]
mov byte [eax + 0x20], 7
cmp dword [esi + 0x34], 0xe
je 0x51f953
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x51f06c.1
cmp ecx, 0xc
je 0x51f953
mov dword [esi + 0x34], 0xc
or ebp, 0xffffffff
jmp case.0x51f06c.1
push esi
call fcn.0054ad40
add esp, 4
test eax, eax
je 0x51f975
mov ebx, 0x2a
mov edi, ebx
mov dword [esp + 0x18], edi
jmp 0x51f999
mov ecx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.0054c090
mov edi, eax
add esp, 0x14
mov dword [esp + 0x18], edi
mov ebx, edi
test edi, edi
je 0x51f9cf
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x1e8]
test byte [eax + 0x4c], 2
jne 0x51f9b8
cmp ebx, 0x5c
je 0x51f9b8
push 2
push ecx
call fcn.00524d30
add esp, 8
push esi
call sym._1.0.0.4_10001.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
push 1
push ebx
push esi
call fcn.0051e9d0
add esp, 0x10
jmp case.0x51f06c.1
mov edx, dword [esi + 0x228]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x22c]
mov eax, edx
or eax, ecx
movlpd qword [esp + 0x30], xmm0
je 0x51fa32
mov ebx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7c8]
push ecx
push edx
push dword [esi + 0x7dc]
movups xmmword [eax], xmm0
push dword [esi + 0x7d8]
push dword [esi + 0x72c]
push dword [esi + 0x728]
call fcn.0054a6c0
add esp, 0x38
mov dword [esp + 0x1c], edx
mov ebx, eax
jmp 0x51fa3e
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x230]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x234]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x51faa1
mov edx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x230]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7e0]
push ecx
push edx
push dword [esi + 0x7f4]
movups xmmword [eax], xmm0
push dword [esi + 0x7f0]
push dword [esi + 0x724]
push dword [esi + 0x720]
call fcn.0054a6c0
add esp, 0x38
mov ecx, eax
jmp 0x51faa9
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, ebx
or eax, dword [esp + 0x1c]
jne 0x51fae1
mov eax, ecx
or eax, edx
jne 0x51fae1
cmp dword [esi + 0x34], 0xc
je 0x51fac4
mov dword [esi + 0x34], 0xc
mov ecx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.0054b090
add esp, 0x14
jmp case.0x51f06c.1
mov eax, dword [esp + 0x1c]
cmp eax, edx
jl 0x51fb01
jg 0x51faef
cmp ebx, ecx
jb 0x51fb01
push 0xb
push eax
push ebx
push esi
call fcn.0051d940
add esp, 0x10
jmp case.0x51f06c.1
push 0xb
push edx
push ecx
push esi
call fcn.0051d940
add esp, 0x10
jmp case.0x51f06c.1
mov edx, dword [esi + 0x228]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x22c]
mov eax, edx
or eax, ecx
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
movlpd qword [esp + 0x30], xmm0
je 0x51fb84
mov ebx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7c8]
push ecx
push edx
push dword [esi + 0x7dc]
movups xmmword [eax], xmm0
push dword [esi + 0x7d8]
push dword [esi + 0x72c]
push dword [esi + 0x728]
call fcn.0054a6c0
add esp, 0x38
mov dword [esp + 0x20], edx
mov ebx, eax
jmp 0x51fb90
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x230]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x234]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x51fbf7
mov edx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x230]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7e0]
push ecx
push edx
push dword [esi + 0x7f4]
movups xmmword [eax], xmm0
push dword [esi + 0x7f0]
push dword [esi + 0x724]
push dword [esi + 0x720]
call fcn.0054a6c0
add esp, 0x38
mov dword [esp + 0x24], eax
mov ecx, eax
jmp 0x51fc03
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov eax, ebx
mov dword [esp + 0x30], edx
or eax, dword [esp + 0x20]
jne 0x51fdfc
mov eax, ecx
or eax, edx
jne 0x51fdfc
lea eax, [esp + 0x16]
push eax
lea eax, [esp + 0x18]
push eax
push esi
push dword [esi + 0x18]
call fcn.00549270
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x14], 0
mov dword [esp + 0x18], edi
jne 0x51fc84
cmp edi, 0x38
je 0x51fc84
cmp edi, 0x5c
jne 0x51fd0c
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x1e8]
test byte [eax + 0x4c], 2
jne 0x51fc6d
cmp edi, 0x5c
je 0x51fc6d
push 2
push ecx
call fcn.00524d30
add esp, 8
push esi
call sym._1.0.0.4_10001.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
push 1
push edi
push esi
call fcn.0051e9d0
add esp, 0x10
jmp case.0x51f06c.1
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00549620
add esp, 8
test eax, eax
jne 0x51fcfe
cmp dword [esp + 0x1c], ebp
setne bl
test bl, bl
je 0x51fd10
push esi
mov byte [esp + 0x18], 1
call sym._1.0.0.4_10001.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
add esp, 4
mov edi, 2
push 0
push 0
push esi
call fcn.0051e9d0
push edi
push dword [esp + 0x2c]
push esi
call fcn.005488e0
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
test edi, edi
jne 0x51fcef
cmp dword [esi + 0x34], 2
je 0x51fcec
push esi
mov dword [esi + 0x34], 2
call fcn.00548e10
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x1c]
call dword [0x74bc2c]
jmp 0x51fefe
test edi, edi
jne 0x51fc4e
mov edi, eax
mov dword [esp + 0x18], edi
mov bl, byte [esp + 0x15]
test edi, edi
jne 0x51fc4e
cmp byte [esp + 0x14], 0
je 0x51fddd
push esi
call sym._1.0.0.4_10001.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
add esp, 4
test bl, bl
jne 0x51fcaf
cmp dword [esi + 0x120], ebp
jne 0x51fdb6
cmp dword [esi + 0x11c], ebp
je 0x51fd9d
push dword [esp + 0x1c]
call dword [0x74bc2c]
mov eax, dword [esi + 0x11c]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x11c], ebp
call fcn.005488e0
push dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x2c], edi
call dword [0x74bc2c]
add esp, 0x14
test edi, edi
je 0x51fd9d
push 1
push edi
push esi
mov byte [esp + 0x1c], 1
call fcn.0051e9d0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x51f06c.1
cmp dword [esi + 0x34], 0xe
je 0x51f3f6
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x51f06c.1
push dword [esp + 0x1c]
call dword [0x74bc2c]
mov eax, dword [esi + 0x120]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x120], ebp
jmp 0x51fcb4
cmp byte [esp + 0x16], 0
je case.0x51f06c.1
push 8
push 0
push 0
push esi
call fcn.0051d940
add esp, 0x10
jmp case.0x51f06c.1
mov ecx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.0054b090
add esp, 0x14
cmp dword [esi + 0x34], 0xd
je 0x51fe21
mov dword [esi + 0x34], 0xd
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
cmp eax, edx
jl 0x51fe49
jg 0x51fe51
mov ecx, dword [esp + 0x24]
cmp ebx, ecx
jb 0x51fe4d
push 0xb
push eax
push ebx
push esi
call fcn.0051d940
add esp, 0x10
jmp case.0x51f06c.1
mov ecx, dword [esp + 0x24]
mov ebx, ecx
mov eax, edx
push 0xb
push eax
push ebx
push esi
call fcn.0051d940
add esp, 0x10
jmp case.0x51f06c.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0x51fe97
cmp byte [eax + 0x1df], 0
je 0x51fe82
mov ebx, dword [esp + 0x70]
push ebx
call fcn.00520980
add esp, 4
push 0
push edi
push esi
call fcn.0051e9d0
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0xd6e], 0
je 0x51febb
mov eax, dword [esi + 0xd80]
cmp byte [eax + 0x20], 7
je 0x51febb
cmp dword [esi + 0x34], 0
je case.0x51f06c.1
mov dword [esi + 0x34], 0
jmp case.0x51f06c.1
cmp dword [esi + 0x34], 0xf
je case.0x51f06c.1
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x51fef1
push esi
push ebx
call fcn.005238e0
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x23c]
push eax
call fcn.00546a00
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.0051db50
add esp, 4
cmp dword [esi + 0x18], 0
lea ebx, [esi + 0x18]
je 0x51ff53
mov eax, dword [esi + 0x34]
lea ebx, [esi + 0x18]
mov edx, dword [esp + 0x70]
sub eax, 2
cmp eax, 5
ja 0x51ff57
lea ebx, [esi + 0x18]
cmp ebp, 0xffffffff
je 0x51ff57
cmp byte [edx + 0x10a], 0
lea ebx, [esi + 0x18]
jne 0x51ff57
push 1
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x80]
push esi
call fcn.0051ede0
mov edi, dword [esp + 0x2c]
lea ebx, [esi + 0x18]
add esp, 0x14
mov edx, dword [esp + 0x70]
cmp dword [esi + 0x34], 0xf
jge 0x52007f
test edi, edi
je 0x520018
push edx
call fcn.00520980
mov ebp, dword [ebx]
add esp, 4
test ebp, ebp
je 0x51ffc2
cmp byte [esp + 0x10], 0
je 0x51ffd1
cmp edi, 0x1c
push esi
push ebp
sete byte [esp + 0x40]
call fcn.005238e0
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x23c]
push eax
call fcn.00546a00
push 1
push ebp
push esi
mov dword [ebx], 0
call fcn.00522240
push dword [esp + 0x58]
push ebp
push esi
call fcn.00517a00
add esp, 0x2c
lea ebx, [esi + 0x18]
jmp 0x51ffd1
cmp dword [esi + 0x34], 2
jne 0x51ffd1
push esi
call sym._1.0.0.4_10001.exe_protected_virtual:_unsigned_int___thiscall_DuiLib::CWindowWnd::GetClassStyle_void_const
add esp, 4
cmp dword [esi + 0x34], 0xf
je 0x520078
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebp, dword [ebx]
test ebp, ebp
je 0x52000a
push esi
push ebp
call fcn.005238e0
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x23c]
push eax
call fcn.00546a00
add esp, 0x14
push esi
mov dword [ebx], 0
call fcn.0051db50
jmp 0x520075
cmp dword [ebx], 0
je 0x52007b
push esi
call fcn.0054ad40
add esp, 4
test eax, eax
je 0x52007b
push 2
push dword [ebx]
mov edi, 0x2a
mov dword [esp + 0x20], edi
call fcn.00524d30
mov ecx, dword [esi + 0x34]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x520078
mov dword [esi + 0x34], eax
cmp ecx, 0xe
jl 0x52005f
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x697650]
test eax, eax
je 0x520078
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x34], 0xf
je 0x5200a8
mov ecx, dword [esp + 0x70]
cmp ebp, 0xffffffff
je 0x51eff0
cmp byte [ecx + 0x10a], 0
jne 0x51eff0
mov dword [esi + 0x38], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov eax, dword [esi + 0x6a0]
test eax, eax
je 0x5200bf
push edi
push esi
call eax
mov ebx, dword [esp + 0x78]
add esp, 8
jmp 0x5200e4
mov ebx, dword [esp + 0x70]
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 dword [ebx + 0x18]
push eax
call fcn.00546980
add esp, 0x10
cmp dword [esi + 0x34], 0x10
je 0x5200f1
mov dword [esi + 0x34], 0x10
lea eax, [esi + 0x1c]
push eax
push esi
push dword [ebx + 0x38]
lea eax, [ebx + 0x34]
push eax
call fcn.00546980
push esi
push ebx
call fcn.005210a0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x5c
ret