Function at 0x459080
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
movzx edi, bx
mov eax, edi
cmp eax, 0x835
mov esi, ecx
mov dword [ebp - 4], esi
jg 0x459356
je 0x459224
sub eax, 0x5dd
cmp eax, 0x4c
ja case.0x45937e.2109
movzx eax, byte [eax + 0x45a5d8]
jmp dword [eax*4 + 0x45a5bc]
mov ecx, dword [0x50b3a0]
mov dword [ecx + 0x1208], 1
mov edx, dword [0x50b3a4]
mov eax, dword [edx + 0xf3898]
mov ecx, dword [ebp + 8]
push 0
push ebx
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
push 0x4d8fec
push 0x4ec258
push 7
push edi
push eax
mov dword [ebp + 0xc], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451360
movzx ecx, byte [ebp + 0xc]
add esp, 0x14
push ecx
mov ecx, dword [0x50b3a0]
push 0x7db
call fcn.004455c0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 8]
push 0
push 0
push 0x147
push edi
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 1
jne 0x459178
mov edx, dword [0x50b3a0]
pop edi
mov eax, 0x19
pop esi
mov dword [edx + 0x113d4], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 2
jne 0x459199
mov edx, dword [0x50b3a0]
pop edi
mov eax, 0x1c
pop esi
mov dword [edx + 0x113d4], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 3
jne 0x4591ba
mov edx, dword [0x50b3a0]
pop edi
mov eax, 0x2b
pop esi
mov dword [edx + 0x113d4], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [0x50b3a0]
xor ecx, ecx
cmp eax, 4
setne cl
pop edi
pop esi
pop ebx
dec ecx
and ecx, 0x32
mov eax, ecx
mov dword [edx + 0x113d4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
push 0
push 0
push 0x147
push edi
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [0x50b3a0]
mov dword [ecx + 0x2c], eax
mov eax, dword [0x50b3a0]
cmp dword [eax + 0x2c], 0xffffffff
jne 0x45920e
mov dword [eax + 0x2c], 0
mov ecx, dword [0x50b39c]
call fcn.00405980
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 0xf38cc]
test ecx, ecx
je case.0x45a1ef.1635
call fcn.00433ee0
mov ebx, dword [ebp + 8]
test al, al
je 0x4592e5
lea edx, [ebp + 8]
push edx
push 0x4d9054
push 0x4ec2c0
push 0xf
push edi
push ebx
mov dword [ebp + 8], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451360
mov al, byte [ebp + 8]
add esp, 0x14
xor ecx, ecx
cmp al, 0x2e
setne cl
movzx edi, al
push 0
dec ecx
and ecx, 0x800
or ecx, edi
push ecx
push 0x401
push 0x6e7
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, dword [esi + 0xf38cc]
mov eax, dword [edx + 0x8c]
and eax, 0xffffff00
jne 0x4592d9
push eax
lea eax, [ebp + 8]
push eax
push 0x4d9008
push 0x4ec274
push 0xc
push 0x88a
push ebx
mov dword [ebp + 8], 0x5b
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451280
add esp, 0x18
mov eax, 0x5b00
mov ecx, dword [esi + 0xf38cc]
or edi, eax
push edi
push ecx
jmp 0x45933a
mov edx, dword [esi + 0xf38cc]
cmp dword [edx + 4], 1
jne 0x459341
lea eax, [ebp + 8]
push eax
push 0x4d8fec
push 0x4ec258
push 7
push edi
push ebx
mov dword [ebp + 8], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451360
add esp, 0x14
push 0
push 0
push 0x401
push 0x6e7
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
movzx ecx, byte [ebp + 8]
mov edx, dword [esi + 0xf38cc]
push ecx
push edx
mov ecx, esi
call fcn.0044d550
push 0
push ebx
mov ecx, esi
call fcn.004574b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0x8ec
jg 0x4598d0
je case.0x45937e.2279
sub eax, 0x83a
cmp eax, 0xad
ja case.0x45937e.2109
movzx eax, byte [eax + 0x45a640]
jmp dword [eax*4 + 0x45a628]
mov dword [ebp + 0xc], 0
mov edi, 0x88a
mov dword [ebp - 0xc], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 8]
push ecx
push 0x4d9008
push 0x4ec274
push 0xc
push edi
push edx
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451360
mov eax, dword [esi + 0xf38cc]
mov bl, byte [ebp - 8]
add esp, 0x14
mov byte [ebp - 4], bl
test eax, eax
je case.0x4593f2.94
mov eax, dword [eax + 4]
cmp eax, 6
je 0x4593e0
cmp eax, 7
jne case.0x4593f2.94
movzx eax, bl
add eax, 0xffffffa3
cmp eax, 0x48
ja case.0x4593f2.94
movzx eax, byte [eax + 0x45a704]
jmp dword [eax*4 + 0x45a6f0]
xor al, al
jmp 0x459407
mov al, 0x12
jmp 0x459407
mov al, 0x11
jmp 0x459407
mov al, 0x10
cmp al, bl
je case.0x4593f2.94
push 0
lea edx, [ebp - 8]
push edx
push 0x4d9008
push 0x4ec274
push 0xc
mov bl, al
movzx ecx, al
mov eax, dword [ebp + 8]
push edi
push eax
mov byte [ebp - 4], bl
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451280
add esp, 0x18
test bl, bl
je 0x459455
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
push 0
push ecx
push edx
call fcn.00438940
add esp, 0xc
mov dword [ebp + 0xc], eax
inc edi
sub dword [ebp - 0xc], 1
jne 0x459398
mov eax, dword [esi + 0xf38cc]
test eax, eax
je 0x459513
mov ecx, dword [eax + 4]
cmp ecx, 1
je 0x459513
cmp ecx, 5
je 0x459513
cmp ecx, 3
jne 0x4594bb
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x459494
mov eax, 0x5b00
mov ecx, dword [0x50b3a0]
mov edx, dword [ebp + 8]
shr eax, 8
push 0
mov dword [ecx + 0x1140c], eax
push edx
mov ecx, esi
call fcn.004574b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, 4
jne 0x4594f3
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4594cc
mov eax, 0x5b00
mov edx, dword [0x50b3a0]
shr eax, 8
mov dword [edx + 0x11410], eax
mov edx, dword [ebp + 8]
push 0
push edx
mov ecx, esi
call fcn.004574b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0xc], 0
jne 0x459500
mov dword [ebp + 0xc], 0x80808000
movzx ecx, byte [eax + 0x8c]
or ecx, dword [ebp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.0044d550
mov edx, dword [ebp + 8]
push 0
push edx
mov ecx, esi
call fcn.004574b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, ebx
shr eax, 0x10
cmp ax, 5
jne 0x459588
sub edi, 0x83a
je 0x459565
sub edi, 1
jne 0x45961a
mov eax, dword [ebp + 8]
push ebx
push eax
call fcn.00450ac0
mov ecx, dword [0x50b3a0]
add esp, 8
mov dword [ecx + 0x1138c], eax
jmp 0x45961a
mov edx, dword [0x50b3a0]
mov eax, dword [ebp + 8]
push 0x20
add edx, 0x11346
push edx
push 0x83a
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
jmp 0x45961a
cmp ax, 1
jne 0x45961a
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push 0
push 0x147
push edi
push esi
call ebx
sub edi, 0x83a
je 0x4595ff
sub edi, 1
je 0x4595e5
sub edi, 1
jne 0x45961a
cmp eax, 0x12
ja 0x4595d4
mov ecx, dword [eax*4 + 0x4d9248]
mov edx, dword [0x50b3a0]
mov dword [edx + 0x11388], ecx
jmp 0x45961a
mov eax, dword [0x50b3a0]
mov dword [eax + 0x11388], 1
jmp 0x45961a
cmp eax, 0x11
ja 0x45961a
mov ecx, dword [eax*4 + 0x4d90f8]
mov edx, dword [0x50b3a0]
mov dword [edx + 0x1138c], ecx
jmp 0x45961a
mov ecx, dword [0x50b3a0]
add ecx, 0x11346
push ecx
push eax
push 0x148
push 0x83a
push esi
call ebx
mov edx, dword [0x50b39c]
mov ecx, dword [edx + 0x4234]
call fcn.00492640
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, ebx
shr eax, 0x10
cmp ax, 5
jne 0x4596a3
sub edi, 0x8e3
je 0x459669
sub edi, 1
jne 0x459687
mov eax, dword [ebp + 8]
push ebx
push eax
call fcn.00450ac0
mov ecx, dword [0x50b3a0]
add esp, 8
mov dword [ecx + 0x112e0], eax
jmp 0x459687
mov edx, dword [0x50b3a0]
mov eax, dword [ebp + 8]
push 0x20
add edx, 0x1129c
push edx
push 0x8e3
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, dword [0x50b39c]
mov ecx, dword [ecx + 0x423c]
call fcn.00490890
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp ax, 1
jne case.0x45a1ef.1635
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push 0
push 0x147
push edi
push esi
call ebx
sub edi, 0x8e3
je 0x459719
sub edi, 1
je 0x459700
sub edi, 1
jne 0x459734
cmp eax, 0x12
ja 0x4596ee
mov edx, dword [eax*4 + 0x4d9248]
mov eax, dword [0x50b3a0]
mov dword [eax + 0x112dc], edx
jmp 0x459734
mov ecx, dword [0x50b3a0]
mov dword [ecx + 0x112dc], 1
jmp 0x459734
cmp eax, 0x11
ja 0x459734
mov edx, dword [eax*4 + 0x4d90f8]
mov eax, dword [0x50b3a0]
mov dword [eax + 0x112e0], edx
jmp 0x459734
mov ecx, dword [0x50b3a0]
add ecx, 0x1129c
push ecx
push eax
push 0x148
push 0x8e3
push esi
call ebx
mov edx, dword [0x50b39c]
mov ecx, dword [edx + 0x423c]
call fcn.00490890
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [esi + 0xf3245], 0
jne case.0x45a1ef.1635
mov eax, dword [ebp + 8]
xor edi, edi
push edi
push edi
push 0x188
push 0x844
push eax
mov byte [esi + 0xf3244], 1
mov dword [ebp + 0xc], edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
test eax, eax
jl 0x459794
mov ecx, dword [0x50b3a0]
push eax
call fcn.00443590
mov edi, eax
mov dword [ebp + 0xc], eax
xor esi, esi
test edi, edi
je 0x459858
mov eax, dword [edi + 4]
test eax, eax
jne 0x4597ac
mov eax, 0x4c1318
jmp 0x4597b5
cmp word [eax], 0x7b
jne 0x4597b5
add eax, 2
push eax
call fcn.00441380
mov edi, eax
add esp, 4
cmp word [edi], si
je 0x459806
lea edx, [eax + 2]
jmp 0x4597d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4597d0
sub eax, edx
sar eax, 1
cmp word [edi + eax*2 - 2], 0x7d
jne 0x459806
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4597f0
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [edi + eax*2 - 2], cx
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push edi
push 0x845
push ebx
call esi
push edi
call fcn.00441300
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add esp, 4
test eax, eax
jne 0x459830
mov eax, 0x4c1318
push eax
push 0x912
push ebx
call esi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x459848
mov eax, 0x4c1318
push eax
push 0x846
push ebx
call esi
mov esi, 1
jmp 0x459888
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x4c1318
push 0x845
push ebx
call edi
push 0x4c1318
push 0x912
push ebx
call edi
push 0x4c1318
push 0x846
push ebx
call edi
mov ebx, 8
mov edi, 0x4d929c
movzx eax, word [edi]
dec ebx
test ax, ax
je 0x4598bb
mov edx, dword [ebp + 8]
movzx eax, ax
movzx ecx, ax
push esi
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
add edi, 2
test ebx, ebx
jne 0x459892
mov eax, dword [ebp - 4]
pop edi
pop esi
mov byte [eax + 0xf3244], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0x923
jg 0x459a37
je 0x4599c7
cmp eax, 0x8f2
je case.0x45937e.2279
add eax, 0xfffff704
cmp eax, 1
ja case.0x45937e.2109
mov ecx, 0x8fd
cmp bx, cx
jne 0x45991c
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.00450ac0
mov ecx, dword [0x50b3a0]
mov byte [ecx + 0xb8a], al
jmp 0x45995e
mov edx, 0x629
cmp bx, dx
jne 0x45993e
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.00450ac0
mov ecx, dword [0x50b3a0]
mov byte [ecx + 0xb8b], al
jmp 0x45995e
mov edx, 0x8fc
cmp bx, dx
jne 0x459961
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.00450ac0
mov ecx, dword [0x50b3a0]
mov byte [ecx + 0xb8c], al
add esp, 8
mov edx, dword [0x50b3a0]
cmp byte [edx + 0xb89], 0
je case.0x45a1ef.1635
mov ecx, dword [0x50b39c]
push 1
call fcn.00406580
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, ebx
shr eax, 0x10
cmp eax, 1
jne 0x4599b5
mov ecx, dword [esi + 0xf3898]
mov edx, dword [ebp + 8]
push 0
push edi
push ecx
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
mov word [esi + 0xf38a8], bx
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push 0x4d8fd4
push 0x4ec240
push 6
push 0x923
push ecx
mov dword [ebp + 0xc], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451360
mov edx, dword [0x50b3a0]
mov al, byte [ebp + 0xc]
mov byte [edx + 0x1150], al
mov ecx, dword [0x50b3a0]
add esp, 0x14
add ecx, 0xf42
push 1
push ecx
mov ecx, dword [0x50b3a4]
call fcn.00454b10
mov ecx, dword [0x50b39c]
push 1
call fcn.00406580
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0xa21
je 0x45a559
mov esi, dword [ebp + 8]
mov edx, dword [0x50b3a4]
cmp esi, dword [edx + 0xf2db4]
jne 0x459ca3
mov eax, ebx
shr eax, 0x10
cmp ax, 5
jne 0x459b00
lea eax, [edi - 0x67b]
cmp eax, 7
ja case.0x45a1ef.1635
jmp dword [eax*4 + 0x45a750]
mov eax, dword [0x50b3a0]
push 0x24
add eax, 0x1185c
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push ebx
push esi
call fcn.00450ac0
mov ecx, dword [0x50b3a0]
add esp, 8
pop edi
pop esi
mov dword [ecx + 0x118a4], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [0x50b3a0]
push 0x24
add edx, 0x118c4
push edx
push edi
push esi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push ebx
push esi
call fcn.00450ac0
mov ecx, dword [0x50b3a0]
add esp, 8
pop edi
pop esi
mov dword [ecx + 0x1190c], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp ax, 1
jne case.0x45a1ef.1635
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push 0
push 0x147
push edi
push esi
call ebx
lea ecx, [edi - 0x67b]
cmp ecx, 0x13
ja case.0x45a1ef.1635
movzx edx, byte [ecx + 0x45a794]
jmp dword [edx*4 + 0x45a770]
mov ecx, dword [0x50b3a0]
push 1
shl eax, 0x18
xor eax, dword [ecx + 0x11828]
push 0
push 0x408
and eax, 0x1f000000
xor dword [ecx + 0x11828], eax
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x50b3a0]
push 1
shl eax, 0x18
xor eax, dword [ecx + 0x11830]
push 0
push 0x409
and eax, 0x1f000000
xor dword [ecx + 0x11830], eax
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x50b3a0]
push 1
shl eax, 0x18
xor eax, dword [ecx + 0x11838]
push 0
push 0x40a
and eax, 0x1f000000
xor dword [ecx + 0x11838], eax
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x50b3a0]
add ecx, 0x1185c
push ecx
push eax
push 0x148
push edi
push esi
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0x11
ja case.0x45a1ef.1635
mov edx, dword [eax*4 + 0x4d90f8]
mov eax, dword [0x50b3a0]
pop edi
pop esi
mov dword [eax + 0x118a4], edx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x50b3a0]
add ecx, 0x118c4
push ecx
push eax
push 0x148
push edi
push esi
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0x11
ja case.0x45a1ef.1635
mov edx, dword [eax*4 + 0x4d90f8]
mov eax, dword [0x50b3a0]
pop edi
pop esi
mov dword [eax + 0x1190c], edx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
inc eax
imul eax, eax, 0x64
cmp eax, 0x64
jge 0x459c8c
mov eax, 0x64
mov ecx, dword [0x50b3a0]
pop edi
pop esi
mov dword [ecx + 0x119b6], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, ecx
cmp esi, dword [eax + 0xf2d8c]
jne 0x45a1b6
mov edx, 0x8fb
cmp bx, dx
jne 0x459cf0
push 0
push 0
push 0x147
push edx
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [0x50b3a0]
mov byte [ecx + 0xb83], al
mov ecx, dword [0x50b39c]
push 1
call fcn.00406580
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, 0x95e
cmp bx, dx
jne 0x459d19
push 0
push 0
push 0x147
push edx
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [0x50b3a0]
mov byte [ecx + 0xb84], al
jmp 0x459d40
mov eax, 0x95f
cmp bx, ax
jne 0x459d84
push 0
push 0
push 0x147
push eax
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [0x50b3a0]
mov byte [ecx + 0xb85], al
mov ecx, dword [0x50b3a0]
mov dl, byte [ecx + 0xb84]
cmp dl, byte [ecx + 0xb85]
je 0x45a19e
call fcn.00444940
mov ecx, dword [0x50b39c]
push 0
push 1
call fcn.004059c0
mov ecx, dword [0x50b39c]
push 1
call fcn.00406580
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x961
cmp bx, ax
jne 0x459dad
push 0
push 0
push 0x147
push eax
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [0x50b3a0]
mov byte [ecx + 0xb86], al
jmp 0x459dd4
mov eax, 0x962
cmp bx, ax
jne 0x459e18
push 0
push 0
push 0x147
push eax
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [0x50b3a0]
mov byte [ecx + 0xb87], al
mov ecx, dword [0x50b3a0]
mov dl, byte [ecx + 0xb86]
cmp dl, byte [ecx + 0xb87]
je 0x45a19e
call fcn.00444940
mov ecx, dword [0x50b39c]
push 1
push 0
call fcn.004059c0
mov ecx, dword [0x50b39c]
push 1
call fcn.00406580
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x612
cmp bx, ax
jne 0x45a19e
push eax
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov edi, eax
push 0x147
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
shr ebx, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp + 0xb], 0
cmp bx, 5
jne 0x459e8a
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x459eed
mov ecx, eax
lea edx, [ecx + ecx + 2]
push edx
call fcn.004412a0
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x459eed
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
inc eax
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x459ed0
cmp bx, 1
jne 0x459eed
test eax, eax
jle 0x459eed
push 0
mov edx, eax
push edx
push 0x149
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x459eed
lea eax, [eax + eax + 2]
push eax
call fcn.004412a0
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x459eed
mov edx, dword [ebp + 0xc]
mov ecx, eax
push ecx
push edx
push 0x148
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 8]
push 0x4d67ec
push edi
call fcn.004b13eb
test eax, eax
push edi
sete byte [ebp + 0xb]
call fcn.00441300
add esp, 0xc
movzx edi, byte [ebp + 0xb]
push edi
push 0x84b
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push 0x84d
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp bx, 1
jne case.0x45a1ef.1635
cmp dword [0x50bb94], 0
je case.0x45a1ef.1635
cmp dword [ebp + 0xc], 0
jne 0x459f3d
mov ebx, 0x50bb98
jmp 0x459f57
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x50b3a0]
dec eax
push eax
call fcn.004426e0
mov ebx, eax
test ebx, ebx
je case.0x45a1ef.1635
mov dword [ebp + 8], 0x3e8
mov edi, 0xdd4
mov dword [ebp + 0xc], 0x20
lea ebx, [ebx]
mov ecx, dword [ebx + edi - 0xdc8]
mov edx, dword [0x50b3a0]
mov dword [edi + edx], ecx
mov ecx, dword [0x50b3a0]
mov eax, dword [edi + ecx]
movzx ecx, byte [edi + ecx]
mov edx, eax
shr edx, 0x10
movzx edx, dl
push edx
shr eax, 8
movzx eax, al
push eax
push ecx
lea edx, [ebp - 0x4c]
push str._i__i__i
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 8]
add esp, 0x14
lea eax, [ebp - 0x4c]
push eax
add ecx, 0x64
push ecx
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [ebp + 8]
push 1
push 0
push edx
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
add dword [ebp + 8], eax
add edi, 4
sub dword [ebp + 0xc], eax
jne 0x459f70
movzx eax, byte [ebx + 7]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
lea ecx, [ebp + 8]
push ecx
push 0x4d91e8
push 0x4ec3a0
push 0x11
push 0x95e
push esi
mov dword [ebp + 8], eax
call edi
push eax
call fcn.00451280
movzx edx, byte [ebx + 8]
add esp, 0x18
push 0
lea eax, [ebp + 8]
push eax
push 0x4d91e8
push 0x4ec3a0
push 0x11
push 0x95f
push esi
mov dword [ebp + 8], edx
call edi
push eax
call fcn.00451280
movzx ecx, byte [ebx + 9]
add esp, 0x18
push 0
lea edx, [ebp + 8]
push edx
push 0x4d91e8
push 0x4ec3a0
push 0x11
push 0x961
push esi
mov dword [ebp + 8], ecx
call edi
push eax
call fcn.00451280
movzx eax, byte [ebx + 0xa]
add esp, 0x18
push 0
lea ecx, [ebp + 8]
push ecx
push 0x4d91e8
push 0x4ec3a0
push 0x11
push 0x962
push esi
mov dword [ebp + 8], eax
call edi
push eax
call fcn.00451280
mov ecx, dword [0x50b3a0]
mov al, byte [ebx + 7]
add esp, 0x18
cmp byte [ecx + 0xb84], al
jne 0x45a0b9
mov dl, byte [ecx + 0xb85]
mov dword [ebp + 0xc], 0
cmp dl, byte [ebx + 8]
je 0x45a0c0
mov dword [ebp + 0xc], 1
mov dl, byte [ecx + 0xb86]
cmp dl, byte [ebx + 9]
jne 0x45a0dd
mov dl, byte [ecx + 0xb87]
mov dword [ebp + 8], 0
cmp dl, byte [ebx + 0xa]
je 0x45a0e4
mov dword [ebp + 8], 1
cmp dword [ebp + 0xc], 0
jne 0x45a0f0
cmp dword [ebp + 8], 0
je 0x45a132
mov byte [ecx + 0xb84], al
mov ecx, dword [0x50b3a0]
mov al, byte [ebx + 8]
mov byte [ecx + 0xb85], al
mov dl, byte [ebx + 9]
mov eax, dword [0x50b3a0]
mov byte [eax + 0xb86], dl
mov cl, byte [ebx + 0xa]
mov edx, dword [0x50b3a0]
mov eax, dword [ebp + 8]
mov byte [edx + 0xb87], cl
mov ecx, dword [ebp + 0xc]
push eax
push ecx
mov ecx, dword [ebp - 4]
call fcn.0044ebe0
movzx edx, byte [ebx + 6]
push 0
lea eax, [ebp + 8]
push eax
push 0x4d91a8
push 0x4ec360
push 0x10
push 0x8fb
push esi
mov dword [ebp + 8], edx
call edi
push eax
call fcn.00451280
mov ecx, dword [0x50b3a0]
mov dl, byte [ebp + 8]
mov byte [ecx + 0xb83], dl
mov al, byte [ebx + 5]
mov ecx, dword [0x50b3a0]
xor edx, edx
mov byte [ecx + 0xb82], al
cmp byte [ebx + 5], dl
setne dl
push edx
push 0x5eb
push esi
call fcn.00450a00
mov ecx, dword [ebp - 4]
add esp, 0x24
push 0
push 0x5eb
push esi
call fcn.004653c0
mov ecx, dword [0x50b39c]
push 1
call fcn.00406580
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp esi, dword [eax + 0xf2dac]
jne 0x45a490
shr ebx, 0x10
cmp ebx, 1
jne case.0x45a1ef.1635
cmp edi, 0x66d
jg 0x45a443
je 0x45a3f7
sub edi, 0x65f
cmp edi, 6
ja case.0x45a1ef.1635
jmp dword [edi*4 + 0x45a7a8]
lea eax, [ebp + 8]
push eax
push 0x4d9038
push 0x4ec2a4
push 7
push 0x661
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451360
movzx ecx, byte [ebp + 8]
add esp, 0x14
push ecx
mov ecx, dword [0x50b3a0]
push 0x7d7
call fcn.004455c0
mov ecx, dword [ebp - 4]
push esi
call fcn.00452410
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [ebp + 8]
push edx
push 0x4d9038
push 0x4ec2a4
push 7
push 0x662
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451360
movzx eax, byte [ebp + 8]
mov ecx, dword [0x50b3a0]
add esp, 0x14
push eax
push 0x7d8
call fcn.004455c0
mov ecx, dword [ebp - 4]
push esi
call fcn.00452410
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x50b3a0]
movzx edx, byte [ecx + 0x124e]
lea eax, [ebp + 8]
push eax
push 0x4d9140
push 0x4ec2fc
push 4
push 0x660
push esi
mov dword [ebp + 8], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451360
mov ecx, dword [0x50b3a0]
mov dl, byte [ebp + 8]
add esp, 0x14
pop edi
pop esi
mov byte [ecx + 0x124e], dl
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x50b3a0]
movzx ecx, byte [eax + 0x124f]
lea edx, [ebp + 8]
push edx
push 0x4d9140
push 0x4ec2fc
push 4
push 0x65f
push esi
mov dword [ebp + 8], ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451360
mov eax, dword [0x50b3a0]
mov cl, byte [ebp + 8]
add esp, 0x14
pop edi
pop esi
mov byte [eax + 0x124f], cl
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [ebp + 8]
push edx
push 0x4d9150
push 0x4ec318
push 0x10
push 0x664
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451360
mov eax, dword [0x50b3a0]
mov cl, byte [eax + 0x1250]
xor cl, byte [ebp + 8]
add esp, 0x14
and cl, 0xf
xor byte [eax + 0x1250], cl
mov ecx, dword [0x50b39c]
push 1
call fcn.00406580
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [ebp + 8]
push edx
push 0x4d9150
push 0x4ec318
push 0x10
push 0x665
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451360
mov eax, dword [0x50b3a0]
mov dl, byte [eax + 0x1250]
mov cl, byte [ebp + 8]
shl cl, 4
and dl, 0xf
or cl, dl
add esp, 0x14
mov byte [eax + 0x1250], cl
mov ecx, dword [0x50b39c]
push 1
call fcn.00406580
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp + 8]
push eax
push 0x4d9038
push 0x4ec2a4
push 7
push 0x66d
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451360
movzx ecx, byte [ebp + 8]
add esp, 0x14
push ecx
mov ecx, dword [0x50b3a0]
push 0x7d9
call fcn.004455c0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 0x93f
jne case.0x45a1ef.1635
lea edx, [ebp + 8]
push edx
push 0x4d90ec
push 0x4ec30c
push 3
push edi
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451360
mov eax, dword [0x50b3a0]
mov cl, byte [ebp + 8]
add esp, 0x14
pop edi
pop esi
mov byte [eax + 0xb9c], cl
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp esi, dword [eax + 0xf2da8]
jne case.0x45a1ef.1635
shr ebx, 0x10
cmp ebx, 1
jne case.0x45a1ef.1635
cmp edi, 0x6e6
je 0x45a50d
cmp edi, 0x929
jne case.0x45a1ef.1635
lea edx, [ebp + 8]
push edx
push 0x4d9038
push 0x4ec2a4
push 7
push edi
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451360
movzx eax, byte [ebp + 8]
mov ecx, dword [0x50b3a0]
add esp, 0x14
push eax
push 0x92a
call fcn.004455c0
mov ecx, dword [ebp - 4]
push esi
call fcn.00452410
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp + 8]
push ecx
push 0x4d9038
push 0x4ec2a4
push 7
push 0x6e6
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00451360
movzx edx, byte [ebp + 8]
mov ecx, dword [0x50b3a0]
add esp, 0x14
push edx
push 0x7da
call fcn.004455c0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
shr ebx, 0x10
cmp ebx, 1
jne case.0x45a1ef.1635
mov eax, dword [ebp + 8]
push 0
push 0
push 0x147
push edi
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp edi, 0xa21
jne case.0x45a1ef.1635
cmp eax, 3
ja 0x45a5a0
mov ecx, dword [eax*8 + 0x4d92ac]
mov edx, dword [0x50b3a0]
pop edi
pop esi
mov dword [edx + 0x11338], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x50b3a0]
mov dword [eax + 0x11338], 1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc