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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1927
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 0x57aa25
or dword [ebx + 0x28], 1
jmp 0x57b849
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.00415f2b
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x57aa78
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.0x57aaad.3409
je 0x57b7bd
sub eax, 0xd4b
cmp eax, 0x27
ja case.0x57aaad.3409
jmp dword [eax*4 + 0x57b868]
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x57aadb
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CStatic.0
jmp 0x57aadd
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.0x57aaad.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x57ab26
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CStatic.0
jmp 0x57ab28
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.0x57aaad.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x57ab6e
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CStatic.0
jmp 0x57ab70
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.00414965
jmp case.0x57aaad.3410
push 0x7c
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x57abc3
mov ecx, eax
call fcn.00578400
mov ecx, eax
jmp 0x57abc5
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.0x57aaad.3410
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
call fcn.0058c380
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x57ac3c
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.0x57aaad.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 0x57ac8f
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.0x57aaad.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.0x57aaad.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x57ace2
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CEdit.0
jmp 0x57ace4
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.0040dd99
mov ecx, dword [ebx + 0x24]
push 0x20
push 0x204
push 0
call fcn.00414965
jmp case.0x57aaad.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x57ad3a
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CEdit.0
jmp 0x57ad3c
xor ecx, ecx
mov byte [ebp - 4], 0
mov eax, dword [ebx + 4]
mov dword [ebx + 0x24], ecx
cmp eax, 0x1f56
je 0x57ad61
cmp eax, 0x1f54
je 0x57ad61
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push 0x12000
jmp 0x57ad6c
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push 0x10000
call fcn.0040dd99
mov ecx, dword [ebx + 0x24]
push 0x20
push 0x204
push 0
call fcn.00414965
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 0x57addf
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 0x57adb9
lea esi, [esi + esi*4]
inc ebx
add esi, esi
cmp ebx, 8
jl 0x57ada1
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 0x57b7f8
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 0x57afa4
call esi
jmp 0x57b7f8
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x57ae2f
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CEdit.0
jmp 0x57ae31
xor ecx, ecx
mov byte [ebp - 4], 0
lea eax, [ebp - 0x24]
push dword [ebx + 4]
push esi
push eax
push 0x10000
jmp 0x57acf5
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x57ae6e
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CDateTimeCtrl.0
jmp 0x57ae70
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.005885f0
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 0x57b7f8
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x57aedf
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CDateTimeCtrl.0
jmp 0x57aee1
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.00588270
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 0x57b7f8
push 0xac
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x57af4a
mov ecx, eax
call fcn.00547590
jmp 0x57af4c
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.0040dd99
mov ecx, dword [ebx + 0x24]
push 0x20
push 0x204
push 0
call fcn.00414965
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jne 0x57af83
xor eax, eax
jmp 0x57af86
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 0x57b7f8
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x57afd2
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CButton.0
jmp 0x57afd4
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.0x57aaad.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x57b01d
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.CButton.0
jmp 0x57b01f
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.0x57aaad.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 0x57b10a
push 0xcc
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x57b07b
mov ecx, eax
call fcn.00570c10
mov ecx, eax
jmp 0x57b07d
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.00570d20
jmp case.0x57aaad.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x57b131
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CButton.0
jmp 0x57b133
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.0x57aaad.3410
push 0xcc
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x57b178
mov ecx, eax
call fcn.00570c10
mov ecx, eax
jmp 0x57b17a
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.0x57aaad.3410
push 0x90
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x57b1bf
mov ecx, eax
call fcn.00577bf0
mov ecx, eax
jmp 0x57b1c1
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.0x57aaad.3410
push 0xcc
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x12
test eax, eax
je 0x57b20a
mov ecx, eax
call fcn.00570c10
mov ecx, eax
jmp 0x57b20c
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 0x57b2b6
push 2
lea ecx, [ebx + 0x18]
call fcn.00404420
cmp dword [eax], 0x311
je 0x57b296
push 2
lea ecx, [ebx + 0x18]
call fcn.00404420
cmp dword [eax], 0x312
je 0x57b296
push 2
lea ecx, [ebx + 0x18]
call fcn.00404420
cmp dword [eax], 0x2fc
je 0x57b296
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.00570d20
jmp case.0x57aaad.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.005708c0
jmp case.0x57aaad.3410
mov eax, dword [ebx + 4]
sub eax, 0xe40
je 0x57b2d6
dec eax
je 0x57b2cf
sub eax, 0x60
jne 0x57b2d6
mov eax, 0x2fc
jmp 0x57b2db
mov eax, 0x312
jmp 0x57b2db
mov eax, 0x311
push dword [0x62202c]
push ecx
mov ecx, dword [ebx + 0x24]
push eax
call fcn.005708c0
jmp case.0x57aaad.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x57b317
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CButton.0
jmp 0x57b319
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.0x57aaad.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x14
test eax, eax
je 0x57b362
mov ecx, eax
call fcn.0040e1c3
mov eax, dword [ebp - 0x2c]
mov dword [eax], vtable.CButton.0
jmp 0x57b364
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 0x57b384
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.0x57aaad.3410
mov esi, dword [ebx + 0x18]
add esi, 4
cmp esi, dword [ebx + 0x1c]
je case.0x57aaad.3410
lea eax, [esi + 4]
mov dword [ebp - 0x30], eax
nop
push dword [esi]
mov ecx, dword [ebp - 0x28]
call fcn.004147d2
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebx + 0x1c]
je case.0x57aaad.3410
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.004147d2
test eax, eax
je 0x57b401
cmp dword [eax + 0x20], 0
je 0x57b401
push 3
push 0
push 0
push 0
push 0
push dword [ebp - 0x2c]
mov ecx, eax
call fcn.00414a80
add dword [ebp - 0x30], 4
add esi, 4
cmp esi, dword [ebx + 0x1c]
jne 0x57b3c0
jmp case.0x57aaad.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x15
test eax, eax
je 0x57b439
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CComboBox.0
jmp 0x57b43b
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 0x57b7f8
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x16
test eax, eax
je 0x57b49a
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CComboBoxEx.0
jmp 0x57b49c
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.0x57aaad.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x17
test eax, eax
je 0x57b4e4
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CSpinButtonCtrl.0
jmp 0x57b4e6
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 0x57b523
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 0x57b547
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 0x57b56b
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 0x57b7f8
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x18
test eax, eax
je 0x57b5c6
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CSliderCtrl.0
jmp 0x57b5c8
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.00418348
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 0x57b7f8
push 0xb4
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x19
test eax, eax
je 0x57b631
mov ecx, eax
call fcn.00572620
mov ecx, eax
jmp 0x57b633
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 0x57b657
push 0x910b51
jmp 0x57b65c
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.00572c00
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.0x57aaad.3410
push 0xb4
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x57b6f3
mov ecx, eax
call fcn.00572620
mov ecx, eax
jmp 0x57b6f5
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.0x57aaad.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x57b73d
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CTabCtrl.0
jmp 0x57b73f
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.0x57aaad.3410
push 0x7c
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x57b789
push dword [esi + 0x4e8]
mov ecx, eax
push dword [ebx + 0x3c]
call fcn.00547d00
mov ecx, eax
jmp 0x57b78b
xor ecx, ecx
mov byte [ebp - 4], 0
mov dword [ebx + 0x24], ecx
cmp dword [esi + 0x4e8], 0
je case.0x57aaad.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.0x57aaad.3410
push 0x74
call fcn.0040d4d6
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x57ab6e
mov ecx, eax
call fcn.0040e1c3
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.CStatic.0
jmp 0x57ab70
mov dword [ebx + 0x24], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x57b828
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x57b809
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.0057d990
mov ecx, ebx
call fcn.0057d420
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 0x57b849
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