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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4987e0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
push 0x146
push dword [esi + 0x28]
mov dword [ebp - 0x14], edi
call ebx
test eax, eax
jle 0x415b37
nop dword [eax]
push 0
push edi
push 0x150
push dword [esi + 0x28]
call ebx
mov edi, dword [esi + 0x138]
mov edx, dword [edi + 0x28]
lea ebx, [edi + 0x28]
mov ecx, ebx
mov dword [ebp - 0x18], eax
call dword [edx + 4]
movzx edi, byte [edi + 1]
mov dword [ebp - 4], 0
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x415b24
mov edi, dword [ebp - 0x14]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 5
jne 0x415b0c
push 0
push edi
push 0x14e
push dword [esi + 0x28]
call ebx
push 0
push 0
push 0x146
push dword [esi + 0x28]
inc edi
mov dword [ebp - 0x14], edi
call ebx
cmp edi, eax
jl 0x415ab0
jmp 0x415b37
push 0
push dword [ebp - 0x14]
push 0x14e
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x28]
call dword [eax + 4]
mov al, byte [edi + 2]
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 1
lea ecx, [edi + 0x28]
mov eax, dword [edi + 0x28]
call dword [eax + 8]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xe], al
push 0
setne al
push eax
push 0xf1
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ebx, [edi + 0x28]
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [edi + 4]
mov dword [ebp - 4], 2
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 8]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
push 0
cmp edi, 0xffffffff
setne al
push eax
push 0xf1
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ebx, [edi + 0x28]
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [edi + 8]
mov dword [ebp - 4], 3
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 8]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
push 0
cmp edi, 0xffffffff
setne al
push eax
push 0xf1
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x28]
call dword [eax + 4]
mov al, byte [edi]
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 4
lea ecx, [edi + 0x28]
mov eax, dword [edi + 0x28]
call dword [eax + 8]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xe], al
push 0
setne al
push eax
push 0xf1
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x28]
call dword [eax + 4]
mov al, byte [edi + 0xc]
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 5
lea ecx, [edi + 0x28]
mov eax, dword [edi + 0x28]
call dword [eax + 8]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xe], al
push 0
setne al
push eax
push 0xf1
push dword [esi + 0x94]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x28]
call dword [eax + 4]
mov al, byte [edi + 0xd]
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 6
lea ecx, [edi + 0x28]
mov eax, dword [edi + 0x28]
call dword [eax + 8]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xe], al
push 0
sete al
push eax
push 0xf1
push dword [esi + 0xa0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x28]
call dword [eax + 4]
mov al, byte [edi + 0xe]
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 7
lea ecx, [edi + 0x28]
mov eax, dword [edi + 0x28]
call dword [eax + 8]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xe], al
push 0
setne al
push eax
push 0xf1
push dword [esi + 0xc4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x28]
call dword [eax + 4]
mov al, byte [edi + 0xf]
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 8
lea ecx, [edi + 0x28]
mov eax, dword [edi + 0x28]
call dword [eax + 8]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xe], al
push 0
setne al
push eax
push 0xf1
push dword [esi + 0xd0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x28]
call dword [eax + 4]
mov al, byte [edi + 0x1c]
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 9
lea ecx, [edi + 0x28]
mov eax, dword [edi + 0x28]
call dword [eax + 8]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xe], al
push 0
setne al
push eax
push 0xf1
push dword [esi + 0xdc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x28]
call dword [eax + 4]
mov al, byte [edi + 0x1d]
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 0xa
lea ecx, [edi + 0x28]
mov eax, dword [edi + 0x28]
call dword [eax + 8]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xe], al
push 0
setne al
push eax
push 0xf1
push dword [esi + 0xac]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esi + 0x13c], 0
lea ecx, [esi + 0xa8]
mov edx, dword [ecx]
sete al
movzx eax, al
push eax
call dword [edx + 4]
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x28]
call dword [eax + 4]
mov bl, byte [edi + 0x1e]
lea ecx, [edi + 0x28]
mov dword [ebp - 4], 0xb
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x415e56
push 0
push 7
push 0x14e
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x415f7f
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x28]
call dword [eax + 4]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xc
lea ecx, [edi + 0x28]
mov eax, dword [edi + 0x28]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ebx, [edi + 0x28]
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [edi + 0x18]
mov dword [ebp - 4], 0xd
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 8]
imul eax, dword [ebp - 0x18], 0x64
mov dword [ebp - 0x28], vtable.StringStorage.0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cdq
idiv edi
mov edi, eax
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xe
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
push edi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xf
push 0x4b0eb0
push eax
call fcn.0043a500
mov eax, dword [esi + 0xb4]
lea ecx, [esi + 0xb4]
add esp, 0xc
push dword [ebp - 0x24]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], vtable.StringStorage.0
test ecx, ecx
je 0x415f7f
mov eax, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax]
mov eax, ecx
cmp edx, 0x1000
jb 0x415f60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4163bf
push edx
push ecx
call fcn.00471d21
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x28]
call dword [eax + 4]
mov al, byte [edi + 0x1f]
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 0x10
lea ecx, [edi + 0x28]
mov eax, dword [edi + 0x28]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x28]
call dword [eax + 4]
mov al, byte [edi + 0x20]
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 0x11
lea ecx, [edi + 0x28]
mov eax, dword [edi + 0x28]
call dword [eax + 8]
cmp byte [ebp - 0xd], 0
je 0x415fe3
cmp byte [ebp - 0xe], 0
jne 0x415fe3
mov eax, 1
jmp 0x415fe5
xor eax, eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0xf1
push dword [esi + 0xe8]
call ebx
cmp byte [ebp - 0xd], 0
jne 0x41600e
cmp byte [ebp - 0xe], 0
je 0x41600e
mov eax, 1
jmp 0x416010
xor eax, eax
push 0
push eax
push 0xf1
push dword [esi + 0xf4]
call ebx
cmp byte [ebp - 0xd], 0
je 0x416033
cmp byte [ebp - 0xe], 0
je 0x416033
mov eax, 1
jmp 0x416035
xor eax, eax
push 0
push eax
push 0xf1
push dword [esi + 0x100]
call ebx
mov dword [ebp - 0x38], vtable.StringStorage.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0x12
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
mov dword [ebp - 4], 0x13
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ebx, [edi + 0x28]
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [edi + 4]
mov byte [ebp - 4], 0x14
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 8]
mov byte [ebp - 4], 0x13
cmp edi, 0xffffffff
je 0x4160e4
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ebx, [edi + 0x28]
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [edi + 4]
mov byte [ebp - 4], 0x15
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 8]
mov byte [ebp - 4], 0x13
jmp 0x4160e9
mov edi, 6
push edi
push 1
push 0x405
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
lea eax, [ebp - 0x38]
push 0x4b0eb0
push eax
call fcn.0043a500
mov eax, dword [esi + 0x54]
lea ecx, [esi + 0x54]
add esp, 0xc
push dword [ebp - 0x34]
call dword [eax + 8]
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ebx, [edi + 0x28]
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [edi + 8]
mov byte [ebp - 4], 0x16
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 8]
mov byte [ebp - 4], 0x13
cmp edi, 0xffffffff
je 0x416165
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ebx, [edi + 0x28]
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [edi + 8]
mov byte [ebp - 4], 0x17
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 8]
mov byte [ebp - 4], 0x13
jmp 0x41616a
mov edi, 6
push edi
push 1
push 0x405
push dword [esi + 0x70]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
lea eax, [ebp - 0x38]
push 0x4b0eb0
push eax
call fcn.0043a500
mov eax, dword [esi + 0x78]
lea ecx, [esi + 0x78]
add esp, 0xc
push dword [ebp - 0x34]
call dword [eax + 8]
mov edi, dword [esi + 0x138]
mov eax, dword [edi + 0x28]
lea ebx, [edi + 0x28]
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [edi + 0x24]
mov byte [ebp - 4], 0x18
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 8]
mov byte [ebp - 4], 0x13
push 0
push 1
push 0xf1
sub edi, 0
je 0x4161ec
sub edi, 2
je 0x4161e4
sub edi, 1
je 0x4161dc
push dword [esi + 0x10c]
jmp 0x4161f2
push dword [esi + 0x118]
jmp 0x4161f2
push dword [esi + 0x124]
jmp 0x4161f2
push dword [esi + 0x130]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf0
push dword [esi + 0x94]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esi + 0xd8]
test eax, eax
mov eax, dword [ecx]
je 0x41621d
push 0
jmp 0x41621f
push 1
call dword [eax + 4]
push 0
push 0
push 0xf0
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
lea ecx, [esi + 0x48]
mov eax, dword [ecx]
setne bl
mov byte [ebp - 0x18], bl
mov edi, dword [ebp - 0x18]
push edi
call dword [eax + 4]
mov eax, dword [esi + 0x54]
lea ecx, [esi + 0x54]
push edi
call dword [eax + 4]
movzx edi, bl
push edi
push 0x41f
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push edi
push 0x41e
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push edi
push 0x435
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push 0
push 0
push 0xf0
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
lea ecx, [esi + 0x6c]
mov eax, dword [ecx]
setne bl
mov byte [ebp - 0x18], bl
mov edi, dword [ebp - 0x18]
push edi
call dword [eax + 4]
mov eax, dword [esi + 0x78]
lea ecx, [esi + 0x78]
push edi
call dword [eax + 4]
movzx edi, bl
push edi
push 0x422
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push edi
push 0x423
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push edi
push 0x436
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
mov ecx, esi
call fcn.00416740
mov ecx, esi
call fcn.00416840
push 0
push 0
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x147
push dword [esi + 0x28]
call ebx
test eax, eax
js 0x41636c
push 0
push eax
push 0x150
push dword [esi + 0x28]
call ebx
push 0
cmp eax, 7
je 0x416345
mov ecx, esi
call fcn.004165c0
push 0
jmp 0x416363
push 0
push 0xf0
push dword [esi + 0x40]
call ebx
test eax, eax
mov ecx, esi
setne al
movzx eax, al
push eax
call fcn.004165c0
push 1
mov eax, dword [esi + 0x3c]
lea ecx, [esi + 0x3c]
call dword [eax + 4]
mov ecx, esi
call fcn.00416410
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], vtable.StringStorage.0
test edx, edx
je 0x4163ad
mov ecx, dword [ebp - 0x2c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4163a3
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4163c4
push ecx
push edx
call fcn.00471d21
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0047da11
call fcn.0047da11
int3