Function at 0x49c17c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebx, eax
cmp byte [ebx + 0x54], 0x26
jne 0x49c1da
push 0xa
mov eax, dword [0x4beadc]
push eax
push 0x30a
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
xor eax, eax
call fcn.004aa6bc
mov edx, dword [0x4be6b0]
mov dword [edx], eax
mov eax, dword [0x4be95c]
cmp byte [eax], 0
jne 0x49d54a
mov eax, dword [0x4be6b0]
cmp dword [eax], 1
jl 0x49d54a
mov eax, dword [0x4be6b0]
mov eax, dword [eax]
mov edx, dword [0x4bea80]
mov dword [edx], eax
cmp byte [ebx + 0x54], 0x25
jne 0x49c458
push 0
mov eax, dword [0x4bedf4]
push eax
push 0x14
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemInt
mov edx, dword [0x4be7b0]
mov dword [edx], eax
mov eax, dword [0x4bedf4]
cmp dword [eax], 1
sbb eax, eax
inc eax
test al, al
je 0x49c217
mov eax, dword [0x4be7b0]
cmp dword [eax], 1
jae 0x49c227
mov eax, ebx
mov dx, 0x14
call fcn.00488878
jmp 0x49d54a
mov edi, 0x15
push 0
mov eax, dword [0x4bedf4]
push eax
push edi
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemInt
mov edx, dword [0x4be6b0]
mov dword [edx], eax
mov eax, dword [0x4bedf4]
cmp dword [eax], 1
sbb eax, eax
inc eax
test al, al
je 0x49c26b
mov eax, dword [0x4be6b0]
cmp dword [eax], 1
jl 0x49c26b
mov eax, dword [0x4be6b0]
cmp dword [eax], 0xffff
jle 0x49c279
mov eax, ebx
mov edx, edi
call fcn.00488878
jmp 0x49d54a
inc edi
cmp edi, 0x18
jne 0x49c22c
push 0
mov eax, dword [0x4bedf4]
push eax
push 0x14
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemInt
mov edx, dword [0x4be55c]
movsx edx, byte [edx]
mov ecx, dword [0x4be408]
mov dword [ecx + edx*4 + 0xa8], eax
mov eax, dword [0x4be55c]
movsx eax, byte [eax]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [0x4bec00]
lea esi, [edx + eax*2 + 0x24c]
push 0
mov eax, dword [0x4bedf4]
push eax
push 0x15
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemInt
mov word [esi], ax
push 0
mov eax, dword [0x4bedf4]
push eax
push 0x16
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemInt
mov word [esi + 2], ax
push 0
mov eax, dword [0x4bedf4]
push eax
push 0x17
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemInt
mov word [esi + 4], ax
cmp word [esi], 1
jne 0x49c360
cmp word [esi + 2], 1
jne 0x49c360
cmp word [esi + 4], 1
jne 0x49c360
mov eax, dword [0x4be55c]
movsx eax, byte [eax]
mov edx, dword [0x4be408]
cmp dword [edx + eax*4 + 0xa8], 0x3ec1
jbe 0x49c360
mov word [esi + 2], 0xff
mov word [esi + 4], 0x3f
mov eax, dword [0x4be55c]
movsx eax, byte [eax]
mov edx, dword [0x4be408]
mov eax, dword [edx + eax*4 + 0xa8]
mov ecx, 0x3ec1
xor edx, edx
div ecx
mov word [esi], ax
movzx edx, word [esi]
movzx eax, word [esi + 2]
imul edx, eax
movzx eax, word [esi + 4]
imul edx, eax
mov eax, dword [0x4be55c]
movsx eax, byte [eax]
mov ecx, dword [0x4be408]
mov eax, dword [ecx + eax*4 + 0xa8]
call fcn.004aa588
mov edx, dword [0x4be55c]
movsx edx, byte [edx]
mov ecx, dword [0x4be408]
mov dword [ecx + edx*4 + 0xa8], eax
mov eax, dword [0x4be55c]
movsx eax, byte [eax]
mov edx, dword [0x4be408]
mov eax, dword [edx + eax*4 + 0xa8]
mov edx, dword [0x4bec7c]
mov edx, dword [edx]
mov ecx, dword [0x4be754]
mov edx, dword [ecx + edx*4 - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [0x4be55c]
movsx eax, byte [eax]
mov edx, dword [0x4be408]
mov eax, dword [edx + eax*4 + 0xa8]
call fcn.004aef80
mov eax, dword [0x4be55c]
movsx eax, byte [eax]
mov edx, dword [0x4becf0]
movzx eax, word [edx + eax*2 + 0x54]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmulp st(1)
mov eax, dword [0x4bec7c]
mov eax, dword [eax]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov eax, dword [eax + 0xc]
fistp qword [eax + 0x10]
wait
mov eax, dword [0x4be55c]
movsx eax, byte [eax]
mov edx, dword [0x4be408]
mov eax, dword [edx + eax*4 + 0xa8]
movzx edx, word [esi]
movzx ecx, word [esi + 2]
imul edx, ecx
movzx ecx, word [esi + 4]
imul edx, ecx
sub eax, edx
mov edx, dword [0x4be55c]
movsx edx, byte [edx]
mov ecx, dword [0x4be7e0]
mov dword [ecx + edx*4 + 0xa8], eax
cmp byte [ebx + 0x54], 0x24
jne 0x49c613
mov eax, ebx
mov dx, 0xc8
call fcn.00497994
test al, al
je 0x49c613
push 0
mov eax, dword [0x4bedf4]
push eax
push 0xc9
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemInt
mov edx, dword [0x4be6b0]
mov dword [edx], eax
mov eax, dword [0x4bedf4]
cmp dword [eax], 1
sbb eax, eax
inc eax
test al, al
jne 0x49c4b1
mov eax, ebx
mov dx, 0xc9
call fcn.00488878
jmp 0x49d54a
mov esi, dword [0x4be6b0]
mov si, word [esi]
push 0
mov eax, dword [0x4bedf4]
push eax
push 0xca
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemInt
mov edx, dword [0x4be6b0]
mov dword [edx], eax
mov eax, dword [0x4bedf4]
cmp dword [eax], 1
sbb eax, eax
inc eax
test al, al
jne 0x49c4f6
mov eax, ebx
mov dx, 0xca
call fcn.00488878
jmp 0x49d54a
mov edi, dword [0x4be6b0]
mov di, word [edi]
push 0
mov eax, dword [0x4bedf4]
push eax
push 0xcb
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemInt
mov edx, dword [0x4be6b0]
mov dword [edx], eax
mov eax, dword [0x4bedf4]
cmp dword [eax], 1
sbb eax, eax
inc eax
test al, al
je 0x49c535
mov eax, dword [0x4be6b0]
cmp dword [eax], 0
jg 0x49c545
mov eax, ebx
mov dx, 0xcb
call fcn.00488878
jmp 0x49d54a
mov eax, dword [0x4be6b0]
mov ax, word [eax]
mov edx, dword [0x4be55c]
movsx edx, byte [edx]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [0x4bec00]
movzx edx, word [ecx + edx*2 + 0x24e]
movzx ecx, si
imul edx, ecx
mov ecx, dword [0x4be55c]
movsx ecx, byte [ecx]
mov esi, ecx
shl ecx, 3
sub ecx, esi
mov esi, dword [0x4bec00]
movzx ecx, word [esi + ecx*2 + 0x250]
imul edx, ecx
mov ecx, dword [0x4be55c]
movsx ecx, byte [ecx]
mov esi, ecx
shl ecx, 3
sub ecx, esi
mov esi, dword [0x4bec00]
movzx ecx, word [esi + ecx*2 + 0x250]
movzx esi, di
imul ecx, esi
add edx, ecx
movzx eax, ax
add edx, eax
dec edx
mov eax, dword [0x4be7b0]
mov dword [eax], edx
mov eax, dword [0x4be55c]
movsx eax, byte [eax]
mov edx, dword [0x4be408]
mov eax, dword [edx + eax*4 + 0xa8]
mov edx, dword [0x4be7b0]
cmp eax, dword [edx]
ja 0x49c5f4
mov eax, ebx
mov dx, 0xcb
call fcn.00488878
jmp 0x49d54a
mov eax, dword [0x4be7b0]
mov eax, dword [eax]
mov edx, dword [0x4be784]
mov dword [edx + 0x1778], eax
mov eax, dword [0x4be784]
mov byte [eax + 0x18c6], 1
cmp byte [ebx + 0x54], 0x24
jne 0x49c628
mov eax, ebx
mov dx, 0x64
call fcn.00497994
test al, al
jne 0x49c638
cmp byte [ebx + 0x54], 0x28
je 0x49c638
cmp byte [ebx + 0x54], 0x27
jne 0x49c76e
push 0x13
mov eax, dword [0x4beadc]
push eax
push 0xd0
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
call fcn.004aa714
mov edx, dword [0x4be7b0]
mov dword [edx], eax
mov eax, dword [0x4be95c]
cmp byte [eax], 0
jne 0x49c6b2
cmp byte [ebx + 0x54], 0x28
sete al
movsx eax, al
cdq
push edx
push eax
mov eax, dword [0x4be794]
mov eax, dword [eax]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [0x4be7b0]
mov eax, dword [eax]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x49c69e
cmp eax, dword [esp]
pop edx
pop eax
jae 0x49c6b2
jmp 0x49c6a2
pop edx
pop eax
jge 0x49c6b2
cmp byte [ebx + 0x54], 0x28
jne 0x49c6c2
mov eax, dword [0x4be7b0]
cmp dword [eax], 0
jne 0x49c6c2
mov eax, ebx
mov dx, 0xd0
call fcn.00488878
jmp 0x49d54a
cmp byte [ebx + 0x54], 0x28
jne 0x49c6e0
mov eax, dword [0x4be7b0]
mov eax, dword [eax]
mov edx, dword [0x4be784]
mov dword [edx + 0x1770], eax
jmp 0x49c76e
cmp byte [ebx + 0x54], 0x27
jne 0x49c74f
mov eax, dword [0x4bec7c]
mov eax, dword [eax]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
movsx eax, byte [eax + 0x442]
mov edx, dword [0x4be4fc]
cmp byte [edx + eax - 1], 0xff
jne 0x49c720
mov eax, dword [0x4be7b0]
mov eax, dword [eax]
mov edx, dword [0x4be784]
mov dword [edx + 0x17c0], eax
jmp 0x49c76e
mov eax, dword [0x4be7b0]
cmp dword [eax], 2
jae 0x49c73a
mov eax, ebx
mov dx, 0xd0
call fcn.00488878
jmp 0x49d54a
mov eax, dword [0x4be7b0]
mov eax, dword [eax]
mov edx, dword [0x4be784]
mov dword [edx + 0x16f8], eax
jmp 0x49c76e
mov eax, dword [0x4be784]
mov byte [eax + 0x18c6], 0
mov eax, dword [0x4be7b0]
mov eax, dword [eax]
mov edx, dword [0x4be784]
mov dword [edx + 0x1778], eax
cmp byte [ebx + 0x54], 0x2e
jne 0x49ca88
mov eax, dword [0x4be7ec]
cmp byte [eax], 0
je 0x49c797
mov eax, dword [0x4be7ec]
movsx eax, byte [eax]
mov edx, dword [0x4be754]
cmp dword [edx + eax*4 - 4], 0
jne 0x49c7a3
mov eax, ebx
call fcn.0049510c
jmp 0x49d54a
mov eax, dword [0x4be7ec]
cmp byte [eax + 1], 0
je 0x49c7c4
mov eax, dword [0x4be7ec]
movsx eax, byte [eax + 1]
mov edx, dword [0x4be754]
cmp dword [edx + eax*4 - 4], 0
jne 0x49c7d0
mov eax, ebx
call fcn.00495f38
jmp 0x49d54a
push 0xff
mov eax, dword [0x4bedb0]
push eax
push 0x67
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
test eax, eax
jbe 0x49c83a
mov eax, dword [0x4bedb0]
cmp byte [eax + 1], 0x3a
je 0x49c81c
mov ax, 0x78
call fcn.004aa600
mov edx, 3
call fcn.004b12a8
push 0x67
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SetFocus
jmp 0x49d54a
mov eax, dword [0x4beaa8]
mov eax, dword [eax]
call fcn.004b8480
mov eax, dword [0x4bedb0]
call fcn.004b8404
mov edx, dword [0x4beaa8]
mov dword [edx], eax
mov eax, dword [0x4beaa8]
mov eax, dword [eax]
call fcn.004b1914
test al, al
je 0x49c865
mov ax, 0x77
call fcn.004aa600
mov edx, 0x13
call fcn.004b12a8
test al, al
je 0x49d54a
mov eax, ebx
mov dx, 0x197
call fcn.00497994
mov edx, dword [0x4be784]
mov byte [edx + 0x18b5], al
mov eax, dword [0x4be784]
cmp byte [eax + 0x18b5], 0
je 0x49c8dd
push 0
mov eax, dword [0x4bedf4]
push eax
push 0xcb
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemInt
mov edx, dword [0x4be6b0]
mov dword [edx], eax
mov eax, dword [0x4bedf4]
cmp dword [eax], 1
sbb eax, eax
inc eax
test al, al
je 0x49d54a
mov eax, dword [0x4be6b0]
cmp dword [eax], 1
jl 0x49d54a
mov eax, dword [0x4be6b0]
mov ax, word [eax]
mov edx, dword [0x4be784]
mov word [edx + 0x1870], ax
mov edi, 1
mov ebp, dword [0x4be7ec]
mov esi, dword [0x4be594]
push 0x11
mov eax, dword [0x4beadc]
push eax
lea eax, [edi + 0x12c]
push eax
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
mov eax, dword [0x4be784]
cmp byte [eax + 0x18be], 0
je 0x49c929
mov eax, dword [0x4beadc]
xor edx, edx
call fcn.004aab28
mov eax, dword [0x4be4c4]
fistp qword [eax]
wait
jmp 0x49c938
xor eax, eax
call fcn.004aa774
mov eax, dword [0x4be4c4]
fistp qword [eax]
wait
mov eax, dword [0x4be95c]
cmp byte [eax], 0
je 0x49c95c
add edi, 0x12c
push edi
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SetFocus
jmp 0x49d54a
movsx eax, byte [ebp]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov eax, dword [eax + 0xc]
fild qword [eax + 0x10]
fsub dword [0x49d554]
mov eax, dword [0x4be4c4]
fild qword [eax]
fcompp
fnstsw ax
sahf
jbe 0x49c997
mov edx, edi
add dx, 0x12c
mov eax, ebx
call fcn.00488878
jmp 0x49d54a
mov eax, dword [0x4be4c4]
mov edx, dword [eax]
mov dword [esi], edx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
inc edi
add esi, 8
inc ebp
cmp edi, 3
jne 0x49c8ee
push 0x11
mov eax, dword [0x4beadc]
push eax
push 0x12f
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
xor eax, eax
call fcn.004aa774
mov eax, dword [0x4be4c4]
fistp qword [eax]
wait
mov eax, dword [0x4be95c]
cmp byte [eax], 0
jne 0x49c9f4
mov eax, dword [0x4be4c4]
fild qword [eax]
fcomp dword [0x49d558]
fnstsw ax
sahf
ja 0x49ca73
mov eax, dword [0x4be4c4]
fild qword [eax]
fcomp dword [0x49d558]
fnstsw ax
sahf
jne 0x49ca5b
mov eax, dword [0x4be7ec]
movsx eax, byte [eax]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov eax, dword [eax + 0xc]
push dword [eax + 0x14]
push dword [eax + 0x10]
mov eax, dword [0x4be7ec]
movsx eax, byte [eax + 1]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov eax, dword [eax + 0xc]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004aa590
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.004b849c
mov ecx, eax
mov eax, ebx
mov dx, 0x12f
call fcn.00488934
push 0x12f
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SetFocus
jmp 0x49d54a
mov eax, dword [0x4bee10]
mov edx, dword [0x4be4c4]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
cmp byte [ebx + 0x54], 0x43
jne 0x49caf9
push 0x11
mov eax, dword [0x4beadc]
push eax
push 0x30a
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
mov eax, dword [0x4be784]
cmp byte [eax + 0x18be], 0
je 0x49cac7
mov eax, dword [0x4beadc]
xor edx, edx
call fcn.004aab28
mov eax, dword [0x4be4c4]
fistp qword [eax]
wait
jmp 0x49cad6
xor eax, eax
call fcn.004aa774
mov eax, dword [0x4be4c4]
fistp qword [eax]
wait
mov eax, dword [0x4be95c]
cmp byte [eax], 0
jne 0x49d54a
mov eax, dword [0x4be7dc]
mov edx, dword [0x4be4c4]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
cmp byte [ebx + 0x54], 0x44
jne 0x49cb84
push 0xff
mov eax, dword [0x4c24d8]
push eax
push 0x30a
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
xor esi, esi
inc esi
cmp esi, 9
jg 0x49cb3c
mov eax, dword [0x4be4b8]
mov eax, dword [eax + esi*4 - 4]
push eax
mov eax, dword [0x4c24d8]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x49cb1d
cmp esi, 0xa
jne 0x49cb46
mov esi, 9
mov eax, dword [0x4be4b8]
mov eax, dword [eax + esi*4 - 4]
call fcn.004b8480
mov edi, esi
cmp edi, 2
jl 0x49cb72
mov eax, dword [0x4be4b8]
lea esi, [eax + edi*4 - 8]
mov eax, dword [esi]
mov dword [esi + 4], eax
dec edi
sub esi, 4
cmp edi, 1
jne 0x49cb64
mov eax, dword [0x4c24d8]
call fcn.004b8404
mov edx, dword [0x4be4b8]
mov dword [edx], eax
cmp byte [ebx + 0x54], 0x45
jne 0x49cba2
push 0x2000
mov eax, dword [0x4c24d8]
push eax
push 0x30a
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
cmp byte [ebx + 0x54], 0x34
jne 0x49cbf8
push 0x10000
push 0x40
call sub.kernel32.dll_GlobalAlloc
mov esi, eax
mov ax, 0x395
call fcn.004aa600
mov edx, eax
mov eax, esi
call fcn.004b81b0
push 0xffec
mov eax, esi
call fcn.004b81a0
push eax
push 0x30a
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
mov eax, dword [0x4bef50]
mov eax, dword [eax]
xor ecx, ecx
mov edx, esi
call fcn.004a9c04
push esi
call sub.kernel32.dll_GlobalFree
mov al, byte [ebx + 0x54]
cmp al, 0x54
je 0x49cc07
cmp al, 0x55
je 0x49cc07
cmp al, 0x56
jne 0x49cc2e
push 0xff
mov eax, dword [0x4bedb0]
push eax
push 0x30a
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
mov eax, dword [0x4bedb0]
call fcn.004b8404
mov dword [0x4c24dc], eax
cmp byte [ebx + 0x54], 0x1f
jne 0x49ccc1
push 0x11
mov eax, dword [0x4beadc]
push eax
push 0x30a
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
mov eax, dword [0x4be784]
cmp byte [eax + 0x18be], 0
je 0x49cc71
mov eax, dword [0x4beadc]
xor edx, edx
call fcn.004aab28
mov eax, dword [0x4be4c4]
fistp qword [eax]
wait
jmp 0x49cc80
xor eax, eax
call fcn.004aa774
mov eax, dword [0x4be4c4]
fistp qword [eax]
wait
mov eax, dword [0x4be95c]
cmp byte [eax], 0
jne 0x49d54a
mov eax, dword [0x4be784]
mov edx, dword [0x4be4c4]
mov ecx, dword [edx]
mov dword [eax + 0x16e4], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 0x16e8], ecx
mov eax, ebx
mov dx, 0x12e
call fcn.00497994
mov edx, dword [0x4be784]
mov byte [edx + 0x1896], al
cmp byte [ebx + 0x54], 0x1e
jne 0x49ccce
mov eax, ebx
call fcn.00498e14
mov al, byte [ebx + 0x54]
cmp al, 0x38
je 0x49ccd9
cmp al, 0x46
jne 0x49cd14
mov edi, 0x64
inc edi
mov eax, ebx
mov edx, edi
call fcn.00497994
test al, al
je 0x49ccde
cmp byte [ebx + 0x54], 0x46
jne 0x49cd04
mov eax, edi
sub al, 0x64
mov edx, dword [0x4be784]
mov byte [edx + 0x18a2], al
jmp 0x49cd14
mov eax, edi
sub al, 0x64
mov edx, dword [0x4be784]
mov byte [edx + 0x18b0], al
mov al, byte [ebx + 0x54]
cmp al, 0x20
je 0x49cd23
cmp al, 0x21
jne 0x49cf49
push 0
mov eax, dword [0x4bedf4]
push eax
push 0x30d
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemInt
mov edx, dword [0x4be6b0]
mov dword [edx], eax
mov eax, dword [0x4bedf4]
cmp dword [eax], 1
sbb eax, eax
inc eax
test al, al
jne 0x49cd7d
mov eax, dword [0x4be6b0]
cmp dword [eax], 0x10000
jge 0x49cd7d
mov eax, dword [0x4be6b0]
cmp dword [eax], 0
jle 0x49cd7d
mov al, 0x1f
call fcn.004b0608
mov eax, ebx
mov dx, 0x30d
call fcn.00488878
jmp 0x49d54a
mov eax, dword [0x4be6b0]
mov eax, dword [eax]
mov edx, dword [0x4be69c]
mov dword [edx], eax
mov eax, dword [0x4be6b0]
mov eax, dword [eax]
mov edx, dword [0x4be784]
mov dword [edx + 0x1774], eax
cmp byte [ebx + 0x54], 0x20
jne 0x49cea9
mov edi, 2
push 0x13
mov eax, dword [0x4beadc]
push eax
lea esi, [edi + 0x30c]
push esi
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
mov eax, dword [0x4be784]
cmp byte [eax + 0x18be], 0
je 0x49cde9
mov eax, dword [0x4beadc]
xor edx, edx
call fcn.004aab28
mov eax, dword [0x4be4c4]
fistp qword [eax]
wait
jmp 0x49cdf8
xor eax, eax
call fcn.004aa774
mov eax, dword [0x4be4c4]
fistp qword [eax]
wait
mov eax, dword [0x4be95c]
cmp byte [eax], 0
je 0x49ce16
push esi
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SetFocus
jmp 0x49d54a
mov eax, dword [0x4bec7c]
mov eax, dword [eax]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov eax, dword [eax + 0xc]
fild qword [eax + 0x10]
fsub dword [0x49d554]
mov eax, dword [0x4be4c4]
fild qword [eax]
fcompp
fnstsw ax
sahf
ja 0x49ce5b
cmp edi, 3
jne 0x49ce6e
mov eax, dword [0x4be4c4]
fild qword [eax]
mov eax, dword [0x4be710]
fild qword [eax]
fcompp
fnstsw ax
sahf
jbe 0x49ce6e
mov edx, edi
add dx, 0x30c
mov eax, ebx
call fcn.00488878
jmp 0x49d54a
cmp edi, 2
jne 0x49ce8a
mov eax, dword [0x4be710]
mov edx, dword [0x4be4c4]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
jmp 0x49ce9f
mov eax, dword [0x4be340]
mov edx, dword [0x4be4c4]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
inc edi
cmp edi, 4
jne 0x49cdae
push 0x58
mov eax, dword [0x4be784]
add eax, 0x800
push eax
push 0x30b
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
mov eax, ebx
mov dx, 0x30c
call fcn.00497994
mov dl, 2
sub dl, al
mov eax, dword [0x4beb48]
mov byte [eax], dl
mov eax, ebx
mov dx, 0x310
call fcn.00497994
mov edx, dword [0x4be5d4]
mov byte [edx], al
mov eax, ebx
mov dx, 0x311
call fcn.00497994
mov edx, dword [0x4be784]
mov byte [edx + 0x18df], al
push 0xff
mov eax, dword [0x4bedb0]
push eax
mov eax, dword [ebx + 0x48]
push eax
call sub.user32.dll_GetWindowTextA
xor edi, edi
inc edi
mov ecx, edi
dec ecx
mov edx, dword [0x4beb38]
mov eax, dword [ebx + 0x48]
call fcn.004868a0
mov eax, dword [0x4beb38]
push eax
mov eax, dword [0x4bedb0]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x49cf19
mov edx, edi
mov eax, ebx
call fcn.00486950
cmp byte [ebx + 0x54], 8
jne 0x49cfa8
push 0xffffffffffffffff
mov eax, dword [0x4bedf4]
push eax
push 0x30a
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemInt
mov edx, dword [0x4be6b0]
mov dword [edx], eax
mov eax, dword [0x4bedf4]
cmp dword [eax], 1
sbb eax, eax
inc eax
test al, al
je 0x49cf85
mov eax, dword [0x4be6b0]
cmp dword [eax], 1
jge 0x49cf95
mov eax, ebx
mov dx, 0x30a
call fcn.00488878
jmp 0x49d54a
mov eax, dword [0x4be6b0]
mov eax, dword [eax]
mov edx, dword [0x4be784]
mov dword [edx + 0x17a8], eax
mov al, byte [ebx + 0x54]
cmp al, 6
je 0x49cfb7
cmp al, 7
jne 0x49d0db
push 0xe
mov eax, dword [0x4bedb0]
push eax
push 0x30a
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
mov eax, dword [0x4bedb0]
call fcn.004b8144
cmp eax, 0xc
jg 0x49cfed
lea edx, [esp + 8]
mov eax, dword [0x4bedb0]
call fcn.00411488
test al, al
jne 0x49cffd
mov eax, ebx
mov dx, 0x30a
call fcn.00488878
jmp 0x49d54a
cmp byte [ebx + 0x54], 6
jne 0x49d01a
mov edx, dword [0x4bedb0]
mov eax, dword [0x4be784]
add eax, 0x1a20
call fcn.004b81b0
jmp 0x49d02f
mov edx, dword [0x4bedb0]
mov eax, dword [0x4be784]
add eax, 0x1a2d
call fcn.004b81b0
push 0xc
mov eax, dword [0x4bedb0]
push eax
push 0x457
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
xor edi, edi
mov esi, dword [0x4be70c]
mov eax, dword [0x4be784]
cmp byte [eax + 0x188c], 2
sete al
and eax, 0x7f
add eax, eax
mov eax, dword [esi + eax*8]
push eax
mov eax, dword [0x4bedb0]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x49d0b0
cmp byte [ebx + 0x54], 6
jne 0x49d089
mov eax, edi
mov edx, dword [0x4be784]
mov byte [edx + 0x1907], al
jmp 0x49d097
mov eax, edi
mov edx, dword [0x4be784]
mov byte [edx + 0x1988], al
mov edx, edi
mov ax, 0x400
call fcn.004aef30
fld xword [esp + 8]
fmulp st(1)
mov eax, dword [0x4beed4]
fistp qword [eax]
wait
inc edi
add esi, 4
cmp edi, 4
jne 0x49d04c
mov eax, dword [0x4beed4]
fild qword [eax]
fcomp dword [0x49d558]
fnstsw ax
sahf
ja 0x49d0db
mov eax, ebx
mov dx, 0x30a
call fcn.00488878
jmp 0x49d54a
cmp byte [ebx + 0x54], 0x50
jne 0x49d138
push 0x14
mov eax, dword [0x4bedb0]
push eax
push 0x457
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
mov eax, dword [0x4bedb0]
cmp byte [eax], 0
je 0x49d54a
mov edi, 1
mov esi, dword [0x4be71c]
mov eax, dword [esi]
push eax
mov eax, dword [0x4bedb0]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x49d12f
mov eax, edi
mov edx, dword [0x4be784]
mov byte [edx + 0x188e], al
inc edi
add esi, 4
cmp edi, 0xb
jne 0x49d10f
cmp byte [ebx + 0x54], 0xe
jne 0x49d191
push 0xa
mov eax, dword [0x4beadc]
push eax
push 0x30a
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
xor eax, eax
call fcn.004aa6bc
mov edx, dword [0x4be6b0]
mov dword [edx], eax
mov eax, dword [0x4be95c]
cmp byte [eax], 0
jne 0x49d54a
mov eax, dword [0x4be6b0]
cmp dword [eax], 1
jl 0x49d54a
mov eax, dword [0x4be6b0]
mov eax, dword [eax]
mov edx, dword [0x4be784]
mov dword [edx + 0x17ac], eax
cmp byte [ebx + 0x54], 0x1b
jne 0x49d414
push 0x13
mov eax, dword [0x4beadc]
push eax
push 0x67
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
mov eax, dword [0x4be784]
cmp byte [eax + 0x18be], 0
jne 0x49d1e3
mov eax, dword [0x4bec7c]
mov eax, dword [eax]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x5c], 0
je 0x49d1f9
mov eax, dword [0x4be784]
cmp byte [eax + 0x18e5], 0
je 0x49d1f9
mov eax, dword [0x4beadc]
xor edx, edx
call fcn.004aab28
mov eax, dword [0x4be4c4]
fistp qword [eax]
wait
jmp 0x49d208
xor eax, eax
call fcn.004aa774
mov eax, dword [0x4be4c4]
fistp qword [eax]
wait
mov eax, dword [0x4be95c]
cmp byte [eax], 0
je 0x49d227
push 0x67
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SetFocus
jmp 0x49d54a
mov eax, dword [0x4be784]
mov edx, dword [0x4be4c4]
mov ecx, dword [edx]
mov dword [eax + 0x1714], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 0x1718], ecx
mov eax, dword [0x4bec7c]
mov eax, dword [eax]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [0x4be4c4]
mov ecx, dword [edx]
mov dword [eax + 0x74], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 0x78], ecx
push 0xa
mov eax, dword [0x4beadc]
push eax
push 0x68
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItemTextA
xor eax, eax
call fcn.004aa6bc
mov edx, dword [0x4be6b0]
mov dword [edx], eax
mov eax, dword [0x4be95c]
cmp byte [eax], 0
jne 0x49d29d
mov eax, dword [0x4be6b0]
cmp dword [eax], 2
jge 0x49d2d0
mov eax, ebx
mov dx, 0x65
call fcn.00497994
test al, al
jne 0x49d2bb
mov eax, ebx
mov dx, 0x66
call fcn.00497994
test al, al
je 0x49d302
push 0x68
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SetFocus
jmp 0x49d54a
mov eax, dword [0x4be6b0]
mov eax, dword [eax]
mov edx, dword [0x4be784]
mov dword [edx + 0x171c], eax
mov eax, dword [0x4bec7c]
mov eax, dword [eax]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [0x4be6b0]
mov edx, dword [edx]
mov dword [eax + 0x7c], edx
mov eax, ebx
mov dx, 0x65
call fcn.00497994
mov edx, dword [0x4bec7c]
mov edx, dword [edx]
mov ecx, dword [0x4be754]
mov edx, dword [ecx + edx*4 - 4]
mov edx, dword [edx + 0xc]
mov byte [edx + 0xa4], al
mov eax, ebx
mov dx, 0x66
call fcn.00497994
mov edx, dword [0x4bec7c]
mov edx, dword [edx]
mov ecx, dword [0x4be754]
mov edx, dword [ecx + edx*4 - 4]
mov edx, dword [edx + 0xc]
mov byte [edx + 0xa3], al
mov eax, ebx
mov dx, 0x65
call fcn.00497994
mov edx, dword [0x4be784]
mov byte [edx + 0x1862], al
mov eax, ebx
mov dx, 0x66
call fcn.00497994
mov edx, dword [0x4be784]
mov byte [edx + 0x1863], al
mov eax, ebx
mov dx, 0x69
call fcn.00497994
mov edx, dword [0x4be784]
mov byte [edx + 0x18f2], al
mov eax, dword [0x4be784]
cmp byte [eax + 0x18f2], 0
je 0x49d414
mov eax, dword [0x4be4ec]
movsx eax, word [eax]
test eax, eax
jle 0x49d414
mov dword [esp + 0x14], eax
mov esi, dword [0x4be754]
mov eax, dword [esi]
test eax, eax
je 0x49d40b
mov eax, dword [eax + 0xc]
mov edx, dword [0x4be784]
mov dl, byte [edx + 0x1862]
mov byte [eax + 0xa4], dl
mov edx, dword [0x4be784]
mov dl, byte [edx + 0x1863]
mov byte [eax + 0xa3], dl
mov edx, dword [0x4be784]
mov ecx, dword [edx + 0x1714]
mov dword [eax + 0x74], ecx
mov ecx, dword [edx + 0x1718]
mov dword [eax + 0x78], ecx
mov edx, dword [0x4be784]
mov edx, dword [edx + 0x171c]
mov dword [eax + 0x7c], edx
add esi, 4
dec dword [esp + 0x14]
jne 0x49d3b7
mov al, byte [ebx + 0x54]
cmp al, 9
je 0x49d42f
cmp al, 0xa
je 0x49d42f
cmp al, 0xb
je 0x49d42f
cmp al, 0xc
je 0x49d42f
cmp al, 0xd
jne 0x49d4eb
mov edx, dword [0x4be580]
mov dl, byte [edx]
mov eax, ebx
call fcn.0048dd64
test al, al
je 0x49d54a
mov dword [esp], 3
mov esi, dword [0x4be784]
add esi, 0x1d7a
mov ebp, dword [0x4be784]
add ebp, 0x21
mov eax, dword [0x4becdc]
mov dword [esp + 0x18], eax
cmp byte [esi], 1
jne 0x49d4c4
xor eax, eax
mov al, byte [esi + 0x6c]
test eax, eax
jle 0x49d4c4
mov dword [esp + 0x14], eax
mov edi, 1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, edi
dec eax
add eax, eax
mov al, byte [ebp + eax + 0x1d62]
call fcn.004b13e8
shl eax, 4
push eax
mov eax, edi
dec eax
add eax, eax
mov al, byte [ebp + eax + 0x1d63]
call fcn.004b13e8
pop edx
add dl, al
mov eax, dword [esp + 0x1c]
mov byte [eax], dl
inc edi
inc dword [esp + 0x1c]
dec dword [esp + 0x14]
jne 0x49d48a
add dword [esp + 0x18], 0x10
add ebp, 0x21
inc esi
dec dword [esp]
jne 0x49d46b
cmp byte [ebx + 0x54], 9
jne 0x49d4eb
mov eax, ebx
mov dx, 0x64
call fcn.00497994
mov edx, dword [0x4bef8c]
mov byte [edx], al
mov eax, dword [0x4bef50]
cmp dword [eax], 0
je 0x49d540
mov al, byte [ebx + 0x54]
cmp al, 0x5f
ja 0x49d506
and eax, 0x7f
bt dword [0x4bdc84], eax
jae 0x49d518
mov ecx, dword [ebx]
mov eax, dword [0x4bef50]
mov eax, dword [eax]
xor edx, edx
call fcn.004a9c04
mov al, byte [ebx + 0x54]
cmp al, 0x5f
ja 0x49d529
and eax, 0x7f
bt dword [0x4bdc90], eax
jae 0x49d540
mov ecx, dword [ebx]
mov eax, dword [0x4bef50]
mov eax, dword [eax]
add eax, 0x148
xor edx, edx
call fcn.004ac0f4
push 1
mov eax, dword [ebx]
push eax
call sub.user32.dll_EndDialog
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret