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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1cf7
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x616040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x34], ebx
cmp dword [ebx + 0x24], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], esi
je 0x57a9e5
or dword [ebx + 0x28], 1
jmp 0x57b809
push 0
push 0
push 0x31
mov dword [ebx + 0x2c], esi
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.00416183
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x57aa38
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x48], edi
mov dword [ebp - 4], 0
mov eax, dword [ebx]
cmp eax, 0x339f
jg case.0x57aa6d.3409
je 0x57b77d
sub eax, 0xd4b
cmp eax, 0x27
ja case.0x57aa6d.3409
jmp dword [eax*4 + 0x57b828]
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x57aa9b
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CStatic.0
jmp 0x57aa9d
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x200
push edi
call dword [eax + 0x160]
jmp case.0x57aa6d.3410
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x57aae6
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CStatic.0
jmp 0x57aae8
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0
push edi
call dword [eax + 0x160]
jmp case.0x57aa6d.3410
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x57ab2e
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CStatic.0
jmp 0x57ab30
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x1007
push edi
call dword [eax + 0x160]
mov ecx, dword [ebx + 0x24]
push 0x20
push 0x20004
push 0
call fcn.00414ba5
jmp case.0x57aa6d.3410
push 0x7c
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x57ab83
mov ecx, eax
call fcn.005783c0
mov ecx, eax
jmp 0x57ab85
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x20d
push 0x5e9af0
call dword [eax + 0x160]
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x18]
sar eax, 2
cmp eax, 2
jae case.0x57aa6d.3410
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
call fcn.0058c680
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x57abfc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x20
push eax
lea ecx, [ebx + 0x18]
call fcn.004043b0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x20
push eax
lea ecx, [ebx + 0x18]
call fcn.004043b0
jmp case.0x57aa6d.3410
xor ecx, ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x60]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x18]
mov dword [ebp - 0x30], 0
test eax, 0xfffffffc
jne 0x57ac4f
mov eax, dword [ebp - 0x5c]
lea ecx, [ebx + 0x18]
add eax, 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004043b0
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x18]
and eax, 0xfffffffc
cmp eax, 4
jne case.0x57aa6d.3410
mov eax, dword [ebp - 0x58]
lea ecx, [ebx + 0x18]
add eax, 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004043b0
jmp case.0x57aa6d.3410
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x57aca2
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CEdit.0
jmp 0x57aca4
xor ecx, ecx
mov byte [ebp - 4], 0
lea eax, [ebp - 0x24]
push dword [ebx + 4]
push esi
push eax
push 0x10880
mov dword [ebx + 0x24], ecx
call fcn.0040ddc1
mov ecx, dword [ebx + 0x24]
push 0x20
push 0x204
push 0
call fcn.00414ba5
jmp case.0x57aa6d.3410
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x57acfa
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CEdit.0
jmp 0x57acfc
xor ecx, ecx
mov byte [ebp - 4], 0
mov eax, dword [ebx + 4]
mov dword [ebx + 0x24], ecx
cmp eax, 0x1f56
je 0x57ad21
cmp eax, 0x1f54
je 0x57ad21
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push 0x12000
jmp 0x57ad2c
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push 0x10000
call fcn.0040ddc1
mov ecx, dword [ebx + 0x24]
push 0x20
push 0x204
push 0
call fcn.00414ba5
lea eax, [ebx + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x18]
sar eax, 2
cmp eax, 4
jb 0x57ad9f
mov edi, dword [ebp - 0x28]
mov ebx, 2
lea esi, [ebx + 0x62]
push 3
mov ecx, edi
call fcn.00404420
cmp dword [eax], esi
jl 0x57ad79
lea esi, [esi + esi*4]
inc ebx
add esi, esi
cmp ebx, 8
jl 0x57ad61
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x34]
push 0
push dword [ebp - 0x30]
mov eax, dword [ebx + 0x24]
push 0xc5
push dword [eax + 0x20]
call esi
mov edi, dword [ebp - 0x48]
jmp 0x57b7b8
cmp dword [ebx + 4], 0xe0b
mov eax, dword [ebx + 0x24]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 2
push 0xc5
push dword [eax + 0x20]
je 0x57af64
call esi
jmp 0x57b7b8
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x57adef
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CEdit.0
jmp 0x57adf1
xor ecx, ecx
mov byte [ebp - 4], 0
lea eax, [ebp - 0x24]
push dword [ebx + 4]
push esi
push eax
push 0x10000
jmp 0x57acb5
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x57ae2e
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CDateTimeCtrl.0
jmp 0x57ae30
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x10004
call dword [eax + 0x160]
lea ecx, [ebp - 0x44]
call fcn.005888c0
mov ecx, dword [ebx + 0x24]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push dword [eax]
push 0
push 0x1032
push dword [ecx + 0x20]
call esi
lea ecx, [ebp - 0x44]
call fcn.00402b60
jmp 0x57b7b8
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x57ae9f
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CDateTimeCtrl.0
jmp 0x57aea1
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x10009
call dword [eax + 0x160]
lea ecx, [ebp - 0x3c]
call fcn.00588540
mov ecx, dword [ebx + 0x24]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push dword [eax]
push 0
push 0x1032
push dword [ecx + 0x20]
call esi
lea ecx, [ebp - 0x3c]
call fcn.00402b60
jmp 0x57b7b8
push 0xac
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x57af0a
mov ecx, eax
call fcn.005475c0
jmp 0x57af0c
xor eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], eax
push esi
push ecx
push 0x10020
mov ecx, eax
call fcn.0040ddc1
mov ecx, dword [ebx + 0x24]
push 0x20
push 0x204
push 0
call fcn.00414ba5
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jne 0x57af43
xor eax, eax
jmp 0x57af46
mov eax, dword [ecx + 0x20]
sub esp, 0xc
push eax
call fcn.00547410
mov eax, dword [ebx + 0x24]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x20
push 0xc5
push dword [eax + 0x20]
call esi
jmp 0x57b7b8
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x57af92
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CButton.0
jmp 0x57af94
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x50020007
push edi
call dword [eax + 0x160]
jmp case.0x57aa6d.3410
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x57afdd
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CButton.0
jmp 0x57afdf
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x10f00
push edi
call dword [eax + 0x160]
jmp case.0x57aa6d.3410
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x18]
sub eax, dword [ecx]
and eax, 0xfffffffc
mov dword [ebp - 0x28], ecx
cmp eax, 0x20
jne 0x57b0ca
push 0xcc
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x57b03b
mov ecx, eax
call fcn.00570bd0
mov ecx, eax
jmp 0x57b03d
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x1030b
push edi
call dword [eax + 0x160]
lea esi, [ebx + 0x18]
push 7
mov ecx, esi
call fcn.00404420
push 6
mov ecx, esi
mov dword [ebp - 0x30], eax
call fcn.00404420
push 5
mov ecx, esi
mov dword [ebp - 0x38], eax
call fcn.00404420
push 4
mov ecx, esi
mov dword [ebp - 0x2c], eax
call fcn.00404420
push 3
mov ecx, esi
mov ebx, eax
call fcn.00404420
mov ecx, dword [ebp - 0x28]
mov esi, eax
push 2
call fcn.00404420
mov ecx, dword [ebp - 0x30]
push 0
push 0x12
push dword [ecx]
mov ecx, dword [ebp - 0x38]
push dword [ecx]
mov ecx, dword [ebp - 0x2c]
push dword [ecx]
push dword [ebx]
mov ebx, dword [ebp - 0x34]
push dword [esi]
push dword [eax]
mov ecx, dword [ebx + 0x24]
call fcn.00570ce0
jmp case.0x57aa6d.3410
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x57b0f1
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CButton.0
jmp 0x57b0f3
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x10300
push edi
call dword [eax + 0x160]
jmp case.0x57aa6d.3410
push 0xcc
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x57b138
mov ecx, eax
call fcn.00570bd0
mov ecx, eax
jmp 0x57b13a
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x3030b
push edi
call dword [eax + 0x160]
jmp case.0x57aa6d.3410
push 0x90
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x57b17f
mov ecx, eax
call fcn.00577bb0
mov ecx, eax
jmp 0x57b181
xor ecx, ecx
push 0
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x10010000
push edi
push 0x5ec084
call dword [eax + 0x54]
jmp case.0x57aa6d.3410
push 0xcc
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x12
test eax, eax
je 0x57b1ca
mov ecx, eax
call fcn.00570bd0
mov ecx, eax
jmp 0x57b1cc
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x1001000b
push 0x5e9af0
call dword [eax + 0x160]
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x18]
sar eax, 2
cmp eax, 2
jb 0x57b276
push 2
lea ecx, [ebx + 0x18]
call fcn.00404420
cmp dword [eax], 0x311
je 0x57b256
push 2
lea ecx, [ebx + 0x18]
call fcn.00404420
cmp dword [eax], 0x312
je 0x57b256
push 2
lea ecx, [ebx + 0x18]
call fcn.00404420
cmp dword [eax], 0x2fc
je 0x57b256
push 2
lea ecx, [ebx + 0x18]
call fcn.00404420
mov ecx, dword [ebx + 0x24]
push 0
push 0x24
mov eax, dword [eax]
push 0
push 0
push eax
push eax
push eax
push eax
call fcn.00570ce0
jmp case.0x57aa6d.3410
push 2
lea ecx, [ebx + 0x18]
call fcn.00404420
push dword [0x62202c]
push ecx
push dword [eax]
mov ecx, dword [ebx + 0x24]
call fcn.00570880
jmp case.0x57aa6d.3410
mov eax, dword [ebx + 4]
sub eax, 0xe40
je 0x57b296
dec eax
je 0x57b28f
sub eax, 0x60
jne 0x57b296
mov eax, 0x2fc
jmp 0x57b29b
mov eax, 0x312
jmp 0x57b29b
mov eax, 0x311
push dword [0x62202c]
push ecx
mov ecx, dword [ebx + 0x24]
push eax
call fcn.00570880
jmp case.0x57aa6d.3410
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x57b2d7
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CButton.0
jmp 0x57b2d9
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x30003
push edi
call dword [eax + 0x160]
jmp case.0x57aa6d.3410
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x14
test eax, eax
je 0x57b322
mov ecx, eax
call fcn.0040e28c
mov eax, dword [ebp - 0x2c]
mov dword [eax], vtable.CButton.0
jmp 0x57b324
xor eax, eax
mov byte [ebp - 4], 0
mov ecx, ebx
mov dword [ebx + 0x24], eax
mov dword [ebp - 0x34], 0x10009
call fcn.0040ad60
test eax, eax
je 0x57b344
mov dword [ebp - 0x34], 0x30009
push dword [ebx + 4]
mov ecx, dword [ebx + 0x24]
lea edx, [ebp - 0x24]
push esi
push edx
push dword [ebp - 0x34]
mov eax, dword [ecx]
push edi
call dword [eax + 0x160]
mov ecx, ebx
call fcn.0040ada0
test eax, eax
je case.0x57aa6d.3410
mov esi, dword [ebx + 0x18]
add esi, 4
cmp esi, dword [ebx + 0x1c]
je case.0x57aa6d.3410
lea eax, [esi + 4]
mov dword [ebp - 0x30], eax
nop
push dword [esi]
mov ecx, dword [ebp - 0x28]
call fcn.00414a12
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebx + 0x1c]
je case.0x57aa6d.3410
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.00414a12
test eax, eax
je 0x57b3c1
cmp dword [eax + 0x20], 0
je 0x57b3c1
push 3
push 0
push 0
push 0
push 0
push dword [ebp - 0x2c]
mov ecx, eax
call fcn.00414cc0
add dword [ebp - 0x30], 4
add esi, 4
cmp esi, dword [ebx + 0x1c]
jne 0x57b380
jmp case.0x57aa6d.3410
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x15
test eax, eax
je 0x57b3f9
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CComboBox.0
jmp 0x57b3fb
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x30042
call dword [eax + 0x160]
mov eax, dword [ebx + 0x24]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x40
push 0x141
push dword [eax + 0x20]
call esi
jmp 0x57b7b8
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x16
test eax, eax
je 0x57b45a
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CComboBoxEx.0
jmp 0x57b45c
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x230003
call dword [eax + 0x160]
jmp case.0x57aa6d.3410
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x17
test eax, eax
je 0x57b4a4
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CSpinButtonCtrl.0
jmp 0x57b4a6
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x36
call dword [eax + 0x160]
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x18]
sar eax, 2
mov dword [ebp - 0x28], 0
cmp eax, 1
jb 0x57b4e3
push 0
lea ecx, [ebx + 0x18]
call fcn.00404420
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x18]
sar eax, 2
mov dword [ebp - 0x34], 0
cmp eax, 2
jb 0x57b507
push 1
lea ecx, [ebx + 0x18]
call fcn.00404420
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x18]
sar eax, 2
mov dword [ebp - 0x30], 0
cmp eax, 3
jb 0x57b52b
push 2
lea ecx, [ebx + 0x18]
call fcn.00404420
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x28]
mov eax, dword [ebx + 0x24]
push dword [ebp - 0x34]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x46f
push dword [eax + 0x20]
call esi
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebx + 0x24]
movzx eax, ax
push eax
push 0
push 0x467
push dword [ecx + 0x20]
call esi
jmp 0x57b7b8
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x18
test eax, eax
je 0x57b586
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CSliderCtrl.0
jmp 0x57b588
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x10005
call dword [eax + 0x160]
mov ecx, dword [ebx + 0x24]
push 0
push 3
push 0xfffffffffffffffd
call fcn.00418593
mov eax, dword [ebx + 0x24]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x414
push dword [eax + 0x20]
call esi
jmp 0x57b7b8
push 0xb4
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x19
test eax, eax
je 0x57b5f1
mov ecx, eax
call fcn.005725e0
mov ecx, eax
jmp 0x57b5f3
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
cmp dword [esi + 0x110], 0xd0d
mov eax, dword [ecx]
push esi
push edx
jne 0x57b617
push 0x910b51
jmp 0x57b61c
push 0x910351
call dword [eax + 0x160]
mov eax, dword [ebx + 0x24]
push 1
mov dword [eax + 0x74], 0
mov eax, dword [ebx + 0x24]
mov dword [eax + 0x78], 1
mov ecx, dword [ebx + 0x24]
call fcn.00572bc0
xor eax, eax
mov dword [ebp - 0x2c], 0
cmp dword [esi + 0x110], 0xd0d
lea ecx, [ebx + 0x18]
sete al
lea eax, [eax*2 + 3]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004043b0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
lea ecx, [ebx + 0x18]
call fcn.004043b0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebx + 0x18]
call fcn.004043b0
jmp case.0x57aa6d.3410
push 0xb4
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x57b6b3
mov ecx, eax
call fcn.005725e0
mov ecx, eax
jmp 0x57b6b5
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0xa10151
call dword [eax + 0x160]
jmp case.0x57aa6d.3410
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x57b6fd
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CTabCtrl.0
jmp 0x57b6ff
xor ecx, ecx
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24]
push dword [ebx + 4]
mov dword [ebx + 0x24], ecx
mov eax, dword [ecx]
push esi
push edx
push 0x10010400
call dword [eax + 0x160]
jmp case.0x57aa6d.3410
push 0x7c
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x57b749
push dword [esi + 0x4e8]
mov ecx, eax
push dword [ebx + 0x3c]
call fcn.00547d30
mov ecx, eax
jmp 0x57b74b
xor ecx, ecx
mov byte [ebp - 4], 0
mov dword [ebx + 0x24], ecx
cmp dword [esi + 0x4e8], 0
je case.0x57aa6d.3410
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push 0
push 0xeb3
push esi
push edx
push 0x10800000
push str.CustomPicture
push str.CustomPicture
call dword [eax + 0x54]
jmp case.0x57aa6d.3410
push 0x74
call fcn.0040d506
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x57ab2e
mov ecx, eax
call fcn.0040e28c
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CStatic.0
jmp 0x57ab30
mov dword [ebx + 0x24], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x57b7e8
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x57b7c9
mov eax, dword [eax + 4]
push 0
push eax
push 0x30
push dword [ecx + 0x20]
call esi
mov ecx, ebx
mov dword [ebx + 0x28], 0xf
call fcn.0057d950
mov ecx, ebx
call fcn.0057d3e0
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x57b809
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00527e5c
mov esp, ebp
pop ebp
ret 4