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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af6c7
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x614040]
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 0x579a65
or dword [ebx + 0x28], 1
jmp 0x57a889
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.00415fa2
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.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x579ab8
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.0x579aed.3409
je 0x57a7fd
sub eax, 0xd4b
cmp eax, 0x27
ja case.0x579aed.3409
jmp dword [eax*4 + 0x57a8a8]
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x579b1b
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CStatic.0
jmp 0x579b1d
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.0x579aed.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x579b66
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CStatic.0
jmp 0x579b68
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.0x579aed.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x579bae
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CStatic.0
jmp 0x579bb0
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.004149f1
jmp case.0x579aed.3410
push 0x7c
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x579c03
mov ecx, eax
call fcn.005774b0
mov ecx, eax
jmp 0x579c05
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 0x5e7af0
call dword [eax + 0x160]
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x18]
sar eax, 2
cmp eax, 2
jae case.0x579aed.3410
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
call fcn.0058a330
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x579c7c
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x20
push eax
lea ecx, [ebx + 0x18]
call fcn.00404360
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x20
push eax
lea ecx, [ebx + 0x18]
call fcn.00404360
jmp case.0x579aed.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 0x579ccf
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.00404360
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x18]
and eax, 0xfffffffc
cmp eax, 4
jne case.0x579aed.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.00404360
jmp case.0x579aed.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x579d22
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CEdit.0
jmp 0x579d24
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.0040dd96
mov ecx, dword [ebx + 0x24]
push 0x20
push 0x204
push 0
call fcn.004149f1
jmp case.0x579aed.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x579d7a
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CEdit.0
jmp 0x579d7c
xor ecx, ecx
mov byte [ebp - 4], 0
mov eax, dword [ebx + 4]
mov dword [ebx + 0x24], ecx
cmp eax, 0x1f56
je 0x579da1
cmp eax, 0x1f54
je 0x579da1
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push 0x12000
jmp 0x579dac
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push 0x10000
call fcn.0040dd96
mov ecx, dword [ebx + 0x24]
push 0x20
push 0x204
push 0
call fcn.004149f1
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 0x579e1f
mov edi, dword [ebp - 0x28]
mov ebx, 2
lea esi, [ebx + 0x62]
push 3
mov ecx, edi
call fcn.004043d0
cmp dword [eax], esi
jl 0x579df9
lea esi, [esi + esi*4]
inc ebx
add esi, esi
cmp ebx, 8
jl 0x579de1
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 0x57a838
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 0x579fe4
call esi
jmp 0x57a838
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x579e6f
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CEdit.0
jmp 0x579e71
xor ecx, ecx
mov byte [ebp - 4], 0
lea eax, [ebp - 0x24]
push dword [ebx + 4]
push esi
push eax
push 0x10000
jmp 0x579d35
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x579eae
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CDateTimeCtrl.0
jmp 0x579eb0
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.00586980
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 0x57a838
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x579f1f
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CDateTimeCtrl.0
jmp 0x579f21
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.00586600
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 0x57a838
push 0xac
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x579f8a
mov ecx, eax
call fcn.00547590
jmp 0x579f8c
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.0040dd96
mov ecx, dword [ebx + 0x24]
push 0x20
push 0x204
push 0
call fcn.004149f1
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jne 0x579fc3
xor eax, eax
jmp 0x579fc6
mov eax, dword [ecx + 0x20]
sub esp, 0xc
push eax
call fcn.005473e0
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 0x57a838
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x57a012
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CButton.0
jmp 0x57a014
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.0x579aed.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x57a05d
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CButton.0
jmp 0x57a05f
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.0x579aed.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 0x57a14a
push 0xcc
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x57a0bb
mov ecx, eax
call fcn.0056fcd0
mov ecx, eax
jmp 0x57a0bd
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.004043d0
push 6
mov ecx, esi
mov dword [ebp - 0x30], eax
call fcn.004043d0
push 5
mov ecx, esi
mov dword [ebp - 0x38], eax
call fcn.004043d0
push 4
mov ecx, esi
mov dword [ebp - 0x2c], eax
call fcn.004043d0
push 3
mov ecx, esi
mov ebx, eax
call fcn.004043d0
mov ecx, dword [ebp - 0x28]
mov esi, eax
push 2
call fcn.004043d0
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.0056fde0
jmp case.0x579aed.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x57a171
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CButton.0
jmp 0x57a173
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.0x579aed.3410
push 0xcc
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x57a1b8
mov ecx, eax
call fcn.0056fcd0
mov ecx, eax
jmp 0x57a1ba
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.0x579aed.3410
push 0x90
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x57a1ff
mov ecx, eax
call fcn.00576ca0
mov ecx, eax
jmp 0x57a201
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 0x5e9ffc
call dword [eax + 0x54]
jmp case.0x579aed.3410
push 0xcc
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x12
test eax, eax
je 0x57a24a
mov ecx, eax
call fcn.0056fcd0
mov ecx, eax
jmp 0x57a24c
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 0x5e7af0
call dword [eax + 0x160]
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x18]
sar eax, 2
cmp eax, 2
jb 0x57a2f6
push 2
lea ecx, [ebx + 0x18]
call fcn.004043d0
cmp dword [eax], 0x311
je 0x57a2d6
push 2
lea ecx, [ebx + 0x18]
call fcn.004043d0
cmp dword [eax], 0x312
je 0x57a2d6
push 2
lea ecx, [ebx + 0x18]
call fcn.004043d0
cmp dword [eax], 0x2fc
je 0x57a2d6
push 2
lea ecx, [ebx + 0x18]
call fcn.004043d0
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.0056fde0
jmp case.0x579aed.3410
push 2
lea ecx, [ebx + 0x18]
call fcn.004043d0
push dword [0x62002c]
push ecx
push dword [eax]
mov ecx, dword [ebx + 0x24]
call fcn.0056f980
jmp case.0x579aed.3410
mov eax, dword [ebx + 4]
sub eax, 0xe40
je 0x57a316
dec eax
je 0x57a30f
sub eax, 0x60
jne 0x57a316
mov eax, 0x2fc
jmp 0x57a31b
mov eax, 0x312
jmp 0x57a31b
mov eax, 0x311
push dword [0x62002c]
push ecx
mov ecx, dword [ebx + 0x24]
push eax
call fcn.0056f980
jmp case.0x579aed.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x57a357
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CButton.0
jmp 0x57a359
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.0x579aed.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x14
test eax, eax
je 0x57a3a2
mov ecx, eax
call fcn.0040e1c8
mov eax, dword [ebp - 0x2c]
mov dword [eax], vtable.CButton.0
jmp 0x57a3a4
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 0x57a3c4
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.0x579aed.3410
mov esi, dword [ebx + 0x18]
add esi, 4
cmp esi, dword [ebx + 0x1c]
je case.0x579aed.3410
lea eax, [esi + 4]
mov dword [ebp - 0x30], eax
nop
push dword [esi]
mov ecx, dword [ebp - 0x28]
call fcn.0041485e
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebx + 0x1c]
je case.0x579aed.3410
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.0041485e
test eax, eax
je 0x57a441
cmp dword [eax + 0x20], 0
je 0x57a441
push 3
push 0
push 0
push 0
push 0
push dword [ebp - 0x2c]
mov ecx, eax
call fcn.00414b0c
add dword [ebp - 0x30], 4
add esi, 4
cmp esi, dword [ebx + 0x1c]
jne 0x57a400
jmp case.0x579aed.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x15
test eax, eax
je 0x57a479
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CComboBox.0
jmp 0x57a47b
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 0x57a838
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x16
test eax, eax
je 0x57a4da
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CComboBoxEx.0
jmp 0x57a4dc
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.0x579aed.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x17
test eax, eax
je 0x57a524
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CSpinButtonCtrl.0
jmp 0x57a526
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 0x57a563
push 0
lea ecx, [ebx + 0x18]
call fcn.004043d0
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 0x57a587
push 1
lea ecx, [ebx + 0x18]
call fcn.004043d0
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 0x57a5ab
push 2
lea ecx, [ebx + 0x18]
call fcn.004043d0
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 0x57a838
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x18
test eax, eax
je 0x57a606
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CSliderCtrl.0
jmp 0x57a608
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.004183b2
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 0x57a838
push 0xb4
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x19
test eax, eax
je 0x57a671
mov ecx, eax
call fcn.005716c0
mov ecx, eax
jmp 0x57a673
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 0x57a697
push 0x910b51
jmp 0x57a69c
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.00571ca0
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.00404360
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
lea ecx, [ebx + 0x18]
call fcn.00404360
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebx + 0x18]
call fcn.00404360
jmp case.0x579aed.3410
push 0xb4
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x57a733
mov ecx, eax
call fcn.005716c0
mov ecx, eax
jmp 0x57a735
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.0x579aed.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x57a77d
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CTabCtrl.0
jmp 0x57a77f
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.0x579aed.3410
push 0x7c
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x57a7c9
push dword [esi + 0x4e8]
mov ecx, eax
push dword [ebx + 0x3c]
call fcn.00547d00
mov ecx, eax
jmp 0x57a7cb
xor ecx, ecx
mov byte [ebp - 4], 0
mov dword [ebx + 0x24], ecx
cmp dword [esi + 0x4e8], 0
je case.0x579aed.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.0x579aed.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x579bae
mov ecx, eax
call fcn.0040e1c8
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CStatic.0
jmp 0x579bb0
mov dword [ebx + 0x24], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x57a868
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x57a849
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.0057c8a0
mov ecx, ebx
call fcn.0057c330
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 0x57a889
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.00527e2c
mov esp, ebp
pop ebp
ret 4